/* =========================================================
   AllySpin Casino — sidebar shell, dark gaming lobby
   ========================================================= */
:root {
  --bg: #222C36;
  --bg-deep: #1A222B;
  --bg-deeper: #151C24;
  --surface: #293342;
  --surface-2: #313D4F;
  --accent: #FDB913;
  --accent-hover: #FFC93F;
  --accent-dark: #D99A00;
  --accent-2: #E03C48;
  --badge-blue: #2F7BEA;
  --text: #FFFFFF;
  --text-muted: #BFC9D3;
  --border: #28303B;
  --border-strong: #3A4658;
  --footer: #65001A;

  --font-head: "Barlow Condensed";
  --font-body: "Barlow";

  --radius: 8px;
  --radius-btn: 6px;
  --container: 1240px;
  --sidebar-w: 232px;
  --header-h: 104px;

  --shadow: 0 6px 18px rgba(0, 0, 0, .28);
  --shadow-hover: 0 14px 30px rgba(0, 0, 0, .42);
  --glow: 0 0 0 1px rgba(253, 185, 19, .35), 0 10px 28px rgba(253, 185, 19, .28);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  max-width: 100vw;
  overflow-x: clip;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head), system-ui, sans-serif;
  color: var(--text);
  line-height: 1.15;
  margin: 0;
}

.page-wrapper {
  max-width: 100vw;
  overflow-x: clip;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow { max-width: 920px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .12s, border-color .18s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(180deg, #FFCC3D 0%, var(--accent) 55%, var(--accent-dark) 100%);
  color: #111;
  box-shadow: 0 6px 18px rgba(253, 185, 19, .28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #FFD75E 0%, var(--accent-hover) 60%, var(--accent) 100%);
  box-shadow: var(--glow);
}
.btn-dark {
  background: #0B0F14;
  color: #fff;
  border-color: #0B0F14;
}
.btn-dark:hover { background: #000; border-color: var(--border-strong); }
.btn-outline {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(253, 185, 19, .08); }
.btn-lg { min-height: 48px; padding: 12px 30px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 28, 36, .96);
  border-bottom: 1px solid var(--border);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(21, 28, 36, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.utility-bar {
  background: #0F141A;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  min-height: 34px;
}
.utility-left, .utility-right { display: flex; align-items: center; gap: 20px; }
.utility-item, .utility-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--text-muted);
}
.utility-item svg, .utility-link svg { color: var(--accent); }
.utility-link { text-decoration: none; transition: color .18s; }
.utility-link:hover { color: var(--accent); }
.utility-age {
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(224, 60, 72, .2);
  border: 1px solid rgba(224, 60, 72, .5);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding: 0 24px 0 0;
}

.logo {
  flex: 0 0 var(--sidebar-w);
  display: flex;
  align-items: center;
  padding-left: 24px;
  height: 68px;
  text-decoration: none;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: .04em;
  line-height: 1;
}
.logo-ally { color: #fff; }
.logo-spin { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav-link svg { color: var(--accent); flex-shrink: 0; }
.nav-link:hover { color: #fff; background: var(--surface); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ---------- Layout shell ---------- */
.layout {
  display: flex;
  align-items: flex-start;
}

.sidebar {
  position: sticky;
  top: var(--header-h);
  flex: 0 0 var(--sidebar-w);
  width: var(--sidebar-w);
  height: calc(100vh - var(--header-h));
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.sidebar-inner { padding: 20px 16px 32px; }

.sidebar-promo {
  position: relative;
  padding: 16px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(224, 60, 72, .45), transparent 60%),
    linear-gradient(160deg, #2E3A4C, var(--surface));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-promo::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.sidebar-promo-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 700;
}
.sidebar-promo-value {
  display: block;
  font-family: var(--font-head), system-ui, sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
}
.sidebar-promo-sub {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 12px;
}

.sidebar-heading {
  margin: 18px 8px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #8D99A6;
}
.sidebar-menu { list-style: none; margin: 0; padding: 0; }
.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-btn);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.sidebar-menu a:hover { background: var(--surface); color: #fff; }
.sidebar-menu a:hover .sidebar-icon { color: var(--accent); }
.sidebar-icon {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8D99A6;
  transition: color .18s;
}

.main-content {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: clip;
}

/* ---------- Hero (full-bleed within main column) ---------- */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  min-height: clamp(420px, 62vh, 680px);
  display: flex;
  align-items: center;
  background: #10161C url("../images/banner.png") 70% center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 60% at 50% 50%, rgba(15, 20, 26, .72) 0%, rgba(15, 20, 26, .38) 55%, rgba(15, 20, 26, 0) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(34, 44, 54, 0), var(--bg));
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  justify-content: center;
}
.hero-copy {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  box-shadow: 0 6px 18px rgba(224, 60, 72, .4);
  margin-bottom: 16px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
}
.hero-amount {
  font-size: clamp(72px, 10vw, 132px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .01em;
  background: linear-gradient(180deg, #FFE48A 0%, var(--accent) 50%, #E09A00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 18px rgba(253, 185, 19, .35));
}
.hero-line {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .03em;
}
.gold { color: var(--accent); }
.hero-sub {
  margin: 16px 0 26px;
  max-width: 560px;
  color: #fff;
  font-size: 17px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: #E3E8EE;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

/* ---------- Section headers ---------- */
.section-head {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 680px;
}
.section-head-left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-2);
  transform: skewX(-25deg);
}
.section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.section-sub {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 16px;
}
.section-foot {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---------- Game section ---------- */
.game-section {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(253, 185, 19, .08), transparent 70%),
    var(--bg);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  counter-reset: rank;
}
.game-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  counter-increment: rank;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.game-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover), 0 0 22px rgba(253, 185, 19, .22);
  border-color: rgba(253, 185, 19, .6);
}
.game-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 891;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.game-tile:hover img { transform: scale(1.04); }

/* numbered rank badges on the first six tiles */
.game-tile:nth-child(-n+6)::before {
  content: counter(rank);
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--badge-blue);
  color: #fff;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .45);
  border: 2px solid rgba(255, 255, 255, .85);
  pointer-events: none;
}
.game-tile:nth-child(1)::after,
.game-tile:nth-child(7)::after,
.game-tile:nth-child(8)::after {
  position: absolute;
  top: 10px; right: 0;
  z-index: 2;
  padding: 3px 9px;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
  border-radius: 4px 0 0 4px;
  pointer-events: none;
}
.game-tile:nth-child(1)::after { content: "HOT"; background: var(--accent-2); color: #fff; }
.game-tile:nth-child(7)::after,
.game-tile:nth-child(8)::after { content: "NEW"; background: var(--accent); color: #111; }

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 20, 26, .25), rgba(15, 20, 26, .78));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .2s;
}
.game-tile:hover .play-overlay { opacity: 1; }
.game-tile.active .play-overlay { opacity: 1; }
.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  min-height: 36px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #111;
  box-shadow: 0 6px 18px rgba(253, 185, 19, .4);
  transition: background .18s, transform .12s;
}
.play-btn:hover { background: var(--accent-hover); }
.play-btn:active { transform: scale(.97); }

/* ---------- Security (numbered row, angular band) ---------- */
.security-section {
  position: relative;
  padding: 96px 0;
  isolation: isolate;
}
.security-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 15% 50%, rgba(224, 60, 72, .14), transparent 70%),
    var(--bg-deep);
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
}
.security-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.security-row::before {
  content: "";
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 14px);
}
.security-item {
  position: relative;
  padding: 0 20px;
  text-align: center;
}
.security-num {
  display: block;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.security-icon {
  position: relative;
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transform: rotate(45deg) scale(.82);
  box-shadow: var(--shadow);
  margin-top: -18px;
  transition: box-shadow .2s, border-color .2s;
}
.security-icon svg { transform: rotate(-45deg) scale(1.15); }
.security-item:hover .security-icon { border-color: var(--accent); box-shadow: var(--glow); }
.security-item h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.security-item p { margin: 0; font-size: 14px; }

/* ---------- Mobile (two-column split) ---------- */
.mobile-section {
  padding: 88px 0;
  background: var(--bg);
}
.mobile-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.mobile-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
}
.mobile-list strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.mobile-list span { font-size: 14px; }
.mobile-ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(253, 185, 19, .12);
}

.mobile-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.mobile-visual::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(253, 185, 19, .22), rgba(224, 60, 72, .12) 45%, transparent 70%);
}
.phone {
  position: relative;
  width: 230px;
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(160deg, #3A4658, #151C24);
  border: 1px solid #4A5568;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  transform: rotate(-4deg);
}
.phone-screen {
  border-radius: 24px;
  background: var(--bg-deep);
  padding: 14px 12px 16px;
  overflow: hidden;
}
.phone-bar {
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
}
.phone-banner {
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-2), #7A0B22);
  margin-bottom: 10px;
}
.phone-banner span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.phone-banner strong { font-family: var(--font-head), system-ui, sans-serif; font-size: 34px; color: var(--accent); line-height: 1; }
.phone-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.phone-tiles span {
  aspect-ratio: 640 / 891;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
}
.phone-tiles span:nth-child(2) { background: linear-gradient(160deg, #5B3A0A, #2F2610); }
.phone-tiles span:nth-child(4) { background: linear-gradient(160deg, #4A1020, #2A1219); }
.phone-btn {
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  background: var(--accent);
  color: #111;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.float-chip svg { color: var(--accent); }
.chip-a { top: 18%; left: 2%; }
.chip-b { bottom: 16%; right: 2%; }

/* ---------- Reviews shell ---------- */
.reviews-section {
  padding: 80px 0;
  background:
    linear-gradient(180deg, var(--bg-deep), var(--bg-deeper));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Steps (row of equal cards) ---------- */
.steps-section {
  padding: 88px 0;
  background:
    radial-gradient(55% 45% at 50% 100%, rgba(253, 185, 19, .08), transparent 70%),
    var(--bg);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step-card {
  position: relative;
  padding: 32px 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.step-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(253, 185, 19, .45); }
.step-num {
  position: absolute;
  top: 6px; right: 18px;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 86px;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(253, 185, 19, .12);
  border: 1px solid rgba(253, 185, 19, .3);
  margin-bottom: 18px;
}
.step-card h3 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step-card p { margin: 0; font-size: 15px; }

/* ---------- SEO content panel ---------- */
.seo-wrap {
  padding: 24px 0 80px;
  background: var(--bg);
}
.content-seo {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 48px 56px;
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}
.content-seo > * { max-width: 75ch; }
.content-seo > nav.toc,
.content-seo > .table-scroll,
.content-seo > table,
.content-seo > .ul-grid { max-width: none; }

.content-seo h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.1;
}
.content-seo h1 + p {
  font-size: 18px;
  color: #E2E8EE;
}
.content-seo h2 {
  position: relative;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 44px 0 16px;
  padding-left: 16px;
}
.content-seo h2::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.content-seo h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #fff;
}
.content-seo p { margin: 0 0 16px; }
.content-seo strong { color: #fff; }
.content-seo ul,
.content-seo ol:not(.toc-list) {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.content-seo ul > li,
.content-seo ol:not(.toc-list) > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}
.content-seo ul > li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}
.content-seo ol:not(.toc-list) { counter-reset: seo-ol; }
.content-seo ol:not(.toc-list) > li { counter-increment: seo-ol; }
.content-seo ol:not(.toc-list) > li::before {
  content: counter(seo-ol);
  position: absolute;
  left: 0; top: .2em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.content-seo nav.toc {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin: 0 0 28px;
}
.content-seo .toc-list { margin: 0; padding-left: 22px; }
.content-seo .toc-list li { margin: 4px 0; }
.content-seo .toc-list a { text-decoration: none; }
.content-seo .toc-list a:hover { text-decoration: underline; }

.content-seo table,
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 15px;
  border-radius: var(--radius);
  overflow: hidden;
}
.content-seo th,
.content-seo td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-strong);
  white-space: normal;
  vertical-align: top;
}
.content-seo th {
  background: rgba(253, 185, 19, .14);
  color: #fff;
  font-family: var(--font-head), system-ui, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.content-seo tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .03); }

.ul-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 12px 0 24px;
}
.ul-grid-item {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.ul-grid-item h3 { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq-section {
  position: relative;
  padding: 88px 0 110px;
  isolation: isolate;
}
.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-deep);
  clip-path: polygon(0 0, 100% 36px, 100% 100%, 0 100%);
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(253, 185, 19, .55); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  min-height: 48px;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .18s, background .18s;
}
.faq-q:hover { color: var(--accent); background: rgba(255, 255, 255, .02); }
.faq-chev { flex-shrink: 0; color: var(--accent); transition: transform .2s; }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px;
  font-size: 15px;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--footer);
  color: #F1D6DC;
  margin-top: 0;
}
.footer-wave {
  position: absolute;
  top: -59px; left: 0;
  width: 100%;
  height: 60px;
  display: block;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 32px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo {
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: .04em;
  line-height: 1;
}
.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: var(--radius-btn);
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer-col a {
  color: #F1D6DC;
  text-decoration: none;
  font-size: 14px;
  transition: color .18s;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  min-height: 40px;
  border-radius: var(--radius-btn);
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.pay-chip svg { color: var(--accent); }

.footer-legal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
}
.footer-legal p { margin: 0; font-size: 13px; line-height: 1.6; color: #E9C9D0; }
.age-badge {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head), system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.footer-copy { margin: 18px 0 0; font-size: 13px; color: #D9AFB9; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .nav-link { padding: 8px 7px; font-size: 14px; gap: 5px; }
  .header-main { gap: 12px; }
}

@media (max-width: 1200px) {
  .main-nav { display: none; }
  .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 102px; }
  .sidebar { display: none; }
  .logo { flex: 0 0 auto; padding-left: 20px; }
  .header-main { padding-right: 20px; }
  .security-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .security-row::before { display: none; }
  .mobile-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .content-seo { padding: 40px 32px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .utility-inner { padding: 0 16px; }
  .utility-left .utility-item:first-child { display: none; }
  .utility-link { display: none; }
  .header-main { min-height: 60px; gap: 10px; padding-right: 16px; }
  .logo { font-size: 24px; height: 60px; padding-left: 16px; }
  .header-actions .btn { padding: 8px 14px; font-size: 13px; min-height: 36px; }

  .hero { min-height: 420px; background-position: 70% center; }
  .hero::before {
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(15, 20, 26, .72) 0%, rgba(15, 20, 26, .35) 60%, rgba(15, 20, 26, 0) 100%);
  }
  .hero-inner { padding: 44px 16px; }
  .hero-sub { font-size: 15px; }
  .hero-cta .btn { padding: 10px 20px; font-size: 15px; min-height: 42px; }

  .section-head { margin-bottom: 24px; }
  .game-section, .mobile-section, .steps-section, .reviews-section { padding: 56px 0; }
  .security-section { padding: 72px 0; }
  .faq-section { padding: 64px 0 88px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .game-tile:nth-child(-n+6)::before { width: 24px; height: 24px; font-size: 14px; top: 6px; left: 6px; }
  .game-tile .play-overlay { opacity: 0; }
  .game-tile.active .play-overlay { opacity: 1; }

  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .text-section { padding: 24px 16px; }
  .reviews-section.text-section { padding: 56px 0; }
  .seo-wrap { padding: 8px 0 56px; }
  .content-seo { padding: 28px 18px; font-size: 15px; }
  .content-seo h1 + p { font-size: 16px; }
  .ul-grid { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { padding: 40px 16px 28px; }
  .footer-wave { height: 36px; top: -35px; }

  .btn { min-height: 36px; }
  .faq-q { font-size: 17px; padding: 14px 16px; }
  .faq-a > p { padding: 0 16px; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}

@media (max-width: 480px) {
  .btn-login { display: none; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-row { grid-template-columns: 1fr; }
  .hero-amount { font-size: 68px; }
  .utility-inner { justify-content: center; }
  .utility-left { display: none; }
  .float-chip { font-size: 12px; padding: 6px 10px; }
  .phone { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* content-interlink-fix: keep in-prose interlinks visible (buttons untouched) */
.content-seo a:not([class]){color:var(--accent,#f90);text-decoration:underline;text-underline-offset:2px}
.content-seo a:not([class]):hover{text-decoration:none;opacity:.85}


/* ── SEO Content block (injected by inject_slots.py) ─────────────────── */
/* Full SEO copy shown inline (no accordion) as one designed panel. */
.content-seo {
  max-width: 1100px;
  margin: 48px auto;
  padding: 40px clamp(20px, 4vw, 56px);
  background: var(--surface, rgba(255,255,255,0.03));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 16px;
}
.content-seo > h2,
.content-seo > .content-seo-title {
  margin: 0 0 24px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700;
}

.content-flat { margin: 0; font-size: 1.02rem; }
.content-block { margin: 0 0 8px; }
.content-block > h2 {
  margin: 1.4em 0 .5em; font-size: 1.4rem; font-weight: 700; line-height: 1.3;
}
.content-block:first-child > h2 { margin-top: 0; }
.content-flat p { margin: 0 0 1em; line-height: 1.8; }
.content-flat h1 { margin: 0 0 .5em; line-height: 1.25; }
.content-flat h2 { margin: 1.4em 0 .5em; font-size: 1.4rem; line-height: 1.3; }
.content-flat h3 { margin: 1.2em 0 .5em; font-size: 1.15rem; line-height: 1.3; }
.content-flat ul { padding-left: 1.25em; margin: 0 0 1em; }
.content-flat li { margin-bottom: .5em; line-height: 1.7; }
/* Only colour inline text links — must NOT hit the CTA button below. */
.content-flat p a, .content-flat li a, .content-flat td a,
.content-flat h2 a, .content-flat h3 a { color: var(--accent, #f90); }

/* CTA band woven into the long text so it doesn't read as one wall.
   One layout variant is used per site (picked from the brand name). */
.content-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; margin: 36px 0; padding: 24px 28px; border-radius: 14px;
}
.content-cta-body { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.content-cta-text { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.content-cta-sub  { margin: 0; font-size: .95rem; opacity: .8; }
/* The CTA button reuses the site's .btn/.btn-primary when present (correct on-accent
   contrast); this only handles layout + a readable fallback if it has neither.
   Keep it from stretching full-width when the site's .btn is display:block/100%. */
.content-cta .content-cta-btn { white-space: nowrap; flex: 0 0 auto; width: auto; align-self: center; }
.content-cta-btn--solid {
  background: var(--accent, #f90); color: var(--bg, #0b1018); text-decoration: none;
  padding: 12px 26px; border-radius: 8px; font-weight: 700;
  min-height: 34px; display: inline-flex; align-items: center;
}
.content-cta-btn--solid:hover { filter: brightness(1.08); }

/* Variant: bar — accent left rule, row layout */
.content-cta--bar {
  background: var(--surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--border, rgba(255,255,255,0.10));
  border-left: 4px solid var(--accent, #f90);
}
/* Variant: center — centered column, tinted panel */
.content-cta--center {
  flex-direction: column; text-align: center; gap: 14px;
  background: var(--surface, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.10));
  padding: 32px 28px;
}
.content-cta--center .content-cta-body { align-items: center; }
/* Variant: gradient — bold accent gradient, dark text */
.content-cta--gradient {
  background: linear-gradient(120deg, var(--accent, #f90), var(--accent-2, #00BBFF));
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.content-cta--gradient .content-cta-text,
.content-cta--gradient .content-cta-sub { color: #07261a; }
.content-cta--gradient .content-cta-sub { opacity: .85; }
/* Variant: split — strong headline left + button right, ringed panel */
.content-cta--split {
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--accent, #f90) 45%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.content-cta--split .content-cta-text { font-size: 1.35rem; }
@media (max-width: 600px) {
  .content-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .content-cta--center { align-items: center; text-align: center; }
}

/* Content tables (bonuses, payments, comparison) */
.content-table {
  width: 100%; border-collapse: collapse; margin: 1em 0;
  font-size: .95rem; overflow: hidden; border-radius: 8px;
}
.content-table th, .content-table td {
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.content-table thead th {
  background: rgba(255,255,255,0.06);
  font-weight: 700; color: var(--accent, #f90);
  white-space: nowrap;
}
.content-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.content-table tbody tr:last-child td { border-bottom: none; }
/* Mobile: let wide tables scroll instead of breaking layout */
@media (max-width: 768px) {
  .content-table { display: block; overflow-x: auto; white-space: nowrap; }
  .content-seo { margin: 28px 12px; padding: 24px 18px; border-radius: 12px; }
  .content-flat h2, .content-block > h2 { font-size: 1.25rem; }
}


/* ── Player Reviews (injected by inject_slots.py) ────────────────────── */
.review-stars { display: inline-flex; gap: 2px; }
.review-stars .star svg { fill: rgba(128,128,128,0.28); display: block; }
.review-stars .star.is-full svg { fill: var(--accent, #f5a623); }
.review-text { margin: 0; line-height: 1.7; font-size: 1rem; color: var(--text, inherit); }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; flex-shrink: 0;
  /* dark text on the (usually bright) accent reads better than white */
  background: var(--accent, #f5a623); color: var(--bg, #0b1018);
}
.review-name { font-weight: 600; }

.reviews-grid.rv-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.rv-cards .review-card {
  background: var(--surface, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rv-cards .review-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.rv-cards .review-meta { margin-top: auto; }
@media (max-width: 768px) {
  .reviews-grid.rv-cards { grid-template-columns: 1fr; }
  .rv-cards .review-card { padding: 20px; }
}


/* ── Mobile menu (injected by inject_slots.py) ───────────────────────── */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: inherit; padding: 8px; line-height: 0; align-items: center;
  margin-left: auto;  /* push the hamburger to the right edge of the header */
}
.nav-toggle svg { display: block; }
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: flex !important; flex-direction: column; align-items: stretch;
    position: fixed; left: 0; right: 0; top: var(--nav-top, 60px);
    gap: 0; margin: 0; padding: 6px 0;
    background: var(--surface, #14181f);
    border-top: 1px solid var(--border, rgba(255,255,255,0.10));
    box-shadow: 0 14px 30px rgba(0,0,0,0.4);
    max-height: 0; overflow: hidden; visibility: hidden; opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
    z-index: 1200;
  }
  body.nav-open .main-nav { max-height: 82vh; overflow: auto; visibility: visible; opacity: 1; }
  .main-nav a { padding: 14px 22px; width: 100%; min-height: 44px; display: flex; align-items: center; }
}


/* ── Mobile sticky CTA (injected by inject_slots.py) ─────────────────── */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 1300;
    padding: 9px 14px;
    padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
    background: var(--surface, #141821);
    border-top: 1px solid var(--border, rgba(255,255,255,0.10));
    box-shadow: 0 -6px 22px rgba(0,0,0,0.4);
  }
  .mobile-cta-bar__btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 48px;
    font-family: var(--font-head, system-ui, sans-serif);
    font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    font-size: 1rem; text-decoration: none;
    border-radius: var(--radius, 8px);
    background: var(--accent, #00F0B0);
    color: var(--bg, #0c1622);
  }
  .mobile-cta-bar__btn:active { filter: brightness(1.08); }
  /* keep the footer / page bottom clear of the fixed bar */
  body { padding-bottom: 76px; }
}


/* ── Game badges (injected by inject_slots.py) ───────────────────────── */
.game-tile { position: relative; }
.game-badge {
  position: absolute; z-index: 2; top: 8px; left: 8px;
  font-size: .66rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1; pointer-events: none;
  background: var(--accent, #f5a623); color: var(--bg, #0b1018);
}
.game-badge.game-badge-pill {
  padding: 5px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.game-badge.game-badge-ribbon {
  padding: 5px 11px 5px 8px; border-radius: 3px 0 0 3px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
