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

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

:root {
    --void-purple: #7C3AED;
    --void-indigo: #4F46E5;
    --void-light: #A78BFA;
    --abyss: #030308;
    --surface: #0D0D14;
    --ghost: #E5E7EB;
    --ghost-dim: #6B7280;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--abyss);
    color: var(--ghost);
    line-height: 1.7;
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(79, 70, 229, 0.06) 0%, transparent 50%);
    min-height: 100vh;
}

/* Nav */
.nav-bar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(3, 3, 8, 0.85);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-symbol {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--void-purple), var(--void-indigo));
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.brand-symbol::before {
    content: '';
    position: absolute;
    inset: 6px;
    background: var(--abyss);
    border-radius: 50%;
}

.brand-symbol::after {
    content: '';
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, var(--void-purple), var(--void-light));
    border-radius: 50%;
}

.brand-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--void-light);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--ghost-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--void-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--void-light);
    transition: all 0.3s ease;
}

.mobile-menu-btn.toggled span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.toggled span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.toggled span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Hero */
.main-hero {
    padding: 180px 30px 120px;
    text-align: center;
}

.main-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 28px;
    background: linear-gradient(180deg, var(--ghost), var(--void-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-hero .tagline {
    font-size: 1.2rem;
    color: var(--ghost-dim);
    max-width: 750px;
    margin: 0 auto 50px;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--void-purple), var(--void-indigo));
    color: white;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.4);
}

/* Cards Section */
.cards-section {
    padding: 70px 30px;
    max-width: 1350px;
    margin: 0 auto;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-card {
    background: var(--surface);
    border: 1px solid rgba(124, 58, 237, 0.12);
    padding: 38px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--void-purple), var(--void-indigo));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-5px);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card .emoji {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    color: var(--void-light);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--ghost-dim);
    font-size: 0.95rem;
}

/* Game Block */
.game-block {
    padding: 100px 30px;
}

.game-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    text-align: center;
    color: var(--void-light);
    margin-bottom: 50px;
}

.game-frame {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--surface);
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

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

/* Features */
.features-area {
    padding: 90px 30px;
    max-width: 1250px;
    margin: 0 auto;
}

.features-area h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--ghost);
    margin-bottom: 55px;
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-tile {
    background: var(--surface);
    padding: 30px 22px;
    border-radius: 14px;
    text-align: center;
    border-top: 3px solid var(--void-purple);
}

.feature-tile h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: var(--void-light);
    margin-bottom: 12px;
}

.feature-tile p {
    color: var(--ghost-dim);
    font-size: 0.88rem;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding: 55px 30px 35px;
    margin-top: 80px;
}

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

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

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

.footer-menu a:hover {
    color: var(--void-light);
}

.support-area {
    padding-top: 30px;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
}

.support-area p {
    color: var(--ghost-dim);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.support-area a {
    color: var(--void-light);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.85rem;
}

.support-area a:hover {
    text-decoration: underline;
}

.copy-notice {
    margin-top: 32px;
    color: rgba(107, 114, 128, 0.5);
    font-size: 0.8rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 8, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.age-content {
    background: var(--surface);
    border: 2px solid var(--void-purple);
    padding: 52px 48px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 25px;
    box-shadow: 0 0 80px rgba(124, 58, 237, 0.2);
}

.age-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--void-light);
    margin-bottom: 20px;
}

.age-content p {
    color: var(--ghost-dim);
    margin-bottom: 32px;
}

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

.btn-confirm, .btn-deny {
    padding: 14px 40px;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--void-purple), var(--void-indigo));
    color: white;
}

.btn-deny {
    background: transparent;
    border: 2px solid var(--ghost-dim);
    color: var(--ghost-dim);
}

.btn-confirm:hover, .btn-deny:hover {
    transform: scale(1.04);
}

/* Content Pages */
.page-content {
    padding: 145px 30px 95px;
    max-width: 980px;
    margin: 0 auto;
}

.page-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    color: var(--void-light);
    margin-bottom: 42px;
}

.page-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--void-purple);
    margin: 40px 0 16px;
}

.page-content p {
    color: var(--ghost-dim);
    margin-bottom: 18px;
}

.page-content ul {
    color: var(--ghost-dim);
    margin: 0 0 22px 26px;
}

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

/* Responsive */
@media (max-width: 1100px) {
    .features-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .cards-row {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(3, 3, 8, 0.98);
        flex-direction: column;
        padding: 28px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    }
    
    .nav-links.visible {
        transform: translateY(0);
    }
    
    .main-hero h1 {
        font-size: 2.6rem;
    }
    
    .main-hero .tagline {
        font-size: 1.05rem;
    }
    
    .game-frame iframe {
        height: 450px;
    }
    
    .features-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 14px;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
