* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0ea5e9;
    --dark-blue: #0284c7;
    --light-blue: #38bdf8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.visible {
    display: flex;
}

.age-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.age-modal-content {
    position: relative;
    z-index: 10001;
    padding: 2rem;
}

.age-modal-inner {
    background: var(--bg-secondary);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.3);
    border: 2px solid var(--primary-blue);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-modal-inner h2 {
    font-family: 'Righteous', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.age-main-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.age-sub-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
}

.age-btn-primary, .age-btn-secondary {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn-primary {
    background: var(--primary-blue);
    color: white;
}

.age-btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

.age-btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
}

.age-btn-secondary:hover {
    background: #475569;
}

.navbar {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-text {
    font-family: 'Righteous', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-blue);
}

.nav-item.active {
    background: var(--primary-blue);
    color: white;
}

.main-content {
    flex: 1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-area {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Righteous', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-blue);
}

.hero-card {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-card-content {
    position: relative;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-card-content h3 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.about-section, .features-section, .important-notices, .game-section, .benefits-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Righteous', sans-serif;
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-card p {
    color: var(--text-secondary);
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.notice-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid;
}

.notice-red {
    border-left-color: #ef4444;
}

.notice-blue {
    border-left-color: #3b82f6;
}

.notice-yellow {
    border-left-color: #f59e0b;
}

.notice-card h3 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.notice-card p {
    color: var(--text-secondary);
}

.game-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

.game-info-box {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-blue);
}

.game-info-box h3 {
    font-family: 'Righteous', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.game-info-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.game-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.game-features li {
    color: var(--text-secondary);
    font-weight: 500;
}

.game-window {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.game-window iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 12px;
}

.game-disclaimer {
    background: rgba(14, 165, 233, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
    text-align: center;
    color: var(--text-secondary);
}

.benefits-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.2);
}

.benefit-icon {
    font-family: 'Righteous', sans-serif;
    font-size: 3rem;
    color: var(--primary-blue);
    min-width: 70px;
}

.benefit-text h3 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-blue);
}

.benefit-text p {
    color: var(--text-secondary);
}

.site-footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary-blue);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    font-family: 'Righteous', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-block p {
    color: var(--text-muted);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--text-muted);
}

.play-main {
    padding: 2rem 0;
}

.play-header-section {
    padding: 3rem 0 2rem;
    text-align: center;
}

.page-heading {
    font-family: 'Righteous', sans-serif;
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.page-subheading {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.play-game-section {
    padding: 2rem 0;
}

.game-player {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.game-player iframe {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 12px;
}

.play-info-section {
    padding: 3rem 0;
}

.play-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.info-box:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.2);
}

.info-box h3 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.info-box p {
    color: var(--text-secondary);
}

.play-reminder {
    padding: 3rem 0;
}

.reminder-card {
    background: rgba(14, 165, 233, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--primary-blue);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.reminder-card h3 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.reminder-card p {
    color: var(--text-secondary);
}

.legal-main {
    padding: 3rem 0;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
}

.legal-document h1 {
    font-family: 'Righteous', sans-serif;
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.doc-date {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: 'Righteous', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-card {
        height: 250px;
    }

    .page-heading {
        font-size: 2rem;
    }

    .game-window iframe {
        height: 450px;
    }

    .game-player iframe {
        height: 550px;
    }

    .game-features {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .legal-document {
        padding: 2rem 1.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
