@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cloud-white: #ffffff;
    --soft-gray: #f4f6f9;
    --ocean-blue: #0066ff;
    --deep-navy: #0a1628;
    --slate: #64748b;
    --ice-blue: #e0f2fe;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--soft-gray);
    color: var(--deep-navy);
    min-height: 100vh;
    line-height: 1.7;
}

.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--cloud-white);
    box-shadow: 0 1px 3px rgba(10, 22, 40, 0.08);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ocean-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-dot {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--ocean-blue), #00ccff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--ocean-blue);
    color: var(--ocean-blue);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.1rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-list a {
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--ocean-blue);
}

.container {
    padding-top: 70px;
}

.intro-block {
    min-height: calc(100vh - 70px);
    background: var(--cloud-white);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.intro-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
}

.intro-text h1 span {
    color: var(--ocean-blue);
}

.intro-text p {
    font-size: 1.15rem;
    color: var(--slate);
    margin-bottom: 2rem;
    max-width: 540px;
}

.start-btn {
    display: inline-block;
    background: var(--ocean-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.start-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.info-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-tile {
    background: var(--soft-gray);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--ocean-blue);
}

.info-tile h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--deep-navy);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-tile p {
    color: var(--slate);
    font-size: 0.95rem;
}

.game-block {
    padding: 5rem 2rem;
    background: var(--soft-gray);
}

.block-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--deep-navy);
}

.block-title span {
    color: var(--ocean-blue);
}

.game-embed {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--cloud-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

.game-embed iframe {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
}

.perks-block {
    padding: 5rem 2rem;
    background: var(--cloud-white);
}

.perks-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.perk-item {
    text-align: center;
    padding: 2rem;
    background: var(--soft-gray);
    border-radius: 12px;
    transition: transform 0.2s;
}

.perk-item:hover {
    transform: translateY(-5px);
}

.perk-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.perk-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
}

.perk-item p {
    color: var(--slate);
    font-size: 0.9rem;
}

.story-block {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--ocean-blue), #0052cc);
    color: white;
}

.story-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-inner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.story-inner p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.bottom-section {
    background: var(--deep-navy);
    color: var(--cloud-white);
    padding: 3rem 2rem;
}

.bottom-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bottom-col h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bottom-col ul {
    list-style: none;
}

.bottom-col li {
    margin-bottom: 0.5rem;
}

.bottom-col a {
    color: var(--slate);
    text-decoration: none;
    transition: color 0.2s;
}

.bottom-col a:hover {
    color: var(--cloud-white);
}

.bottom-col p {
    color: var(--slate);
    font-size: 0.95rem;
}

.bottom-line {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(100, 116, 139, 0.3);
    color: var(--slate);
    font-size: 0.85rem;
}

.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-screen.hidden {
    display: none;
}

.age-card {
    background: var(--cloud-white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 440px;
}

.age-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.age-card p {
    color: var(--slate);
    margin-bottom: 2rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-confirm, .age-deny {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.age-confirm {
    background: var(--ocean-blue);
    color: white;
}

.age-confirm:hover {
    background: #0052cc;
}

.age-deny {
    background: var(--soft-gray);
    color: var(--deep-navy);
}

.age-deny:hover {
    background: #e2e8f0;
}

.sub-header {
    padding: 8rem 2rem 3rem;
    background: var(--cloud-white);
    text-align: center;
}

.sub-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    color: var(--deep-navy);
}

.sub-header h1 span {
    color: var(--ocean-blue);
}

.text-area {
    padding: 3rem 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.text-area h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ocean-blue);
    margin: 2.5rem 0 1rem;
    font-size: 1.4rem;
}

.text-area p {
    color: var(--slate);
    margin-bottom: 1rem;
}

.text-area ul {
    color: var(--slate);
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.text-area li {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .perks-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bottom-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cloud-white);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s;
        box-shadow: 0 4px 10px rgba(10, 22, 40, 0.1);
    }
    
    .nav-list.open {
        max-height: 300px;
        padding: 1rem 0;
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav-list a {
        display: block;
        padding: 0.8rem;
    }
    
    .intro-text h1 {
        font-size: 2.4rem;
    }
    
    .perks-row {
        grid-template-columns: 1fr;
    }
    
    .game-embed iframe {
        height: 420px;
    }
    
    .age-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .sub-header h1 {
        font-size: 2rem;
    }
}
