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

:root {
    --blue-primary: #2563eb;
    --blue-light: #60a5fa;
    --blue-dark: #1d4ed8;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --white: #ffffff;
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--slate-900);
    color: var(--slate-200);
    line-height: 1.65;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--blue-light);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--white);
}

/* Header */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--blue-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-400);
    padding: 8px 0;
    position: relative;
}

.nav a:hover {
    color: var(--white);
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
}

.nav a:hover::before {
    width: 100%;
}

/* Hero */
.hero {
    padding: 160px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

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

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--slate-400);
    max-width: 680px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-section {
    padding: 60px 24px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--slate-800);
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid var(--slate-700);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--blue-primary);
    transform: translateY(-4px);
}

.card-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.card p {
    color: var(--slate-400);
    font-size: 0.95rem;
}

/* Game Section */
.game-section {
    padding: 80px 24px;
}

.game-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 40px;
}

.game-frame {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--slate-800);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--slate-700);
}

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

/* Features */
.features {
    padding: 80px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.5) 50%, transparent 100%);
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
}

.feature h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

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

/* Content Pages */
.page-hero {
    padding: 150px 24px 70px;
    text-align: center;
    background: linear-gradient(180deg, var(--slate-800) 0%, var(--slate-900) 100%);
}

.page-hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--slate-400);
    font-size: 1.1rem;
}

.content {
    padding: 60px 24px;
    max-width: 880px;
    margin: 0 auto;
}

.content h2 {
    font-size: 1.6rem;
    color: var(--white);
    margin: 40px 0 18px;
    padding-left: 16px;
    border-left: 4px solid var(--blue-primary);
}

.content h2:first-child {
    margin-top: 0;
}

.content p {
    color: var(--slate-400);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.content ul {
    list-style: none;
    margin: 20px 0;
}

.content li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--slate-400);
    font-size: 1rem;
}

.content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--blue-primary);
    border-radius: 50%;
}

/* Footer */
.footer {
    background: var(--slate-800);
    border-top: 1px solid var(--slate-700);
    padding: 50px 24px 35px;
    margin-top: 80px;
}

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

.footer-title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--slate-400);
    margin: 0 16px;
    font-size: 0.9rem;
}

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

.footer-copy {
    color: var(--slate-400);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid var(--slate-700);
}

/* Age Modal */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.age-dialog {
    background: var(--slate-800);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    max-width: 440px;
    margin: 20px;
    border: 1px solid var(--slate-700);
}

.age-dialog h2 {
    font-size: 1.7rem;
    color: var(--white);
    margin-bottom: 16px;
}

.age-dialog p {
    color: var(--slate-400);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.age-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.age-btn {
    padding: 14px 36px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

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

.age-btn.accept:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.age-btn.reject {
    background: transparent;
    border: 2px solid var(--slate-600);
    color: var(--slate-400);
}

.age-btn.reject:hover {
    border-color: var(--slate-400);
    color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
    .cards-grid,
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--slate-800);
        padding: 24px;
        display: none;
        border-bottom: 1px solid var(--slate-700);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .game-frame iframe {
        height: 480px;
    }
    
    .age-btns {
        flex-direction: column;
    }
    
    .age-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .game-frame iframe {
        height: 380px;
    }
}
