/*
 * JACK CASINO - Design System
 * Fixed midnight crypto-casino aesthetic (single dark theme, no switcher).
 * Fonts: Sora (display) + IBM Plex Sans (body).
 * Signature: the Jack pulse - diagonal neon ribbon (green/blue/gold spark).
 */

:root {
    --background: #0B1020;
    --foreground: #EAF2FF;
    --card: #111A33;
    --card-foreground: #EAF2FF;
    --popover: #0E1730;
    --popover-foreground: #EAF2FF;
    --primary: #FFC857;
    --primary-foreground: #07101F;
    --secondary: #172142;
    --secondary-foreground: #EAF2FF;
    --muted: #172142;
    --muted-foreground: #AEBBDA;
    --accent: #5AA9FF;
    --accent-foreground: #07101F;
    --destructive: #FF6B6B;
    --destructive-foreground: #07101F;
    --border: #283A66;
    --input: #0E1730;
    --ring: #FFC857;
    --neon-green: #3CF2A5;

    --font-display: "Sora", "Segoe UI", sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

    --header-height: 64px;
    --radius-card: 16px;
    --section-gap: 72px;
    --hero-gap: 96px;
}

/* Single fixed dark theme - .dark kept identical for token safety. */
.dark {
    --background: #0B1020;
    --foreground: #EAF2FF;
    --card: #111A33;
    --card-foreground: #EAF2FF;
    --popover: #0E1730;
    --popover-foreground: #EAF2FF;
    --primary: #FFC857;
    --primary-foreground: #07101F;
    --secondary: #172142;
    --secondary-foreground: #EAF2FF;
    --muted: #172142;
    --muted-foreground: #AEBBDA;
    --accent: #5AA9FF;
    --accent-foreground: #07101F;
    --destructive: #FF6B6B;
    --destructive-foreground: #07101F;
    --border: #283A66;
    --input: #0E1730;
    --ring: #FFC857;
    --neon-green: #3CF2A5;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::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,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   BASE - document, typography
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--foreground);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 26px;
    font-weight: 650;
    letter-spacing: -0.005em;
}

h3 {
    font-size: 22px;
    font-weight: 600;
}

p {
    margin: 0 0 1em;
    max-width: 72ch;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--neon-green);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 3px;
    border-radius: 4px;
}

ul, ol {
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.4em;
}

strong {
    color: var(--foreground);
}

.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;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 1100;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: top 180ms ease-out;
}

.skip-link:focus {
    top: 8px;
    color: var(--primary-foreground);
}

/* ============================================
   LAYOUT - container, sections, prose rhythm
   ============================================ */

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 20px;
}

.section {
    padding-block: var(--section-gap);
}

.section--tight {
    padding-block: 48px;
}

.section__eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section__heading {
    max-width: 22ch;
}

.section__lead {
    color: var(--muted-foreground);
    font-size: 17px;
    max-width: 65ch;
}

.text-mist {
    color: var(--muted-foreground);
}

/* ============================================
   JACK PULSE - diagonal neon ribbon signature
   Parent must clip overflow. Reduced motion disables sweep.
   ============================================ */

.jack-pulse {
    position: absolute;
    inset: -30% -20%;
    pointer-events: none;
    overflow: clip;
}

.jack-pulse::before {
    content: "";
    position: absolute;
    top: 38%;
    left: -60%;
    width: 220%;
    height: 120px;
    transform: rotate(-8deg);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(60, 242, 165, 0.16) 22%,
        rgba(90, 169, 255, 0.22) 48%,
        rgba(90, 169, 255, 0.10) 66%,
        rgba(255, 200, 87, 0.20) 74%,
        transparent 88%
    );
    filter: blur(2px);
    animation: jack-pulse-sweep 9s ease-in-out infinite;
}

.jack-pulse::after {
    content: "";
    position: absolute;
    top: 52%;
    left: -60%;
    width: 220%;
    height: 2px;
    transform: rotate(-8deg);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(60, 242, 165, 0.55) 30%,
        rgba(90, 169, 255, 0.65) 55%,
        rgba(255, 200, 87, 0.7) 70%,
        transparent 85%
    );
    animation: jack-pulse-sweep 9s ease-in-out infinite;
}

@keyframes jack-pulse-sweep {
    0%, 100% { transform: rotate(-8deg) translateX(0); }
    50% { transform: rotate(-8deg) translateX(4.5%); }
}

/* ============================================
   BUTTONS - primary gold, secondary glass
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 0 0 rgba(255, 200, 87, 0);
}

.btn-primary:hover {
    color: var(--primary-foreground);
    box-shadow: 0 0 24px rgba(255, 200, 87, 0.35);
}

.btn-ghost {
    background: rgba(90, 169, 255, 0.08);
    color: var(--foreground);
    border-color: var(--accent);
}

.btn-ghost:hover {
    background: rgba(90, 169, 255, 0.18);
    color: var(--foreground);
}

.btn-lg {
    min-height: 56px;
    padding: 15px 38px;
    font-size: 17px;
}

/* ============================================
   HEADER - sticky bar, brand, nav, burger
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 16, 32, 0.94);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-height);
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--foreground);
}

.site-brand:hover {
    color: var(--foreground);
}

.site-brand__bolt {
    flex-shrink: 0;
    border-radius: 8px;
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-brand__accent {
    color: var(--primary);
    margin-left: 4px;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 48px;
    height: 48px;
    padding: 10px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.nav-toggle__line {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 200ms ease-out, opacity 200ms ease-out;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer (default) */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--background);
    overflow-y: auto;
    padding: 24px 20px 40px;
}

.primary-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 14px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
}

.primary-nav__link:hover {
    background: var(--secondary);
    color: var(--neon-green);
}

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   HERO - full-bleed banner with model imagery
   ============================================ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding-block: var(--hero-gap);
    overflow: clip;
    background: var(--background);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(11, 16, 32, 0.72) 0%,
        rgba(11, 16, 32, 0.55) 45%,
        rgba(11, 16, 32, 0.92) 100%
    );
}

.hero .jack-pulse {
    z-index: 2;
}

.hero__inner {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
}

.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--neon-green);
    background: rgba(60, 242, 165, 0.1);
    border: 1px solid rgba(60, 242, 165, 0.35);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 20ch;
    margin-inline: auto;
}

.hero__lead {
    color: var(--muted-foreground);
    font-size: 17px;
    max-width: 58ch;
    margin: 0 auto 28px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero__micro {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   STAT HIGHLIGHT - tabular numerals strip
   .stat-strip / .stat-item
   ============================================ */

.stat-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow:
        0 0 60px rgba(90, 169, 255, 0.08),
        0 0 120px rgba(60, 242, 165, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 20px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(90, 169, 255, 0.09), transparent 55%),
        var(--card);
}

.stat-item__num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.stat-item__num--green {
    color: var(--neon-green);
}

.stat-item__num--gold {
    color: var(--primary);
}

.stat-item__num--blue {
    color: var(--accent);
}

.stat-item__label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.stat-item__note {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   FEATURE CARDS - universal grid card
   .feature-grid wraps .feature-card items
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 20px;
    background:
        radial-gradient(ellipse at 85% -10%, rgba(90, 169, 255, 0.12), transparent 55%),
        var(--card);
    border: 1px solid rgba(90, 169, 255, 0.35);
    border-radius: var(--radius-card);
    transition: transform 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-green);
    box-shadow: 0 12px 32px rgba(3, 8, 20, 0.5);
}

.feature-card__media {
    margin: -8px -8px 4px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 8 / 5;
}

.feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease-out, filter 300ms ease-out;
}

.feature-card:hover .feature-card__media img {
    transform: scale(1.03);
    filter: brightness(1.08);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(60, 242, 165, 0.1);
    border: 1px solid rgba(60, 242, 165, 0.35);
    font-size: 26px;
    line-height: 1;
}

.feature-card__title {
    margin: 0;
}

.feature-card__text {
    color: var(--muted-foreground);
    margin: 0;
    flex-grow: 1;
}

.feature-card__link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Coin/icon card variant (transparent PNG icons centered) */
.feature-card--coin {
    align-items: center;
    text-align: center;
}

.feature-card--coin .feature-card__media {
    aspect-ratio: auto;
    margin: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
}

.feature-card--coin .feature-card__media img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* ============================================
   SPLIT LAYOUT - text + media/cards two-column
   ============================================ */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.split__media img {
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    display: block;
    width: 100%;
}

.split__panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
}

/* ============================================
   FAQ ACCORDION - native details/summary
   .faq-list / .faq-item
   ============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-top: 28px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: border-color 200ms ease-out, background-color 200ms ease-out;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item[open] {
    border-left-color: var(--neon-green);
    background: rgba(60, 242, 165, 0.04);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 16px 20px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
    list-style: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: transform 240ms ease-out;
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
    padding: 0 20px 18px;
}

.faq-item__answer p {
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   CTA BANNER - closing conversion band
   ============================================ */

.cta-banner {
    position: relative;
    padding-block: var(--hero-gap);
    background:
        radial-gradient(ellipse at 50% 120%, rgba(90, 169, 255, 0.14), transparent 60%),
        var(--popover);
    border-top: 1px solid var(--border);
    overflow: clip;
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-banner__heading {
    max-width: 24ch;
    margin-inline: auto;
}

.cta-banner__subline {
    color: var(--muted-foreground);
    font-size: 17px;
    max-width: 56ch;
    margin: 0 auto 28px;
}

.cta-banner__micro {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

/* Quiet trust micro-copy beneath CTAs */
.micro-copy {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.split__panel .btn {
    margin-top: 8px;
}

.split__panel .stat-strip {
    margin-top: 20px;
}

/* ============================================
   TRUST STRIP - license, 18+, awards
   ============================================ */

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
    padding: 28px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--foreground);
}

.trust-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.trust-item small {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--muted-foreground);
}

/* ============================================
   ENGAGEMENT PATTERNS - TL;DR, callout, quote
   ============================================ */

.tldr-box {
    background: rgba(90, 169, 255, 0.07);
    border: 1px solid var(--accent);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    margin: 28px 0;
}

.tldr-box__label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.tldr-box p {
    margin: 0;
    color: var(--foreground);
}

.callout {
    border-left: 4px solid var(--primary);
    background: rgba(255, 200, 87, 0.07);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 24px 0;
}

.callout--green {
    border-left-color: var(--neon-green);
    background: rgba(60, 242, 165, 0.06);
}

.callout--red {
    border-left-color: var(--destructive);
    background: rgba(255, 107, 107, 0.06);
}

.callout p {
    margin: 0;
    color: var(--foreground);
}

.pull-quote {
    margin: 32px 0;
    padding: 8px 0 8px 24px;
    border-left: 4px solid var(--neon-green);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--foreground);
}

.pull-quote cite {
    display: block;
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    color: var(--muted-foreground);
}

/* ============================================
   COMPARISON TABLE - highlighted column
   ============================================ */

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 560px;
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--secondary);
}

.compare-table tbody th {
    font-weight: 600;
    color: var(--foreground);
}

.compare-table td {
    color: var(--muted-foreground);
}

.compare-table .is-recommended {
    background: rgba(255, 200, 87, 0.08);
    color: var(--foreground);
    font-weight: 600;
}

.compare-table thead .is-recommended {
    color: var(--primary);
}

/* ============================================
   LIVE WINS FEED - static grid of recent wins
   ============================================ */

.wins-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
}

.win-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
}

.win-tile__game {
    font-weight: 600;
    color: var(--foreground);
}

.win-tile__meta {
    color: var(--muted-foreground);
    font-size: 14px;
}

.win-tile__amount {
    font-family: var(--font-display);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--neon-green);
    white-space: nowrap;
}

/* ============================================
   SITEMAP LIST - structured page index
   ============================================ */

.sitemap-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.sitemap-item {
    margin: 0;
    padding: 22px 20px;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: background-color 200ms ease-out, border-color 200ms ease-out;
}

.sitemap-item:last-child {
    border-bottom: none;
}

.sitemap-item:hover {
    background: rgba(90, 169, 255, 0.05);
    border-left-color: var(--neon-green);
}

.sitemap-item__title {
    margin: 0 0 6px;
    font-size: 20px;
}

.sitemap-item__link {
    color: var(--foreground);
}

.sitemap-item__link:hover {
    color: var(--neon-green);
}

.sitemap-item__desc {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 15px;
    max-width: 78ch;
}

.sitemap-back {
    margin-top: 32px;
    font-size: 16px;
}

/* ============================================
   FOOTER - 4 columns, crypto marks, badges
   ============================================ */

.site-footer {
    background: var(--popover);
    border-top: 1px solid var(--border);
    padding-top: 56px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 10px;
}

.site-footer__heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.site-footer__text,
.site-footer__note {
    font-size: 14px;
    color: var(--muted-foreground);
}

.site-footer__links {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--muted-foreground);
    font-size: 15px;
}

.site-footer__links a:hover {
    color: var(--neon-green);
}

.site-footer__badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.badge-age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--destructive);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--destructive);
}

.badge-license {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-foreground);
    background: var(--card);
}

.crypto-marks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
}

.crypto-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--foreground);
}

.crypto-mark--btc { border-color: rgba(255, 200, 87, 0.55); color: var(--primary); }
.crypto-mark--eth { border-color: rgba(90, 169, 255, 0.55); color: var(--accent); }
.crypto-mark--usdt { border-color: rgba(60, 242, 165, 0.55); color: var(--neon-green); }
.crypto-mark--ltc { border-color: rgba(174, 187, 218, 0.55); color: var(--muted-foreground); }
.crypto-mark--sol { border-color: rgba(60, 242, 165, 0.4); color: var(--neon-green); }

.site-footer__bottom {
    margin-top: 44px;
    padding: 20px 0 28px;
    border-top: 1px solid var(--border);
}

.site-footer__bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--muted-foreground);
    max-width: none;
}

/* ============================================
   SCROLL REVEAL - 24px fade-up, staggered
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-grid .feature-card:nth-child(2) { transition-delay: 70ms; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 140ms; }
.feature-grid .feature-card:nth-child(4) { transition-delay: 70ms; }
.feature-grid .feature-card:nth-child(5) { transition-delay: 140ms; }
.feature-grid .feature-card:nth-child(6) { transition-delay: 210ms; }

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .jack-pulse::before,
    .jack-pulse::after {
        animation: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .feature-card,
    .feature-card__media img,
    .nav-toggle__line,
    .faq-item__icon::after {
        transition: none;
    }
}

/* ============================================
   RESPONSIVE - 768px tablet
   ============================================ */

@media (min-width: 768px) {
    body {
        font-size: 17px;
    }

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

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

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

    .hero__actions {
        flex-direction: row;
        justify-content: center;
    }

    .primary-nav__actions {
        flex-direction: row;
    }

    .primary-nav__actions .btn {
        flex: 1;
    }

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

    .feature-card {
        padding: 24px;
    }

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

/* ============================================
   RESPONSIVE - 1024px desktop
   ============================================ */

@media (min-width: 1024px) {
    :root {
        --header-height: 72px;
        --section-gap: 80px;
        --hero-gap: 144px;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 28px;
    }

    .feature-card__title {
        font-size: 22px;
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav {
        display: flex;
        position: static;
        flex: 1;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 0;
        background: transparent;
        overflow: visible;
        margin-left: 24px;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

    .primary-nav__link {
        min-height: 44px;
        padding: 8px 14px;
        font-size: 15px;
    }

    .primary-nav__actions {
        flex-direction: row;
        gap: 10px;
    }

    .primary-nav__actions .btn {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 15px;
    }

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

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

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

    .stat-strip--4col {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stat-item {
        padding: 28px;
    }

    .stat-item__num {
        font-size: 42px;
    }

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

    .feature-card {
        padding: 28px;
    }

    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 48px;
    }

    .pull-quote {
        font-size: 24px;
    }
}

/* ============================================
   RESPONSIVE - 1280px max width cap
   ============================================ */

@media (min-width: 1280px) {
    .container {
        padding-inline: 32px;
    }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
