/* ============================================
   CRAZYBUZZER CASINO - CYBERPUNK DESIGN SYSTEM
   Mobile-first · Black + Neon Yellow + Magenta
   ============================================ */

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

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

body {
    margin: 0;
    font-family: "Rajdhani", system-ui, -apple-system, Segoe UI, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(ellipse at 20% -10%, rgba(255, 214, 10, 0.10), transparent 55%),
        radial-gradient(ellipse at 100% 30%, rgba(255, 46, 147, 0.08), transparent 50%),
        linear-gradient(180deg, #0A0A0F 0%, #07070C 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

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

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

pre, code, .code-block { max-width: 100%; overflow-x: auto; }
.table-wrapper { max-width: 100%; overflow-x: auto; }
p, li, td, th { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; }
section { overflow: clip; position: relative; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { padding: 0; margin: 0; list-style: none; }

.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--primary); color: var(--primary-foreground);
    padding: 12px 16px; z-index: 9999; font-weight: 700;
}
.skip-link:focus { top: 0; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   TYPOGRAPHY
   Orbitron - headings & HUD; Rajdhani - body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0 0 0.6em;
    color: var(--foreground);
}

h1 { font-size: clamp(2rem, 5.2vw + 0.5rem, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.85rem); font-weight: 700; }
h4 { font-size: clamp(1.1rem, 1vw + 0.5rem, 1.4rem); font-weight: 600; }

p { margin: 0 0 1.2rem; }
strong, b { color: var(--foreground); font-weight: 700; }
small { font-size: 0.875rem; }

.hud-mark, .hud-tag {
    font-family: "Share Tech Mono", "Orbitron", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
}

.hud-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255, 214, 10, 0.45);
    background: rgba(255, 214, 10, 0.04);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(255, 214, 10, 0.15) inset;
}

/* ============================================
   LAYOUT - container, sections
   ============================================ */
.container, .section-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) { .container, .section-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .container, .section-inner { padding: 0 32px; } }

section.section, .section {
    padding: 64px 0;
}
@media (min-width: 1024px) { section.section, .section { padding: 112px 0; } }

.section-head {
    text-align: center;
    margin-bottom: 40px;
}
.section-head .hud-tag { margin-bottom: 14px; }
.section-head p { color: var(--muted-foreground); max-width: 720px; margin: 0 auto; font-size: 1.05rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
    position: relative;
    overflow: hidden;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground) !important;
    box-shadow: 0 0 0 1px var(--primary), 0 0 22px rgba(255, 214, 10, 0.45), 0 4px 14px rgba(0, 0, 0, 0.4);
    text-shadow: none;
}
.btn-primary:hover {
    background: #FFE03A;
    box-shadow: 0 0 0 1px var(--primary), 0 0 32px rgba(255, 214, 10, 0.7), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-xl { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Scanning line on primary button */
.btn-scan {
    isolation: isolate;
}
.btn-scan > * { position: relative; z-index: 2; }
.btn-scan::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: scan 2.4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
.btn-scan { z-index: 1; }
@keyframes scan { 0% { left: -100%; } 60% { left: 130%; } 100% { left: 130%; } }

/* Pulse for primary CTAs */
.btn-primary { animation: pulse-glow 2.6s ease-in-out infinite; }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 1px var(--primary), 0 0 18px rgba(255, 214, 10, 0.35), 0 4px 14px rgba(0,0,0,0.4); }
    50%      { box-shadow: 0 0 0 1px var(--primary), 0 0 30px rgba(255, 214, 10, 0.7),  0 4px 14px rgba(0,0,0,0.4); }
}

/* ============================================
   HUD CORNER CUTS - used on cards
   ============================================ */
.corner-cut {
    position: absolute;
    width: 14px; height: 14px;
    border: 2px solid var(--primary);
    pointer-events: none;
    z-index: 2;
}
.corner-cut.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner-cut.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.corner-cut.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corner-cut.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }

.hud-corner {
    position: absolute;
    font-family: "Share Tech Mono", monospace;
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 0.15em;
    padding: 4px 8px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 214, 10, 0.4);
}
.hud-corner.tl { top: 8px; left: 8px; }
.hud-corner.br { bottom: 8px; right: 8px; }

/* ============================================
   GLITCH HEADING EFFECT
   ============================================ */
.glitch {
    position: relative;
    color: var(--foreground);
    text-shadow: 0 0 12px rgba(255, 214, 10, 0.35);
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.glitch::before {
    color: var(--primary);
    transform: translate(2px, 0);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    mix-blend-mode: screen;
    opacity: 0.85;
    animation: glitch-1 6s infinite steps(1, end);
}
.glitch::after {
    color: var(--accent);
    transform: translate(-2px, 0);
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    mix-blend-mode: screen;
    opacity: 0.7;
    animation: glitch-2 6s infinite steps(1, end);
}
@keyframes glitch-1 {
    0%, 96%, 100% { transform: translate(0, 0); }
    97% { transform: translate(3px, -1px); }
    98% { transform: translate(-2px, 1px); }
    99% { transform: translate(2px, 0); }
}
@keyframes glitch-2 {
    0%, 95%, 100% { transform: translate(0, 0); }
    96% { transform: translate(-3px, 1px); }
    97% { transform: translate(2px, -1px); }
    98% { transform: translate(-1px, 1px); }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.92);
    border-bottom: 1px solid rgba(255, 214, 10, 0.25);
}
.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.header-neon {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 12px rgba(255, 214, 10, 0.6);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--foreground);
    text-decoration: none;
}
.brand .logo {
    width: 44px; height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(255, 214, 10, 0.5);
    background: #000;
    padding: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--foreground);
}
.brand-sub {
    font-family: "Share Tech Mono", monospace;
    font-size: 0.65rem;
    color: var(--primary);
    letter-spacing: 0.18em;
    margin-top: 3px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px; height: 44px;
    padding: 11px 9px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Default mobile state: drawer hidden */
.main-nav {
    display: none;
    position: fixed;
    top: 65px; left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: var(--background);
    border-top: 1px solid rgba(255, 214, 10, 0.25);
    padding: 24px 20px;
    overflow-y: auto;
    flex-direction: column;
    gap: 20px;
}
.main-nav.is-open { display: flex; }
.nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--foreground);
    border: 1px solid transparent;
    border-radius: 4px;
}
.nav-list a:hover { color: var(--primary); border-color: rgba(255, 214, 10, 0.3); text-decoration: none; }
.nav-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

/* Desktop nav */
@media (min-width: 1024px) {
    .menu-toggle { display: none; }
    .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        background: transparent;
        border: none;
        padding: 0;
        overflow: visible;
        gap: 20px;
    }
    .nav-list { flex-direction: row; gap: 4px; }
    .nav-list a { min-height: 40px; padding: 8px 14px; font-size: 0.85rem; }
    .nav-cta { flex-direction: row; margin-top: 0; }
    .header-inner { padding: 12px 24px; }
}

/* Body offset for fixed header */
body { padding-top: 65px; }
@media (min-width: 1024px) { body { padding-top: 73px; } }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #07070C;
    border-top: 1px solid rgba(255, 214, 10, 0.25);
    padding: 56px 0 24px;
    margin-top: 64px;
}
.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 0 24px; gap: 40px; }
}
.footer-col .brand { margin-bottom: 14px; }
.footer-desc { color: var(--muted-foreground); font-size: 0.95rem; }
.footer-badges { display: flex; gap: 10px; margin-top: 14px; }
.badge-18, .badge-ggl {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 12px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(255, 214, 10, 0.06);
    letter-spacing: 0.08em;
}
.footer-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 14px;
}
.footer-list li { margin-bottom: 8px; }
.footer-list a { color: var(--muted-foreground); font-weight: 500; }
.footer-list a:hover { color: var(--primary); }
.footer-payments {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.footer-payments li {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted-foreground);
    font-family: "Orbitron", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.footer-bottom {
    max-width: 1240px;
    margin: 32px auto 0;
    padding: 24px 16px 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted-foreground);
    font-size: 0.8rem;
}
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; padding: 24px 24px 0; }
}
.copyright { margin: 0; }
.hud-line { margin: 0; font-family: "Share Tech Mono", monospace; letter-spacing: 0.1em; color: var(--primary); }
.hud-ok { color: var(--accent); }

/* ============================================
   HERO SECTIONS - used on all conv. pages
   ============================================ */
.hero {
    position: relative;
    padding: 56px 0 64px;
    overflow: clip;
}
@media (min-width: 1024px) { .hero { padding: 88px 0 96px; } }

.hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 214, 10, 0.18), transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 46, 147, 0.12), transparent 55%);
}
.hero-bg::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 214, 10, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 214, 10, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 0 32px; }
}
.hero-text .hud-tag { margin-bottom: 16px; }
.hero-title {
    font-size: clamp(2.2rem, 5.5vw + 0.5rem, 4.5rem);
    margin-bottom: 18px;
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    max-width: 560px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    font-family: "Share Tech Mono", monospace;
    letter-spacing: 0.08em;
}
.hero-meta span { color: var(--primary); }

.hero-mascot {
    position: relative;
    text-align: center;
}
.hero-mascot img {
    margin: 0 auto;
    filter: drop-shadow(0 0 30px rgba(255, 214, 10, 0.35));
}
.hero-mascot .hud-corner { position: absolute; }

/* ============================================
   GAME CARDS - slot grid
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
@media (min-width: 768px)  { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.game-card {
    position: relative;
    background: var(--card);
    border: 1px solid rgba(255, 214, 10, 0.35);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.game-card:hover {
    transform: translateY(-4px) rotate(-0.4deg);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 0 28px rgba(255, 214, 10, 0.35);
}
.game-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
}
.game-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.game-card-tag {
    position: absolute; top: 8px; right: 8px;
    padding: 4px 8px;
    background: var(--primary); color: var(--primary-foreground);
    font-family: "Share Tech Mono", monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 2px;
}
.game-card-body { padding: 14px 16px 18px; }
.game-card-title {
    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    margin: 0 0 6px;
    color: var(--foreground);
}
.game-card-meta {
    display: flex; justify-content: space-between;
    font-size: 0.78rem;
    color: var(--muted-foreground);
    margin: 0 0 12px;
    font-family: "Share Tech Mono", monospace;
    letter-spacing: 0.06em;
}
.game-card-meta .rtp { color: var(--primary); }

/* ============================================
   BONUS CARDS
   ============================================ */
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px)  { .bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .bonus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bonus-card {
    position: relative;
    padding: 24px 22px 28px;
    background: linear-gradient(160deg, #16161A 0%, #0E0E12 100%);
    border: 1px solid rgba(255, 214, 10, 0.4);
    border-radius: 4px;
    text-align: center;
    overflow: hidden;
    animation: bonus-pulse 4s ease-in-out infinite;
}
@keyframes bonus-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.3), 0 0 24px rgba(255, 214, 10, 0.10) inset; }
    50%      { box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.6), 0 0 36px rgba(255, 214, 10, 0.20) inset; }
}
.bonus-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bonus-card-icon { width: 56px; height: 56px; }
.bonus-card-amount {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 3rem);
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 214, 10, 0.5);
    margin: 14px 0 4px;
}
.bonus-card-amount-sub {
    font-family: "Orbitron", sans-serif;
    color: var(--foreground);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.bonus-card-title {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: var(--foreground);
}
.bonus-card-desc { color: var(--muted-foreground); font-size: 0.95rem; margin: 0 0 16px; }
.bonus-card-conds {
    text-align: left;
    margin: 0 0 18px;
    display: flex; flex-direction: column; gap: 6px;
}
.bonus-card-conds li {
    display: flex; align-items: flex-start; gap: 8px;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}
.bonus-card-conds .check { color: var(--primary); font-weight: 700; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion {
    display: flex; flex-direction: column;
    border-top: 1px solid rgba(255, 214, 10, 0.25);
    background: var(--card);
}
.faq-item {
    border-bottom: 1px solid rgba(255, 214, 10, 0.2);
    padding: 0 16px;
    transition: border-left-color 0.25s ease;
    border-left: 3px solid transparent;
}
.faq-item[open] { border-left-color: var(--primary); background: rgba(255, 214, 10, 0.03); }
.faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 14px 0;
    cursor: pointer;
    list-style: none;
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-text { flex: 1; min-width: 0; }
.faq-icon {
    width: 24px; height: 24px;
    position: relative;
    flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: ""; position: absolute;
    background: var(--primary);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
    display: flex; gap: 12px;
    padding: 4px 0 18px 0;
    color: var(--muted-foreground);
    line-height: 1.65;
    font-size: 1rem;
}
.faq-a-text { flex: 1; min-width: 0; }
.faq-a-text p { margin: 0 0 0.8rem; }
.faq-a-text p:last-child { margin: 0; }
.faq-a-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.faq-a-text a:hover { text-decoration-thickness: 2px; }
.hud-mark-a { color: var(--accent); }

/* ============================================
   PAYMENT LOGOS ROW
   ============================================ */
.payments-row {
    border-top: 1px solid rgba(255, 214, 10, 0.3);
    border-bottom: 1px solid rgba(255, 214, 10, 0.3);
    padding: 24px 16px;
    text-align: center;
    background: rgba(10, 10, 15, 0.7);
}
.payments-hud { margin-bottom: 16px; }
.payments-list {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px;
    align-items: center;
}
@media (min-width: 768px) { .payments-list { gap: 18px; } }
.pay-logo {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 90px; height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--foreground);
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    background: #0E0E12;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pay-logo:hover { color: var(--primary); border-color: var(--primary); box-shadow: 0 0 14px rgba(255, 214, 10, 0.3); }
.pay-badge { color: var(--primary); border-color: var(--primary); background: rgba(255, 214, 10, 0.06); }
.pay-18 { color: var(--accent); border-color: var(--accent); }

/* ============================================
   STAT HUD BLOCK
   ============================================ */
.stat-hud-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 768px)  { .stat-hud-block { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.stat-hud {
    position: relative;
    padding: 22px 18px;
    background: linear-gradient(160deg, #131318, #0A0A0F);
    border: 1px solid rgba(255, 214, 10, 0.3);
    border-radius: 4px;
    text-align: center;
}
.stat-hud .hud-tag { margin-bottom: 10px; font-size: 0.7rem; }
.stat-num {
    display: block;
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw + 0.5rem, 2.8rem);
    line-height: 1;
    text-shadow: 0 0 16px rgba(255, 214, 10, 0.5);
    margin: 6px 0 8px;
}
.stat-label {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    margin: 32px auto;
    max-width: 1240px;
    padding: 28px 20px;
    background:
        linear-gradient(135deg, rgba(255, 214, 10, 0.06), transparent 60%),
        #0B0B11;
    border: 1px solid rgba(255, 214, 10, 0.5);
    border-radius: 4px;
    overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
    content: ""; position: absolute; width: 18px; height: 18px;
    border: 2px solid var(--primary);
}
.cta-banner::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.cta-banner::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.cta-banner-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
@media (min-width: 768px) {
    .cta-banner { padding: 40px 36px; }
    .cta-banner-inner { grid-template-columns: 1.3fr 1fr; gap: 40px; }
}
.cta-banner-text .hud-tag { margin-bottom: 12px; }
.cta-banner-title {
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.5rem);
    margin: 0 0 14px;
}
.cta-banner-sub { color: var(--muted-foreground); margin: 0 0 20px; font-size: 1.05rem; }
.cta-banner-meta {
    margin: 14px 0 0;
    color: var(--muted-foreground);
    font-size: 0.78rem;
    font-family: "Share Tech Mono", monospace;
    letter-spacing: 0.06em;
}
.cta-banner-mascot {
    position: relative;
    text-align: center;
}
.cta-banner-mascot img {
    margin: 0 auto;
    max-width: 320px;
    filter: drop-shadow(0 0 25px rgba(255, 214, 10, 0.4));
}
@media (max-width: 767px) {
    .cta-banner .btn { width: 100%; }
    .cta-banner-inner > .cta-banner-mascot { order: -1; }
    .cta-banner-mascot img { max-width: 220px; }
}

/* ============================================
   GENERIC CARD / CALLOUT / TL;DR / TABLES
   ============================================ */
.card {
    position: relative;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    min-width: 0;
}
.card-featured { border-color: var(--primary); box-shadow: 0 0 24px rgba(255, 214, 10, 0.18) inset; }

.callout {
    position: relative;
    padding: 18px 22px;
    margin: 24px 0;
    background: rgba(255, 214, 10, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    color: var(--foreground);
}
.callout strong { color: var(--primary); }
.callout-warn { background: rgba(244, 63, 94, 0.08); border-left-color: var(--destructive); }
.callout-warn strong { color: var(--destructive); }

.tldr {
    padding: 20px 24px;
    margin: 0 0 32px;
    background: linear-gradient(135deg, rgba(255, 214, 10, 0.08), transparent);
    border: 1px solid rgba(255, 214, 10, 0.4);
    border-radius: 4px;
    position: relative;
}
.tldr::before {
    content: "TL;DR · ROYAL BRIEF";
    display: inline-block;
    font-family: "Share Tech Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: var(--primary);
    margin-bottom: 10px;
}
.tldr p { margin: 0; }

blockquote.pull-quote {
    margin: 32px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--accent);
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.6rem);
    font-weight: 600;
    color: var(--foreground);
    background: rgba(255, 46, 147, 0.05);
}
blockquote.pull-quote cite {
    display: block;
    margin-top: 12px;
    font-family: "Rajdhani", sans-serif;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-highlight {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: rgba(255, 214, 10, 0.04);
}
.stat-highlight .num { font-family: "Orbitron", sans-serif; font-size: 2rem; color: var(--primary); font-weight: 900; line-height: 1; }
.stat-highlight .lab { font-size: 0.85rem; color: var(--muted-foreground); margin-top: 4px; }

.table-wrapper {
    margin: 24px 0;
    border: 1px solid var(--border);
    border-radius: 4px;
}
.table-wrapper:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
table.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    font-size: 0.95rem;
}
table.data-table thead {
    background: rgba(255, 214, 10, 0.08);
    color: var(--primary);
    font-family: "Orbitron", sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}
table.data-table th, table.data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
table.data-table tbody tr:hover { background: rgba(255, 214, 10, 0.03); }
table.data-table .recommended { color: var(--primary); font-weight: 700; }
table.data-table tr.highlight { background: rgba(255, 214, 10, 0.05); }

/* details/summary general */
details.expand {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 12px 16px;
    margin: 12px 0;
    background: var(--card);
}
details.expand summary {
    cursor: pointer; font-family: "Orbitron", sans-serif; font-weight: 600;
    color: var(--foreground); list-style: none;
    display: flex; align-items: center; justify-content: space-between;
}
details.expand summary::-webkit-details-marker { display: none; }
details.expand[open] { border-color: var(--primary); }

/* Provider badges row */
.provider-row {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.provider-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px;
    border: 1px solid rgba(255, 214, 10, 0.4);
    background: #0E0E12;
    color: var(--foreground);
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    border-radius: 4px;
    transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.provider-badge:hover, .provider-badge.is-active {
    color: var(--primary); border-color: var(--primary);
    box-shadow: 0 0 18px rgba(255, 214, 10, 0.3);
    text-decoration: none;
}

/* USP / feature list */
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .usp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.usp-item {
    position: relative;
    padding: 24px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
}
.usp-item .hud-tag { margin-bottom: 10px; }
.usp-item h3 { font-size: 1.1rem; margin: 0 0 8px; }
.usp-item p { color: var(--muted-foreground); margin: 0; }
.usp-item p a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.usp-item p a:hover { text-decoration-thickness: 2px; }

/* Trust / testimonial */
.trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-card {
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
}
.trust-stars { color: var(--primary); font-size: 1.1rem; letter-spacing: 0.1em; margin-bottom: 8px; }
.trust-quote { color: var(--foreground); margin: 0 0 12px; font-size: 0.95rem; }
.trust-author { color: var(--muted-foreground); font-size: 0.85rem; font-family: "Share Tech Mono", monospace; letter-spacing: 0.08em; }

/* SEO text blocks */
.seo-text {
    max-width: 920px;
    margin: 0 auto;
    color: var(--muted-foreground);
    font-size: 1.02rem;
}
.seo-text h2, .seo-text h3 { color: var(--foreground); }
.seo-text p { margin: 0 0 1.2rem; }
.seo-text strong { color: var(--foreground); }
.seo-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.seo-text a:hover { text-decoration-thickness: 2px; }
.seo-text ul, .seo-text ol { margin: 0 0 1.2rem 1.2rem; padding-left: 1rem; }
.seo-text ul li { list-style: disc; margin-bottom: 6px; }
.seo-text ol li { list-style: decimal; margin-bottom: 6px; }

/* Royal League gamification block */
.royal-league {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 214, 10, 0.18), transparent 60%),
        #0B0B11;
    border-top: 1px solid rgba(255, 214, 10, 0.3);
    border-bottom: 1px solid rgba(255, 214, 10, 0.3);
}
.royal-league-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .royal-league-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.league-tier {
    padding: 22px 18px;
    background: var(--card);
    border: 1px solid rgba(255, 214, 10, 0.3);
    border-radius: 4px;
    text-align: center;
}
.league-tier .tier-name {
    font-family: "Orbitron", sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0 0 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.league-tier p { color: var(--muted-foreground); font-size: 0.9rem; margin: 0; }

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

/* digital-noise reveal for game-card */
.game-card.is-visible {
    animation: noise-in 0.5s ease-out;
}
@keyframes noise-in {
    0%   { filter: hue-rotate(40deg) blur(2px); opacity: 0; transform: translateY(14px); }
    60%  { filter: hue-rotate(0deg) blur(0); opacity: 1; }
    100% { transform: translateY(0); }
}

/* prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    .glitch::before, .glitch::after { animation: none; }
    .btn-primary { animation: none; }
    .btn-scan::before { animation: none; display: none; }
    .bonus-card { animation: none; }
    * { scroll-behavior: auto !important; }
}

/* ============================================
   START PAGE (redirect stub)
   ============================================ */
.redirect-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background: var(--background);
}
.redirect-card {
    max-width: 480px;
    width: 100%;
    padding: 36px 28px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: #0B0B11;
    position: relative;
}
.redirect-card .loader {
    width: 48px; height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 18px auto;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }