/* ============================================================
   CASINO TEMPLATE — MAIN STYLESHEET
   Pages: index, games, bonuses, login
   ============================================================ */

/* ── 1. VARIABLES & RESET ─────────────────────────────────── */
:root {
  --bg:         #0a0a14;
  --bg2:        #11112000;
  --bg2:        #111120;
  --card:       #17172a;
  --card-h:     #1f1f3a;
  --gold:       #ffd700;
  --gold-d:     #c9a800;
  --orange:     #ff9800;
  --purple:     #7c3aed;
  --purple-l:   #9f5eff;
  --green:      #00c853;
  --red:        #f44336;
  --txt:        #ffffff;
  --txt2:       #a0a0c0;
  --txt3:       #5a5a78;
  --border:     rgba(255,255,255,.07);
  --border-g:   rgba(255,215,0,.25);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --shadow:     0 8px 32px rgba(0,0,0,.5);
  --shadow-g:   0 4px 24px rgba(255,215,0,.18);
  --trans:      .2s ease;
  --header-h:   72px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--trans); }
img { display:block; max-width:100%; }
ul { list-style:none; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }

/* ── 2. TYPOGRAPHY ────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight:900; line-height:1.1; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight:800; }
h3 { font-size: 1.15rem; font-weight:700; }
h4 { font-size: 1rem; font-weight:600; }
p  { color: var(--txt2); }

.gold  { color: var(--gold); }
.orange{ color: var(--orange); }
.green { color: var(--green); }

/* ── 3. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header p {
  margin-top: 10px;
  font-size: .95rem;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title::before,
.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title::after {
  background: linear-gradient(270deg, var(--gold), transparent);
}

.grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap:24px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; }
.grid-6 { display:grid; grid-template-columns: repeat(6, 1fr); gap:16px; }

.flex     { display:flex; }
.flex-c   { display:flex; align-items:center; }
.flex-cc  { display:flex; align-items:center; justify-content:center; }
.flex-sb  { display:flex; align-items:center; justify-content:space-between; }
.gap-sm   { gap:8px; }
.gap-md   { gap:16px; }
.gap-lg   { gap:24px; }

.text-center { text-align:center; }
.mt-sm { margin-top:12px; }
.mt-md { margin-top:24px; }
.mt-lg { margin-top:40px; }

/* ── 4. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .4px;
  transition: all var(--trans);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(255,152,0,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,152,0,.5);
}

.btn-outline {
  border: 1.5px solid var(--border-g);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: #000;
}

.btn-ghost {
  color: var(--txt2);
  background: rgba(255,255,255,.05);
}
.btn-ghost:hover {
  color: var(--txt);
  background: rgba(255,255,255,.1);
}

.btn-lg  { padding: 16px 36px; font-size:1rem; border-radius: 10px; }
.btn-sm  { padding: 8px 18px; font-size:.82rem; }
.btn-full{ width:100%; }

/* ── 5. BADGE & TAG ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-gold   { background: rgba(255,215,0,.15); color: var(--gold); border:1px solid rgba(255,215,0,.3); }
.badge-green  { background: rgba(0,200,83,.15);  color: var(--green); border:1px solid rgba(0,200,83,.3); }
.badge-purple { background: rgba(124,58,237,.15);color: var(--purple-l); border:1px solid rgba(124,58,237,.3); }
.badge-red    { background: rgba(244,67,54,.15);  color: var(--red); border:1px solid rgba(244,67,54,.3); }

/* ── 5b. HEADER BUTTONS (special) ────────────────────────── */
.btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .3px;
  transition: all var(--trans);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--txt);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
}
.btn-header-login:hover {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.btn-header-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .3px;
  transition: all var(--trans);
  background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
  color: #000;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(255,152,0,.45), 0 2px 8px rgba(0,0,0,.3);
}
.btn-header-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255,152,0,.65), 0 4px 16px rgba(0,0,0,.3);
}

/* ── 5c. HERO CTA BUTTON (large) ─────────────────────────── */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 60px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: all .25s ease;
  background: linear-gradient(135deg, #ffe234 0%, #ff9800 60%, #ff6500 100%);
  color: #000;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  /* Объём: внутренняя светлая граница + глубокая тень */
  border-top: 2px solid rgba(255,255,255,.45);
  border-left: 2px solid rgba(255,255,255,.25);
  border-bottom: 2px solid rgba(180,80,0,.6);
  border-right: 2px solid rgba(180,80,0,.4);
  box-shadow:
    0 0 40px rgba(255,150,0,.55),
    0 8px 0px rgba(160,70,0,.8),
    0 10px 30px rgba(0,0,0,.5);
}
/* Блик сверху */
.btn-hero-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,.22), transparent);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}
/* Пробегающий блик */
.btn-hero-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .65s ease;
}
.btn-hero-cta:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 70px rgba(255,150,0,.75),
    0 8px 0px rgba(160,70,0,.8),
    0 16px 40px rgba(0,0,0,.5);
}
.btn-hero-cta:active {
  transform: translateY(4px);
  box-shadow:
    0 0 30px rgba(255,150,0,.5),
    0 2px 0px rgba(160,70,0,.8),
    0 4px 16px rgba(0,0,0,.4);
}
.btn-hero-cta:hover::after { left: 160%; }

@media (max-width: 480px) {
  .btn-hero-cta { padding:18px 36px; font-size:1.1rem; width:100%; }
  .btn-header-login { display:inline-flex; padding:8px 14px; font-size:.8rem; }
  .btn-header-signup { padding:8px 14px; font-size:.8rem; }
}

/* ── 5d. HERO IMAGE ───────────────────────────────────────── */
.hero-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  height: 480px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  /* Fade bottom edge */
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.hero-img-placeholder {
  width: 100%;
  max-width: 520px;
  height: 420px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(255,215,0,.3);
  background: rgba(255,215,0,.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-placeholder-inner { text-align:center; }

/* ── 6. HEADER / NAVIGATION ───────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10,10,20,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.5px;
}
.logo-text span { color: var(--gold); }

/* Nav */
.nav { display:flex; align-items:center; gap:4px; }

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  color: var(--txt2);
  transition: all var(--trans);
}
.nav-link:hover,
.nav-link.active {
  color: var(--txt);
  background: rgba(255,255,255,.07);
}

/* Dropdown */
.nav-item { position:relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans), transform var(--trans);
  transform: translateX(-50%) translateY(-6px);
}
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  color: var(--txt2);
}
.dropdown a:hover { background:rgba(255,255,255,.06); color:var(--txt); }

/* Header actions */
.header-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display:block;
  width:24px; height:2px;
  background: var(--txt);
  border-radius: 2px;
  transition: var(--trans);
}

/* ── 7. HERO SECTION ──────────────────────────────────────── */
.hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(124,58,237,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(255,152,0,.1) 0%, transparent 60%),
    linear-gradient(180deg, #0d0d1e 0%, var(--bg) 100%);
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,.1);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--txt);
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px; }

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat { text-align:center; }
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}
.hero-stat span {
  font-size: .78rem;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bonus-card {
  background: linear-gradient(135deg, #1f1f3a, #2a1a4a);
  border: 1px solid var(--border-g);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-g), var(--shadow);
  position: relative;
  z-index: 2;
  min-width: 300px;
}

.hero-bonus-card .bonus-amount {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin: 12px 0;
}

.hero-bonus-card .bonus-label {
  font-size: .85rem;
  color: var(--txt2);
  margin-bottom: 4px;
}

.hero-bonus-card .bonus-spins {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,.1);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  color: var(--gold);
  font-size: .9rem;
  margin: 16px 0;
}

.hero-float {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}
.hero-float:nth-child(2) { animation-delay: 1s; }
.hero-float:nth-child(3) { animation-delay: 2s; }

.hero-float-1 { top: 10%; left: -10%; }
.hero-float-2 { bottom: 20%; right: -8%; }
.hero-float-3 { top: 55%; left: -5%; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── 8. TICKER / STATS BAR ────────────────────────────────── */
.ticker-bar {
  background: linear-gradient(90deg, var(--card) 0%, #1f1f3a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  margin-top: 56px;
}

.ticker-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.ticker-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.ticker-item:last-child { border-right:none; }

.ticker-item strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  display: block;
}
.ticker-item { color: #fff; }
.ticker-item span {
  font-size: .75rem;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* Scrolling wins ticker */
.wins-ticker {
  background: transparent;
  padding: 14px 0;
  overflow: hidden;
}
.wins-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 10px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.wins-ticker-label::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}
.wins-ticker-track {
  display: flex;
  gap: 12px;
  animation: ticker 35s linear infinite;
  width: max-content;
}
.wins-ticker-track:hover { animation-play-state: paused; }
.ticker-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 10px 18px 10px 10px;
  min-width: 190px;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.ticker-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.ticker-card-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  color: #fff;
}
.ticker-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ticker-card-name {
  color: var(--txt);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
}
.ticker-card-amount {
  color: #4caf50;
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 9. GAME CATEGORIES ───────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  opacity: 0;
  transition: opacity var(--trans);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-g);
  box-shadow: var(--shadow-g);
}
.category-card:hover::before { opacity: .06; }

.category-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.category-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--txt2);
  position: relative;
  z-index: 1;
  transition: color var(--trans);
}
.category-card:hover .category-name { color: var(--txt); }

.category-count {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

/* ── 10. GAME CARDS GRID ──────────────────────────────────── */
.games-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 7px 16px;
  border-radius: 40px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--txt2);
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--trans);
}
.filter-tab:hover,
.filter-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  border-color: transparent;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  min-width: 220px;
}
.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--txt);
  font-size: .88rem;
  width: 100%;
  font-family: inherit;
}
.search-box input::placeholder { color: var(--txt3); }
.search-box .icon { color: var(--txt3); font-size:1rem; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.game-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--trans);
  position: relative;
  group: true;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.15);
}

.game-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg2), var(--card-h));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Unique colored backgrounds for variety */
.game-card:nth-child(6n+1) .game-thumb { background:linear-gradient(135deg,#1a1260,#2d1b69); }
.game-card:nth-child(6n+2) .game-thumb { background:linear-gradient(135deg,#12402a,#1a5c3c); }
.game-card:nth-child(6n+3) .game-thumb { background:linear-gradient(135deg,#40120a,#5c1a12); }
.game-card:nth-child(6n+4) .game-thumb { background:linear-gradient(135deg,#2a1240,#3c1a5c); }
.game-card:nth-child(6n+5) .game-thumb { background:linear-gradient(135deg,#0a2240,#12355c); }
.game-card:nth-child(6n+6) .game-thumb { background:linear-gradient(135deg,#402a0a,#5c3c12); }

.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--trans);
}
.game-card:hover .game-thumb-overlay { opacity:1; }

.game-info {
  padding: 10px 12px 12px;
}
.game-info .name {
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-info .provider {
  font-size: .72rem;
  color: var(--txt2);
  margin-top: 2px;
}

.game-badge-hot {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.game-badge-new {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--green);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.game-badge-jp {
  position: absolute;
  top: 8px; left: 8px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.load-more-wrap { text-align:center; margin-top:40px; }

/* ── 11. BONUS SECTION ────────────────────────────────────── */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans);
  position: relative;
}

.bonus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-g);
  border-color: var(--border-g);
}

.bonus-card.featured {
  border-color: var(--border-g);
  box-shadow: var(--shadow-g);
}

.bonus-card-header {
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,215,0,.08), rgba(255,152,0,.05));
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.bonus-card.featured .bonus-card-header {
  background: linear-gradient(135deg, rgba(255,215,0,.15), rgba(255,152,0,.1));
}

.bonus-card-badge {
  position: absolute;
  top: 16px; right: 16px;
}

.bonus-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  line-height: 1;
}

.bonus-sub {
  font-size: .85rem;
  color: var(--txt2);
  margin-top: 6px;
}

.bonus-card-body {
  padding: 24px 28px;
}

.bonus-features {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.bonus-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
}

.bonus-feature .check {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
}

.bonus-feature .label { color: var(--txt2); }
.bonus-feature .val   { margin-left: auto; font-weight:700; color:var(--txt); }

/* ── 12. STEPS / HOW TO ───────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple), var(--gold));
  opacity: .3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(255,152,0,.4);
}

.step-title { font-size: 1rem; margin-bottom: 8px; }
.step-desc  { font-size: .85rem; color: var(--txt2); }

/* ── 13. FEATURE CARDS ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--trans);
}
.feature-card:hover {
  border-color: var(--border-g);
  background: var(--card-h);
}

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.fi-gold   { background: rgba(255,215,0,.12); }
.fi-purple { background: rgba(124,58,237,.15); }
.fi-green  { background: rgba(0,200,83,.12); }
.fi-orange { background: rgba(255,152,0,.12); }
.fi-blue   { background: rgba(33,150,243,.12); }
.fi-red    { background: rgba(244,67,54,.12); }

.feature-text h3 { margin-bottom: 6px; font-size:.95rem; }
.feature-text p  { font-size: .84rem; }

/* ── 14. WINNERS TABLE ────────────────────────────────────── */
.winners-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
}

.winners-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .6px;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid var(--border);
}

.winners-table td {
  padding: 12px 20px;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
}
.winners-table tr:last-child td { border-bottom: none; }
.winners-table tr:hover td { background: rgba(255,255,255,.02); }

.winner-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.winner-avatar,
.winner-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-l));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}

.winner-name { font-weight:600; }
.winner-amount { font-weight: 800; color: var(--green); }

.game-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255,215,0,.4);
  text-underline-offset: 3px;
  transition: color var(--trans), text-decoration-color var(--trans);
  cursor: pointer;
  display: inline;
}
.game-link::after {
  content: ' ↗';
  font-size: .75rem;
  color: var(--orange);
  transition: transform var(--trans);
  display: inline;
  white-space: nowrap;
}
.game-link:hover { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.game-link:hover::after { transform: translate(2px, -2px); }

/* ── TOP SLOTS ────────────────────────────────────────────── */
.slots-row-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
}

.slots-row {
  display: flex;
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
  flex: 1;
  min-width: 0;
}

.slot-card {
  flex-shrink: 0;
  width: calc(100% / 5 - 13px);
  cursor: pointer;
}

.slot-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--card);
}

.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.slot-card:hover .slot-thumb img { transform: scale(1.05); }

.slot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .25s;
  backdrop-filter: blur(2px);
}
.slot-card:hover .slot-overlay { opacity: 1; }

.slot-btn-play {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  font-weight: 900;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  padding: 14px 36px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s;
}
.slot-btn-play:hover { transform: scale(1.05); }

.slot-btn-demo {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background .2s;
}
.slot-btn-demo:hover { background: rgba(255,255,255,.22); }

.slot-name {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--txt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.slots-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--txt);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  line-height: 1;
}
.slots-arrow:hover { background: var(--card-h); border-color: var(--purple); color: #fff; }

@media (max-width: 1024px) {
  .slot-card { width: calc(100% / 4 - 12px); }
}
@media (max-width: 768px) {
  .slot-card { width: calc(100% / 3 - 11px); }
  .slots-arrow { display: flex; width: 32px; height: 32px; font-size: 1.2rem; }
  .slots-row-wrap { padding: 0 6px; }
  .slots-row { overflow-x: auto; scrollbar-width: none; }
  .slots-row::-webkit-scrollbar { display: none; }
  .slot-overlay { gap: 6px; }
  .slot-btn-play { font-size: .7rem; padding: 7px 12px; border-radius: 6px; }
  .slot-btn-demo { font-size: .65rem; padding: 5px 10px; }
}
@media (max-width: 480px) {
  .slot-card { width: calc(50% - 8px); }
}

/* ── GAME MODAL ───────────────────────────────────────────── */
.game-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.game-modal.open { display: flex; }

.game-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(4px);
}

.game-modal-box {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 1100px;
  height: 85vh;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-shrink: 0;
}

.game-modal-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--txt);
}

.game-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-modal-footer {
  flex-shrink: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.3);
}

.game-modal-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  color: #000;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255,150,0,.5), 0 5px 0 rgba(160,70,0,.8);
  transition: transform .15s, box-shadow .15s;
}
.game-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(255,150,0,.7), 0 5px 0 rgba(160,70,0,.8);
}

.game-modal-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  color: var(--txt2);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.game-modal-close:hover { background: rgba(255,255,255,.15); color: #fff; }

.game-modal-body {
  flex: 1;
  overflow: hidden;
}

.game-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .game-modal-box { width: 100vw; height: 100dvh; border-radius: 0; }
}

/* ── 15. PAYMENT METHODS ──────────────────────────────────── */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.payment-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--txt2);
  text-align: center;
  transition: all var(--trans);
  cursor: pointer;
  gap: 6px;
  flex-direction: column;
  min-height: 70px;
}
.payment-item:hover {
  border-color: var(--border-g);
  color: var(--txt);
  background: var(--card-h);
}

.payment-icon {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-icon img {
  width: 72px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.payments-grid-6 {
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.payment-item-lg {
  min-height: 110px;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius);
  gap: 10px;
}

.payment-item-lg .payment-icon {
  font-size: 2.2rem;
}
.payment-item-lg .payment-icon img {
  width: 80px;
  height: 50px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .payments-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .payments-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ── 16. FAQ ACCORDION ────────────────────────────────────── */
.faq-list { display: flex; flex-direction:column; gap:10px; max-width:800px; margin:0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--trans);
}
.faq-item.open { border-color: var(--border-g); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: .92rem;
  font-weight: 600;
  color: var(--txt);
  cursor: pointer;
  transition: background var(--trans);
}
.faq-question:hover { background: rgba(255,255,255,.03); }

.faq-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  transition: all var(--trans);
  color: var(--txt2);
}
.faq-item.open .faq-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: .88rem;
  color: var(--txt2);
  line-height: 1.7;
}

/* ── 17. FOOTER ───────────────────────────────────────────── */
.footer {
  background: #07070f;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: auto;
}

.footer-top {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: .85rem;
  margin: 14px 0 20px;
  max-width: 240px;
  line-height: 1.7;
}

.footer-social { display:flex; gap:10px; }

.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--trans);
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.footer-col h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--txt2);
  margin-bottom: 18px;
}

.footer-col ul { display:flex; flex-direction:row; flex-wrap:wrap; gap:10px 32px; }

.footer-col ul li a {
  font-size: .86rem;
  color: var(--txt2);
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--txt); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .84rem;
  color: var(--txt2);
  transition: color var(--trans);
  line-height: 1.5;
}

a.footer-contact-item:hover { color: var(--gold); }

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--txt2);
}

.footer-middle {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.footer-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--txt2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-badge-18 {
  display: inline-flex;
  width: fit-content;
}

/* ── FOOTER PAYMENT LOGOS ────────────────────────────────── */
.footer-pay-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-pay-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter .3s ease;
  display: block;
}

.footer-pay-logo:hover {
  filter: grayscale(0%) opacity(1);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-bottom p {
  font-size: .78rem;
  color: var(--txt3);
  max-width: 860px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: var(--txt3);
  transition: color var(--trans);
}

.footer-bottom-links a:hover { color: var(--txt); }

.footer-bottom p { font-size: .78rem; color: var(--txt3); }

.footer-bottom-links { display:flex; gap:16px; }
.footer-bottom-links a {
  font-size: .78rem;
  color: var(--txt3);
  transition: color var(--trans);
}
.footer-bottom-links a:hover { color: var(--txt); }

/* ── 18. PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + 40px) 0 48px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(124,58,237,.12) 0%, transparent 70%),
    linear-gradient(180deg, #0d0d1e 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero p { margin-top:10px; font-size:.95rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--txt2);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--txt2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--txt3); }

/* ── 19. LOGIN / REGISTER FORMS ──────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 20px 60px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(124,58,237,.15) 0%, transparent 70%),
    var(--bg);
}

.auth-container {
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: flex;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid var(--border);
  grid-column: 1 / -1;
}

.auth-tab {
  flex: 1;
  padding: 18px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--txt2);
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--trans);
}
.auth-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(255,215,0,.04);
}

.auth-side {
  padding: 40px;
  border-right: 1px solid var(--border);
}
.auth-side:last-child { border-right:none; }

.auth-form h2 { margin-bottom: 8px; font-size:1.4rem; }
.auth-form > p { margin-bottom: 28px; font-size:.88rem; }

.form-group { margin-bottom:18px; }

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--txt2);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--txt);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--trans);
}
.form-control:focus { border-color: var(--border-g); }
.form-control::placeholder { color: var(--txt3); }

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--txt2);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  border-radius: 4px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--txt3);
  font-size: .8rem;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-auth { display:flex; gap:10px; }
.social-auth-btn {
  flex: 1;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  color: var(--txt2);
  font-size: .88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--trans);
}
.social-auth-btn:hover {
  background: rgba(255,255,255,.08);
  color: var(--txt);
  border-color: rgba(255,255,255,.15);
}

.promo-side {
  padding: 40px;
  background: linear-gradient(135deg, #1a1240 0%, #2a1a50 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.promo-side-badge {
  background: rgba(255,215,0,.1);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.promo-side-amount {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin: 8px 0;
}

.promo-side ul {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
}

.promo-side ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--txt2);
}

/* ── 20. VIP / LOYALTY TIERS ─────────────────────────────── */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.vip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--trans);
  position: relative;
}

.vip-card:hover { transform: translateY(-4px); border-color: var(--border-g); }

.vip-icon { font-size: 2rem; margin-bottom: 10px; }
.vip-name { font-size:.88rem; font-weight:700; margin-bottom:4px; }
.vip-req  { font-size:.75rem; color:var(--txt2); }
.vip-perks { margin-top:12px; font-size:.78rem; color:var(--gold); font-weight:600; }

/* ── 21. LIVE CASINO SECTION ─────────────────────────────── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,67,54,.15);
  border: 1px solid rgba(244,67,54,.3);
  border-radius: 40px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.7); }
}

.live-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.live-game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--trans);
}
.live-game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.live-game-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0a2a, #2d1045);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.live-game-card:nth-child(2) .live-game-thumb { background: linear-gradient(135deg,#0a1a2a,#102d45); }
.live-game-card:nth-child(3) .live-game-thumb { background: linear-gradient(135deg,#0a2a1a,#10452d); }
.live-game-card:nth-child(4) .live-game-thumb { background: linear-gradient(135deg,#2a1a0a,#45310a); }

.live-status {
  position: absolute;
  top: 10px; left: 10px;
}

.live-players {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,.7);
  border-radius: 40px;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
}

.live-game-info {
  padding: 14px 16px;
}
.live-game-info .name { font-weight:700; font-size:.9rem; }
.live-game-info .dealer { font-size:.78rem; color:var(--txt2); margin-top:3px; }
.live-game-info .limits { font-size:.75rem; color:var(--gold); margin-top:6px; font-weight:600; }

/* ── 22. PROVIDERS SECTION ───────────────────────────────── */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.provider-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: var(--txt2);
  letter-spacing: .3px;
  text-align: center;
  min-height: 56px;
  transition: all var(--trans);
  cursor: pointer;
  text-transform: uppercase;
}
.provider-item:hover { color: var(--txt); border-color: rgba(255,255,255,.15); background: var(--card-h); }

/* ── PAGE OFFER BANNER (shown on all inner pages) ─────────── */
.page-offer {
  background: linear-gradient(135deg, #0e0b1f 0%, #1c0f38 45%, #0a1a10 100%);
  border-bottom: 1px solid rgba(212,175,55,.18);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.page-offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(212,175,55,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(40,160,80,.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-offer-inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 200px;
  position: relative;
  z-index: 1;
}
.page-offer-content {
  flex: 1;
  padding: 40px 0 40px 0;
}
.page-offer-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: .85;
}
.page-offer-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 8px;
}
.page-offer-title span {
  color: var(--gold);
}
.page-offer-sub {
  font-size: .9rem;
  color: var(--txt-muted);
  margin: 0 0 24px;
}
.page-offer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2db85a, #1a8c3e);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 4px 20px rgba(45,184,90,.35);
  transition: transform .2s, box-shadow .2s;
}
.page-offer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,184,90,.5);
  color: #fff;
}
.page-offer-stats {
  display: flex;
  gap: 32px;
  margin-top: 20px;
}
.page-offer-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-offer-stat strong {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
}
.page-offer-stat span {
  font-size: .7rem;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.page-offer-img {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
  position: relative;
}
.page-offer-img img {
  height: 220px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
  filter: drop-shadow(0 0 30px rgba(212,175,55,.2));
}
@media (max-width: 1024px) {
  .page-offer-img { width: 240px; }
  .page-offer-img img { height: 170px; }
}
@media (max-width: 768px) {
  .page-offer-img { display: none; }
  .page-offer-content { padding: 32px 0; }
  .page-offer-title { font-size: 1.7rem; }
  .page-offer-stats { gap: 20px; flex-wrap: wrap; }
}

/* ── PAGE BREADCRUMB BAR ──────────────────────────────────── */
.page-breadcrumb {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  background: rgba(255,255,255,.02);
}
.page-breadcrumb nav {
  font-size: .78rem;
  color: var(--txt-muted);
  letter-spacing: .03em;
}
.page-breadcrumb a {
  color: var(--txt-muted);
  text-decoration: none;
  transition: color .2s;
}
.page-breadcrumb a:hover { color: var(--gold); }
.page-breadcrumb .sep { margin: 0 6px; opacity: .4; }

/* ── INNER PAGE HERO ──────────────────────────────────────── */
.inner-hero {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a0d2e 50%, #0d1a0d 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,.12) 0%, transparent 70%);
  pointer-events: none;
}
.inner-breadcrumb {
  font-size: .8rem;
  color: var(--txt-muted);
  margin-bottom: 16px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.inner-breadcrumb a {
  color: var(--txt-muted);
  text-decoration: none;
}
.inner-breadcrumb a:hover { color: var(--gold); }
.inner-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.inner-hero-sub {
  font-size: 1.05rem;
  color: var(--txt-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .inner-hero { padding: 60px 0 40px; }
  .inner-hero-title { font-size: 2rem; }
}

/* ── TABLE OF CONTENTS ────────────────────────────────────── */
.toc-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
  overflow: hidden;
}

.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--card-h);
  cursor: pointer;
  color: var(--txt);
  transition: background var(--trans);
}
.toc-toggle:hover { background: #242440; }

.toc-title {
  font-weight: 700;
  font-size: .95rem;
}

.toc-chevron {
  flex-shrink: 0;
  color: var(--txt2);
  transition: transform .3s ease;
}
.toc-block.open .toc-chevron { transform: rotate(180deg); }

.toc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.toc-block.open .toc-body { max-height: 600px; }

.toc-list {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.toc-list li::before {
  content: counter(toc-counter) ".";
  color: var(--txt2);
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
  min-width: 18px;
}

.toc-list li a {
  color: var(--txt2);
  font-size: .88rem;
  line-height: 1.5;
  transition: color var(--trans);
}
.toc-list li a:hover { color: var(--gold); }

/* ── SEO TEXT BLOCK ───────────────────────────────────────── */
.seo-text {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  color: var(--txt2);
  line-height: 1.8;
}

.seo-text h1 {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--txt);
  margin: 0 0 16px;
}

.seo-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--txt);
  margin: 32px 0 16px;
}

.seo-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--txt);
  margin: 32px 0 10px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.seo-text p {
  font-size: .95rem;
  margin-bottom: 12px;
}

.seo-text ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-text ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  margin-right: 8px;
}

/* ── SEO TABLES ───────────────────────────────────────────── */
.seo-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.seo-table th {
  background: var(--card-h);
  color: var(--gold);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
.seo-table td {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  color: var(--txt2);
}
.seo-table tr:hover td {
  background: rgba(255,255,255,.03);
}

/* ── SEO SLOTS (carousel inside seo-text block) ── */
.seo-slots {
  margin: 32px -44px;
}

@media (max-width: 768px) {
  .seo-text { padding: 28px 24px; }
  .seo-text h2 { font-size: 1.3rem; }
  .seo-slots { margin: 24px -12px; }
}

/* ── 23. PROMO BANNER ─────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, #1a1240 0%, #2d1a5a 50%, #1a0a2a 100%);
  border: 1px solid var(--border-g);
  border-radius: var(--radius-lg);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.promo-banner-text,
.promo-banner-actions { position: relative; z-index: 1; }

.promo-banner-text h2 { margin-bottom:10px; font-size: 1.9rem; }
.promo-banner-text p  { max-width: 480px; }

.promo-banner-actions { display:flex; gap:14px; flex-shrink:0; }

.promo-btn-main {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 20px 44px;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 0 30px rgba(255,150,0,.45), 0 5px 0 rgba(160,70,0,.7);
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.promo-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(255,150,0,.65), 0 5px 0 rgba(160,70,0,.7);
}

/* ── 24. BONUSES PAGE SPECIFICS ───────────────────────────── */
.bonus-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bonus-full-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans);
}
.bonus-full-card:hover { border-color: var(--border-g); box-shadow: var(--shadow-g); }

.bonus-full-header {
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,215,0,.08), rgba(255,152,0,.04));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
}

.bonus-full-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: rgba(255,215,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.bonus-full-meta h3 { margin-bottom:4px; }
.bonus-full-meta p  { font-size:.85rem; }

.bonus-full-amount {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}
.bonus-full-amount strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bonus-full-amount span { font-size:.8rem; color:var(--txt2); }

.bonus-full-body { padding: 24px 28px; }
.bonus-full-body p { font-size:.88rem; line-height:1.7; margin-bottom:16px; }

.bonus-terms {
  background: rgba(0,0,0,.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .8rem;
  color: var(--txt2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.bonus-terms span strong { color:var(--txt); }

/* ── 25. GAMES PAGE SPECIFICS ─────────────────────────────── */
.games-sidebar {
  width: 240px;
  flex-shrink: 0;
}

.games-main { flex: 1; min-width: 0; }

.sidebar-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.sidebar-section-title {
  padding: 14px 18px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--txt2);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.15);
}

.sidebar-list { padding: 8px; }

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  cursor: pointer;
  transition: background var(--trans);
  color: var(--txt2);
}
.sidebar-item:hover,
.sidebar-item.active {
  background: rgba(255,255,255,.05);
  color: var(--txt);
}
.sidebar-item.active { color: var(--gold); }

.sidebar-count {
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: .72rem;
  font-weight: 700;
}

/* Sort select */
.sort-select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--txt);
  font-size: .85rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}
.sort-select option { background: var(--card); }

/* ── 26. NOTIFICATION TOAST ───────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--card);
  border: 1px solid var(--border-g);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-g);
  z-index: 9999;
  animation: slideIn .3s ease;
  max-width: 320px;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity:0; }
  to   { transform: translateX(0); opacity:1; }
}

.toast-icon { font-size: 1.4rem; flex-shrink:0; }
.toast-text .title { font-weight:700; font-size:.9rem; }
.toast-text .sub   { font-size:.8rem; color:var(--txt2); }

/* ── 27. MISC ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.info-table th {
  padding: 12px 18px;
  text-align: left;
  background: rgba(0,0,0,.2);
  color: var(--txt2);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  border-bottom: 1px solid var(--border);
}
.info-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--txt);
}
.info-table tr:last-child td { border-bottom:none; }
.info-table tr:nth-child(even) td { background: rgba(255,255,255,.015); }

.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-g);
  z-index: 500;
  transition: transform var(--trans);
}
.scroll-top:hover { transform: translateY(-3px); }

/* ── 28. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .games-grid      { grid-template-columns: repeat(5,1fr); }
  .categories-grid { grid-template-columns: repeat(4,1fr); }
  .payments-grid   { grid-template-columns: repeat(6,1fr); }
  .providers-grid  { grid-template-columns: repeat(5,1fr); }
  .footer-top      { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-top > .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav { display:none; }
  .burger { display:flex; }
  .header-actions { display:none; }
  .hero-img {
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
  }
  .hero-float { display: none; }
  .hero { padding-top: var(--header-h); padding-bottom: 0; overflow: visible; }
  .steps-grid  { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display:none; }
  .auth-container { grid-template-columns:1fr; }
  .auth-tabs { grid-column:1; }
  .promo-side { display:none; }
  .vip-grid   { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  :root { --header-h:60px; }
  .section { padding:48px 0; }
  .categories-grid  { grid-template-columns: repeat(3,1fr); }
  .games-grid       { grid-template-columns: repeat(3,1fr); }
  .bonus-grid       { grid-template-columns:1fr; }
  .features-grid    { grid-template-columns:1fr; }
  .live-games-grid  { grid-template-columns: repeat(2,1fr); }
  .bonus-page-grid  { grid-template-columns:1fr; }
  .payments-grid    { grid-template-columns: repeat(4,1fr); }
  .providers-grid   { grid-template-columns: repeat(4,1fr); }
  .promo-banner     { flex-direction:column; padding:32px 24px; text-align:center; }
  .promo-banner-actions { flex-wrap:wrap; justify-content:center; }
  .ticker-inner     { overflow-x:auto; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }
  .footer-top > .footer-brand            { grid-column: 1; grid-row: 1; }
  .footer-top > .footer-col:nth-child(3) { grid-column: 2; grid-row: 1; padding-top: 10px; }
  .footer-top > .footer-col:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .vip-grid   { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .categories-grid  { grid-template-columns: repeat(2,1fr); }
  .games-grid       { grid-template-columns: repeat(2,1fr); }
  .form-row         { grid-template-columns:1fr; }
  .steps-grid       { grid-template-columns:1fr; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .payments-grid    { grid-template-columns: repeat(3,1fr); }
  .providers-grid   { grid-template-columns: repeat(3,1fr); }
  .vip-grid         { grid-template-columns: repeat(2,1fr); }
  .hero-actions     { flex-direction:column; }
  .btn-full-mobile  { width:100%; }
  h1 { font-size:2rem; }
  .ticker-item strong { font-size:1.1rem; }
  .bonus-card-header { padding:20px 16px; }
  .hero-stats { gap:16px; }
  .hero-stat strong { font-size:1.2rem; }
}

/* ── 29. MOBILE NAVIGATION ────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 998;
  background: #0d0d1c;
  border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  transform: translateY(-110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 997;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-nav-overlay.open { opacity:1; pointer-events:all; }

.mobile-nav-inner { padding: 16px 20px 28px; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  color: var(--txt2);
  transition: all var(--trans);
  border: 1px solid transparent;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--txt);
  background: rgba(255,255,255,.05);
  border-color: var(--border);
}

.mobile-nav-link .nav-icon { font-size: 1.2rem; }

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.mobile-nav-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 16px 0;
}

.mob-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background: transparent;
  transition: border-color .2s, background .2s;
}
.mob-btn-login:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.mob-btn-signup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity .2s;
}
.mob-btn-signup:hover { opacity: .9; }

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mobile-nav-bonus {
  background: rgba(255,215,0,.07);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: .85rem;
  color: var(--txt2);
  text-align: center;
  line-height: 1.5;
}

.mobile-nav-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.mobile-nav-cat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--txt2);
  cursor: pointer;
  transition: all var(--trans);
}
.mobile-nav-cat:hover { color:var(--gold); border-color:var(--border-g); }
.mobile-nav-cat .cat-icon { font-size:1.3rem; display:block; margin-bottom:4px; }

/* Burger animation when open */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 30. MOBILE TOUCH IMPROVEMENTS ───────────────────────── */
@media (max-width: 1024px) {

  /* Bigger touch targets */
  .btn { min-height: 44px; }
  .nav-link { padding:10px 16px; }
  .faq-question { padding:20px 22px; }

  /* Game overlay — always visible on touch */
  .game-thumb-overlay {
    opacity: 1;
    background: rgba(0,0,0,.45);
  }

  /* Live games 2 cols */
  .live-games-grid { grid-template-columns: repeat(2, 1fr); }

  /* Steps 2 col */
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  /* Games sidebar hidden on tablet, toggle via JS if needed */
  .games-sidebar { display: none; }
  .games-main .games-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  /* Hero full width */
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 48px; }
  .hero-desc { font-size:.9rem; }

  /* Ticker scroll */
  .ticker-inner { display:flex; overflow-x:auto; scrollbar-width:none; }
  .ticker-inner::-webkit-scrollbar { display:none; }
  .ticker-item { flex-shrink: 0; min-width: 120px; }

  /* Categories 2 col */
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-card { padding: 18px 10px; }
  .category-icon { font-size: 1.8rem; }

  /* Games 2 col */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .games-main .games-grid { grid-template-columns: repeat(2, 1fr); }

  /* Bonus cards stacked */
  .bonus-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  /* Steps 1 col */
  .steps-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .steps-grid::before { display: none; }

  /* VIP 3 col */
  .vip-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .vip-card { padding: 16px 10px; }

  /* Payments 4 col */
  .payments-grid { grid-template-columns: repeat(4, 1fr); }
  .providers-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer 2 col */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Winners table — hide less important cols */
  .winners-table th:nth-child(3),
  .winners-table td:nth-child(3),
  .winners-table th:nth-child(4),
  .winners-table td:nth-child(4) { display: none; }

  /* Auth form full width */
  .auth-container { max-width: 100%; border-radius: var(--radius); }
  .auth-side { padding: 28px 20px; }

  /* Promo banner stack */
  .promo-banner { flex-direction:column; padding:28px 20px; text-align:center; }
  .promo-banner::before { display:none; }
}

@media (max-width: 480px) {
  :root { --header-h: 58px; }

  /* Hero */
  .hero { padding-top: calc(var(--header-h) + 20px); }
  h1 { font-size: 1.8rem; }
  .hero-eyebrow { font-size:.72rem; }
  .hero-actions .btn { width: 100%; justify-content:center; }
  .hero-stats { display:flex; flex-direction:row; gap:0; justify-content:space-between; }
  .hero-stat { flex:1; }
  .hero-stat strong { font-size:.95rem; }
  .hero-stat span { font-size:.58rem; }
  .hero-stat strong { font-size:1.3rem; }

  /* Categories 3 col tight */
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap:8px; }
  .category-card { padding:14px 8px; }
  .category-icon { font-size:1.5rem; margin-bottom:6px; }
  .category-name { font-size:.72rem; }
  .category-count { display:none; }

  /* Games 2 col */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap:8px; }

  /* Ticker 3 items visible */
  .ticker-item { min-width: 100px; padding:14px 12px; }
  .ticker-item strong { font-size:1rem; }

  /* Live casino 1 col */
  .live-games-grid { grid-template-columns: 1fr; }

  /* Steps 1 col */
  .steps-grid { grid-template-columns: 1fr; }
  .step-num { width:52px; height:52px; font-size:1.2rem; }

  /* Features 1 col */
  .features-grid { grid-template-columns: 1fr; }

  /* VIP 2 col */
  .vip-grid { grid-template-columns: repeat(2, 1fr); }

  /* Payments 3 col */
  .payments-grid { grid-template-columns: repeat(3, 1fr); }
  .providers-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer 1 col */
  .footer-top { grid-template-columns: 1fr; }
  .footer-social { justify-content:flex-start; }

  /* Winners table compact */
  .winners-table th:nth-child(5),
  .winners-table td:nth-child(5) { font-size:.78rem; }
  .winners-table th:nth-child(6),
  .winners-table td:nth-child(6) { display:none; }

  /* Bonuses page grid */
  .bonus-page-grid { grid-template-columns: 1fr; }

  /* Auth */
  .auth-side { padding:24px 16px; }
  .auth-form h2 { font-size:1.2rem; }
  .social-auth { flex-direction:column; }
  .social-auth-btn { width:100%; }
  .mobile-nav-actions { grid-template-columns: 1fr; }

  /* Section headers */
  .section-title { font-size:1.3rem; }
  .section { padding:40px 0; }

  /* Filter tabs scroll */
  .filter-tabs { overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; scrollbar-width:none; }
  .filter-tabs::-webkit-scrollbar { display:none; }
  .filter-tab { flex-shrink:0; }
}

/* ── MOBILE BOTTOM BAR ───────────────────────────────────── */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  body { padding-bottom: 80px; }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10,10,20,.97);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    transform: translateY(100%);
    transition: transform .35s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .mobile-bottom-bar.visible {
    transform: translateY(0);
  }
  .mobile-bottom-bar .mbb-login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    letter-spacing: .03em;
  }
  .mobile-bottom-bar .mbb-signup {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
    color: #000;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(255,152,0,.45), 0 2px 8px rgba(0,0,0,.3);
  }
}
}
/* ── Hero hover reveal ── */
.hero-img-hover-wrap {
  position: relative !important;
  cursor: pointer;
  display: block !important;
  width: 100%;
  max-width: 520px;
  height: 480px;
}
.hero-img-before {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  transition: opacity 0.6s ease;
  opacity: 1;
}
.hero-img-after {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  transition: opacity 0.6s ease;
  opacity: 0;
}
.hero-img-hover-wrap:hover .hero-img-before { opacity: 0; }
.hero-img-hover-wrap:hover .hero-img-after  { opacity: 1; }
.hero-hover-btn {
  position: absolute;
  bottom: 10%;
  left: calc(50% - 15px);
  transform: translateX(-50%) scale(0.85);
  background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
  box-shadow: 0 0 24px rgba(255,140,0,.6);
  z-index: 10;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}
.hero-img-hover-wrap:hover .hero-hover-btn {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
/* Hero video */
.hero-video-wrap {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

@media (max-width: 640px) {
  .hero .container { grid-template-columns: 1fr; gap: 0; }
  .hero-visual {
    height: 320px;
    order: 2;
    margin-bottom: 0;
  }
  .hero-visual:has(.hero-img-hover-wrap) {
    order: -1;
    margin-top: calc(-1 * var(--header-h));
  }
  .hero-img { height: 320px; }
}