/* ═══════════════════════════════════════════
   hellomillions-casino.ca — Design System
   Brand: Pop-Art / Comic-Book
   Colors: Red #E60026 · Yellow #FFD700 · Dark #0D0D1A
   ═══════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────── */
:root {
    --red: #E60026;
    --red-dark: #B8001E;
    --red-light: #FF1A3A;
    --yellow: #FFD700;
    --yellow-dark: #E6C200;
    --black: #0D0D1A;
    --black-2: #12121F;
    --black-3: #1A1A2E;
    --card-bg: #16162B;
    --border: rgba(255, 215, 0, 0.15);
    --border-red: rgba(230, 0, 38, 0.25);
    --white: #FFFFFF;
    --white-80: rgba(255, 255, 255, 0.80);
    --white-60: rgba(255, 255, 255, 0.60);
    --white-30: rgba(255, 255, 255, 0.30);
    --text: #F0F0FF;
    --text-muted: rgba(240, 240, 255, 0.55);

    --font-display: 'Bangers', 'Impact', cursive;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --radius: 10px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --shadow-red: 0 0 32px rgba(230, 0, 38, 0.35);
    --shadow-yellow: 0 0 32px rgba(255, 215, 0, 0.25);
    --trans: all 0.3s cubic-bezier(0.4, 0, 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(--black);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

canvas {
    display: block;
}

/* ── Skip link ──────────────────────────── */
.skip-link {
    position: absolute;
    top: -48px;
    left: 0;
    background: var(--yellow);
    color: var(--black);
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 0 0 8px 0;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ── Container ──────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Header ─────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--red);
    box-shadow: 0 2px 20px rgba(230, 0, 38, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red);
    transition: var(--trans);
}

.logo:hover {
    transform: scale(1.04);
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-family: var(--font-display);
    color: var(--yellow);
    font-weight: 900;
    border: 2px solid var(--yellow);
    box-shadow: 3px 3px 0 var(--yellow-dark);
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--white-80);
    letter-spacing: 0.3px;
    transition: var(--trans);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--yellow);
    background: rgba(255, 215, 0, 0.1);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--white-80);
    transition: var(--trans);
}

.btn-login:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.btn-tracker {
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--red);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: 0.5px;
    border: 2px solid var(--yellow-dark);
    box-shadow: 3px 3px 0 var(--yellow-dark);
    transition: var(--trans);
}

.btn-tracker:hover {
    background: var(--red-dark);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--yellow-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: var(--trans);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--black-2);
    border-bottom: 2px solid var(--red);
    padding: 16px 20px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--white-80);
    transition: var(--trans);
}

.mobile-nav a:hover {
    background: rgba(255, 215, 0, 0.08);
    color: var(--yellow);
}

.mobile-nav .btn-tracker {
    text-align: center;
    justify-content: center;
    margin-top: 8px;
    font-size: 14px;
    padding: 14px 20px;
}

/* Mobile sticky */
.mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--red);
    color: var(--yellow);
    text-align: center;
    padding: 14px 20px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-top: 2px solid var(--yellow-dark);
    box-shadow: 0 -4px 20px rgba(230, 0, 38, 0.4);
}

.mobile-sticky span {
    color: var(--white);
    text-decoration: underline;
}

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    transition: var(--trans);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-red {
    background: var(--red);
    color: var(--yellow);
    border-color: var(--yellow-dark);
    box-shadow: 4px 4px 0 var(--yellow-dark);
}

.btn-red:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--yellow-dark);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow-dark);
    box-shadow: 4px 4px 0 var(--red-dark);
}

.btn-yellow:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--red-dark);
}

.btn-outline {
    background: transparent;
    color: var(--yellow);
    border-color: var(--yellow);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ── Sections ────────────────────────────── */
section {
    padding: 72px 0;
}

.section-alt {
    background: var(--black-2);
}

.section-dark {
    background: var(--black-3);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--white);
}

.section-title span {
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red);
}

.section-title .red {
    color: var(--red);
}

.section-sub {
    font-size: 16px;
    color: var(--white-60);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 44px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-sub {
    margin: 0 auto;
}

/* ── Divider ─────────────────────────────── */
.comic-divider {
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--yellow) 40px 80px);
    opacity: 0.6;
    margin: 0;
}

/* ── Hero ────────────────────────────────── */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
    padding: 80px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 70% 50%, rgba(230, 0, 38, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
}

/* Comic halftone dots */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 215, 0, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--red);
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 6px;
    border: 2px solid var(--yellow-dark);
    box-shadow: 3px 3px 0 var(--yellow-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.0;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title .yellow {
    color: var(--yellow);
    text-shadow: 3px 3px 0 var(--red);
}

.hero-title .red {
    color: var(--red);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 17px;
    color: var(--white-80);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hero-stat {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--yellow);
}

.hero-stat span {
    font-size: 12px;
    color: var(--white-60);
    margin-top: 2px;
    display: block;
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--card-bg);
    border: 2px solid var(--yellow-dark);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 8px 8px 0 var(--red-dark), 0 24px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-card::before {
    content: 'HELLO!';
    position: absolute;
    top: -18px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 2px;
    background: var(--yellow);
    color: var(--black);
    padding: 4px 14px;
    border-radius: 20px;
    border: 2px solid var(--black);
}

/* ── Grids ───────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 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-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ── Cards ───────────────────────────────── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--trans);
}

.card:hover {
    border-color: var(--yellow);
    box-shadow: 0 4px 32px rgba(255, 215, 0, 0.15), 4px 4px 0 var(--red-dark);
    transform: translateY(-4px);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.card-icon.yellow-icon {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    font-size: 22px;
}

.card h3 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: var(--white-60);
    line-height: 1.6;
}

/* ── Game cards ──────────────────────────── */
.game-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--trans);
    position: relative;
}

.game-card:hover {
    border-color: var(--yellow);
    box-shadow: 3px 3px 0 var(--red-dark);
    transform: translateY(-3px);
}

.game-thumb {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border-bottom: 1px solid var(--border);
}

.game-info {
    padding: 14px 12px;
}

.game-name {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.game-provider {
    font-size: 12px;
    color: var(--white-60);
    margin-bottom: 6px;
}

.game-rtp {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--yellow);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--yellow-dark);
}

/* ── Bonus cards ─────────────────────────── */
.bonus-card {
    background: var(--card-bg);
    border: 2px solid var(--border-red);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--trans);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--yellow));
}

.bonus-card:hover {
    border-color: var(--yellow);
    box-shadow: 5px 5px 0 var(--red-dark);
    transform: translateY(-4px);
}

.bonus-card.featured {
    border-color: var(--yellow);
    background: linear-gradient(135deg, var(--card-bg), rgba(255, 215, 0, 0.05));
    box-shadow: 5px 5px 0 var(--yellow-dark);
}

.bonus-amount {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red);
    margin: 8px 0;
}

.bonus-type {
    font-size: 14px;
    color: var(--white-60);
    margin-bottom: 16px;
}

.bonus-features {
    margin-top: 16px;
}

.bonus-features li {
    font-size: 14px;
    color: var(--white-80);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.bonus-features li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 12px;
}

/* ── Testimonials ────────────────────────── */
.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--red);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-stars {
    color: var(--yellow);
    font-size: 18px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--white-80);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    border: 2px solid var(--yellow-dark);
}

.testimonial-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
}

.testimonial-loc {
    font-size: 12px;
    color: var(--white-60);
}

/* ── Tables ──────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

caption {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--white-60);
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

thead tr {
    background: var(--black-3);
}

th {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--yellow);
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

td {
    font-size: 14px;
    color: var(--white-80);
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.07);
    vertical-align: middle;
}

tbody tr:hover {
    background: rgba(255, 215, 0, 0.04);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-green {
    background: rgba(0, 200, 100, 0.15);
    color: #00C864;
    border: 1px solid rgba(0, 200, 100, 0.3);
}

.badge-red {
    background: rgba(230, 0, 38, 0.15);
    color: #FF4466;
    border: 1px solid rgba(230, 0, 38, 0.3);
}

.badge-yellow {
    background: rgba(255, 215, 0, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* ── Charts ──────────────────────────────── */
.chart-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.chart-box h3 {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.chart-box p {
    font-size: 13px;
    color: var(--white-60);
    margin-bottom: 20px;
}

.chart-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--white-60);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── SEO Content ─────────────────────────── */
.seo-content {
    padding: 64px 0;
}

.seo-article {
    max-width: 820px;
}

.seo-article h2 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.5px;
    color: var(--yellow);
    text-shadow: 1px 1px 0 var(--red);
    margin: 32px 0 12px;
}

.seo-article h2:first-child {
    margin-top: 0;
}

.seo-article h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 24px 0 10px;
}

.seo-article p {
    font-size: 16px;
    color: var(--white-80);
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-article a {
    color: var(--yellow);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.seo-article a:hover {
    color: var(--red);
}

.seo-article strong {
    color: var(--white);
    font-weight: 700;
}

.seo-article ul,
.seo-article ol {
    margin: 12px 0 20px 24px;
    color: var(--white-80);
    font-size: 16px;
    line-height: 1.8;
}

.seo-article ul {
    list-style: disc;
}

.seo-article ol {
    list-style: decimal;
}

/* ── Breadcrumb ──────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--white-60);
    border-bottom: 1px solid var(--border);
}

.breadcrumb a {
    color: var(--yellow);
}

.breadcrumb a:hover {
    color: var(--red);
}

.breadcrumb-sep {
    color: var(--white-30);
}

/* ── Rating bar ──────────────────────────── */
.rating-row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.rating-label {
    font-size: 13px;
    color: var(--white-60);
    font-family: var(--font-head);
    font-weight: 600;
}

.rating-track {
    height: 8px;
    background: var(--black-3);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.rating-fill.red {
    background: linear-gradient(90deg, var(--red), var(--red-light));
}

.rating-fill.yellow {
    background: linear-gradient(90deg, var(--yellow-dark), var(--yellow));
}

.rating-fill.mixed {
    background: linear-gradient(90deg, var(--red), var(--yellow));
}

.rating-score {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

/* ── Author box ──────────────────────────── */
.author-box {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.author-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--yellow);
    box-shadow: 3px 3px 0 var(--red-dark);
    flex-shrink: 0;
}

.author-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--yellow);
    flex-shrink: 0;
}

.author-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--yellow);
    margin-bottom: 4px;
}

.author-role {
    font-size: 13px;
    color: var(--white-60);
    margin-bottom: 12px;
}

.author-bio {
    font-size: 14px;
    color: var(--white-80);
    line-height: 1.7;
}

/* ── Trust bar ───────────────────────────── */
.trust-bar {
    background: var(--black-3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--white-60);
}

.trust-item strong {
    color: var(--white);
}

.trust-sep {
    color: var(--border);
}

/* ── Form ────────────────────────────────── */
.form-page {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.form-card {
    width: 100%;
    max-width: 440px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    box-shadow: 8px 8px 0 var(--red-dark);
}

.form-title {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red);
    text-align: center;
    margin-bottom: 8px;
}

.form-sub {
    font-size: 14px;
    color: var(--white-60);
    text-align: center;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--white-80);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--black-2);
    border: 2px solid var(--border);
    color: var(--white);
    font: 14px/1 var(--font-body);
    transition: var(--trans);
}

.form-input:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-footer {
    text-align: center;
    font-size: 14px;
    color: var(--white-60);
    margin-top: 20px;
}

.form-footer a {
    color: var(--yellow);
}

.form-divider {
    text-align: center;
    font-size: 13px;
    color: var(--white-30);
    margin: 20px 0;
    position: relative;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border);
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

/* ── Footer ──────────────────────────────── */
.site-footer {
    background: var(--black-2);
    border-top: 2px solid var(--red);
    padding: 56px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc {
    font-size: 14px;
    color: var(--white-60);
    line-height: 1.7;
    margin: 14px 0;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--white-30);
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--yellow);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--white-60);
    transition: var(--trans);
}

.footer-col ul li a:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding: 20px 0;
    font-size: 13px;
    color: var(--white-30);
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: var(--white-30);
    transition: var(--trans);
}

.footer-legal a:hover {
    color: var(--yellow);
}

/* ── Comic speech bubble ─────────────────── */
.speech-bubble {
    position: relative;
    background: var(--yellow);
    color: var(--black);
    border: 3px solid var(--black);
    border-radius: 20px;
    padding: 16px 20px;
    font-family: var(--font-display);
    font-size: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 30px;
    width: 0;
    height: 0;
    border: 14px solid transparent;
    border-top: 14px solid var(--black);
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 32px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-top: 12px solid var(--yellow);
    z-index: 1;
}

/* ── Page hero (internal pages) ──────────── */
.page-hero {
    background: var(--black-2);
    border-bottom: 2px solid var(--border);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 215, 0, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.page-title span {
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red);
}

.page-desc {
    font-size: 17px;
    color: var(--white-60);
    max-width: 540px;
}

/* ── Legal page ──────────────────────────── */
.legal-content h2 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--yellow);
    margin: 28px 0 10px;
}

.legal-content h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin: 20px 0 8px;
}

.legal-content p,
.legal-content li {
    font-size: 15px;
    color: var(--white-80);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    margin-left: 20px;
    list-style: disc;
}

.legal-content a {
    color: var(--yellow);
}

/* ── Animations ──────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.fade-up {
    animation: fadeUp 0.6s ease forwards;
}

/* ── Responsive ──────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 420px;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .main-nav a {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    section {
        padding: 48px 0;
    }

    /* === HEADER === */
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hide secondary header buttons, keep only tracker + hamburger */
    .btn-login,
    .header-cta .btn-outline {
        display: none;
    }

    .header-cta {
        gap: 6px;
    }

    .btn-tracker {
        font-size: 12px;
        padding: 9px 12px;
        letter-spacing: 0;
    }

    /* === MOBILE NAV === */
    .mobile-nav {
        position: sticky;
        top: 68px;
        z-index: 999;
    }

    /* === MOBILE STICKY === */
    .mobile-sticky {
        display: block;
    }

    /* Bottom padding so sticky CTA doesn't overlap content */
    main {
        padding-bottom: 64px;
    }

    /* === HERO === */
    .hero {
        padding: 40px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(42px, 10vw, 62px);
    }

    .hero-desc {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* === GRIDS === */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* 2-column grid for small-but-not-tiny screens */
    .grid-2-sm {
        grid-template-columns: repeat(2, 1fr);
    }

    /* === FOOTER === */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* === TABLES === */
    .table-wrap {
        font-size: 13px;
    }

    th,
    td {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* === PAGE HERO === */
    .page-hero {
        padding: 32px 0 28px;
    }

    .page-title {
        font-size: clamp(32px, 8vw, 50px);
    }

    .page-desc {
        font-size: 15px;
        max-width: 100%;
    }

    /* === AUTHOR === */
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* === CONTACT 2-col layout === */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Inline 2-col grids in pages (reviews pros/cons, contact) */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
    }

    /* === BONUS CARD === */
    .bonus-card {
        padding: 24px 16px;
    }

    /* === FORM (login/register) === */
    .form-card {
        padding: 28px 18px;
    }

    /* === RATING ROW === */
    .rating-row {
        grid-template-columns: 100px 1fr auto;
        gap: 10px;
    }

    /* === SEO ARTICLE === */
    .seo-article {
        max-width: 100%;
    }

    .seo-article h2 {
        font-size: 22px;
    }

    /* === SECTION TITLE === */
    .section-title {
        font-size: clamp(26px, 7vw, 40px);
    }

    /* === CHART BOXES === */
    .chart-box canvas {
        height: 220px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .hero-stat strong {
        font-size: 20px;
    }

    .btn {
        padding: 11px 18px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 13px 22px;
        font-size: 15px;
    }

    .btn-tracker {
        font-size: 11px;
        padding: 8px 10px;
    }

    .mobile-sticky {
        font-size: 13px;
        padding: 12px 16px;
    }

    .hero-eyebrow {
        font-size: 12px;
    }

    .page-title {
        font-size: clamp(28px, 9vw, 44px);
    }

    /* Stack table columns on very small screens */
    .table-wrap {
        -webkit-overflow-scrolling: touch;
    }

    th,
    td {
        font-size: 12px;
        padding: 8px 10px;
    }

    .footer-grid .footer-col:not(:first-child) {
        display: none;
    }

    .footer-col:first-child {
        display: block;
    }

    /* Show all footer cols on tablet */
}

/* Override: show footer cols on tablet+ */
@media (min-width: 481px) {
    .footer-grid .footer-col {
        display: block !important;
    }
}