/* ============================================
   SLOTMAFIA CASINO - Cyber-Mafia Design System
   Dark-only ship. Mobile-first. WCAG-AA.
   ============================================ */

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}
pre code, .code-block code { display: block; min-width: 0; }

.table-wrapper { max-width: 100%; overflow-x: auto; min-width: 0; }
.table-wrapper[tabindex]:focus { outline: 2px solid var(--secondary); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; }

p, li, td, th { overflow-wrap: break-word; }
a { word-break: break-word; }

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

section { overflow: clip; }

/* ============================================
   BASE / RESET
   ============================================ */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(255, 31, 61, 0.10), transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(245, 197, 66, 0.06), transparent 50%),
        linear-gradient(180deg, #0a0608 0%, #07050a 100%);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--secondary-glow); }

ul { padding-left: 1.2rem; }

::selection { background: var(--primary); color: #fff; }

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

/* ============================================
   TYPOGRAPHY
   Cinzel Decorative for headlines, Rajdhani body,
   Share Tech Mono for HUD labels.
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--foreground);
    line-height: 1.15;
    margin: 0 0 var(--space-md);
    font-weight: 700;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.4rem, 6vw + 1rem, 4.5rem);
    text-transform: uppercase;
    line-height: 1.05;
}
h2 { font-size: clamp(1.85rem, 3.4vw + 1rem, 3.25rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 1.6vw + 0.8rem, 2.125rem); }
h4 { font-size: clamp(1.1rem, 0.8vw + 0.85rem, 1.4rem); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

p { margin: 0 0 var(--space-md); }

/* HUD micro-label: Share Tech Mono, gold, uppercase */
.hud-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary);
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: rgba(245, 197, 66, 0.05);
}
.hud-label.gold { color: var(--secondary-glow); }
.hud-label.small { font-size: 0.7rem; padding: 0.25rem 0.5rem; }

/* Glitch text effect on H1/H2 with .glitch class */
.glitch {
    position: relative;
    display: inline-block;
    color: var(--foreground);
    text-shadow:
        0.04em 0 0 rgba(255, 31, 61, 0.85),
        -0.04em 0 0 rgba(245, 197, 66, 0.65);
    animation: glitch-shake 6s infinite;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    pointer-events: none;
}
.glitch::before { color: var(--primary); transform: translate(2px, 0); mix-blend-mode: screen; opacity: 0.6; }
.glitch::after  { color: var(--secondary); transform: translate(-2px, 0); mix-blend-mode: screen; opacity: 0.4; }

@keyframes glitch-shake {
    0%, 92%, 100% { transform: translate(0, 0); }
    93% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    95% { transform: translate(-1px, 2px); }
    96% { transform: translate(1px, 0); }
    97% { transform: translate(-2px, -1px); }
    98% { transform: translate(0, 0); }
}

/* ============================================
   LAYOUT - wrappers, sections, grids
   ============================================ */
.max-w-7xl { max-width: var(--container-max); }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.min-h-\[70vh\] { min-height: 70vh; }

@media (min-width: 768px) {
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

main { padding-top: var(--header-height); }
@media (min-width: 1024px) {
    main { padding-top: var(--header-height-desktop); }
}

section.page-section,
.page-section {
    padding: var(--space-3xl) 0;
}
@media (min-width: 1024px) {
    .page-section { padding: var(--space-4xl) 0; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(10, 6, 8, 0.92);
    border-bottom: 1px solid var(--border-gold);
    z-index: 1000;
    /* No backdrop-filter - would trap fixed mobile drawer */
}
@media (min-width: 1024px) {
    .site-header { height: var(--header-height-desktop); }
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    height: 100%;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
@media (min-width: 1024px) { .header-inner { padding: 0 2rem; } }

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--foreground);
}
.logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 31, 61, 0.6));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--secondary-glow);
    text-shadow: 0 0 8px rgba(245, 197, 66, 0.45);
}
.brand-sub {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: var(--muted-foreground);
    margin-top: 2px;
}

.header-scanline {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
    opacity: 0.6;
}

/* Mobile Toggle (burger) */
.mobile-toggle {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
    padding: 0;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--secondary);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary);
}
.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);
    background: var(--primary);
}

/* Main Nav - Mobile drawer (default) */
.main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: 1.5rem 1.25rem 2rem;
    border-top: 1px solid var(--border-gold);
}
.main-nav.is-open { display: flex; flex-direction: column; gap: 1.5rem; }

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
}
.nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--foreground);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
}
.nav-list a:hover, .nav-list a:focus {
    color: var(--secondary-glow);
    border-color: var(--border-gold);
    background: rgba(245, 197, 66, 0.05);
}

.nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Desktop nav */
@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
    .main-nav {
        display: flex;
        position: static;
        background: transparent;
        border: 0;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        overflow: visible;
    }
    .nav-list { flex-direction: row; gap: 0.25rem; }
    .nav-list a { font-size: 0.95rem; min-height: 0; padding: 0.5rem 0.85rem; }
    .nav-cta {
        flex-direction: row;
        gap: 0.65rem;
        padding-top: 0;
        border-top: 0;
    }
}

/* ============================================
   BUTTONS
   .btn-primary  - red→gold gradient (main CTA)
   .btn-ghost    - outlined
   .btn-lg       - 56px tall
   ============================================ */
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    border: 1px solid transparent;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--primary) 0%, #ff5c2b 50%, var(--secondary) 100%);
    background-size: 200% 100%;
    box-shadow: var(--shadow-neon-red);
    border-color: rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
    color: #fff;
    background-position: 100% 0;
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(255, 31, 61, 0.7), 0 0 56px rgba(245, 197, 66, 0.3);
}
.btn-ghost {
    color: var(--secondary);
    background: transparent;
    border: 1px solid var(--border-gold);
}
.btn-ghost:hover {
    color: var(--secondary-glow);
    border-color: var(--secondary);
    box-shadow: var(--shadow-neon-gold);
}
.btn-lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ============================================
   HUD CORNER BRACKETS - used on cards, banners, FAQ items
   ============================================ */
.corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--secondary);
    pointer-events: none;
    transition: all 0.25s ease;
}
.corner.tl { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.corner.tr { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

/* ============================================
   HUD CARD - universal holographic card
   ============================================ */
.hud-card {
    position: relative;
    background: linear-gradient(160deg, var(--card) 0%, #0d0508 100%);
    border: 1px solid rgba(255, 31, 61, 0.45);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}
.hud-card:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon-red);
}
.hud-card:hover .corner { width: 22px; height: 22px; border-color: var(--secondary-glow); }

.hud-card-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary);
    align-self: flex-start;
}

.hud-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #000;
}
.hud-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.hud-card:hover .hud-card-media img { transform: scale(1.05); }

.hud-card-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.55rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    z-index: 2;
}

.hud-card-title {
    font-size: 1.15rem;
    margin: 0;
    color: var(--foreground);
}
.hud-card-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--secondary);
    text-transform: uppercase;
}
.hud-card-desc {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    margin: 0;
}
.hud-card-cta {
    margin-top: auto;
    align-self: stretch;
    min-height: 44px;
    font-size: 0.9rem;
}

.hud-card.compact { padding: 0.85rem; gap: 0.6rem; }

/* HUD card grids - used by pages */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Scanline animated overlay used on cards/banners */
.scanline {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: overlay;
    z-index: 1;
}
.hud-card-media .scanline { animation: scanline-drift 4s linear infinite; }
@keyframes scanline-drift {
    from { transform: translateY(-3px); }
    to   { transform: translateY(3px); }
}

/* ============================================
   CTA BANNER - full-width conversion section
   ============================================ */
.cta-banner {
    position: relative;
    margin: var(--space-3xl) 0;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 3rem);
    background: linear-gradient(135deg, #0a0608 0%, #1a060d 50%, #0a0608 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    isolation: isolate;
}
.cta-banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(255, 31, 61, 0.25), transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(245, 197, 66, 0.1), transparent 55%);
    z-index: -1;
}
.cta-banner-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    z-index: 2;
}
.cta-banner-mascot img {
    width: clamp(200px, 40vw, 360px);
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 31, 61, 0.5));
}
.cta-banner-text { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 720px; }
.cta-banner-text h2 { margin: 0; font-size: clamp(1.7rem, 3vw + 0.8rem, 2.8rem); }
.cta-banner-text p { color: var(--muted-foreground); font-size: 1.05rem; margin: 0; }

@media (min-width: 768px) {
    .cta-banner-inner { flex-direction: row-reverse; text-align: left; }
    .cta-banner-text { align-items: flex-start; }
}

/* ============================================
   STAT BLOCK - 4-cell numeric strip
   ============================================ */
.stat-block {
    margin: var(--space-2xl) 0;
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, #0d0608 0%, #07050a 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
    .stat-cell + .stat-cell { border-left: 1px solid var(--border-gold); }
}
.stat-cell {
    text-align: center;
    padding: 0.75rem 0.5rem;
    position: relative;
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw + 0.6rem, 2.6rem);
    font-weight: 900;
    color: var(--secondary-glow);
    text-shadow: 0 0 12px rgba(245, 197, 66, 0.5);
    line-height: 1;
}
.stat-label {
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--foreground);
}
.stat-source {
    margin-top: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--muted-foreground);
    text-transform: uppercase;
}
.stat-underline {
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary);
    margin: 0.5rem auto 0;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse-glow 2.4s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ============================================
   FAQ ACCORDION - details/summary based
   ============================================ */
.faq-section {
    max-width: 880px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}
.faq-list { margin-top: 1.25rem; }
.faq-item {
    position: relative;
    border-top: 1px solid var(--border-gold);
    padding: 0;
}
.faq-item:last-of-type { border-bottom: 1px solid var(--border-gold); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 3rem 1.1rem 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-display);
    color: var(--foreground);
    font-size: 1.05rem;
    transition: color 0.2s ease, background 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--secondary-glow); background: rgba(245, 197, 66, 0.03); }
.faq-q { flex: 1; }
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 31, 61, 0.4);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] { background: rgba(255, 31, 61, 0.04); }
.faq-item[open] summary { color: var(--secondary-glow); }
.faq-item[open] .corner { border-color: var(--secondary-glow); }
.faq-a {
    padding: 0 1rem 1.25rem;
    color: var(--muted-foreground);
    font-size: 0.98rem;
    line-height: 1.65;
}
.faq-a a { color: var(--secondary-glow); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: var(--space-4xl);
    background: linear-gradient(180deg, #0a0608 0%, #050306 100%);
    border-top: 1px solid var(--border-gold);
    padding: var(--space-3xl) 0 var(--space-xl);
    color: var(--muted-foreground);
}
.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 1024px) { .footer-inner { padding: 0 2rem; } }

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; }
}

.footer-col h4,
.footer-col .footer-heading {
    color: var(--secondary-glow);
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--secondary-glow); }

.footer-tag { font-size: 0.95rem; line-height: 1.55; margin: 0.85rem 0; }
.footer-brand .brand { margin-bottom: 0.5rem; }

.pay-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.pay-chip {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--border-gold);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    background: rgba(245, 197, 66, 0.04);
    text-transform: uppercase;
}

.badges { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.85rem; }
.badge-license, .badge-age, .badge-ssl {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    text-align: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.badge-license { color: var(--secondary); border-color: var(--border-gold); }
.badge-age { color: var(--primary); border-color: rgba(255, 31, 61, 0.5); font-weight: 700; }
.badge-ssl { color: var(--muted-foreground); }

.footer-warn {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
}
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.copy { color: var(--muted-foreground); }

/* ============================================
   ENGAGEMENT / CRO PATTERNS
   .tldr-box   - summary callout
   .callout    - tip / warning / note
   .pull-quote - oversized quote
   .stat-pill  - inline number highlight
   ============================================ */
.tldr-box {
    position: relative;
    margin: var(--space-xl) 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.08), rgba(255, 31, 61, 0.05));
    border-left: 3px solid var(--secondary);
    border-radius: var(--radius-sm);
}
.tldr-box .hud-label { margin-bottom: 0.5rem; }
.tldr-box p:last-child { margin-bottom: 0; }

.callout {
    position: relative;
    margin: var(--space-xl) 0;
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    background: rgba(255, 31, 61, 0.06);
    border: 1px solid rgba(255, 31, 61, 0.4);
    border-radius: var(--radius-sm);
    color: var(--foreground);
}
.callout::before {
    content: "▶";
    position: absolute;
    left: 1rem;
    top: 1.05rem;
    color: var(--primary);
    font-size: 1.1rem;
}
.callout.gold { background: rgba(245, 197, 66, 0.06); border-color: var(--border-gold); }
.callout.gold::before { color: var(--secondary); }

.pull-quote {
    margin: var(--space-2xl) 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 3px solid var(--primary);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.6vw + 0.7rem, 1.6rem);
    line-height: 1.4;
    color: var(--foreground);
    font-style: italic;
    background: linear-gradient(90deg, rgba(255, 31, 61, 0.08), transparent);
}
.pull-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--secondary);
    font-style: normal;
}

.stat-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(245, 197, 66, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    color: var(--secondary-glow);
    font-size: 0.95rem;
}
.stat-pill strong { color: #fff; font-size: 1.1rem; }

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
    background: var(--card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 0.95rem;
}
.compare-table thead th {
    background: linear-gradient(90deg, rgba(255, 31, 61, 0.15), rgba(245, 197, 66, 0.1));
    color: var(--secondary-glow);
    font-family: var(--font-mono);
    text-align: left;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-gold);
}
.compare-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.compare-table .col-recommend {
    background: rgba(245, 197, 66, 0.08) !important;
    color: var(--secondary-glow);
    font-weight: 600;
}

/* Trust badges row */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
}
.trust-row > * {
    flex-shrink: 0;
    filter: brightness(0.9);
}

/* Hero generic */
.hero {
    position: relative;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}
.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
.hero h1 { margin: 0; }
.hero p.lead {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    max-width: 60ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-mascot img {
    width: 100%;
    max-width: 460px;
    filter: drop-shadow(0 0 40px rgba(255, 31, 61, 0.4));
}
@media (min-width: 1024px) {
    .hero-inner { flex-direction: row; align-items: center; gap: 3rem; }
    .hero-text { flex: 1; }
    .hero-mascot { flex: 0 0 42%; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-head {
    text-align: center;
    margin-bottom: var(--space-2xl);
}
.section-head .hud-label { margin-bottom: 0.5rem; }
.section-head h2 { margin: 0.4rem 0; }
.section-head p {
    color: var(--muted-foreground);
    max-width: 65ch;
    margin: 0 auto;
}

/* ============================================
   PROVIDER / LOGO STRIP
   ============================================ */
.provider-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem 0;
}
@media (min-width: 640px) { .provider-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .provider-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.provider-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0.75rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: rgba(245, 197, 66, 0.03);
    font-family: var(--font-display);
    color: var(--secondary);
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.25s ease;
}
.provider-cell:hover {
    border-color: var(--primary);
    color: var(--secondary-glow);
    box-shadow: var(--shadow-neon-gold);
}

/* ============================================
   FILTER CHIPS (slot categories)
   ============================================ */
.filter-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--background);
}
.filter-chip {
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--secondary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}
.filter-chip:hover, .filter-chip.is-active {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-neon-red);
}

/* ============================================
   SEO TEXT BLOCKS
   ============================================ */
.seo-text {
    max-width: 75ch;
    margin: var(--space-2xl) auto;
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.7;
}
.seo-text h2, .seo-text h3 { color: var(--foreground); margin-top: 1.75rem; }
.seo-text a {
    color: var(--secondary-glow);
    border-bottom: 1px solid rgba(245, 197, 66, 0.4);
}
.seo-text a:hover { border-color: var(--secondary-glow); }

/* ============================================
   ANIMATIONS - reveal on scroll
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .glitch::before, .glitch::after { display: none; }
}

/* ============================================
   STICKY MOBILE BOTTOM CTA (conversion pages)
   ============================================ */
.sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(10, 6, 8, 0.95);
    border-top: 1px solid var(--border-gold);
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    z-index: 998;
    display: flex;
    justify-content: center;
}
.sticky-cta .btn-primary { width: 100%; max-width: 480px; }
@media (min-width: 1024px) {
    .sticky-cta { display: none; }
}

/* ============================================
   SOLDATO REDIRECT STUB
   ============================================ */
.soldato-stub {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(160deg, rgba(20, 9, 12, 0.85) 0%, rgba(10, 6, 8, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-neon-red);
}
.soldato-stub .corner { width: 24px; height: 24px; }
.soldato-stub h1 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 2.4rem);
    margin: 0.25rem 0;
}
.soldato-mascot img {
    width: clamp(180px, 50vw, 280px);
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 31, 61, 0.55));
    animation: soldato-float 4s ease-in-out infinite;
}
@keyframes soldato-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.soldato-text {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    max-width: 42ch;
    margin: 0;
}
.soldato-stub .loader {
    display: inline-flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}
.soldato-stub .loader span {
    width: 12px; height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
    animation: loader-bounce 1.2s ease-in-out infinite;
}
.soldato-stub .loader span:nth-child(2) { animation-delay: 0.15s; background: var(--secondary); box-shadow: 0 0 12px var(--secondary); }
.soldato-stub .loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes loader-bounce {
    0%, 100% { transform: scale(0.7); opacity: 0.5; }
    50%      { transform: scale(1.1); opacity: 1; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--secondary-glow); }
.text-red  { color: var(--primary); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.gap-md { gap: var(--space-md); }

.divider-gold {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    margin: var(--space-2xl) 0;
}

/* ============================================
   HOMEPAGE - extra spacing for sticky CTA on mobile
   ============================================ */
body { padding-bottom: 0; }
@media (max-width: 1023px) {
    body:has(.sticky-cta) { padding-bottom: 88px; }
}

/* hud-card body wrapper used by macro */
.hud-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}