/* ═══════════════════════════════════════════════════════════════════
   SPREE CASINO US — Design System
   Theme: Vegas Neon Luxury | Deep Navy + Gold + Electric Blue
   Fonts: DM Serif Display (headings) + Inter (body)
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
    --navy: #0A1628;
    --navy-2: #0D1E35;
    --navy-3: #122540;
    --navy-card: #0F2040;
    --gold: #FFD166;
    --gold-2: #F5A623;
    --gold-3: #E8890E;
    --blue-glow: #4FC3F7;
    --blue-2: #29B6F6;
    --purple: #7C3AED;
    --text: #EDF2FB;
    --text-muted: #8BA3C1;
    --text-dim: #5A7A9E;
    --border: rgba(79, 195, 247, 0.15);
    --border-gold: rgba(255, 209, 102, 0.2);
    --glow-gold: 0 0 30px rgba(255, 209, 102, 0.25);
    --glow-blue: 0 0 30px rgba(79, 195, 247, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --container: 1180px;
    --transition: 0.25s ease;
}

/* ── RESET & BASE ────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── ACCESSIBILITY ───────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'DM Serif Display', serif;
    line-height: 1.25;
    color: var(--text);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.15rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

p {
    color: var(--text-muted);
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-glow);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    padding-left: 1.4em;
    color: var(--text-muted);
}

li {
    margin-bottom: 0.4em;
}

/* ── CONTAINER ───────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER ──────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(10, 22, 40, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all var(--transition);
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
    background: rgba(255, 209, 102, 0.08);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Mobile-only CTA — hidden on desktop, shown via media query */
.mob-cta {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFD166, #F5A623);
    color: #0A1628;
    box-shadow: 0 2px 12px rgba(255, 209, 102, 0.35);
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ── HAMBURGER ────────────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── MOBILE NAV ───────────────────────────────────────────────────── */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--text-muted);
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
    display: block;
    text-decoration: none;
}

.mobile-nav a:hover {
    color: var(--gold);
    background: rgba(255, 209, 102, 0.06);
}

.mobile-cta-wrap {
    margin-top: 16px;
}

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 60%, var(--gold-3) 100%);
    color: #0A1628;
    box-shadow: 0 4px 20px rgba(255, 209, 102, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 209, 102, 0.5);
    color: #0A1628;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(255, 209, 102, 0.1);
    transform: translateY(-1px);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue-glow), var(--blue-2));
    color: var(--navy);
    font-weight: 800;
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 195, 247, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 209, 102, 0.35);
    }

    50% {
        box-shadow: 0 4px 32px rgba(255, 209, 102, 0.65);
    }
}

/* ── RG BAR ───────────────────────────────────────────────────────── */
.rg-bar {
    background: rgba(124, 58, 237, 0.15);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.rg-bar a {
    color: var(--blue-glow);
}

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #060E1A 0%, #0D1B2A 40%, #122540 70%, #0A1628 100%);
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(10, 22, 40, 0.95) 0%,
            rgba(10, 22, 40, 0.75) 50%,
            rgba(10, 22, 40, 0.3) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 580px;
    padding: 80px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.3);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 16px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-kpis {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.kpi {
    text-align: left;
}

.kpi-val {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.kpi-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ── TRUST RIBBON ─────────────────────────────────────────────────── */
.trust-ribbon {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.trust-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-icon {
    font-size: 1.4rem;
}

/* ── SECTIONS ─────────────────────────────────────────────────────── */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--navy-2);
}

.section-dark {
    background: var(--navy-3);
}

.section-diag {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: var(--navy-2);
}

.section-diag::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--navy);
    transform: skewY(-2deg);
}

.section-diag::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--navy);
    transform: skewY(-2deg);
}

.section-diag .container {
    position: relative;
    z-index: 1;
}

/* ── SECTION HEADER ───────────────────────────────────────────────── */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-glow);
    margin-bottom: 10px;
}

.section-head h2 {
    margin-bottom: 14px;
}

.section-head p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ── GRIDS ────────────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── GLASS CARD ───────────────────────────────────────────────────── */
.glass-card {
    background: rgba(15, 32, 64, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    padding: 28px;
    transition: all var(--transition);
}

.glass-card:hover {
    border-color: rgba(255, 209, 102, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--glow-gold);
}

/* ── FEATURE CARD ─────────────────────────────────────────────────── */
.feature-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--blue-glow));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── BONUS CARD ───────────────────────────────────────────────────── */
.bonus-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    overflow: hidden;
    transition: transform var(--transition);
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

.bonus-card-top {
    padding: 28px 24px;
    background: linear-gradient(135deg, #1A2E50, #0D1B2A);
    border-bottom: 1px solid var(--border-gold);
}

.bonus-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 1.1;
}

.bonus-type {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.bonus-card-body {
    padding: 20px 24px;
    background: var(--navy-card);
}

.bonus-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.bonus-card-body li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-card-body li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
}

/* ── GAME CARD ────────────────────────────────────────────────────── */
.game-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: var(--glow-gold);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-card-meta {
    padding: 14px 16px;
}

.game-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 209, 102, 0.15);
    color: var(--gold);
    margin-bottom: 6px;
}

.game-badge.hot {
    background: rgba(79, 195, 247, 0.15);
    color: var(--blue-glow);
}

.game-badge.new {
    background: rgba(124, 58, 237, 0.2);
    color: #A78BFA;
}

.game-card-meta h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 4px;
}

.game-rtp {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ── CHART BOX ─────────────────────────────────────────────────────── */
.chart-box {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    overflow: hidden;
}

.chart-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.chart-box p {
    font-size: 0.82rem;
    margin-bottom: 12px;
}

/* Chart.js requires a RELATIVE-positioned parent with a FIXED height */
.canvas-wrap {
    position: relative;
    height: 300px;
    width: 100%;
}

.canvas-wrap canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

canvas {
    max-width: 100%;
    display: block;
}

/* ── SCORE PANEL ──────────────────────────────────────────────────── */
.score-panel {
    background: linear-gradient(135deg, #0D1E35, #122540);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.score-big {
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.score-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.stars {
    font-size: 1.4rem;
    color: var(--gold);
    margin: 12px 0;
    letter-spacing: 2px;
}

.score-bars {
    margin-top: 24px;
    text-align: left;
}

.sbar {
    margin-bottom: 14px;
}

.sbar-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
}

.sbar-val {
    color: var(--gold);
}

.sbar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 3px;
    overflow: hidden;
}

.sbar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    border-radius: 3px;
}

/* ── DATA TABLE ───────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.data-table caption {
    text-align: left;
    padding: 12px 20px;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-style: italic;
    background: var(--navy-2);
    border-bottom: 1px solid var(--border);
}

.data-table thead th {
    padding: 14px 18px;
    background: var(--navy-3);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-gold);
}

.data-table tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover td {
    background: rgba(255, 209, 102, 0.04);
}

.td-gold {
    color: var(--gold);
    font-weight: 700;
}

.td-hi {
    background: linear-gradient(90deg, rgba(79, 195, 247, 0.08), transparent);
}

.td-check {
    color: #4ADE80;
}

.td-x {
    color: #F87171;
}

/* ── QUICK FACTS ──────────────────────────────────────────────────── */
.quick-facts {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.qf-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    align-items: center;
}

.qf-row:last-child {
    border-bottom: none;
}

.qf-key {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qf-val {
    color: var(--text-muted);
}

.qf-val strong {
    color: var(--gold);
}

/* ── STEP LIST ────────────────────────────────────────────────────── */
.step-list {
    list-style: none;
    padding: 0;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.step-body h4 {
    color: var(--text);
    margin-bottom: 4px;
}

.step-body p {
    font-size: 0.88rem;
    margin: 0;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    background: var(--navy-card);
    transition: background var(--transition);
}

.faq-q::after {
    content: '＋';
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-item.open .faq-q {
    background: var(--navy-3);
}

.faq-item.open .faq-q::after {
    content: '－';
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: var(--navy-2);
}

.faq-item.open .faq-a {
    max-height: 300px;
}

.faq-a-inner {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── VERDICT / RATING ─────────────────────────────────────────────── */
.verdict-wrap {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.08), transparent);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.verdict-score-big {
    font-family: 'DM Serif Display', serif;
    font-size: 4.5rem;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
}

.verdict-details h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

/* ── SEO ARTICLE ──────────────────────────────────────────────────── */
.seo-section {
    padding: 72px 0;
    background: var(--navy-2);
}

.seo-article {
    max-width: 780px;
}

.seo-article h2 {
    margin-bottom: 20px;
}

.seo-article h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 28px 0 8px;
}

.seo-article p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.text-link {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--blue-glow);
}

/* ── BREADCRUMB ───────────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-dim);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb-sep {
    color: var(--text-dim);
    opacity: 0.5;
}

/* ── PILL / BADGE ─────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(255, 209, 102, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 209, 102, 0.3);
}

.badge-blue {
    background: rgba(79, 195, 247, 0.12);
    color: var(--blue-glow);
    border: 1px solid rgba(79, 195, 247, 0.25);
}

.badge-green {
    background: rgba(74, 222, 128, 0.12);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.badge-purple {
    background: rgba(167, 139, 250, 0.12);
    color: #A78BFA;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

/* ── AUTHOR CARD ──────────────────────────────────────────────────── */
.author-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.author-photo-wrap {
    flex: 0 0 240px;
    text-align: center;
}

.author-photo-wrap img {
    width: 200px;
    height: 252px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 3px solid var(--gold);
    margin: 0 auto 16px;
    display: block;
}

.author-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--text);
}

.author-title {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 4px 0 12px;
}

/* ── AUTH FORM ────────────────────────────────────────────────────── */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.auth-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card h1 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    text-align: center;
    font-size: 0.88rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 16px;
}

/* ── LEGAL CONTENT ────────────────────────────────────────────────── */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 0;
}

.legal-content h1 {
    margin-bottom: 8px;
}

.legal-date {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin: 36px 0 12px;
}

.legal-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.legal-content ul {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ── RG BADGE ─────────────────────────────────────────────────────── */
.rg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #A78BFA;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    margin-top: 12px;
}

/* ── NEON DIVIDER ─────────────────────────────────────────────────── */
.neon-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-glow), var(--gold), transparent);
    opacity: 0.3;
    margin: 0;
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.site-footer {
    background: #060E1A;
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 12px;
    max-width: 240px;
}

.footer-col h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
}

.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;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-bottom a {
    color: var(--text-dim);
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-links {
    display: flex;
    gap: 16px;
}

/* ── 404 PAGE ─────────────────────────────────────────────────────── */
.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.not-found-inner {
    max-width: 480px;
}

.not-found-code {
    font-family: 'DM Serif Display', serif;
    font-size: 8rem;
    color: var(--gold);
    line-height: 1;
    opacity: 0.3;
}

/* ── UTILITY ──────────────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-blue {
    color: var(--blue-glow);
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-48 {
    margin-top: 48px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-12 {
    gap: 12px;
}

/* ── GLOW EFFECT ──────────────────────────────────────────────────── */
.glow-gold-border {
    border: 1px solid var(--border-gold);
    box-shadow: var(--glow-gold);
}

.glow-blue-border {
    border: 1px solid rgba(79, 195, 247, 0.3);
    box-shadow: var(--glow-blue);
}

/* ── HIGHLIGHT BOX ────────────────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(79, 195, 247, 0.04));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .site-header .main-nav {
        display: none;
    }

    .site-header .header-cta {
        display: none;
    }

    /* Mobile CTA button visible in header bar next to hamburger */
    .mob-cta {
        display: inline-flex !important;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 420px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-kpis {
        gap: 20px;
    }

    .kpi-val {
        font-size: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .section {
        padding: 56px 0;
    }

    .section-diag {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .author-layout {
        flex-direction: column;
        gap: 32px;
    }

    .author-photo-wrap {
        flex: none;
        width: 100%;
    }

    .trust-inner {
        justify-content: center;
    }

    .canvas-wrap {
        height: 220px;
    }

    .verdict-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .verdict-score-big {
        font-size: 3.5rem;
    }

    .qf-row {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 12px 16px;
    }

    .qf-key {
        font-size: 0.75rem;
    }

    .auth-card {
        padding: 28px 20px;
    }
}

@media (max-width: 540px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }

    .score-big {
        font-size: 3.5rem;
    }

    .not-found-code {
        font-size: 5rem;
    }
}