/* ═══════════════════════════════════════════════════════════
   VAVADA KZ EXPERT — Premium Dark Theme
   Design: Personal Expert Blog + Modern Casino Review
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
    /* Colors — Premium Dark + Gold */
    --bg-primary: #0b0e14;
    --bg-secondary: #111827;
    --bg-card: #151c28;
    --bg-card-hover: #1a2332;
    --bg-elevated: #1e293b;
    --bg-glass: rgba(21, 28, 40, 0.8);

    --accent-gold: #d4a843;
    --accent-gold-light: #f0c95c;
    --accent-gold-dark: #b8922e;
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;

    --text-primary: #e8e6e3;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-heading: #f1f0ee;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(212, 168, 67, 0.3);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(212, 168, 67, 0.15);

    --gradient-gold: linear-gradient(135deg, #d4a843, #f0c95c);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #a78bfa);
    --gradient-dark: linear-gradient(180deg, #0b0e14, #111827);
    --gradient-card: linear-gradient(145deg, #151c28, #1a2332);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --max-width: 1200px;
    --content-width: 720px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1.125rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    min-height: 100vh;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
a:hover {
    color: var(--accent-gold-light);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: var(--space-3xl); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-top: var(--space-2xl); }

p { margin-bottom: var(--space-md); }

::selection {
    background: rgba(212, 168, 67, 0.3);
    color: var(--text-heading);
}

/* ─── Container ─── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--content-width);
}

/* ─── SVG Icon (loaded from /images/icons/) ─── */
.icon {
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
}
/* Apple icon uses fill instead of stroke */
.icon--apple {
    fill: currentColor;
    stroke: none;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: box-shadow var(--duration) var(--ease);
}

.site-header--scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-heading);
    text-decoration: none;
}
.logo:hover { color: var(--text-heading); }

.logo__icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #0b0e14;
}

.logo__text span {
    color: var(--accent-gold);
}

/* Desktop Navigation */
.main-nav {
    display: none;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
}
.main-nav__link:hover,
.main-nav__link--active {
    color: var(--accent-gold);
    background: rgba(212, 168, 67, 0.08);
}
.main-nav__link .icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

/* Header right section */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-cta {
    display: none;
}
@media (min-width: 640px) {
    .header-cta {
        display: inline-flex;
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--duration) var(--ease);
}
.menu-toggle:hover {
    background: rgba(255,255,255,0.05);
}
/* Hamburger icon toggle — uses wrapper spans */
.menu-toggle__close {
    display: none;
}
.menu-toggle.active .menu-toggle__open {
    display: none;
}
.menu-toggle.active .menu-toggle__close {
    display: inline-flex;
}

/* Mobile Navigation — FIXED overlay, outside <header> to avoid sticky bugs */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 95;
    padding-top: 72px;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    padding-bottom: 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.active {
    display: block;
}

.mobile-nav__inner {
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 500;
    transition: all var(--duration) var(--ease);
}
.mobile-nav__link:hover,
.mobile-nav__link--active {
    background: rgba(212, 168, 67, 0.1);
    color: var(--accent-gold);
}
.mobile-nav__link .icon {
    width: 22px;
    height: 22px;
    opacity: 0.7;
}

@media (min-width: 1024px) {
    .mobile-nav { display: none !important; }
}

/* Desktop: show nav, hide toggle */
@media (min-width: 1024px) {
    .main-nav { display: block; }
    .menu-toggle { display: none; }
}

/* ═══════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════ */
.breadcrumbs {
    padding: var(--space-md) 0;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
}

.breadcrumbs__item {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}
.breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-sm);
    color: var(--text-muted);
    opacity: 0.5;
}
.breadcrumbs__item a {
    color: var(--text-secondary);
}
.breadcrumbs__item a:hover {
    color: var(--accent-gold);
}
.breadcrumbs__item--active {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: var(--space-xl) 0 var(--space-3xl);
    overflow: hidden;
}
@media (min-width: 768px) {
    .hero { padding: var(--space-4xl) 0; }
}

/* Badge hidden on mobile */
@media (max-width: 767px) {
    .hero__badge-wrap { display: none; }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: start;
}

/* Mobile order: badge(1) → title(2) → rating(3) → author(4) */
.hero__badge-wrap  { order: 1; }
.hero__content     { order: 2; max-width: 640px; }
.hero__sidebar     { order: 3; }
.hero__author-wrap { order: 4; }

@media (min-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr 340px;
        grid-template-rows: auto 1fr auto;
    }
    .hero__badge-wrap  { grid-column: 1; grid-row: 1; order: unset; }
    .hero__content     { grid-column: 1; grid-row: 2; order: unset; }
    .hero__author-wrap { grid-column: 1; grid-row: 3; order: unset; }
    .hero__sidebar     { grid-column: 2; grid-row: 1 / -1; order: unset; }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}
.hero__title em {
    font-style: normal;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    max-width: 540px;
}

.hero__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.hero__author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0b0e14;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
}
.hero__author-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hero sidebar with rating */
.hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero__rating-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.hero__overall-score {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.hero__score-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.hero__quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.hero__stat {
    text-align: center;
    padding: var(--space-sm);
}
.hero__stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
}
.hero__stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   DISCLOSURE BANNER (Affiliate)
   ═══════════════════════════════════════════════ */
.disclosure {
    padding: var(--space-md);
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}
.disclosure .icon {
    color: var(--warning);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   BENTO GRID (Info Cards)
   ═══════════════════════════════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

@media (min-width: 640px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
    .bento-grid--hero { grid-template-columns: repeat(2, 1fr); }
}

.bento-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.bento-card--featured {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.05), rgba(139, 92, 246, 0.05));
    border-color: var(--border-accent);
}

.bento-card__icon {
    display: none;
}

.bento-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-heading);
}
.bento-card__title .icon {
    width: 1.5em;
    height: 1.5em;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.bento-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
}
.bento-card__link:hover {
    gap: 10px;
}

/* ═══════════════════════════════════════════════
   RATINGS SECTION
   ═══════════════════════════════════════════════ */
.ratings-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
    border: 1px solid var(--border-subtle);
}

.ratings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

@media (min-width: 768px) {
    .ratings-grid {
        grid-template-columns: 160px 1fr;
        align-items: start;
    }
}

.rating-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}
.rating-circle__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}
.rating-circle__progress {
    transition: stroke-dashoffset 1s var(--ease);
}

/* Progress bar ratings */
.progress-rating {
    margin-bottom: var(--space-md);
}
.progress-rating__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.progress-rating__label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.progress-rating__score {
    font-size: 0.9rem;
    font-weight: 700;
}
.progress-rating__track {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.progress-rating__bar {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s var(--ease);
    width: 0;
}
.progress-rating__bar.animate {
    width: var(--target-width);
}

/* ═══════════════════════════════════════════════
   PROS & CONS
   ═══════════════════════════════════════════════ */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}
@media (min-width: 640px) {
    .pros-cons { grid-template-columns: 1fr 1fr; }
}

.pros-cons__col {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border-subtle);
}

.pros-cons__title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}
.pros-cons__title--pro { color: var(--success); }
.pros-cons__title--con { color: var(--danger); }

.pros-cons__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}
.pros-cons__list li:last-child { border-bottom: none; }

.pros-cons__list .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}
.pros-cons__list--pro .icon { color: var(--success); }
.pros-cons__list--con .icon { color: var(--danger); }

/* ═══════════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════════ */
.section {
    padding: var(--space-3xl) 0;
}

.section--alt {
    background: var(--bg-secondary);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

.section__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin-top: 0;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

/* ═══════════════════════════════════════════════
   INFO TABLE
   ═══════════════════════════════════════════════ */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
    table-layout: fixed;
}

.info-table tr {
    border-bottom: 1px solid var(--border-subtle);
}

.info-table th,
.info-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-table th {
    color: var(--text-muted);
    font-weight: 500;
    width: 35%;
}

.info-table td {
    color: var(--text-primary);
    font-weight: 600;
}

.info-table__badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}
.info-table__badge--green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}
.info-table__badge--gold {
    background: rgba(212, 168, 67, 0.15);
    color: var(--accent-gold);
}

/* ═══════════════════════════════════════════════
   AUTHOR BOX
   ═══════════════════════════════════════════════ */
.author-box {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-box--card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.author-box__avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0b0e14;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-box__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.author-box__name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
}
.author-box__role {
    font-size: 0.8rem;
    color: var(--accent-gold);
}
.author-box__experience {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Full author card (author page or bottom of article) */
.author-full {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
}

.author-full__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .author-full__header {
        flex-direction: row;
        text-align: left;
    }
}

.author-full__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2rem;
    color: #0b0e14;
    flex-shrink: 0;
}

.author-full__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
}
.author-full__title {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-top: 4px;
}

.author-full__stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-md);
}
.author-full__stat {
    text-align: center;
}
.author-full__stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
}
.author-full__stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   CTA BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--duration) var(--ease);
    text-align: center;
    max-width: 100%;
}

.btn--primary {
    background: var(--gradient-gold);
    color: #0b0e14;
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4);
    color: #0b0e14;
}

.btn--secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn--secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-accent);
    color: var(--text-heading);
}

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

.btn--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════
   TABLE OF CONTENTS (Sticky on desktop)
   ═══════════════════════════════════════════════ */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}
.toc__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-heading);
}
.toc__list {
    counter-reset: toc;
}
.toc__list li {
    counter-increment: toc;
}
.toc__list li a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: color var(--duration) var(--ease);
}
.toc__list li a::before {
    content: counter(toc, decimal-leading-zero);
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 700;
    min-width: 24px;
}
.toc__list li a:hover {
    color: var(--accent-gold);
}
.toc__list li:last-child a {
    border-bottom: none;
}

/* ═══════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════ */
.faq-list {
    margin: var(--space-xl) 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    text-align: left;
}
.faq-item__question .icon {
    transition: transform var(--duration) var(--ease);
    color: var(--accent-gold);
    flex-shrink: 0;
}
.faq-item.active .faq-item__question .icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.faq-item__answer-inner {
    padding-bottom: var(--space-lg);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.faq-item.active .faq-item__answer {
    max-height: 500px;
}

/* ═══════════════════════════════════════════════
   RESPONSIBLE GAMBLING WIDGET
   ═══════════════════════════════════════════════ */
.rg-widget {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    margin: var(--space-xl) 0;
}

.rg-widget__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.rg-widget__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.rg-widget__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}
.rg-widget__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.15);
    text-underline-offset: 3px;
}
.rg-widget__links a:hover {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand {
    max-width: 300px;
}
.footer-brand__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-md);
    line-height: 1.7;
}

.footer-col__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.footer-col__list li {
    margin-bottom: var(--space-sm);
}
.footer-col__list a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--duration) var(--ease);
}
.footer-col__list a:hover {
    color: var(--accent-gold);
}

/* Footer 18+ section */
.footer-age-section {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: var(--space-lg);
}
.footer-age-icon {
    flex-shrink: 0;
    color: var(--danger);
    opacity: 0.8;
}
.footer-age-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   ARTICLE / CONTENT PAGE LAYOUT
   ═══════════════════════════════════════════════ */
.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 300px;
    }
}

.article-content {
    max-width: var(--content-width);
}

.article-content h2 {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

.article-content h2:first-of-type {
    margin-top: var(--space-xl);
    padding-top: 0;
    border-top: none;
}

.article-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .article-sidebar {
        display: block;
    }
    .article-sidebar__sticky {
        position: sticky;
        top: 80px;
    }
}

/* Content placeholder */
.content-placeholder {
    padding: var(--space-2xl);
    background: rgba(139, 92, 246, 0.05);
    border: 1px dashed rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════
   METHODOLOGY PAGE
   ═══════════════════════════════════════════════ */
.methodology-steps {
    counter-reset: step;
    margin: var(--space-2xl) 0;
}
.methodology-step {
    counter-increment: step;
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border-subtle);
}
.methodology-step__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.1);
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 1.1rem;
}
.methodology-step__number::before {
    content: counter(step);
}
.methodology-step__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-heading);
}

/* ═══════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════ */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ═══════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════ */
.error-page {
    text-align: center;
    padding: var(--space-4xl) 0;
}
.error-page__code {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.error-page__text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: var(--space-lg) 0 var(--space-2xl);
}

/* ═══════════════════════════════════════════════
   FEATURES GRID (for methodology, about, etc.)
   ═══════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration) var(--ease);
}
.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.feature-card__icon {
    display: none;
}

.feature-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-heading);
}
.feature-card__title .icon {
    width: 1.5em;
    height: 1.5em;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.feature-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   MOBILE BOTTOM TAB BAR
   ═══════════════════════════════════════════════ */
.bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: 6px 8px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
    gap: 0;
}

.bottom-bar__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--duration) var(--ease);
    white-space: nowrap;
    min-width: 0;
}
.bottom-bar__item .icon {
    width: 20px;
    height: 20px;
}
.bottom-bar__item:hover,
.bottom-bar__item--active {
    color: var(--accent-gold);
}

@media (min-width: 1024px) {
    .bottom-bar { display: none; }
}

/* Extra padding at bottom for mobile to account for bottom bar */
@media (max-width: 1023px) {
    body { padding-bottom: 60px; }
}

/* ═══════════════════════════════════════════════
   ANIMATIONS (Scroll-triggered via JS)
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.mt-0 { margin-top: 0; }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.gap-md { gap: var(--space-md); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}
