/* ═══════════════════════════════════════════════════════════════
   High 5 Casino US — Design System
   Brand: Purple (#6B21A8 → #9333EA) · White · Gold (#F59E0B)
   Fonts: Outfit (display) · Inter (body)
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
    --purple-dark: #4C1D95;
    --purple: #6B21A8;
    --purple-mid: #7C3AED;
    --purple-light: #9333EA;
    --purple-glow: #A855F7;
    --violet: #8B5CF6;
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    --diamond: #67E8F9;
    --white: #FFFFFF;
    --dark: #0A0612;
    --dark-2: #120A22;
    --dark-3: #1A1030;
    --dark-4: #2A1A4A;
    --dark-5: #3B2060;
    --text: #E2D9F3;
    --text-muted: #9D8EC4;
    --border: rgba(147, 51, 234, 0.25);
    --border-glow: rgba(168, 85, 247, 0.5);
    --font-display: 'Outfit', 'Poppins', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 24px rgba(107, 33, 168, 0.25);
    --shadow-glow: 0 0 32px rgba(168, 85, 247, 0.4);
    --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3.4rem);
}

h2 {
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

p {
    color: var(--text-muted);
}

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -40px;
    left: 16px;
    z-index: 9999;
    background: var(--purple);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 8px;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 6, 18, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    border-radius: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--purple-glow), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Desktop nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.main-nav a {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: rgba(147, 51, 234, 0.2);
}

/* Header CTA */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.hamburger:hover {
    background: var(--dark-4);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    gap: 6px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--dark-4);
    color: var(--white);
}

.mobile-nav .btn {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

/* ── RG BAR ─────────────────────────────────────────────────── */
.rg-bar {
    background: rgba(139, 92, 246, 0.12);
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 7px 0;
    text-align: center;
}

.rg-bar a {
    color: var(--purple-glow);
    text-decoration: underline;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 10px 20px;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(107, 33, 168, 0.45);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-glow));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 33, 168, 0.6);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-glow);
    color: var(--purple-glow);
}

.btn-outline:hover {
    background: rgba(147, 51, 234, 0.15);
    border-color: var(--purple-glow);
    color: var(--white);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 6, 18, 0.92) 50%, rgba(10, 6, 18, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 48px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: var(--purple-glow);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--purple-glow), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 490px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-metrics {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── SECTION ────────────────────────────────────────────────── */
section {
    padding: 72px 0;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--purple-glow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    color: var(--white);
    margin-bottom: 12px;
}

.section-title span {
    background: linear-gradient(135deg, var(--purple-glow), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 40px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ── CARDS (glassmorphism) ──────────────────────────────────── */
.card {
    background: rgba(26, 16, 48, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(107, 33, 168, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.card h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.card p {
    font-size: 0.9rem;
}

/* ── GRIDS ──────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* ── SCORE WIDGET (unique) ──────────────────────────────────── */
.score-widget {
    background: linear-gradient(135deg, var(--purple-dark), var(--dark-3));
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--purple-glow) 92%, var(--dark-5) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.5);
}

.score-ring-inner {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--dark-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-big {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.score-max {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.score-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── STARS ──────────────────────────────────────────────────── */
.stars {
    display: flex;
    gap: 3px;
}

.star {
    color: var(--gold);
    font-size: 1rem;
}

.star-empty {
    color: var(--dark-5);
}

/* ── TAGS ───────────────────────────────────────────────────── */
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-purple {
    background: rgba(107, 33, 168, 0.3);
    color: var(--purple-glow);
    border: 1px solid var(--border);
}

.tag-gold {
    background: rgba(245, 158, 11, 0.2);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--diamond);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ── BONUS HIGHLIGHT CARD ───────────────────────────────────── */
.bonus-hero {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--dark-3) 50%, var(--purple-dark) 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.bonus-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.bonus-amount {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.bonus-amount span {
    color: var(--gold-light);
}

.bonus-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ── DIAMOND CURRENCY CARDS ─────────────────────────────────── */
.currency-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}

.currency-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.currency-icon {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.currency-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    font-size: 1rem;
}

.currency-amount {
    color: var(--purple-glow);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.currency-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── GAME CARDS ─────────────────────────────────────────────── */
.game-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.game-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.game-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--purple);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

.game-body {
    padding: 14px 16px;
}

.game-title {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.game-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    display: flex;
    justify-content: space-between;
}

.game-rtp {
    color: var(--purple-glow);
    font-weight: 600;
}

/* ── TABLE ──────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

caption {
    caption-side: top;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0 0 10px;
    font-style: italic;
}

thead th {
    background: var(--dark-4);
    color: var(--white);
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid rgba(42, 26, 74, 0.6);
    transition: background var(--transition);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(107, 33, 168, 0.1);
}

td,
th[scope="row"] {
    padding: 13px 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    vertical-align: middle;
}

th[scope="row"] {
    color: var(--text);
    font-weight: 600;
}

.td-check {
    color: #34D399;
    font-weight: 600;
}

.td-cross {
    color: #F87171;
}

.td-purple {
    color: var(--purple-glow);
    font-weight: 600;
}

.td-gold {
    color: var(--gold-light);
    font-weight: 600;
}

/* ── PROGRESS BAR ───────────────────────────────────────────── */
.progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.progress-lbl {
    width: 130px;
    font-size: 0.85rem;
    color: var(--text);
    flex-shrink: 0;
}

.progress-track {
    flex: 1;
    height: 8px;
    background: var(--dark-5);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--purple-mid), var(--purple-glow));
    transition: width 0.8s ease;
}

.progress-val {
    width: 32px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 600;
    flex-shrink: 0;
}

/* ── CHART BOX ──────────────────────────────────────────────── */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.chart-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    overflow: hidden;
    min-width: 0;
}

.chart-card h3 {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 600;
}

.chart-card canvas {
    max-width: 100% !important;
    width: 100% !important;
    display: block;
}

/* ── FAQ (accordion style) ──────────────────────────────────── */
.faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: var(--dark-3);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background var(--transition);
}

.faq-q:hover {
    background: var(--dark-4);
}

.faq-q::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--purple-glow);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-q {
    background: var(--dark-4);
    border-bottom: 1px solid var(--border);
}

.faq-item.open .faq-q::after {
    content: '−';
}

.faq-a {
    display: none;
    padding: 16px 20px;
    background: var(--dark-2);
}

.faq-item.open .faq-a {
    display: block;
}

.faq-a p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── STEPS (timeline) ───────────────────────────────────────── */
.steps-timeline {
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--purple), transparent);
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
}

.step-num {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    box-shadow: 0 0 12px rgba(107, 33, 168, 0.5);
    z-index: 1;
}

.step-body {
    padding-top: 8px;
}

.step-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    padding: 16px 0;
}

.breadcrumb ol {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--dark-5);
}

.breadcrumb a {
    color: var(--purple-glow);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ── DISCLOSURE ─────────────────────────────────────────────── */
.disclosure {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(107, 33, 168, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin: 16px 0 32px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.disclosure a {
    color: var(--purple-glow);
    text-decoration: underline;
}

/* ── SEO CONTENT ────────────────────────────────────────────── */
.seo-content {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
}

.seo-article {
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.8;
}

.seo-article h2 {
    font-size: 1.5rem;
    margin: 0 0 20px;
}

.seo-article h3 {
    font-size: 1.1rem;
    margin: 28px 0 12px;
    color: var(--purple-glow);
}

.seo-article p {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.text-link {
    color: var(--purple-glow);
    border-bottom: 1px solid rgba(168, 85, 247, 0.4);
    transition: color var(--transition);
}

.text-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--dark-3) 50%, var(--purple-dark) 100%);
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-band h2 {
    margin-bottom: 12px;
}

.cta-band p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ── AUTHOR CARD ────────────────────────────────────────────── */
.author-strip {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
}

.author-strip img {
    border-radius: 50%;
    border: 2px solid var(--border-glow);
    flex-shrink: 0;
}

.author-strip-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-strip-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── MOBILE APP DOWNLOAD CARD ───────────────────────────────── */
.dl-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}

.dl-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.dl-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.dl-card h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.dl-card p {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ── LOGIN / REGISTER FORMS ─────────────────────────────────── */
.form-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: radial-gradient(ellipse at top, rgba(107, 33, 168, 0.15) 0%, transparent 60%);
}

.form-card {
    background: var(--dark-3);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-glow);
}

.form-card h1 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.form-card .sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--purple-glow);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 16px 0;
    position: relative;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border);
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--purple-glow);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ── NOTIFICATION TICKER (unique element) ───────────────────── */
.ticker-bar {
    background: var(--dark-3);
    border-bottom: 1px solid var(--border);
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-inner {
    display: inline-flex;
    gap: 40px;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ticker-item span {
    color: var(--purple-glow);
    font-weight: 600;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── FEATURE LIST ───────────────────────────────────────────── */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.feature-check {
    color: #34D399;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-cross {
    color: #F87171;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ── ACCESSIBILITY ──────────────────────────────────────────── */
*:focus-visible {
    outline: 3px solid var(--purple-glow);
    outline-offset: 3px;
    border-radius: 4px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* ── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── FORCED COLORS ──────────────────────────────────────────── */
@media (forced-colors: active) {

    .btn-primary,
    .btn-gold {
        border: 2px solid ButtonText;
    }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {

    .main-nav {
        display: none;
    }

    .header-actions .btn-outline {
        display: none;
    }

    /* Keep the Play Free CTA button visible in mobile header */
    .header-actions {
        display: flex !important;
        gap: 4px;
    }

    .header-actions .btn-primary,
    .header-actions .btn-gold {
        display: inline-flex !important;
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
    }


    .hamburger {
        display: flex;
    }

    h1 {
        font-size: 1.65rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    section {
        padding: 44px 0;
    }

    .hero {
        min-height: 380px;
    }

    .hero-content {
        padding: 32px 0;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(10, 6, 18, 0.85) 0%, rgba(10, 6, 18, 0.96) 100%);
    }

    .hero-metrics {
        gap: 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .chart-card canvas {
        max-height: 220px !important;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .author-strip {
        flex-direction: column;
        text-align: center;
    }

    .steps-timeline::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .form-card {
        padding: 28px 20px;
    }

    .chart-card canvas {
        max-height: 180px !important;
    }

    .table-wrap {
        font-size: 0.82rem;
    }

    td,
    th {
        padding: 10px 12px;
    }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {

    .site-header,
    .site-footer,
    .btn,
    .hamburger {
        display: none !important;
    }
}