/* ===================================================
   HeyRoller Casino UK — style.css  (Purple Edition)
   =================================================== */

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

:root {
  --bg:          #0e0618;
  --bg-card:     #160d26;
  --bg-card2:    #1e1236;
  --purple:      #7c3aed;
  --purple-mid:  #2b0a47;
  --purple-light:#a855f7;
  --purple-pale: #c084fc;
  --cta:         #d946ef;
  --cta-hover:   #b927cc;
  --accent:      #e879f9;
  --text:        #f0e8ff;
  --text-muted:  #9d7fc0;
  --text-dim:    #5a4478;
  --border:      #2e1552;
  --border-light:#3d2068;
  --green:       #34d399;
  --red:         #f87171;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 4px 32px rgba(43,10,71,.7);
  --ff-display:  Georgia, 'Times New Roman', serif;
  --ff-body:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w:       1140px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--purple-light); text-decoration: none; }
a:hover { color: var(--purple-pale); }

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Utility ── */
.gold { color: var(--purple-light); }
.cta-color { color: var(--cta); }
.green { color: var(--green); }
.red-col { color: var(--red); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

.section-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: var(--ff-body);
  font-weight: 700;
  border-radius: 8px;
  transition: background .2s, transform .1s, box-shadow .2s;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:active { transform: scale(.97); }

.btn-cta {
  background: linear-gradient(135deg, var(--cta), #9f1cba);
  color: #fff;
  padding: 13px 28px;
  font-size: .95rem;
  box-shadow: 0 0 20px rgba(217,70,239,.4);
}
.btn-cta:hover {
  background: linear-gradient(135deg, var(--cta-hover), #7d158f);
  color: #fff;
  box-shadow: 0 0 30px rgba(217,70,239,.6);
}
.btn-cta-lg {
  padding: 15px 44px;
  font-size: 1.05rem;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--purple-light);
  color: var(--purple-light);
  padding: 11px 26px;
  font-size: .92rem;
}
.btn-outline:hover {
  background: var(--purple-light);
  color: #0e0618;
}

/* ── Top Banner ── */
.top-banner {
  background: linear-gradient(90deg, #160826 0%, #2b0a47 45%, #160826 100%);
  border-bottom: 2px solid var(--purple);
  padding: 9px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.top-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.top-banner__text {
  font-size: .88rem;
  color: var(--text);
}
.top-banner__text strong {
  color: var(--purple-pale);
  font-size: .95rem;
}

/* ── Navigation ── */
.site-nav {
  background: rgba(14,6,24,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 40px;
  z-index: 900;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 58px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.15;
}
.logo-text span { display: block; }
.logo-text .hey    { color: var(--purple-light); }
.logo-text .roller { color: var(--text); font-size: .82em; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}
.nav-links a {
  display: block;
  padding: 7px 12px;
  font-size: .85rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--purple-light);
  background: rgba(124,58,237,.12);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  min-width: 40px;
  min-height: 40px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: background .15s;
}
.hamburger:hover span { background: var(--purple-light); }

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px 16px;
  position: sticky;
  top: 98px;
  z-index: 899;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li { border-bottom: 1px solid var(--border); }
.mobile-nav ul li:last-child { border-bottom: none; }
.mobile-nav ul li a {
  display: block;
  padding: 13px 4px;
  color: var(--text-muted);
  font-size: .95rem;
}
.mobile-nav ul li a:hover { color: var(--purple-light); }
.mobile-nav .btn-cta {
  margin-top: 14px;
  width: 100%;
  display: block;
  text-align: center;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(124,58,237,.15) 0%, transparent 70%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(124,58,237,.025) 60px, rgba(124,58,237,.025) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(124,58,237,.025) 60px, rgba(124,58,237,.025) 61px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
.hero__badge {
  display: inline-block;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.4);
  color: var(--purple-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 18px;
}
.hero__title em { font-style: normal; color: var(--purple-light); }
.hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 460px;
}
.hero__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__trust {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--text-muted);
}
.hero__trust-item svg { flex-shrink: 0; }

.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.hero__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cta));
}
.hero__card-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--purple-light);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.hero__info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 8px;
}
.hero__info-row:last-of-type { border-bottom: none; }
.hero__info-label { font-size: .82rem; color: var(--text-muted); flex-shrink: 0; }
.hero__info-value { font-size: .88rem; font-weight: 600; color: var(--text); text-align: right; }
.hero__info-value.good { color: var(--green); }
.hero-score {
  margin-top: 16px;
  padding: 14px;
  background: rgba(124,58,237,.1);
  border-radius: 8px;
  border: 1px solid rgba(124,58,237,.25);
  text-align: center;
}
.hero-score__num {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--purple-light);
  line-height: 1;
}
.hero-score__label { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.stars { color: var(--cta); font-size: 1.05rem; letter-spacing: 2px; margin-top: 4px; }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.stats-strip__item {
  background: var(--bg-card);
  text-align: center;
  padding: 22px 12px;
}
.stats-strip__num {
  font-family: var(--ff-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--purple-light);
  line-height: 1;
}
.stats-strip__label {
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── Generic Section ── */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-card); }
.section-border-top { border-top: 1px solid var(--border); }

.section__head { margin-bottom: 36px; }
.section__head.center { text-align: center; }

h1, h2, h3 { font-family: var(--ff-display); line-height: 1.25; }
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 12px;
}
h3 {
  font-size: 1.15rem;
  color: var(--purple-light);
  margin-bottom: 10px;
}
p { margin-bottom: 16px; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* ── Intro Grid ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

/* ── Mid Banner ── */
.mid-banner {
  background: linear-gradient(135deg, #160826 0%, #2b0a47 50%, #160826 100%);
  border-top: 1px solid rgba(124,58,237,.35);
  border-bottom: 1px solid rgba(124,58,237,.35);
  padding: 24px 0;
}
.mid-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.mid-banner__text h3 { font-size: 1.2rem; margin-bottom: 4px; }
.mid-banner__text p  { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ── Bonus Cards ── */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.bonus-card:hover {
  border-color: rgba(124,58,237,.5);
  transform: translateY(-3px);
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cta));
}
.bonus-card__icon {
  width: 42px; height: 42px;
  background: rgba(124,58,237,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.bonus-card__title {
  font-family: var(--ff-display);
  font-size: .97rem;
  color: var(--text);
  margin-bottom: 5px;
}
.bonus-card__amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 10px;
}
.bonus-card p { font-size: .84rem; }

/* ── Games ── */
.games-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.game-cat {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: border-color .2s;
}
.game-cat:hover { border-color: var(--purple-light); }
.game-cat__icon { font-size: 1.9rem; margin-bottom: 8px; display: block; }
.game-cat__name { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.game-cat__count { font-size: .78rem; color: var(--text-muted); }

.providers-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.provider-chip {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .8rem;
  color: var(--text-muted);
  transition: border-color .15s, color .15s;
}
.provider-chip:hover { border-color: var(--purple-light); color: var(--purple-light); }

/* ── Table ── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  /* visual scroll hint on mobile */
  background:
    linear-gradient(to right, var(--bg-card) 30%, transparent),
    linear-gradient(to left, var(--bg-card) 30%, transparent) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(124,58,237,.18), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(124,58,237,.18), transparent) 100% 0;
  background-attachment: local, local, scroll, scroll;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-repeat: no-repeat;
  background-color: var(--bg-card);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.data-table thead th {
  background: var(--bg-card2);
  padding: 13px 14px;
  font-size: .8rem;
  text-align: left;
  color: var(--purple-light);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(124,58,237,.05); }
.data-table td {
  padding: 12px 14px;
  font-size: .88rem;
  color: var(--text-muted);
  vertical-align: middle;
  white-space: nowrap;
}
.data-table td:first-child { color: var(--text); font-weight: 500; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .74rem;
  font-weight: 700;
}
.badge-green  { background: rgba(52,211,153,.12); color: var(--green); }
.badge-yellow { background: rgba(217,70,239,.12); color: var(--cta); }

/* ── Pros / Cons ── */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pros-box, .cons-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.pros-box { border-top: 3px solid var(--green); }
.cons-box { border-top: 3px solid var(--red); }
.box-heading {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.pros-box .box-heading { color: var(--green); }
.cons-box .box-heading { color: var(--red); }

.check-list, .cross-list { list-style: none; }
.check-list li, .cross-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-muted);
}
.check-list li:last-child, .cross-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.cross-list li::before { content: '✕'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── Rating ── */
.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.rating-row:last-child { border-bottom: none; }
.rating-label { flex: 0 0 160px; font-size: .88rem; color: var(--text-muted); }
.rating-bar-wrap { flex: 1; background: var(--border); border-radius: 4px; height: 7px; }
.rating-bar { height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--purple), var(--cta)); }
.rating-num { flex: 0 0 36px; font-size: .88rem; font-weight: 700; color: var(--purple-light); text-align: right; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 9px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
  transition: background .15s;
}
.faq-question:hover { background: rgba(124,58,237,.06); }
.faq-question-text {
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(124,58,237,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  font-size: .95rem;
  transition: transform .25s, background .15s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(124,58,237,.28);
}
.faq-answer {
  display: none;
  padding: 0 18px 16px;
  font-size: .91rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; padding-top: 14px; }

/* ── Article body ── */
.article-body { max-width: 780px; }
.article-body h3 { font-size: 1.1rem; color: var(--purple-light); margin: 26px 0 9px; }
.article-body p  { font-size: .95rem; color: var(--text-muted); margin-bottom: 14px; }

/* ── Responsible gambling ── */
.rg-box {
  background: rgba(52,211,153,.04);
  border: 1px solid rgba(52,211,153,.22);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
}
.rg-box svg { flex-shrink: 0; margin-top: 2px; }
.rg-box p { font-size: .86rem; color: var(--text-muted); margin: 0; }

/* ── Highlight Box ── */
.highlight-box {
  background: var(--bg-card2);
  border-left: 4px solid var(--purple-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.highlight-box p { font-size: .91rem; color: var(--text-muted); margin: 0; }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
.step__content h3 {
  font-size: .97rem;
  color: var(--text);
  font-family: var(--ff-body);
  margin-bottom: 3px;
}
.step__content p { font-size: .86rem; margin: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 44px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p {
  font-size: .84rem;
  color: var(--text-dim);
  margin-top: 12px;
  max-width: 280px;
}
.footer-heading {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: .86rem; color: var(--text-dim); transition: color .15s; }
.footer-links a:hover { color: var(--text-muted); }
.footer__bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: .8rem; color: var(--text-dim); }
.footer__age { display: flex; align-items: center; gap: 9px; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-dim);
}
.footer__disclaimer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: .76rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ══════════════════════════════
   RESPONSIVE — Tablet ≤ 1000px
   ══════════════════════════════ */
@media (max-width: 1000px) {
  .hero__inner         { grid-template-columns: 1fr; gap: 36px; }
  .hero__card          { max-width: 100%; }
  .intro-grid          { grid-template-columns: 1fr; gap: 20px; }
  .footer__grid        { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bonus-grid          { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════
   RESPONSIVE — Mobile ≤ 768px
   ══════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links              { display: none; }
  .nav-cta-wrap .btn-cta  { display: none; }
  .hamburger              { display: flex; }
  .site-nav               { top: 38px; }

  /* Top banner: tighter on mobile */
  .top-banner { padding: 7px 12px; }
  .top-banner__text { font-size: .82rem; }

  /* Stats */
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }

  /* Cards */
  .bonus-grid         { grid-template-columns: 1fr; }
  .games-categories   { grid-template-columns: repeat(2, 1fr); }
  .pros-cons-grid     { grid-template-columns: 1fr; }

  /* Mid banner */
  .mid-banner__inner  { flex-direction: column; text-align: center; }
  .mid-banner__inner .btn-cta-lg { width: 100%; }

  /* Rating labels shorter */
  .rating-label { flex: 0 0 110px; font-size: .82rem; }

  /* Footer */
  .footer__grid   { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* howtostart 2-col -> 1-col */
  #howtostart .intro-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   RESPONSIVE — Small ≤ 480px
   ══════════════════════════════ */
@media (max-width: 480px) {
  body { font-size: 15px; }

  /* Banner */
  .top-banner__inner    { flex-direction: column; gap: 6px; }
  .top-banner           { padding: 8px 12px; }
  .top-banner .btn-cta  { padding: 9px 18px; font-size: .82rem; width: 100%; }

  /* Hero */
  .hero                 { padding: 36px 0 32px; }
  .hero__title          { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .hero__desc           { font-size: .93rem; margin-bottom: 22px; }
  .hero__cta-row        { flex-direction: column; gap: 10px; }
  .hero__cta-row .btn   { width: 100%; display: block; text-align: center; padding: 14px 20px; }
  .hero__trust          { gap: 12px; }
  .hero__card           { padding: 18px 14px; }
  .hero-score__num      { font-size: 2.1rem; }

  /* Stats */
  .stats-strip__grid    { grid-template-columns: 1fr 1fr; }
  .stats-strip__num     { font-size: 1.5rem; }

  /* Sections */
  .section              { padding: 40px 0; }
  h2                    { font-size: 1.5rem; }

  /* Games */
  .games-categories     { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-cat             { padding: 14px 10px; }
  .game-cat__icon       { font-size: 1.6rem; }

  /* Bonus cards */
  .bonus-card           { padding: 18px 16px; }
  .bonus-card__amount   { font-size: 1.25rem; }

  /* Buttons general */
  .btn-cta-lg           { padding: 13px 24px; font-size: .95rem; }

  /* FAQ */
  .faq-question         { padding: 14px 14px; }
  .faq-question-text    { font-size: .88rem; }
  .faq-answer           { padding: 0 14px 14px; font-size: .88rem; }
  .faq-item.open .faq-answer { padding-top: 12px; }

  /* Pros / Cons */
  .pros-box, .cons-box  { padding: 18px 16px; }

  /* Rating */
  .rating-label         { flex: 0 0 96px; font-size: .78rem; }
  .rating-num           { font-size: .82rem; }

  /* Article */
  .article-body h3      { font-size: 1rem; }
  .article-body p       { font-size: .9rem; }

  /* Steps */
  .step                 { gap: 14px; padding: 14px 0; }
  .step__num            { width: 34px; height: 34px; font-size: .9rem; }

  /* Footer */
  .footer__grid         { grid-template-columns: 1fr; }
  .footer__brand p      { max-width: 100%; }

  /* Highlight box */
  .highlight-box        { padding: 13px 14px; }

  /* Table hint label */
  .table-wrap::before {
    content: '← swipe to scroll →';
    display: block;
    text-align: center;
    font-size: .72rem;
    color: var(--text-dim);
    padding: 6px 0 0;
    letter-spacing: .04em;
  }
}

/* ══════════════════════════════
   RESPONSIVE — Very small ≤ 360px
   ══════════════════════════════ */
@media (max-width: 360px) {
  .hero__title { font-size: 1.5rem; }
  .stats-strip__num { font-size: 1.3rem; }
  .games-categories { grid-template-columns: 1fr 1fr; gap: 8px; }
  .game-cat__name { font-size: .78rem; }
  .logo-text { font-size: 1.05rem; }
}

/* ══════════════════════════════════════════
   MOBILE FIX — howtostart & rating blocks
   ══════════════════════════════════════════ */

/* Desktop: 2 columns */
.howtostart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Top banner on mobile — nav offset handled by JS (setStickyOffsets) */
@media (max-width: 600px) {

  /* howtostart: single column, full width */
  .howtostart-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Steps: fix narrow text — was squeezed by parent being half-width */
  .step { gap: 12px; }
  .step__content h3 { font-size: 1rem; font-weight: 700; }
  .step__content p  { font-size: .9rem; line-height: 1.65; }

  /* Rating rows: label wraps gracefully */
  .rating-label {
    flex: 0 0 auto;
    width: 100%;
    font-size: .82rem;
    margin-bottom: 4px;
  }
  .rating-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .rating-bar-wrap { order: 2; width: calc(100% - 44px); flex: none; }
  .rating-num      { order: 3; flex: 0 0 36px; }
}

@media (max-width: 480px) {
  /* Banner: even on very small screens — 1 button full width */
  .top-banner { padding: 8px 12px; }
  .top-banner__text { font-size: .8rem; line-height: 1.45; }
  .top-banner .btn-cta {
    width: 100%;
    padding: 11px 16px;
    font-size: .88rem;
  }

  /* Steps full width, comfortable reading */
  .steps { gap: 0; }
  .step__content { min-width: 0; }
  .step__content p { font-size: .88rem; color: var(--text-muted); }

  /* Rating: stack label above bar */
  .rating-row { flex-direction: column; align-items: flex-start; gap: 5px; }
  .rating-label { flex: none; width: 100%; font-size: .83rem; }
  .rating-bar-wrap { width: 100%; flex: none; }
  .rating-num { align-self: flex-end; margin-top: -22px; }
}

/* ── Top banner button tweak ── */
.top-banner__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* On very small screens: banner button goes full-width below text */
@media (max-width: 500px) {
  .top-banner__inner {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .top-banner__btn { width: 100%; }
}
