@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Quicksand:wght@300;400;500;600;700&display=swap');

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

:root {
    --silver: #C0C0C0;
    --silver-light: #E8E8E8;
    --celestial-blue: #94A3B8;
    --deep-space: #0F172A;
    --panel: #1E293B;
    --bright: #F8FAFC;
    --muted: #94A3B8;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--deep-space);
    color: var(--bright);
    line-height: 1.75;
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(148, 163, 184, 0.1) 0%, transparent 50%);
}

/* Header */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.header-flex {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 14px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--silver), var(--celestial-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Tenor Sans', serif;
    font-size: 22px;
    color: var(--deep-space);
    font-weight: bold;
}

.logo-name {
    font-family: 'Tenor Sans', serif;
    font-size: 1.6rem;
    color: var(--silver-light);
    letter-spacing: 3px;
}

.main-nav {
    display: flex;
    gap: 42px;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--silver-light);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--silver);
    transition: all 0.3s ease;
}

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

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

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

/* Hero */
.hero-section {
    padding: 175px 32px 125px;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.06) 0%, transparent 60%);
    transform: translate(-50%, -60%);
    z-index: -1;
}

.hero-section h1 {
    font-family: 'Tenor Sans', serif;
    font-size: 3.8rem;
    margin-bottom: 26px;
    color: var(--silver-light);
    letter-spacing: 4px;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    padding: 17px 52px;
    background: linear-gradient(135deg, var(--silver), var(--celestial-blue));
    color: var(--deep-space);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 35px rgba(192, 192, 192, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(192, 192, 192, 0.3);
}

/* Notice Grid */
.notice-grid {
    padding: 75px 32px;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.notice-item {
    background: var(--panel);
    padding: 40px 32px;
    border-radius: 14px;
    text-align: center;
    border-bottom: 3px solid var(--silver);
    transition: transform 0.3s ease;
}

.notice-item:hover {
    transform: translateY(-6px);
}

.notice-item .icon-box {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.notice-item h3 {
    font-family: 'Tenor Sans', serif;
    font-size: 1.2rem;
    color: var(--silver-light);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.notice-item p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Game Display */
.game-display {
    padding: 95px 32px;
}

.game-display h2 {
    font-family: 'Tenor Sans', serif;
    font-size: 2.4rem;
    text-align: center;
    color: var(--silver-light);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.game-container {
    max-width: 1160px;
    margin: 0 auto;
    background: var(--panel);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(192, 192, 192, 0.15);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
}

.game-container iframe {
    width: 100%;
    height: 655px;
    border: none;
    border-radius: 10px;
}

/* Features */
.features-section {
    padding: 95px 32px;
    max-width: 1220px;
    margin: 0 auto;
}

.features-section h2 {
    font-family: 'Tenor Sans', serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--bright);
    margin-bottom: 55px;
}

.features-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.feature-box {
    flex: 1 1 270px;
    max-width: 290px;
    background: var(--panel);
    padding: 32px 26px;
    border-radius: 12px;
    border-top: 3px solid var(--celestial-blue);
    text-align: center;
}

.feature-box h4 {
    font-family: 'Tenor Sans', serif;
    font-size: 1.1rem;
    color: var(--silver-light);
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Footer */
.page-footer {
    background: rgba(8, 12, 25, 0.9);
    border-top: 1px solid rgba(192, 192, 192, 0.08);
    padding: 58px 32px 38px;
    margin-top: 85px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--silver-light);
}

.help-section {
    padding-top: 32px;
    border-top: 1px solid rgba(192, 192, 192, 0.06);
}

.help-section p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.help-section a {
    color: var(--silver);
    text-decoration: none;
    margin: 0 18px;
    font-size: 0.85rem;
}

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

.copyright-text {
    margin-top: 32px;
    color: rgba(148, 163, 184, 0.4);
    font-size: 0.8rem;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-overlay.hidden {
    display: none;
}

.age-dialog {
    background: var(--panel);
    border: 2px solid var(--silver);
    padding: 52px 48px;
    border-radius: 18px;
    text-align: center;
    max-width: 505px;
    margin: 24px;
    box-shadow: 0 0 60px rgba(192, 192, 192, 0.12);
}

.age-dialog h2 {
    font-family: 'Tenor Sans', serif;
    font-size: 1.85rem;
    color: var(--silver-light);
    margin-bottom: 20px;
}

.age-dialog p {
    color: var(--muted);
    margin-bottom: 34px;
}

.age-btn-wrap {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn-accept, .btn-decline {
    padding: 14px 42px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, var(--silver), var(--celestial-blue));
    color: var(--deep-space);
}

.btn-decline {
    background: transparent;
    border: 2px solid var(--muted);
    color: var(--muted);
}

.btn-accept:hover, .btn-decline:hover {
    transform: scale(1.04);
}

/* Page Content */
.inner-page {
    padding: 148px 32px 98px;
    max-width: 970px;
    margin: 0 auto;
}

.inner-page h1 {
    font-family: 'Tenor Sans', serif;
    font-size: 2.6rem;
    color: var(--silver-light);
    margin-bottom: 44px;
    letter-spacing: 2px;
}

.inner-page h2 {
    font-family: 'Tenor Sans', serif;
    font-size: 1.4rem;
    color: var(--silver);
    margin: 38px 0 16px;
}

.inner-page p {
    color: var(--muted);
    margin-bottom: 18px;
}

.inner-page ul {
    color: var(--muted);
    margin: 0 0 22px 26px;
}

.inner-page li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 950px) {
    .notice-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 28px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-section .subtitle {
        font-size: 1.05rem;
    }
    
    .game-container iframe {
        height: 450px;
    }
    
    .features-wrap {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-box {
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 14px;
    }
    
    .age-btn-wrap {
        flex-direction: column;
    }
}
