:root {
    --bg: #07111f;
    --bg-soft: #0d1b31;
    --panel: rgba(14, 27, 49, 0.82);
    --panel-strong: rgba(11, 23, 42, 0.94);
    --line: rgba(255, 255, 255, 0.1);
    --text: #eef4ff;
    --muted: #adc0de;
    --accent: #7cf6d7;
    --accent-2: #78a9ff;
    --accent-3: #ffc46b;
    --danger: #ff8d72;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(120, 169, 255, 0.16), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(124, 246, 215, 0.14), transparent 20%),
        linear-gradient(180deg, #08111d 0%, #0a1527 48%, #06101d 100%);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-aura {
    position: fixed;
    inset: auto;
    width: 34rem;
    height: 34rem;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
}

.aura-one {
    top: -8rem;
    left: -10rem;
    background: #42d8ff;
}

.aura-two {
    bottom: -10rem;
    right: -8rem;
    background: #8d7cff;
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(6, 16, 29, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 86px;
}

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

.brand img {
    width: 52px;
    height: 52px;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong,
.section-kicker,
.hero-title,
.card-title,
.panel-title,
.faq-question,
.legal-card h2,
.contact-panel h1,
.game-headline {
    font-family: 'Space Grotesk', sans-serif;
}

.brand-copy strong {
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.brand-copy small {
    color: var(--muted);
    text-transform: lowercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 12px;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    margin: 5px 0;
}

.hero {
    padding: 56px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-visual,
.glass-card,
.feature-card,
.legal-card,
.contact-panel,
.game-shell,
.info-strip,
.notice-bar {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-copy,
.hero-visual,
.glass-card,
.legal-card,
.contact-panel,
.game-shell {
    border-radius: var(--radius);
}

.hero-copy {
    padding: 42px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(124, 246, 215, 0.08);
    border: 1px solid rgba(124, 246, 215, 0.15);
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.hero-title,
.game-headline,
.contact-panel h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-title span,
.game-headline span,
.accent-text {
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 45%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.section-lead,
.contact-subtitle,
.legal-card p,
.legal-card li,
.faq-answer,
.field-note,
.info-strip p,
.footer-note,
.footer-list li {
    color: var(--muted);
    line-height: 1.7;
}

.hero-copy p {
    font-size: 1.08rem;
    max-width: 52ch;
    margin-top: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn,
.contactBtn,
.popupClose {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    border-radius: 999px;
    padding: 0 24px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn-primary,
.contactBtn,
.popupClose {
    color: #04101d;
    background: linear-gradient(135deg, var(--accent) 0%, #99fbff 100%);
    box-shadow: 0 18px 40px rgba(124, 246, 215, 0.22);
}

.btn-secondary {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.btn:hover,
.contactBtn:hover,
.popupClose:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.stat-card,
.feature-card,
.info-strip {
    border-radius: 22px;
}

.stat-card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-card strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-badge,
.visual-float {
    position: absolute;
    border-radius: 20px;
    padding: 14px 16px;
    background: rgba(4, 11, 21, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
}

.visual-badge {
    left: 24px;
    top: 24px;
}

.visual-float {
    right: 24px;
    bottom: 24px;
    max-width: 220px;
}

.visual-badge strong,
.visual-float strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.section {
    padding: 28px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}

.section-head h2,
.legal-card h2,
.form-title,
.panel-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    letter-spacing: -0.03em;
}

.grid-3,
.grid-2,
.legal-grid,
.info-grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.legal-grid,
.info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.info-strip {
    padding: 24px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card img,
.info-strip img {
    width: 68px;
    margin-bottom: 18px;
}

.card-title,
.panel-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.glass-card {
    padding: 32px;
}

.highlights-list,
.legal-card ul,
.clean-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.highlights-list li,
.legal-card li,
.clean-list li {
    position: relative;
    padding-left: 28px;
}

.highlights-list li::before,
.legal-card li::before,
.clean-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 18px rgba(124, 246, 215, 0.4);
}

.notice-bar {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    padding: 26px 28px;
    border-radius: 26px;
}

.notice-bar strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.accordionItem {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.accordionQuestion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 22px 24px;
}

.faq-question {
    font-size: 1.08rem;
}

.accordionQuestion span {
    color: var(--accent);
}

.accordionAnswer {
    display: none;
    padding: 0 24px 22px;
}

.accordionAnswer.open {
    display: block;
}

.game-hero,
.contact-hero,
.legal-hero {
    padding: 42px 0 18px;
}

.game-shell {
    padding: 20px;
    overflow: hidden;
}

.game-frame {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #02070d;
    aspect-ratio: 16 / 10;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
}

.contact-panel {
    padding: 34px;
}

.contact-visual {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-badges {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.badge-line {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.contactForm {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.formRow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.formGroup {
    position: relative;
}

.formGroup input,
.formGroup textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 16px 18px;
    outline: none;
}

.formGroup textarea {
    min-height: 150px;
    resize: vertical;
}

.formGroup input::placeholder,
.formGroup textarea::placeholder {
    color: #9fb3d1;
}

.formGroup input:focus,
.formGroup textarea:focus {
    border-color: rgba(124, 246, 215, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 246, 215, 0.11);
}

.contactBtn {
    width: fit-content;
    min-width: 190px;
    padding: 0 28px;
    border: none;
}

.contactBtn.loading {
    opacity: 0.8;
    pointer-events: none;
}

.btnLoader {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(4, 16, 29, 0.25);
    border-top-color: #04101d;
    display: none;
    animation: spin 0.8s linear infinite;
}

.contactBtn.loading .btnLoader {
    display: inline-block;
}

.contactBtn.loading .btnText {
    opacity: 0.7;
}

.popupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 9, 18, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 60;
}

.popupOverlay.show {
    display: flex;
}

.popupBox {
    width: min(100%, 420px);
    padding: 30px;
    border-radius: 28px;
    background: var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: var(--shadow);
}

.popupIcon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    margin: 0 auto 16px;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(124, 246, 215, 0.14), rgba(120, 169, 255, 0.16));
}

.popupTitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.popupMessage {
    color: var(--muted);
    margin-bottom: 18px;
}

.legal-grid {
    align-items: start;
}

.legal-card {
    padding: 30px;
}

.legal-card h2 {
    margin-bottom: 16px;
}

.site-footer {
    padding: 40px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 22px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}

.footer-brand img {
    width: 56px;
}

.footer-brand h3,
.site-footer h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 10px;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-list a {
    color: var(--text);
    text-decoration: none;
}

.footer-list a:hover {
    color: var(--accent);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    color: var(--muted);
}

.footer-note {
    max-width: 760px;
}

.page-space {
    height: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .contact-layout,
    .grid-3,
    .grid-2,
    .legal-grid,
    .info-grid,
    .footer-grid,
    .notice-bar {
        grid-template-columns: 1fr;
    }

    .footer-meta,
    .section-head {
        flex-direction: column;
        align-items: start;
    }

    .hero-visual {
        min-height: 440px;
    }
}

@media (max-width: 760px) {
    .header-row {
        min-height: 76px;
    }

    .mobile-toggle {
        display: inline-block;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        padding: 14px;
        border-radius: 24px;
        background: rgba(5, 14, 26, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.show {
        display: flex;
    }

    .nav-link {
        text-align: center;
    }

    .hero,
    .game-hero,
    .contact-hero,
    .legal-hero {
        padding-top: 28px;
    }

    .hero-copy,
    .hero-visual,
    .glass-card,
    .legal-card,
    .contact-panel,
    .game-shell,
    .footer-grid {
        border-radius: 24px;
    }

    .hero-copy,
    .contact-panel,
    .legal-card,
    .glass-card,
    .feature-card,
    .info-strip,
    .game-shell,
    .notice-bar,
    .footer-grid {
        padding: 22px;
    }

    .hero-stats,
    .formRow {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 320px;
    }

    .visual-badge,
    .visual-float {
        position: static;
        margin: 18px;
    }
}


.company-card {
    margin-top: 18px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(18, 92, 110, 0.92), rgba(14, 74, 90, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.company-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 14px;
}

.company-lines {
    display: grid;
    gap: 10px;
    max-width: 560px;
}

.company-lines p,
.company-lines a {
    color: var(--text);
    text-decoration: none;
}

body.age-gate-open {
    overflow: hidden;
}

.age-gate {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 120;
}

.age-gate.show {
    display: flex;
}

.age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 9, 18, 0.82);
    backdrop-filter: blur(10px);
}

.age-gate__dialog {
    position: relative;
    width: min(100%, 560px);
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(10, 18, 32, 0.98), rgba(8, 14, 26, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.age-gate__eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(120, 169, 255, 0.14);
    color: var(--accent-2);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.age-gate__dialog h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}

.age-gate__dialog p {
    color: var(--muted);
    margin: 0 auto 20px;
    max-width: 440px;
}

.age-gate__button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: #071120;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 20px 40px rgba(84, 194, 255, 0.22);
}

.age-gate__links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.age-gate__links a {
    color: var(--muted);
    text-decoration: none;
}

.age-gate__links a:hover,
.company-lines a:hover {
    color: var(--accent);
}

@media (max-width: 760px) {
    .company-card,
    .age-gate__dialog {
        border-radius: 24px;
    }

    .age-gate__dialog {
        padding: 24px;
    }
}
