/* ============================================
   MARTIN CASINO - CYBERPUNK DESIGN SYSTEM
   Tokens · Typography · Layout · Components · Motion
   ============================================ */

:root {
    --background: #070b18;
    --foreground: #e6ecf5;
    --card: #0f1730;
    --card-foreground: #e6ecf5;
    --popover: #0f1730;
    --popover-foreground: #e6ecf5;
    --primary: #22a4ff;
    --primary-foreground: #04101f;
    --secondary: #ff7a1a;
    --secondary-foreground: #1a0a00;
    --muted: #1e293b;
    --muted-foreground: #b6c2d4;
    --accent: #ff2bd6;
    --accent-foreground: #1a0010;
    --destructive: #f43f5e;
    --destructive-foreground: #000000;
    --border: #22304d;
    --input: #10182b;
    --ring: #22a4ff;

    --hud-cyan: #22a4ff;
    --hud-orange: #ff7a1a;
    --hud-magenta: #ff2bd6;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 6rem;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --container: 1240px;
    --header-h: 72px;

    --t-fast: 120ms ease-out;
    --t-base: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
    --t-slow: 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* ============================================
   RESET & SAFETY
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Rajdhani", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(ellipse at top, rgba(34, 164, 255, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(255, 43, 214, 0.06), transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
section { overflow: clip; position: relative; }

p, li, td, th { overflow-wrap: break-word; }
pre, code { max-width: 100%; overflow-x: auto; }

input, textarea, select { max-width: 100%; box-sizing: border-box; }

a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--hud-orange); }

.skip-link {
    position: absolute; top: -100px; left: 0; z-index: 9999;
    padding: 0.75rem 1rem; background: var(--primary); color: var(--primary-foreground);
}
.skip-link:focus { top: 0; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
    font-family: "Orbitron", system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
    color: var(--foreground);
}

h1 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); font-weight: 800; letter-spacing: 0.04em; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.125rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1.25rem; }

.lead { font-size: 1.125rem; color: var(--muted-foreground); }

.eyebrow {
    display: inline-block;
    font-family: "Orbitron", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hud-cyan);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--hud-cyan);
    border-radius: 999px;
}

/* In-paragraph anchors */
main p a {
    color: var(--hud-cyan);
    text-decoration: underline;
    text-decoration-color: rgba(34, 164, 255, 0.45);
    text-underline-offset: 3px;
    transition: all var(--t-fast);
}
main p a:hover {
    color: var(--hud-orange);
    text-decoration-color: var(--hud-orange);
    text-shadow: 0 0 8px rgba(255, 122, 26, 0.5);
}

/* ============================================
   LAYOUT
   ============================================ */
.container, .container-fluid {
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--space-md);
}
.container { max-width: var(--container); }
.container-fluid { max-width: 1440px; }

.hud-frame { position: relative; }

section { padding-block: var(--space-2xl); }

@media (min-width: 1024px) {
    section { padding-block: var(--space-3xl); }
    .container, .container-fluid { padding-inline: var(--space-lg); }
}

/* Circuit board background pattern */
.circuit-bg {
    position: relative;
}
.circuit-bg::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(34, 164, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 164, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}
.circuit-bg > * { position: relative; z-index: 1; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 1.6rem;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--hud-orange), #ff5c00);
    color: #1a0a00;
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.6), 0 6px 24px rgba(255, 122, 26, 0.25);
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 28px rgba(255, 122, 26, 0.6), 0 12px 32px rgba(255, 122, 26, 0.35);
    color: #1a0a00;
}
.btn-ghost {
    border-color: var(--hud-cyan);
    color: var(--hud-cyan);
}
.btn-ghost:hover {
    background: rgba(34, 164, 255, 0.12);
    transform: translateY(-2px);
    color: var(--hud-cyan);
}
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; min-height: 56px; }

.btn-primary::before {
    content: "";
    position: absolute;
}

/* Pulsing glow keyframe */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 122, 26, 0.4), 0 6px 24px rgba(255, 122, 26, 0.25); }
    50% { box-shadow: 0 0 32px rgba(255, 122, 26, 0.7), 0 6px 24px rgba(255, 122, 26, 0.4); }
}
.btn-primary { animation: pulseGlow 2.4s ease-in-out infinite; }

/* ============================================
   HUD ELEMENTS (corners, status pills)
   ============================================ */
.hud-corner {
    position: absolute;
    width: 28px; height: 28px;
    border: 2px solid var(--hud-cyan);
    pointer-events: none;
    opacity: 0.7;
}
.hud-tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.hud-tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.hud-br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

.hud-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--hud-magenta);
    box-shadow: 0 0 12px var(--hud-magenta);
    animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hud-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--foreground);
    background: rgba(15, 23, 48, 0.7);
    border: 1px solid var(--hud-cyan);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(7, 11, 24, 0.92);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 0.75rem var(--space-md);
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--header-h);
    gap: var(--space-md);
}
.site-brand {
    display: flex; align-items: center; gap: 0.65rem;
    color: var(--hud-cyan);
    font-family: "Orbitron", sans-serif;
    text-decoration: none;
}
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; letter-spacing: 0.15em; font-size: 1.05rem; color: var(--hud-cyan); }
.brand-sub { font-size: 0.65rem; letter-spacing: 0.3em; color: var(--hud-orange); margin-top: 2px; }

.primary-nav { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.nav-link {
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--foreground);
    padding: 0.5rem 0;
    position: relative;
}
.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--hud-orange);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-base);
}
.nav-link:hover { color: var(--hud-cyan); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

.header-hud {
    display: none;
    align-items: center; gap: 0.5rem;
    position: absolute; top: 50%; right: 1.5rem;
    transform: translateY(-50%);
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--hud-cyan);
}

.mobile-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 48px; height: 48px;
    padding: 12px;
    background: transparent; border: 1px solid var(--hud-cyan);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1001;
}
.mobile-toggle span {
    display: block; height: 2px; width: 100%;
    background: var(--hud-cyan);
    transition: transform var(--t-base), opacity var(--t-base);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
    .primary-nav {
        display: flex; align-items: center; gap: 2rem;
    }
    .mobile-toggle { display: none; }
}

/* Mobile drawer */
@media (max-width: 1023px) {
    .primary-nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: var(--background);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-lg);
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--t-base);
        border-top: 1px solid var(--border);
    }
    .primary-nav.is-open { display: flex; transform: translateX(0); }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list li { border-bottom: 1px solid var(--border); }
    .nav-link {
        display: flex; align-items: center;
        min-height: 56px; font-size: 1rem;
        padding: 0.75rem 0;
    }
    .nav-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .nav-actions .btn { width: 100%; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #04081a;
    border-top: 1px solid var(--border);
    padding: var(--space-2xl) 0 var(--space-md);
    margin-top: var(--space-2xl);
}
.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}
.footer-col { min-width: 0; }
.footer-brand { display: flex; flex-direction: column; margin-bottom: 0.75rem; font-family: "Orbitron", sans-serif; }
.footer-brand .brand-name { font-size: 1.1rem; color: var(--hud-cyan); letter-spacing: 0.2em; }
.footer-brand .brand-sub { color: var(--hud-orange); font-size: 0.7rem; letter-spacing: 0.3em; }
.footer-tag { color: var(--muted-foreground); font-size: 0.95rem; }
.footer-license { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.license-badge {
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--hud-cyan);
    color: var(--hud-cyan);
    border-radius: 4px;
}
.age-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 2px solid var(--hud-orange);
    color: var(--hud-orange);
    border-radius: 50%;
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
}
.footer-heading {
    font-family: "Orbitron", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hud-orange);
    margin-bottom: 1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a { color: var(--foreground); font-size: 0.95rem; }
.footer-list a:hover { color: var(--hud-cyan); }
.payment-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pay-chip {
    display: inline-block;
    padding: 0.4rem 0.65rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted-foreground);
    background: rgba(15, 23, 48, 0.6);
}
.footer-bottom {
    max-width: var(--container);
    margin: var(--space-xl) auto 0;
    padding: var(--space-md) var(--space-md) 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.85rem;
}
.footer-disclaimer { margin-top: 0.5rem; font-size: 0.8rem; }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); }
}

/* ============================================
   COMPONENT: cta_banner
   ============================================ */
.cta-banner {
    position: relative;
    padding: var(--space-2xl) var(--space-md);
    margin: var(--space-2xl) 0;
    background:
        radial-gradient(ellipse at center, rgba(34, 164, 255, 0.12), transparent 70%),
        linear-gradient(180deg, #0a1230, #050818);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    overflow: clip;
}
.cta-banner::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(34, 164, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 164, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.cta-status {
    position: absolute; top: 20px; right: 20px;
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--hud-cyan);
    padding: 0.4rem 0.8rem;
    background: rgba(7, 11, 24, 0.7);
    border: 1px solid var(--hud-cyan);
    border-radius: 999px;
}
.cta-inner { position: relative; max-width: 800px; margin: 0 auto; }
.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: #f0f5ff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.cta-sub { color: var(--muted-foreground); font-size: 1.05rem; margin-bottom: 1.75rem; }
.cta-disclaimer { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 1rem; letter-spacing: 0.08em; }

@media (min-width: 1024px) {
    .cta-banner { padding: var(--space-3xl) var(--space-lg); }
}

/* ============================================
   COMPONENT: info_card
   ============================================ */
.info-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    min-width: 0;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.info-card-accent {
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hud-orange), var(--hud-magenta));
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--hud-cyan);
    box-shadow: 0 0 24px rgba(34, 164, 255, 0.25), 0 12px 32px rgba(0, 0, 0, 0.35);
}
.info-card-icon {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--hud-cyan);
    border-radius: var(--radius-sm);
    background: rgba(34, 164, 255, 0.08);
    color: var(--hud-cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
}
.info-card-media {
    margin: -1.25rem -1.25rem 1rem;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--muted);
}
.info-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-card-title { color: var(--hud-cyan); font-size: 1.15rem; margin-bottom: 0.5rem; }
.info-card-text { color: var(--foreground); font-size: 0.98rem; margin-bottom: 1rem; }
.info-card-body { flex: 1; display: flex; flex-direction: column; }
.info-card-link {
    margin-top: auto;
    align-self: flex-start;
    font-family: "Orbitron", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hud-cyan);
    border-bottom: 1px solid var(--hud-cyan);
    padding-bottom: 2px;
}
.info-card-link:hover { color: var(--hud-orange); border-color: var(--hud-orange); }

.info-card--accent { border-color: var(--hud-magenta); }
.info-card--accent .info-card-accent { background: linear-gradient(90deg, var(--hud-magenta), var(--hud-cyan)); }
.info-card--gold .info-card-accent { background: linear-gradient(90deg, #ffd166, var(--hud-orange)); }

@media (min-width: 1024px) {
    .info-card { padding: 1.75rem; }
    .info-card-media { margin: -1.75rem -1.75rem 1.25rem; }
}

/* Grid utilities for cards */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}
@media (min-width: 640px) {
    .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================
   COMPONENT: stat_block
   ============================================ */
.stat-block {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    border: 1px solid var(--border);
    background: rgba(15, 23, 48, 0.4);
    border-radius: var(--radius-lg);
}
.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
}
.stat-cell {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center;
}
.stat-cell:last-child { border-bottom: 0; }
.stat-number {
    display: inline-block;
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1;
    color: var(--hud-orange);
    text-shadow: 0 0 24px rgba(255, 122, 26, 0.5);
    letter-spacing: 0.02em;
}
.stat-suffix {
    font-family: "Orbitron", sans-serif;
    font-size: 1.5rem;
    color: var(--hud-orange);
    margin-left: 0.25rem;
}
.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--foreground);
}
.stat-source {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
}
.stat-attribution {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: var(--space-md) 0 0;
    letter-spacing: 0.1em;
}

@media (min-width: 640px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-cell { border-bottom: 0; border-right: 1px solid var(--border); }
    .stat-cell:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1024px) {
    .stat-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .stat-cell { border-right: 1px solid var(--border); }
    .stat-cell:last-child { border-right: 0; }
}

/* ============================================
   COMPONENT: faq_accordion
   ============================================ */
.faq-accordion {
    background: rgba(15, 23, 48, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-row {
    border-bottom: 1px solid var(--border);
}
.faq-row:last-child { border-bottom: 0; }
.faq-row[open] { background: rgba(34, 164, 255, 0.04); }
.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--hud-cyan);
    letter-spacing: 0.03em;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--hud-orange); }
.faq-icon {
    position: relative;
    width: 22px; height: 22px;
    flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 14px; height: 2px;
    background: var(--hud-orange);
    transform: translate(-50%, -50%);
    transition: transform var(--t-base);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-row[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer {
    padding: 0 1.25rem 1.5rem;
    border-left: 3px solid var(--hud-magenta);
    margin: 0 1.25rem 1.25rem;
    background: rgba(15, 23, 48, 0.6);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding-top: 1.25rem;
}
.faq-answer p { margin: 0; color: var(--foreground); }

@media (min-width: 1024px) {
    .faq-question { padding: 1.5rem 1.75rem; font-size: 1.1rem; }
    .faq-answer { margin: 0 1.75rem 1.5rem; padding: 1.5rem; }
}

/* ============================================
   COMPONENT: data_table
   ============================================ */
.data-table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--hud-cyan);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 48, 0.5);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Rajdhani", sans-serif;
}
.data-table-caption {
    padding: 1rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hud-cyan);
    text-align: left;
}
.data-table thead {
    background: rgba(7, 11, 24, 0.9);
    border-bottom: 2px solid var(--hud-orange);
}
.data-table th {
    text-align: left;
    padding: 0.9rem 1rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hud-orange);
    white-space: nowrap;
}
.data-table td {
    padding: 0.9rem 1rem;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}
.data-table tbody tr:nth-child(even) { background: rgba(34, 164, 255, 0.03); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tr.row-highlight {
    background: rgba(255, 43, 214, 0.08) !important;
    border-left: 3px solid var(--hud-magenta);
}
.data-table tr.row-highlight td {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 43, 214, 0.3);
}

@media (max-width: 767px) {
    .data-table-wrapper { border: 0; background: transparent; overflow: visible; }
    .data-table, .data-table thead, .data-table tbody, .data-table tr, .data-table th, .data-table td {
        display: block;
    }
    .data-table thead { display: none; }
    .data-table tr {
        margin-bottom: 1rem;
        border: 1px solid var(--hud-cyan);
        border-radius: var(--radius-md);
        background: rgba(15, 23, 48, 0.5);
        padding: 0.5rem;
    }
    .data-table td {
        display: flex; justify-content: space-between; gap: 1rem;
        padding: 0.65rem 0.85rem;
        border-bottom: 1px solid var(--border);
    }
    .data-table td::before {
        content: attr(data-label);
        font-family: "Orbitron", sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--hud-orange);
        flex-shrink: 0;
    }
    .data-table td:last-child { border-bottom: 0; }
}

/* ============================================
   HERO SECTIONS (page-level)
   ============================================ */
.page-hero {
    position: relative;
    padding: var(--space-2xl) 0 var(--space-2xl);
    background:
        radial-gradient(ellipse at top right, rgba(255, 122, 26, 0.18), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(34, 164, 255, 0.18), transparent 50%),
        linear-gradient(180deg, #050818, #0a1230);
    border-bottom: 1px solid var(--border);
    overflow: clip;
}
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(34, 164, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 164, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.page-hero-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.hero-content { min-width: 0; }
.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    color: #f0f5ff;
    margin-bottom: 1.25rem;
    text-shadow: 0 0 32px rgba(34, 164, 255, 0.4);
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 60ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-media {
    position: relative;
    min-height: 280px;
    display: flex; align-items: center; justify-content: center;
}
.hero-media img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 32px rgba(34, 164, 255, 0.5));
    animation: float 6s ease-in-out infinite;
}
@media (min-width: 1024px) {
    .hero-media img { max-height: 640px; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-status {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1rem;
    background: rgba(7, 11, 24, 0.6);
    border: 1px solid var(--hud-cyan);
    border-radius: 999px;
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--hud-cyan);
}

@media (min-width: 1024px) {
    .page-hero { padding: var(--space-3xl) 0; }
    .page-hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); }
}

/* ============================================
   SECTION HELPERS
   ============================================ */
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-xl);
}
.section-head p { color: var(--muted-foreground); }

.numbered-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}
.numbered-list li {
    counter-increment: step;
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 0;
}
.numbered-list li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 1rem; top: 1.25rem;
    font-family: "Orbitron", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hud-orange);
    text-shadow: 0 0 12px rgba(255, 122, 26, 0.5);
}
@media (min-width: 768px) {
    .numbered-list { grid-template-columns: repeat(2, 1fr); }
}

/* Callout / TL;DR */
.callout {
    padding: 1.25rem 1.5rem;
    background: rgba(34, 164, 255, 0.08);
    border-left: 4px solid var(--hud-cyan);
    border-radius: var(--radius-sm);
    margin: var(--space-md) 0;
}
.callout-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hud-cyan);
    margin-bottom: 0.5rem;
}
.callout--warning { border-color: var(--hud-orange); background: rgba(255, 122, 26, 0.08); }
.callout--warning .callout-title { color: var(--hud-orange); }
.callout--tldr { border-color: var(--hud-magenta); background: rgba(255, 43, 214, 0.08); }
.callout--tldr .callout-title { color: var(--hud-magenta); }

/* Pull quote */
.pull-quote {
    margin: var(--space-xl) 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 4px solid var(--hud-orange);
    font-family: "Orbitron", sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--foreground);
    font-style: normal;
    background: rgba(15, 23, 48, 0.4);
}
.pull-quote cite {
    display: block;
    margin-top: 1rem;
    font-family: "Rajdhani", sans-serif;
    font-size: 0.9rem;
    font-style: normal;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
}

/* Promo code chip */
.promo-code {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #04081a;
    border: 1px dashed var(--hud-orange);
    border-radius: var(--radius-sm);
    font-family: "Orbitron", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--hud-orange);
    text-shadow: 0 0 12px rgba(255, 122, 26, 0.6);
}
.promo-code-label {
    font-family: "Rajdhani", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--muted-foreground);
    text-shadow: none;
}

/* Trust row */
.trust-row {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    align-items: center; justify-content: center;
    margin: var(--space-md) 0;
}
.trust-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 48, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: "Orbitron", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--muted-foreground);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 0 transparent; transform: translate(0); }
    20% { text-shadow: 2px 0 0 var(--hud-magenta), -2px 0 0 var(--hud-cyan); transform: translate(-1px, 0); }
    40% { text-shadow: -2px 0 0 var(--hud-magenta), 2px 0 0 var(--hud-cyan); transform: translate(1px, 0); }
    60% { text-shadow: 0 0 0 transparent; transform: translate(0); }
}
.glitch.is-visible { animation: glitch 380ms ease-out 1; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-animate] { opacity: 1; transform: none; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Body scroll lock when mobile menu open */
body.menu-open { overflow: hidden; }