/* ═══════════════════════════════════════════════════════
   SWEEP-STAKESCASINO.CA — Complete Guide 2026
   Design: Deep Purple + Gold + Maple Red accent
   ═══════════════════════════════════════════════════════ */

:root {
  --purple: #6c2bd9;
  --purple-d: #4a1fa0;
  --purple-l: #9b5de5;
  --gold: #f0b429;
  --gold-l: #ffd166;
  --gold-d: #c8880e;
  --maple: #d62828;
  --emerald: #06d6a0;
  --bg0: #06040f;
  --bg1: #0d0a1a;
  --bg2: #130f22;
  --bg3: #1c1730;
  --surface: #221c38;
  --border: rgba(108, 43, 217, 0.2);
  --border-gold: rgba(240, 180, 41, 0.2);
  --white: #ffffff;
  --text1: #e8e4f4;
  --text2: #9b93be;
  --text3: #5e5780;
  --red: #ef4444;
  --green: #22c55e;
  --orange: #f97316;
  --grad-gold: linear-gradient(135deg, #f0b429, #ffd166, #c8880e);
  --grad-purple: linear-gradient(135deg, #6c2bd9, #9b5de5, #4a1fa0);
  --grad-maple: linear-gradient(135deg, #d62828, #ff4444, #a01a1a);
  --grad-card: linear-gradient(145deg, #1c1730, #130f22);
  --grad-hero: linear-gradient(180deg, #06040f, #0d0a1a);
  --shadow-gold: 0 0 40px rgba(240, 180, 41, 0.2);
  --shadow-purple: 0 0 40px rgba(108, 43, 217, 0.3);
  --r: 14px;
  --trans: 0.22s ease;
  --font: 'Inter', system-ui, sans-serif;
  --font-h: 'Oswald', 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg0);
  color: var(--text1);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -99px;
  left: 16px;
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══ HEADER ════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 4, 15, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
  border-color: var(--border-gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  position: relative;
  padding: 8px 13px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text2);
  transition: color var(--trans);
  white-space: nowrap;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: left 0.25s, right 0.25s;
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  left: 13px;
  right: 13px;
}

.nav-menu a.active {
  color: var(--white);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}

/* ── Burger ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(108, 43, 217, 0.15);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav ── */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0a0716;
  border-top: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}

.mobile-nav.open {
  max-height: 720px;
  padding: 8px 0 16px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--trans), color var(--trans);
  min-height: 52px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(108, 43, 217, 0.15);
  color: var(--gold);
}

.mobile-nav .mobile-cta {
  padding: 12px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ══ BUTTONS ════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
  line-height: 1;
}

.btn-gold {
  background: var(--grad-gold);
  color: #000;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-purple {
  background: var(--grad-purple);
  color: #fff;
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

.btn-maple {
  background: var(--grad-maple);
  color: #fff;
}

.btn-maple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(214, 40, 40, 0.3);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text1);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-purple {
  border-color: var(--purple);
  color: var(--purple-l);
  background: transparent;
}

.btn-outline-purple:hover {
  background: rgba(108, 43, 217, 0.15);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.05rem;
}

/* ══ HERO ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, rgba(108, 43, 217, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 30%, rgba(240, 180, 41, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(214, 40, 40, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #06040f 0%, #0d0a1a 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(108, 43, 217, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-orb1 {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 43, 217, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-orb2 {
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 43, 217, 0.15);
  border: 1px solid rgba(108, 43, 217, 0.35);
  color: var(--purple-l);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero h1 .purple {
  color: var(--purple-l);
}

.hero h1 .maple {
  color: var(--maple);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text2);
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat .val {
  display: block;
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .lbl {
  font-size: 0.76rem;
  color: var(--text3);
  margin-top: 3px;
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(108, 43, 217, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(108, 43, 217, 0.15);
}

.hero-img-wrap img {
  width: 100%;
}

/* ══ PAGE HERO ════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 50px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 43, 217, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(240, 180, 41, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #06040f, #0d0a1a);
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(108, 43, 217, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text3);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text3);
  transition: color var(--trans);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs .sep {
  color: var(--border);
}

.breadcrumbs .current {
  color: var(--text2);
  font-weight: 500;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 43, 217, 0.12);
  border: 1px solid rgba(108, 43, 217, 0.3);
  color: var(--purple-l);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
}

.page-hero h1 .gold {
  color: var(--gold);
}

.page-hero-desc {
  font-size: 1rem;
  color: var(--text2);
  max-width: 700px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.page-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text2);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 50px;
}

.page-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero-stat .val {
  display: block;
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.page-hero-stat .lbl {
  font-size: 0.73rem;
  color: var(--text3);
  margin-top: 4px;
  display: block;
}

/* ══ SECTIONS ═══════════════════════════════════════════════════ */
.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg1);
}

.section-dark {
  background: var(--bg2);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-l);
  margin-bottom: 12px;
}

.eyebrow.gold {
  color: var(--gold);
}

.eyebrow.maple {
  color: var(--maple);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-desc {
  font-size: 1rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══ CARDS ══════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.card:hover {
  border-color: rgba(108, 43, 217, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.card.gold-border:hover {
  border-color: rgba(240, 180, 41, 0.4);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.65;
}

.card-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ══ STEPS ══════════════════════════════════════════════════════ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #000;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(240, 180, 41, 0.3);
}

.step-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.82rem;
  color: var(--text2);
}

/* ══ COMPARISON TABLE ════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table caption {
  text-align: left;
  color: var(--text3);
  font-size: 0.78rem;
  margin-bottom: 12px;
}

thead th {
  background: var(--bg2);
  padding: 14px 18px;
  font-size: 0.79rem;
  font-weight: 700;
  text-align: left;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

thead th:first-child {
  border-radius: 12px 0 0 12px;
}

thead th:last-child {
  border-radius: 0 12px 12px 0;
}

thead th.th-purple {
  background: rgba(108, 43, 217, 0.2);
  color: var(--purple-l);
}

thead th.th-gold {
  background: rgba(240, 180, 41, 0.1);
  color: var(--gold);
}

tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

tbody td {
  padding: 13px 18px;
  font-size: 0.875rem;
  color: var(--text1);
}

.td-gold {
  color: var(--gold);
  font-weight: 700;
}

.td-green {
  color: var(--green);
  font-weight: 600;
}

.td-red {
  color: var(--red);
  font-weight: 600;
}

.td-orange {
  color: var(--orange);
  font-weight: 600;
}

.td-muted {
  color: var(--text3);
}

.td-check {
  color: var(--green);
  font-size: 1.1rem;
}

.td-cross {
  color: var(--red);
  font-size: 1.1rem;
}

.td-partial {
  color: var(--orange);
  font-size: 1.1rem;
}

/* ══ DIAGRAM / INFOGRAPHIC BOXES ══════════════════════════════ */
.diagram-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.diagram-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 18px 18px 0 0;
}

.diagram-title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Flow diagram */
.flow-diagram {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

.flow-node {
  background: rgba(108, 43, 217, 0.15);
  border: 2px solid rgba(108, 43, 217, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  min-width: 130px;
}

.flow-node.gold {
  background: rgba(240, 180, 41, 0.1);
  border-color: rgba(240, 180, 41, 0.35);
}

.flow-node.green {
  background: rgba(6, 214, 160, 0.1);
  border-color: rgba(6, 214, 160, 0.3);
}

.flow-node .fn-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.flow-node .fn-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.flow-node .fn-sub {
  font-size: 0.7rem;
  color: var(--text3);
  margin-top: 2px;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  padding: 0 8px;
}

/* Coin diagram */
.coins-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.coin-col {
  text-align: center;
}

.coin-visual {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.coin-visual.gold-coin {
  background: var(--grad-gold);
  box-shadow: 0 0 30px rgba(240, 180, 41, 0.3);
}

.coin-visual.sweep-coin {
  background: var(--grad-purple);
  box-shadow: 0 0 30px rgba(108, 43, 217, 0.3);
}

.coin-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.coin-col p {
  font-size: 0.82rem;
  color: var(--text2);
}

.coin-list-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  text-align: left;
}

.coin-list-mini li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text2);
}

.coin-list-mini li::before {
  content: '✓';
  color: var(--green);
  flex-shrink: 0;
  font-weight: 700;
}

.coin-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.coin-divider .vs {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text3);
}

.coin-divider .arrow {
  font-size: 2rem;
  color: var(--gold);
}

/* ══ BRAND CARDS ════════════════════════════════════════════════ */
.brand-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.brand-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 180, 41, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.brand-card-head {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-rank {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.brand-origin {
  font-size: 0.75rem;
  color: var(--text3);
}

.brand-card-body {
  padding: 16px 24px 20px;
}

.brand-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.brand-desc {
  font-size: 0.855rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 14px;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.brand-tag {
  background: rgba(108, 43, 217, 0.15);
  border: 1px solid rgba(108, 43, 217, 0.25);
  color: var(--purple-l);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

.brand-tag.gold {
  background: rgba(240, 180, 41, 0.1);
  border-color: rgba(240, 180, 41, 0.25);
  color: var(--gold);
}

.brand-tag.maple {
  background: rgba(214, 40, 40, 0.1);
  border-color: rgba(214, 40, 40, 0.25);
  color: #ff6b6b;
}

.brand-welcome {
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
}

/* ══ FAQ ════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  gap: 12px;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(108, 43, 217, 0.2);
  color: var(--purple-l);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--purple);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-answer li {
  padding: 0 24px 8px 48px;
  color: var(--text2);
  font-size: 0.88rem;
  list-style: disc;
}

/* ══ SEO ARTICLE ════════════════════════════════════════════════ */
.seo-content {
  padding: 64px 0;
  background: var(--bg1);
}

.seo-article h2 {
  font-family: var(--font-h);
  font-size: 1.7rem;
  color: var(--white);
  margin: 0 0 16px;
}

.seo-article h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin: 32px 0 12px;
  font-weight: 600;
}

.seo-article h4 {
  font-size: 0.95rem;
  color: var(--gold);
  margin: 20px 0 8px;
  font-weight: 600;
}

.seo-article p {
  color: var(--text2);
  margin-bottom: 16px;
  font-size: 0.93rem;
  line-height: 1.8;
}

.seo-article ul {
  margin: 0 0 16px 20px;
}

.seo-article ul li {
  color: var(--text2);
  font-size: 0.88rem;
  list-style: disc;
  margin-bottom: 6px;
  line-height: 1.6;
}

.seo-article a {
  color: var(--gold);
  border-bottom: 1px dashed rgba(240, 180, 41, 0.35);
  transition: border-color var(--trans);
}

.seo-article a:hover {
  border-bottom-color: var(--gold);
}

strong {
  color: var(--white);
}

/* ══ TIMELINE ═══════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--gold), var(--maple));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(240, 180, 41, 0.5);
  border: 2px solid var(--bg0);
}

.timeline-year {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.timeline-text {
  font-size: 0.87rem;
  color: var(--text2);
  line-height: 1.65;
}

/* ══ LEGAL COUNTRY GRID ════════════════════════════════════════ */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.country-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.country-flag {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.country-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.country-status {
  font-size: 0.73rem;
  font-weight: 700;
}

.country-status.legal {
  color: var(--green);
}

.country-status.partial {
  color: var(--orange);
}

.country-status.illegal {
  color: var(--red);
}

.country-note {
  font-size: 0.73rem;
  color: var(--text3);
  margin-top: 2px;
}

/* ══ STAT BOXES ════════════════════════════════════════════════ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.stat-box .val {
  font-family: var(--font-h);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box .lbl {
  font-size: 0.8rem;
  color: var(--text2);
}

.stat-box .sub {
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: 3px;
}

/* ══ NOTICE BOX ════════════════════════════════════════════════ */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.notice.info {
  background: rgba(108, 43, 217, 0.1);
  border: 1px solid rgba(108, 43, 217, 0.3);
  color: var(--text1);
}

.notice.warning {
  background: rgba(240, 180, 41, 0.08);
  border: 1px solid rgba(240, 180, 41, 0.25);
  color: var(--text1);
}

.notice.success {
  background: rgba(6, 214, 160, 0.08);
  border: 1px solid rgba(6, 214, 160, 0.25);
  color: var(--text1);
}

.notice.danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--text1);
}

.notice-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ══ GLOSSARY ═══════════════════════════════════════════════════ */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.glossary-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.glossary-term {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.glossary-def {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ══ GAMES GRID ════════════════════════════════════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all var(--trans);
}

.game-card:hover {
  border-color: rgba(240, 180, 41, 0.3);
  transform: translateY(-4px);
}

.game-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.game-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.game-desc {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.55;
}

.game-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid rgba(240, 180, 41, 0.2);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ══ FOOTER ════════════════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(180deg, #090614, #06040f);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(108, 43, 217, 0.08);
  border: 1px solid rgba(108, 43, 217, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.footer-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-purple);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-author-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.footer-author-role {
  font-size: 0.78rem;
  color: var(--purple-l);
  margin-bottom: 8px;
  margin-top: 2px;
}

.footer-author-bio {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.6;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo-link img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  color: var(--text2);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  color: var(--text2);
  font-size: 0.845rem;
  transition: color var(--trans), padding-left var(--trans);
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(108, 43, 217, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text2);
  transition: all var(--trans);
}

.social-btn:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  transform: translateY(-2px);
}

.footer-payments {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.footer-payments-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 12px;
}

.footer-payments-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text2);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
}

.pay-badge.secure {
  background: rgba(6, 214, 160, 0.08);
  border-color: rgba(6, 214, 160, 0.2);
  color: var(--emerald);
}

.footer-warning {
  background: rgba(240, 180, 41, 0.05);
  border: 1px solid rgba(240, 180, 41, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 0.79rem;
  color: var(--text2);
  line-height: 1.6;
}

.footer-warn-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(240, 180, 41, 0.2);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-warning a {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text3);
}

.footer-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text3);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 5px;
  font-weight: 600;
}

/* ══ UTILS ══════════════════════════════════════════════════════ */
.text-gold {
  color: var(--gold);
}

.text-purple {
  color: var(--purple-l);
}

.text-green {
  color: var(--green);
}

.text-maple {
  color: var(--maple);
}

.text-center {
  text-align: center;
}

.text-link {
  color: var(--gold);
  border-bottom: 1px dashed rgba(240, 180, 41, 0.4);
  transition: border-color var(--trans);
}

.text-link:hover {
  border-bottom-color: var(--gold);
}

.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;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 40px 0;
}

/* ══ RESPONSIVE ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero .hero-visual {
    display: none;
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .country-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .steps-row::before {
    display: none;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  .nav-menu,
  .nav-actions {
    display: none !important;
  }

  .burger {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .country-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coins-diagram {
    grid-template-columns: 1fr;
  }

  .coin-divider {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-author {
    flex-direction: column;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .btn {
    min-height: 48px;
  }

  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .section {
    padding: 40px 0;
  }

  .cards-grid,
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .country-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-badges {
    justify-content: center;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Glossary grid ── */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.glossary-item {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  transition: border-color var(--trans);
}

.glossary-item:hover {
  border-color: rgba(240, 180, 41, 0.3);
}

.glossary-term {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.glossary-def {
  font-size: 0.83rem;
  color: var(--text2);
  line-height: 1.6;
}

.glossary-def a {
  color: var(--gold);
  text-decoration: underline dotted;
}

/* ── Notice variants ── */
.notice.danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

.notice.danger strong {
  color: var(--red);
}

.notice.info {
  background: rgba(108, 43, 217, 0.08);
  border-color: rgba(108, 43, 217, 0.25);
}

/* ── Table cell accent colors ── */
.td-gold {
  color: var(--gold);
  font-weight: 600;
}

.th-gold {
  background: rgba(240, 180, 41, 0.08);
  color: var(--gold);
}

.th-purple {
  background: rgba(108, 43, 217, 0.1);
  color: var(--purple-l);
}

/* ── Coin list mini ── */
.coin-list-mini {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.coin-list-mini li {
  color: var(--text2);
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 20px;
  position: relative;
}

.coin-list-mini li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.coin-list-mini li:last-child {
  border-bottom: none;
}

/* ── Country card status variants (in legal tables) ── */
.country-card .country-status.legal {
  color: var(--green);
}

.country-card .country-status.partial {
  color: var(--gold);
}

.country-card .country-status.illegal {
  color: var(--red);
}

/* ── Page hero desc ── */
.page-hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text2);
  max-width: 680px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ── Color scheme meta support ── */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}