/* ══════════════════════════════════════════════════════════
   Mega Bonanza US — Main Stylesheet
   Brand: Wild West Gold Rush | Dark Brown + Gold + Orange
   ══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
    --gold: #F5A623;
    --gold-light: #FFD700;
    --gold-dark: #C47D0E;
    --orange: #E8890E;
    --brown: #1A0E00;
    --brown-mid: #2C1800;
    --brown-card: #231200;
    --brown-light: #3D2200;
    --text: #F0E8D8;
    --text-muted: #C4A97A;
    --text-dim: #8A7055;
    --border: rgba(245, 166, 35, 0.18);
    --border-hot: rgba(245, 166, 35, 0.5);
    --grad-gold: linear-gradient(135deg, #F5A623 0%, #FFD700 50%, #E8890E 100%);
    --grad-dark: linear-gradient(180deg, #1A0E00 0%, #2C1800 100%);
    --grad-card: linear-gradient(145deg, #2C1800, #1A0E00);
    --shadow-gold: 0 4px 24px rgba(245, 166, 35, 0.35);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.55);
    --radius: 12px;
    --radius-lg: 20px;
    --container: 1200px;
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--brown);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--gold-light);
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
}

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--gold);
    color: var(--brown);
    padding: 8px 16px;
    font-weight: 700;
    z-index: 9999;
    transition: top .2s;
}

.skip-link:focus {
    top: 0;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 14, 0, 0.97);
    border-bottom: 1px solid var(--border-hot);
    backdrop-filter: blur(12px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 2px;
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-sub {
    font-size: 0.55rem;
    font-family: var(--font-main);
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

.logo-stack {
    display: flex;
    flex-direction: column;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all .2s;
    letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-light);
    background: rgba(245, 166, 35, 0.1);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all .25s;
    border: none;
    text-transform: uppercase;
}

.btn-gold {
    background: var(--grad-gold);
    color: var(--brown);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 166, 35, 0.5);
    color: var(--brown);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--brown);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-pulse {
    animation: pulse-gold 2.5s infinite;
}

@keyframes pulse-gold {

    0%,
    100% {
        box-shadow: 0 4px 24px rgba(245, 166, 35, 0.35);
    }

    50% {
        box-shadow: 0 4px 40px rgba(255, 215, 0, 0.65);
    }
}

/* ── RG BAR ──────────────────────────────────────────────── */
.rg-bar {
    background: var(--brown-mid);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 7px 20px;
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.03em;
}

.rg-bar a {
    color: var(--gold);
    font-weight: 600;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--brown-mid);
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    opacity: 0.85;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--brown) 35%, rgba(26, 14, 0, 0.5) 65%, transparent 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid var(--border-hot);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 18px;
}

.hero h1 span {
    color: var(--gold-light);
}

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

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

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

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.hero-stat span {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── TICKER / STATS BAR ──────────────────────────────────── */
.stats-bar {
    background: var(--grad-gold);
    padding: 18px 0;
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(26, 14, 0, 0.2);
    padding: 0 20px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--brown);
    letter-spacing: 1px;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(26, 14, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

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

.section-sm {
    padding: 48px 0;
}

.section-dark {
    background: var(--brown-mid);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: 2px;
    color: #fff;
}

.section-title p {
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── CARD GRID ───────────────────────────────────────────── */
.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-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.card {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-gold);
    opacity: 0;
    transition: opacity .3s;
}

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

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

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

.game-card:hover {
    border-color: var(--border-hot);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.2);
}

.game-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

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

.game-card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.game-meta {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.game-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(245, 166, 35, 0.15);
    color: var(--gold);
    margin-bottom: 8px;
}

/* ── BONUS CARD ──────────────────────────────────────────── */
.bonus-card {
    background: var(--brown-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}

.bonus-card-head {
    background: var(--grad-gold);
    padding: 24px;
    text-align: center;
}

.bonus-card-head .amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--brown);
    letter-spacing: 2px;
}

.bonus-card-head .label {
    font-size: 0.75rem;
    color: rgba(26, 14, 0, 0.7);
    font-weight: 700;
    text-transform: uppercase;
}

.bonus-card-body {
    padding: 20px 24px;
    flex: 1;
}

.bonus-card-body ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-card-body li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.bonus-card-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.bonus-card-foot {
    padding: 0 24px 24px;
}

/* ── TABLES ──────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

table.data-table {
    width: 100%;
}

table.data-table caption {
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.9rem;
    background: var(--brown-mid);
    border-bottom: 1px solid var(--border);
}

table.data-table th {
    background: var(--brown-mid);
    padding: 13px 18px;
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    white-space: nowrap;
}

table.data-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
}

table.data-table tr:last-child td {
    border-bottom: none;
}

table.data-table tr:hover td {
    background: rgba(245, 166, 35, 0.04);
}

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

.td-check {
    color: #4ade80;
}

.td-x {
    color: #f87171;
}

/* ── CHART CONTAINER ─────────────────────────────────────── */
.chart-box {
    background: var(--brown-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}

.chart-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.chart-box p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

canvas {
    max-height: 280px;
    max-width: 100% !important;
    display: block;
}

.chart-box {
    overflow: hidden;
    position: relative;
}

/* ── SCORE / VERDICT BOX ─────────────────────────────────── */
.verdict-box {
    background: var(--brown-card);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
}

.verdict-score {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold-light);
    letter-spacing: 4px;
    line-height: 1;
}

.verdict-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

.stars {
    color: var(--gold);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 12px 0;
}

.score-bar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.score-bar {
    display: flex;
    align-items: center;
    gap: 14px;
}

.score-bar-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-width: 100px;
}

.score-bar-track {
    flex: 1;
    height: 8px;
    background: var(--brown-light);
    border-radius: 4px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: var(--grad-gold);
    border-radius: 4px;
    transition: width 1s ease;
}

.score-bar-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 32px;
    text-align: right;
}

/* ── QUICK FACTS TABLE ───────────────────────────────────── */
.quick-facts {
    background: var(--brown-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.quick-facts-row {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.quick-facts-row:last-child {
    border-bottom: none;
}

.qf-key {
    padding: 13px 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 600;
    min-width: 170px;
    background: rgba(245, 166, 35, 0.04);
}

.qf-val {
    padding: 13px 20px;
    font-size: 0.9rem;
    color: var(--text);
    flex: 1;
}

.qf-val strong {
    color: var(--gold);
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}

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

.breadcrumb-sep {
    opacity: 0.5;
}

/* ── PAGE HERO (sub-pages) ───────────────────────────────── */
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 48px;
}

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

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--brown) 30%, transparent 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-tag {
    display: inline-block;
    background: var(--grad-gold);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brown);
    margin-bottom: 16px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 2px;
    color: #fff;
    line-height: 1.1;
}

.page-hero p {
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 600px;
}

/* ── SEO CONTENT ─────────────────────────────────────────── */
.seo-content {
    background: var(--brown-mid);
    padding: 64px 0;
}

.seo-article {
    max-width: 820px;
}

.seo-article h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 1px;
    color: #fff;
    margin: 36px 0 14px;
}

.seo-article h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    margin: 24px 0 10px;
}

.seo-article p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.seo-article ul {
    color: var(--text-muted);
    padding-left: 0;
    margin-bottom: 16px;
}

.seo-article ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.seo-article ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.seo-article a.text-link {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    padding: 18px 22px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .2s;
}

.faq-q:hover {
    background: rgba(245, 166, 35, 0.06);
}

.faq-q::after {
    content: '+';
    color: var(--gold);
    font-size: 1.3rem;
    transition: transform .3s;
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    display: none;
    padding: 0 22px 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

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

/* ── OG BADGES ───────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.badge-gold {
    background: rgba(245, 166, 35, 0.15);
    color: var(--gold);
    border: 1px solid var(--border-hot);
}

.badge-green {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.badge-red {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

/* ── STEP LIST ───────────────────────────────────────────── */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--grad-gold);
    color: var(--brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.step-content h4 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

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

/* ── COMPARISON TABLE ────────────────────────────────────── */
.compare-table th:first-child {
    width: 200px;
}

.compare-table th.highlight {
    color: var(--gold-light);
}

.compare-table td:nth-child(2) {
    background: rgba(245, 166, 35, 0.06);
}

/* ── LOGIN / REGISTER FORMS ─────────────────────────────── */
.auth-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.auth-box {
    background: var(--brown-card);
    border: 1px solid var(--border-hot);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 460px;
    width: 100%;
}

.auth-box h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.auth-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.92rem;
}

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    background: var(--brown-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color .2s;
}

.form-input:focus {
    border-color: var(--gold);
}

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

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.form-footer a {
    color: var(--gold);
    font-weight: 700;
}

.form-divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.form-divider span {
    position: relative;
    background: var(--brown-card);
    padding: 0 12px;
    color: var(--text-dim);
    font-size: 0.8rem;
}

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

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

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-brand .rg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 0.87rem;
    color: var(--text-dim);
    padding: 5px 0;
    transition: color .2s;
}

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

.footer-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-links a {
    color: var(--text-dim);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ── MOBILE NAV ──────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all .3s;
}

.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 {
    display: none;
    flex-direction: column;
    background: var(--brown-mid);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
}

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

.mobile-nav a {
    padding: 13px 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}

.mobile-nav a:last-of-type {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--gold-light);
}

.mobile-cta-wrap {
    padding-top: 16px;
}

/* ── MOBILE RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 420px;
    }

    .hero-img {
        width: 100%;
        opacity: 0.3;
    }

    .hero-mask {
        background: linear-gradient(180deg, rgba(26, 14, 0, 0.7) 0%, var(--brown) 100%);
    }

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

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

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

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

    .header-cta .btn:not(.btn-pulse) {
        display: none;
    }

    .hero-stats {
        gap: 16px;
    }

    .auth-box {
        padding: 32px 24px;
    }

    .page-hero {
        min-height: 240px;
    }

    .quick-facts-row {
        flex-direction: column;
    }

    .qf-key {
        min-width: unset;
    }

    .score-bar-label {
        min-width: 80px;
        font-size: 0.78rem;
    }
}

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

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

    .stats-bar-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 16px;
    }

    .btn-lg {
        padding: 13px 24px;
        font-size: 0.95rem;
    }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.text-gold {
    color: var(--gold) !important;
}

.text-center {
    text-align: center;
}

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

.mb-32 {
    margin-bottom: 32px;
}

.gap-8 {
    gap: 8px;
}

.fw-700 {
    font-weight: 700;
}

/* ── AUTH / LOGIN / REGISTER ─────────────────────────────── */
.auth-wrap {
    padding: 60px 0 80px;
}

.auth-box {
    background: var(--brown-card);
    border: 1px solid var(--border-hot);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    width: 100%;
    max-width: 460px;
    flex-shrink: 0;
}

.auth-box h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 8px;
}

.auth-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: var(--brown-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 16px;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color .2s;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

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

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.form-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ── LEGAL CONTENT (privacy / terms) ─────────────────────── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 8px;
}

.legal-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    margin: 32px 0 12px;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content code {
    background: var(--brown-mid);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--gold);
    font-family: monospace;
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.breadcrumb a {
    color: var(--text-dim);
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb-sep {
    color: var(--border-hot);
}

/* ── STEP LIST (login benefits, install guide) ───────────── */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brown-light);
    border: 1px solid var(--border-hot);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold-light);
}

.step-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── SEO CONTENT BLOCK ───────────────────────────────────── */
.seo-content {
    padding: 64px 0;
    background: var(--brown-mid);
    border-top: 1px solid var(--border);
}

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

.seo-article h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
}

.seo-article h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    margin: 28px 0 10px;
}

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

.text-link {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.4);
    transition: all .2s;
}

.text-link:hover {
    color: var(--gold-light);
    text-decoration-color: var(--gold-light);
}

/* ── BADGE ───────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-gold {
    background: rgba(245, 166, 35, 0.15);
    color: var(--gold);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.badge-green {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}