:root {
    --bg-deep: #12061f;
    --bg-panel: rgba(26, 11, 46, 0.92);
    --bg-soft: #fdf4ff;
    --text-main: #f8f4ff;
    --text-muted: #c4b5fd;
    --text-dark: #1e1033;
    --cyan: #22d3ee;
    --violet: #7c3aed;
    --magenta: #e879f9;
    --gold: #fbbf24;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius: 20px;
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Outfit", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    background:
        radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.18), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(232, 121, 249, 0.16), transparent 38%),
        linear-gradient(165deg, #0b0614 0%, #1a0b2e 45%, #12061f 100%);
    min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--magenta); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(11, 6, 20, 0.82);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    min-width: 0;
}
.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-text small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.site-nav a {
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
}
.site-nav a.is-active {
    background: rgba(124, 58, 237, 0.25);
    color: #fff;
}
.nav-shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(232, 121, 249, 0.35);
    white-space: nowrap;
}
.nav-shop-cta.is-active {
    outline: 2px solid var(--cyan);
}
.nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: rgba(255,255,255,0.08);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
}

.site-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0 0 16px;
}
.section-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 720px;
}

.home-spotlight {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 56px;
}
.home-spotlight-art {
    margin: 0;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 1024 / 500;
    background: #1a0b2e;
}
.home-spotlight-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.launch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}
.launch-btn {
    display: block;
    max-width: 280px;
    flex: 1 1 220px;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.launch-btn img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 499 / 171;
    object-fit: contain;
    background: transparent;
}
.launch-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34,211,238,0.25); }
.launch-btn.is-disabled { opacity: 0.55; pointer-events: none; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 40px 0;
}
.glass-card {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}
.glass-card h3 {
    font-family: var(--font-display);
    margin: 0 0 10px;
    font-size: 1.25rem;
}
.glass-card p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 700;
}

.strip-band {
    padding: 48px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 48px 0;
}
.shot-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.shot-frame {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 800 / 1280;
    background: #1f1135;
    box-shadow: var(--shadow);
}
.shot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-company .company-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: start;
}
.icon-pillars {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}
.icon-pillar {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
}
.icon-pillar i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(124,58,237,0.35));
    color: var(--cyan);
    font-size: 1.2rem;
}
.company-visuals {
    display: grid;
    gap: 18px;
}
.company-visuals figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    max-width: 360px;
    box-shadow: var(--shadow);
}
.company-visuals img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 800 / 1280;
    object-fit: cover;
}

.page-game .game-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}
.game-head > img {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    object-fit: cover;
}
.page-game .game-head .launch-row {
    margin-top: 20px;
}
.page-game .game-head .launch-btn img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: 499 / 171;
    object-fit: contain;
}
.feature-deck {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.feature-tile {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(124,58,237,0.18), rgba(34,211,238,0.08));
    border: 1px solid var(--line);
}
.feature-tile h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.feature-tile p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.feature-tile i { color: var(--magenta); margin-right: 6px; }

.page-contact .contact-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.contact-card, .map-card {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.contact-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.contact-line i { color: var(--cyan); margin-top: 4px; }

.page-shop .shop-banner {
    padding: 28px 32px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(232,121,249,0.25), rgba(124,58,237,0.35), rgba(34,211,238,0.15));
    border: 1px solid rgba(255,255,255,0.14);
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.shop-banner .nav-shop-cta { pointer-events: none; }

.shop-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.45);
    margin-bottom: 20px;
    color: #fecaca;
}

.shop-intro {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 24px;
    color: var(--text-muted);
    line-height: 1.7;
}

.shop-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}
.shop-panel, .checkout-panel {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.shop-panel h2, .checkout-panel h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 1.25rem;
}
.coin-scroll {
    max-height: 520px;
    overflow: auto;
    padding-right: 6px;
}
.coin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.coin-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
}
.coin-item.is-selected {
    border-color: var(--cyan);
    box-shadow: 0 0 0 1px rgba(34,211,238,0.35);
    background: rgba(34,211,238,0.08);
}
.coin-item img {
    width: 44px;
    height: auto;
    aspect-ratio: 100 / 106;
    object-fit: contain;
}
.coin-item .coin-title { font-weight: 700; font-size: 0.92rem; }
.coin-item .coin-price { color: var(--gold); font-weight: 700; white-space: nowrap; }
.coin-loading { text-align: center; padding: 40px 10px; color: var(--text-muted); }

.currency-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.currency-btn {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}
.currency-btn.is-active {
    border-color: var(--cyan);
    background: rgba(34,211,238,0.12);
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.25);
    color: #fff;
    font: inherit;
}
.form-group input[readonly] { opacity: 0.85; }
.required { color: var(--magenta); }
.selected-display {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed var(--line);
    color: var(--text-muted);
    min-height: 46px;
}
.selected-display.has-value { color: #fff; border-style: solid; }
.payment-options { display: grid; gap: 10px; }
.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    cursor: pointer;
}
.payment-option.is-selected { border-color: var(--violet); background: rgba(124,58,237,0.12); }
.payment-option.is-display-only { opacity: 0.65; cursor: default; }
.payment-option input { accent-color: var(--violet); }
.agree-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); }
.field-error { display: block; color: #fca5a5; font-size: 0.82rem; margin-top: 6px; min-height: 1em; }
.btn-submit {
    width: 100%;
    border: 0;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    box-shadow: 0 14px 32px rgba(124,58,237,0.35);
}
.btn-submit:hover { filter: brightness(1.05); }

.delivery-promise {
    margin-top: 32px;
    padding: 26px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
}
.delivery-promise h2 {
    font-family: var(--font-display);
    margin: 0 0 18px;
    font-size: 1.35rem;
}
.promise-block {
    margin-bottom: 18px;
}
.promise-block h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--cyan);
}
.promise-block p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.result-panel {
    max-width: 640px;
    margin: 40px auto;
    padding: 36px;
    border-radius: var(--radius);
    background: var(--bg-panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    text-align: center;
}
.result-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.result-icon.success { color: #4ade80; }
.result-icon.fail { color: #f87171; }
.order-details {
    text-align: left;
    margin: 24px 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.order-details h3 {
    margin: 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    font-size: 0.95rem;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
}
.detail-row .label { color: var(--text-muted); }
.detail-row .value.total { color: var(--gold); font-weight: 700; }
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
}
.btn-primary {
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    color: #fff !important;
    border: 0;
    cursor: pointer;
}
.btn-outline {
    border: 1px solid var(--line);
    color: #fff !important;
}

.site-footer {
    margin-top: 48px;
    padding: 40px 24px 28px;
    border-top: 1px solid var(--line);
    background: rgba(0,0,0,0.25);
}
.footer-grid {
    max-width: 1280px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 24px;
}
.footer-brand img { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 10px; }
.footer-brand p, .footer-contact p { color: var(--text-muted); line-height: 1.6; font-size: 0.92rem; }
.footer-links h3, .footer-contact h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin: 0 0 10px;
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .home-spotlight, .page-company .company-layout, .page-contact .contact-shell, .shop-layout {
        grid-template-columns: 1fr;
    }
    .card-grid { grid-template-columns: 1fr; }
    .shot-row { grid-template-columns: repeat(2, 1fr); }
    .feature-deck { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: inline-grid; place-items: center; }
    .site-nav {
        position: fixed;
        inset: 72px 16px auto;
        flex-direction: column;
        align-items: stretch;
        background: rgba(18, 6, 31, 0.98);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 16px;
        display: none;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav ul { flex-direction: column; }
    .coin-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .brand-text strong { font-size: 0.92rem; }
}
