@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-space: #0f172a;
    --bg-card: #1e293b;
    --glow-blue: #38bdf8;
    --glow-cyan: #22d3ee;
    --star-white: #f8fafc;
    --text-soft: #94a3b8;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--bg-space);
    color: var(--star-white);
    min-height: 100vh;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

a {
    color: var(--glow-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--glow-cyan);
}

.header-bar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-group svg {
    width: 42px;
    height: 42px;
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--glow-blue);
}

.toggle-nav {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.toggle-nav span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--glow-blue);
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.toggle-nav.on span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.toggle-nav.on span:nth-child(2) {
    opacity: 0;
}

.toggle-nav.on span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-menu a {
    color: var(--text-soft);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: var(--glow-blue);
}

.page-body {
    padding-top: 78px;
}

.intro-hero {
    padding: 7rem 2rem 5rem;
    text-align: center;
    background: 
        radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(34, 211, 238, 0.06) 0%, transparent 40%);
}

.intro-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.intro-hero h1 span {
    color: var(--glow-blue);
}

.intro-hero .intro-text {
    font-size: 1.15rem;
    color: var(--text-soft);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.glow-btn {
    display: inline-block;
    background: var(--glow-blue);
    color: var(--bg-space);
    padding: 1rem 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.glow-btn:hover {
    background: var(--glow-cyan);
    color: var(--bg-space);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

.notice-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.notice-item {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.15);
    transition: all 0.3s;
}

.notice-item:hover {
    border-color: var(--glow-blue);
    transform: translateY(-5px);
}

.notice-item .icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.notice-item h3 {
    color: var(--glow-blue);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.notice-item p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.game-display {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.game-display h2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.game-display h2 span {
    color: var(--glow-blue);
}

.game-display .tagline {
    text-align: center;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
}

.game-window {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.game-window iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.benefits-row {
    background: var(--bg-card);
    padding: 4rem 2rem;
    margin: 3rem 0;
}

.benefits-row h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit {
    text-align: center;
}

.benefit .ico {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.benefit h4 {
    color: var(--glow-blue);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.benefit p {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.text-page {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.text-page h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.text-page h1 span {
    color: var(--glow-blue);
}

.text-page h2 {
    color: var(--glow-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
}

.text-page p {
    color: var(--text-soft);
    margin-bottom: 1.2rem;
}

.text-page ul {
    color: var(--text-soft);
    margin: 1rem 0 1.5rem 1.8rem;
}

.text-page li {
    margin-bottom: 0.5rem;
}

.footer-section {
    background: rgba(30, 41, 59, 0.8);
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-gaming {
    margin-bottom: 1.2rem;
}

.footer-gaming a {
    margin: 0 1rem;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.footer-wrap .footnote {
    color: var(--text-soft);
    font-size: 0.85rem;
    opacity: 0.7;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    max-width: 450px;
    text-align: center;
    border: 1px solid var(--glow-blue);
    box-shadow: 0 0 50px rgba(56, 189, 248, 0.2);
}

.age-popup h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.age-popup p {
    color: var(--text-soft);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 0.9rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm {
    background: var(--glow-blue);
    border: none;
    color: var(--bg-space);
}

.btn-confirm:hover {
    background: var(--glow-cyan);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-decline {
    background: transparent;
    border: 2px solid var(--text-soft);
    color: var(--text-soft);
}

.btn-decline:hover {
    border-color: var(--star-white);
    color: var(--star-white);
}

.hidden {
    display: none !important;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .toggle-nav {
        display: block;
    }
    
    .main-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s;
    }
    
    .main-menu.visible {
        transform: translateY(0);
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    
    .intro-hero h1 {
        font-size: 2.2rem;
    }
    
    .notice-section {
        flex-direction: column;
        align-items: center;
    }
    
    .notice-item {
        max-width: 100%;
    }
    
    .game-window iframe {
        height: 450px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .text-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1.3rem;
    }
    
    .intro-hero {
        padding: 5rem 1rem 3rem;
    }
    
    .intro-hero h1 {
        font-size: 1.8rem;
    }
    
    .game-window iframe {
        height: 320px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .age-popup {
        margin: 1rem;
        padding: 2rem;
    }
}
