@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #21262d;
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #059669;
    --teal: #14b8a6;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: #30363d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Sora', sans-serif;
    color: var(--text-primary);
    font-weight: 600;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--emerald-light);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-brand svg {
    width: 40px;
    height: 40px;
}

.site-brand span {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--emerald);
}

.desk-nav {
    display: flex;
    gap: 2rem;
}

.desk-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.desk-nav a:hover {
    color: var(--text-primary);
}

.desk-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald);
    transition: width 0.3s ease;
}

.desk-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--emerald);
    transition: 0.3s;
}

.burger.is-active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mob-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.mob-nav.is-open {
    display: block;
}

.mob-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.mob-nav a:hover {
    color: var(--emerald);
    background: var(--bg-card);
}

/* Main */
main {
    padding-top: 72px;
}

/* Hero */
.hero-block {
    padding: 6rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-block h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-block h1 span {
    color: var(--emerald);
}

.hero-block .tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald);
    color: var(--bg-primary);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    background: var(--emerald-light);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Info Section */
.info-section {
    padding: 5rem 1.5rem;
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-tile:hover {
    border-color: var(--emerald);
    transform: translateY(-4px);
}

.info-tile .emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-tile h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--emerald);
}

.info-tile p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Game Area */
.game-area {
    padding: 4rem 1.5rem;
    background: var(--bg-secondary);
}

.game-area h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.game-area h2 span {
    color: var(--emerald);
}

.game-embed {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--emerald-dark);
    background: #000;
}

.game-embed iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

/* Benefits */
.benefits-section {
    padding: 5rem 1.5rem;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.benefits-row {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.benefit-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.benefit-chip .ico {
    font-size: 1.2rem;
}

/* Play Page */
.play-intro {
    padding: 4rem 1.5rem 2rem;
    text-align: center;
}

.play-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.play-intro p {
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.play-game-section {
    padding: 2rem 1.5rem 4rem;
}

.play-game-section .game-embed {
    max-width: 1300px;
}

.play-game-section .game-embed iframe {
    height: 700px;
}

.usage-tips {
    max-width: 800px;
    margin: 2rem auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.usage-tips h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--emerald);
}

.usage-tips p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Content Pages */
.text-page {
    padding: 4rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.text-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.text-page h2 {
    font-size: 1.4rem;
    color: var(--emerald);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.text-page p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.text-page ul {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

.text-page ul li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    color: var(--text-secondary);
    position: relative;
}

.text-page ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--emerald);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.support-links a {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.support-links a:hover {
    border-color: var(--emerald);
    color: var(--emerald);
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Age Verify Modal */
.age-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.age-modal-overlay.closed {
    display: none;
}

.age-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--emerald);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 420px;
    text-align: center;
}

.age-modal-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--emerald);
}

.age-modal-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btns button {
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm {
    background: var(--emerald);
    color: var(--bg-primary);
    border: none;
}

.btn-confirm:hover {
    background: var(--emerald-light);
}

.btn-deny {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-deny:hover {
    border-color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desk-nav {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .hero-block h1 {
        font-size: 2.25rem;
    }
    
    .hero-block .tagline {
        font-size: 1.1rem;
    }
    
    .game-embed iframe {
        height: 420px;
    }
    
    .play-game-section .game-embed iframe {
        height: 480px;
    }
    
    .text-page h1 {
        font-size: 2rem;
    }
    
    .age-modal-box {
        margin: 1rem;
        padding: 2rem;
    }
    
    .age-btns {
        flex-direction: column;
    }
    
    .benefits-row {
        flex-direction: column;
        align-items: center;
    }
    
    .support-links {
        flex-direction: column;
        align-items: center;
    }
}
