@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --flux-orange: #f97316;
    --amber: #fbbf24;
    --dark: #18181b;
    --darker: #09090b;
    --zinc: #27272a;
    --light: #fafafa;
    --muted: #a1a1aa;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
}

.topnav {
    background: var(--dark);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--zinc);
}

.topnav-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.8rem;
    color: var(--flux-orange);
    text-decoration: none;
    letter-spacing: -1px;
}

.burger {
    display: none;
    background: transparent;
    border: 1px solid var(--flux-orange);
    color: var(--flux-orange);
    font-size: 1.4rem;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    border-radius: 6px;
}

.links {
    display: flex;
    gap: 0.25rem;
}

.links a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.links a:hover {
    color: var(--light);
    background: var(--zinc);
}

.hero-flux {
    background: var(--darker);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-flux::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--flux-orange), transparent 30%);
    animation: rotate 20s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-flux h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4rem;
    background: linear-gradient(90deg, var(--flux-orange), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-flux p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.flux-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--zinc);
    border: 1px solid var(--flux-orange);
    color: var(--flux-orange);
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.game-zone {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--darker), var(--dark));
}

.zone-header {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2rem;
    color: var(--amber);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.game-frame {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--zinc);
    border: 2px solid var(--flux-orange);
    border-radius: 12px;
    overflow: hidden;
}

.game-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.features-row {
    padding: 5rem 2rem;
    background: var(--dark);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-tile {
    background: var(--darker);
    border: 1px solid var(--zinc);
    padding: 2rem;
    border-radius: 12px;
    transition: border-color 0.3s;
}

.feature-tile:hover {
    border-color: var(--flux-orange);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-tile h3 {
    font-family: 'Archivo Black', sans-serif;
    color: var(--flux-orange);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.feature-tile p {
    color: var(--muted);
    font-size: 0.95rem;
}

.info-section {
    padding: 5rem 2rem;
    background: var(--darker);
}

.info-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-section h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.2rem;
    color: var(--amber);
    margin-bottom: 2rem;
}

.info-section p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.page-shell {
    min-height: calc(100vh - 180px);
    padding: 4rem 2rem;
    background: var(--dark);
}

.page-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--darker);
    border: 1px solid var(--zinc);
    padding: 3rem;
    border-radius: 16px;
}

.page-box h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.5rem;
    color: var(--flux-orange);
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.page-box h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3rem;
    color: var(--amber);
    margin: 2rem 0 1rem;
}

.page-box p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.page-box ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--muted);
}

.page-box li {
    margin-bottom: 0.6rem;
}

.play-alert {
    background: linear-gradient(135deg, var(--zinc), var(--dark));
    border-left: 4px solid var(--flux-orange);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.play-alert h3 {
    color: var(--flux-orange);
    margin-bottom: 0.5rem;
}

.play-alert p {
    margin-bottom: 0;
}

.flux-footer {
    background: var(--darker);
    border-top: 1px solid var(--zinc);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--flux-orange);
}

.rg-zone {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--zinc);
}

.rg-zone h4 {
    color: var(--amber);
    margin-bottom: 1rem;
    font-family: 'Archivo Black', sans-serif;
}

.rg-zone a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 1rem;
}

.rg-zone a:hover {
    color: var(--flux-orange);
}

.copy {
    margin-top: 2rem;
    color: var(--muted);
    opacity: 0.5;
    font-size: 0.9rem;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-card {
    background: var(--dark);
    border: 2px solid var(--flux-orange);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 480px;
    margin: 1rem;
}

.age-card h2 {
    font-family: 'Archivo Black', sans-serif;
    color: var(--flux-orange);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.age-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btns button {
    font-family: 'Inter', sans-serif;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-go {
    background: linear-gradient(90deg, var(--flux-orange), var(--amber));
    color: var(--darker);
}

.btn-go:hover {
    transform: scale(1.03);
}

.btn-back {
    background: transparent;
    border: 1px solid var(--muted) !important;
    color: var(--muted);
}

.btn-back:hover {
    border-color: var(--light) !important;
    color: var(--light);
}

.hidden {
    display: none !important;
}

@media (max-width: 1000px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 1rem;
        display: none;
        border-bottom: 1px solid var(--zinc);
    }

    .links.show {
        display: flex;
    }

    .links a {
        padding: 1rem;
    }

    .hero-flux h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-frame iframe {
        height: 400px;
    }

    .page-box {
        padding: 2rem;
    }

    .age-btns {
        flex-direction: column;
    }
}
