/* =====================================================
   Fortune Coins Casino Canada — style.css v8
   Brand: Purple #8B2FC9 → Pink #E040A0 | Gold #FFB800
   ===================================================== */

:root {
  --purple: #8B2FC9;
  --purple-mid: #C026D3;
  --pink: #E040A0;
  --gold: #FFB800;
  --gold-light: #FFD54F;
  --gold-dark: #E6A000;
  --bg: #0D0018;
  --bg-card: #180028;
  --bg-card2: #200035;
  --text: #F2E8FF;
  --text-muted: #9E7AB5;
  --border: rgba(255, 184, 0, 0.15);
  --glow-purple: 0 0 40px rgba(139, 47, 201, 0.35);
  --glow-gold: 0 0 30px rgba(255, 184, 0, 0.25);
  --grad-brand: linear-gradient(135deg, #8B2FC9 0%, #C026D3 50%, #E040A0 100%);
  --grad-gold: linear-gradient(135deg, #FFD54F, #FFB800, #E6A000);
  --grad-card: linear-gradient(135deg, rgba(139, 47, 201, 0.12), rgba(224, 64, 160, 0.08));
  --r: 14px;
  --r-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  z-index: 9999
}

/* ─── TRACKER BAR ─────────────────────────────────── */
.tracker-bar {
  background: var(--grad-brand);
  text-align: center;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000
}

.tracker-text strong {
  color: var(--gold-light)
}

.btn-tracker {
  background: var(--gold);
  color: #1a0030;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  transition: background .2s, transform .2s
}

.btn-tracker:hover {
  background: var(--gold-light);
  transform: scale(1.05)
}

/* ─── HEADER ──────────────────────────────────────── */
.site-header {
  background: rgba(13, 0, 24, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 42px;
  z-index: 900
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0
}

.logo-text {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .5px;
  line-height: 1.1
}

.logo-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.logo-text small {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  -webkit-text-fill-color: var(--text-muted)
}

/* NAV — desktop */
.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center
}

.main-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.08)
}

/* Header CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0
}

.btn-primary {
  background: var(--grad-brand);
  color: white;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(192, 38, 211, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.btn-primary:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(192, 38, 211, 0.5)
}

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 9px 20px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: inline-flex;
  align-items: center
}

.btn-outline:hover {
  background: rgba(255, 184, 0, 0.12)
}

/* ─── HAMBURGER ───────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1100
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  pointer-events: none
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* ─── BACKDROP ────────────────────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000
}

.nav-backdrop.active {
  display: block;
  left: min(280px, 82vw)
}

/* ─── MOBILE NAV ──────────────────────────────────── */
.nav-close {
  display: none
}

@media(max-width:900px) {
  .menu-toggle {
    display: flex
  }

  .header-actions .btn-outline {
    display: none
  }

  .header-actions .btn-primary {
    font-size: 12px;
    padding: 8px 14px
  }

  .header-inner {
    gap: 8px;
    padding: 0 14px
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(280px, 82vw);
    height: 100vh;
    background: linear-gradient(180deg, #1a0035 0%, #0D0018 100%);
    border-right: 1px solid rgba(255, 184, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 70px 20px 40px;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform .28s ease, visibility .28s;
    overflow-y: auto;
    visibility: hidden;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 16px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    padding: 6px;
    z-index: 2;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 184, 0, 0.06);
    font-size: 16px;
    color: var(--text)
  }

  .main-nav a:last-child {
    border-bottom: none
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--gold);
    background: rgba(255, 184, 0, 0.08)
  }
}

/* ─── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  background: rgba(255, 184, 0, 0.04);
  border-bottom: 1px solid var(--border);
  padding: 10px 0
}

.crumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted)
}

.crumb-inner a {
  color: var(--text-muted);
  transition: color .2s
}

.crumb-inner a:hover {
  color: var(--gold)
}

.crumb-inner .sep {
  color: var(--border)
}

.crumb-inner .current {
  color: var(--gold)
}

/* ─── LAYOUT ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px
}

.section {
  padding: 80px 0
}

.section-alt {
  padding: 80px 0;
  background: rgba(24, 0, 40, 0.6)
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

@media(max-width:960px) {
  .grid-2 {
    grid-template-columns: 1fr
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr
  }
}

/* ─── SECTION HEAD ─────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 48px
}

.section-tag {
  display: inline-block;
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold);
  border: 1px solid rgba(255, 184, 0, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 16px
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15
}

.hl {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.hl-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.section-sub {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 15px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto
}

/* ─── CARDS ───────────────────────────────────────── */
.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s
}

.card:hover {
  border-color: rgba(255, 184, 0, 0.35);
  box-shadow: var(--glow-gold)
}

.card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px
}

.card p,
.card li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 0, 24, .92) 42%, rgba(13, 0, 24, .2))
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  margin-bottom: 20px
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  max-width: 600px;
  margin-bottom: 20px
}

.hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* ─── STATS ───────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 0;
  flex-wrap: wrap
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--border)
}

.stat-item:last-child {
  border-right: none
}

.stat-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px
}

/* ─── TABLES ──────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

caption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border)
}

thead tr {
  background: rgba(139, 47, 201, 0.2)
}

th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--gold);
  white-space: nowrap;
  border-bottom: 1px solid var(--border)
}

td {
  padding: 12px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04)
}

tbody tr:last-child td {
  border-bottom: none
}

tbody tr:hover {
  background: rgba(139, 47, 201, 0.08)
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02)
}

/* ─── CHARTS ──────────────────────────────────────── */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px
}

.chart-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .6px
}

.chart-box {
  position: relative;
  height: 260px
}

/* ─── BADGES ──────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600
}

.badge-gold {
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 184, 0, 0.3)
}

.badge-purple {
  background: rgba(139, 47, 201, 0.2);
  color: #D8A8FF;
  border: 1px solid rgba(139, 47, 201, 0.3)
}

.badge-pink {
  background: rgba(224, 64, 160, 0.15);
  color: #F9A8D4;
  border: 1px solid rgba(224, 64, 160, 0.3)
}

.badge-green {
  background: rgba(0, 200, 120, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(0, 200, 120, 0.3)
}

/* ─── TIMELINE ────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative
}

.timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--pink))
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-left: 8px;
  position: relative
}

.tl-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1
}

.tl-content h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px
}

.tl-content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7
}

/* ─── BONUS CARDS ─────────────────────────────────── */
.bonus-card {
  background: linear-gradient(135deg, rgba(139, 47, 201, 0.15), rgba(224, 64, 160, 0.1));
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: var(--r);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--glow-gold)
}

.bonus-icon {
  font-size: 40px;
  margin-bottom: 12px
}

.bonus-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px
}

.bonus-label {
  font-size: 13px;
  color: var(--text-muted)
}

/* ─── FAQ ─────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .3s
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  transition: max-height .35s ease, padding .35s ease
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 18px
}

/* ─── SEO ARTICLE ─────────────────────────────────── */
.seo-article {
  padding: 80px 0;
  background: rgba(18, 0, 32, 0.4)
}

.seo-article article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px
}

.seo-article h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  border-left: 3px solid var(--gold);
  padding-left: 16px
}

.seo-article h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 28px 0 12px
}

.seo-article p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px
}

.seo-article a {
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 184, 0, 0.3);
  transition: border-color .2s
}

.seo-article a:hover {
  border-color: var(--gold)
}

/* ─── RINGS ───────────────────────────────────────── */
.ring-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.ring-item {
  text-align: center
}

.ring-svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg)
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 184, 0, 0.1);
  stroke-width: 8
}

.ring-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease
}

.ring-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold)
}

.ring-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px
}

@media(max-width:600px) {
  .ring-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ─── REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: rgba(13, 0, 24, 1);
  border-top: 1px solid var(--border);
  padding: 60px 0 0
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 260px
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px
}

.footer-col li {
  margin-bottom: 10px
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .2s
}

.footer-col a:hover {
  color: var(--gold)
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  margin-top: 40px
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4px
}

.age-badge {
  background: var(--grad-brand);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700
}

@media(max-width:960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr
  }
}

/* ─── MOBILE GLOBAL ───────────────────────────────── */
@media(max-width:767px) {

  .container,
  .container-sm {
    padding: 0 14px
  }

  .section,
  .section-alt {
    padding: 44px 0
  }

  .hero {
    min-height: 340px
  }

  .hero-content {
    padding: 44px 14px
  }

  .hero h1 {
    font-size: clamp(24px, 7vw, 36px)
  }

  .hero p {
    font-size: 14px
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px
  }

  .hero-btns a {
    width: 100%;
    justify-content: center;
    text-align: center
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 14px !important
  }

  .stats-row {
    flex-wrap: wrap
  }

  .stat-item {
    flex: 1 1 50%;
    min-width: 0;
    padding: 18px 8px
  }

  .stat-val {
    font-size: 24px
  }

  .ring-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px
  }

  .chart-box {
    height: 200px !important
  }

  .chart-card {
    padding: 14px
  }

  .tracker-bar {
    padding: 8px 12px;
    gap: 8px;
    font-size: 11px;
    flex-wrap: wrap
  }

  .section-title {
    font-size: clamp(20px, 5vw, 28px)
  }

  .section-head {
    margin-bottom: 24px
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px
  }

  .footer-bottom {
    padding: 16px
  }

  .logo-text small {
    display: none
  }

  .bonus-card {
    padding: 20px 16px
  }
}

@media(max-width:380px) {
  .stat-item {
    flex: 1 1 100%
  }

  .hero h1 {
    font-size: 22px
  }
}

/* ─── MOBILE TEXT + CHART FIXES ─────────────────────── */
@media(max-width:767px) {
  /* Prevent any overflow */
  .container, .container-sm, .section-head, .seo-article article {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Text overflow */
  h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  p, li, td, th, a, span {
    overflow-wrap: break-word;
    word-break: normal;
  }

  /* Tables — horizontal scroll inside wrapper */
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100%;
  }
  table { min-width: 460px; }

  /* Charts — constrain to viewport */
  .chart-card {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  .chart-box {
    height: 200px !important;
    width: 100% !important;
    max-width: 100%;
    overflow: hidden;
  }
  .chart-box canvas {
    max-width: 100% !important;
    width: 100% !important;
  }
}
