:root {
  --bg: #080a11;
  --bg-2: #0e121d;
  --bg-3: #141926;
  --border: #1f2738;
  --cyan: #00f0ff;
  --purple: #8a2be2;
  --purple-2: #a855f7;
  --gold: #ffd166;
  --gold-2: #ffb703;
  --text: #ffffff;
  --muted: #94a3b8;
  --ok: #22c55e;
  --danger: #ef4444;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-btn: 10px;
  --header-h: 64px;
  --bottom-h: 56px;
  --shadow-cyan: 0 0 20px rgba(0, 240, 255, 0.25);
  --font: Inter, Montserrat, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-h) + 12px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7af7ff; }
button, input, select { font: inherit; }
ul { padding-left: 1.1rem; }

.container { width: min(1200px, calc(100% - 24px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 10, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid var(--cyan);
  box-shadow: var(--shadow-cyan);
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-weight: 800;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--bg-2);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.search-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}
.search-wrap input {
  width: 100%;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  padding: 0 14px 0 40px;
  outline: none;
}
.search-wrap input:focus { border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}
.header-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.chip {
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-outline:hover { box-shadow: var(--shadow-cyan); color: #fff; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #00b8d4 40%, var(--purple-2));
  color: #041018;
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover { box-shadow: 0 0 28px rgba(0, 240, 255, 0.4); color: #041018; }
.btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: var(--border);
  color: var(--text);
}
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  margin: 16px auto 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
  min-height: 190px;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  max-width: 560px;
  background: linear-gradient(90deg, rgba(8,10,17,.92) 0%, rgba(8,10,17,.72) 55%, rgba(8,10,17,.15) 100%);
}
.micro-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(138, 43, 226, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero-offer {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.8vw, 1.75rem);
  color: var(--gold);
  font-weight: 800;
}
.hero-terms { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.hero-lead { margin: 0 0 14px; color: #cbd5e1; font-size: .95rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .link-secondary { color: var(--muted); font-size: .9rem; border-bottom: 1px dashed var(--border); }
.hero-cta .link-secondary:hover { color: var(--cyan); }

/* Sections */
.section { margin: 28px auto; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: -0.02em;
}
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

/* Categories */
.cat-scroll, .prov-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cat-scroll::-webkit-scrollbar, .prov-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.cat-pill.is-active, .cat-pill:hover {
  color: #041018;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}
.provider {
  flex: 0 0 auto;
  min-width: 120px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 0 12px;
  text-align: center;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.game-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  aspect-ratio: 3 / 4;
  transition: transform .18s ease, box-shadow .18s ease;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card:hover { transform: scale(1.03); box-shadow: var(--shadow-cyan); z-index: 2; }
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .18s ease;
  padding: 10px;
}
.game-card:hover .game-overlay,
.game-card:focus-within .game-overlay { opacity: 1; }
.game-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
}
.game-overlay .btn { min-height: 40px; width: 100%; max-width: 140px; font-size: .85rem; }

/* Jackpot / live wins */
.widgets {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.jackpot-card, .live-wins {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #141926, #0e121d 60%, #101528);
  padding: 16px;
}
.jackpot-label { color: var(--muted); font-size: .85rem; margin: 0 0 4px; }
.jackpot-value {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-shadow: 0 0 18px rgba(255, 209, 102, 0.35);
}
.wins-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.wins-row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.win-item {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  font-size: .85rem;
}
.win-item strong { color: var(--gold); }

/* Promo grid */
.promo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.promo-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 160px;
  background: var(--bg-2);
}
.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 160px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(8,10,17,.2), rgba(8,10,17,.88));
}
.promo-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.promo-body p { margin: 0 0 12px; color: #cbd5e1; font-size: .9rem; }

/* Payments */
.pay-rail {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  padding: 16px;
}
.pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.pay-logo {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.pay-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  color: var(--muted);
  font-size: .88rem;
}
.pay-stats strong { color: var(--text); display: block; }

/* Mobile promo */
.mobile-promo {
  display: grid;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  padding: 16px;
  overflow: hidden;
}
.mobile-promo img {
  width: min(280px, 100%);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}
.mobile-promo .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* SEO content */
.seo-layer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.seo-layer h2 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.seo-layer h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
  color: #e2e8f0;
}
.seo-layer p, .seo-layer li { color: #cbd5e1; }
.seo-table-wrap { overflow-x: auto; margin: 14px 0 8px; }
table.seo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
table.seo-table th, table.seo-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: .92rem;
}
table.seo-table th { background: var(--bg-3); color: var(--cyan); width: 38%; }

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
  margin-bottom: 8px;
  padding: 12px 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 28px 0 20px;
  border-top: 1px solid var(--border);
  background: #06080f;
  color: var(--muted);
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: #cbd5e1; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-weight: 800;
}
.regulator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
}
.regulator-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold), #8a5a00);
}

/* Mobile bottom bar */
.bottom-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  height: var(--bottom-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(8,10,17,.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  min-height: 48px;
}
.bottom-bar a svg { width: 20px; height: 20px; }
.bottom-bar a:hover, .bottom-bar a.is-active { color: var(--cyan); }

/* Inner pages */
.page-hero {
  margin: 18px auto 20px;
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 200px at 90% 10%, rgba(0,240,255,.12), transparent),
    radial-gradient(500px 180px at 10% 80%, rgba(168,85,247,.12), transparent),
    var(--bg-2);
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 60ch; }

.auth-card, .bonus-card, .feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  padding: 18px;
}
.form-grid { display: grid; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; color: var(--muted); }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}
.field input:focus, .field select:focus { border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.bonus-picker {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}
.bonus-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  background: var(--bg-3);
}
.bonus-option.is-selected {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}
.bonus-option strong { display: block; margin-bottom: 4px; }
.bonus-option span { color: var(--muted); font-size: .88rem; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.steps { display: grid; gap: 10px; counter-reset: step; }
.step {
  position: relative;
  padding: 12px 12px 12px 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,240,255,.12);
  color: var(--cyan);
  font-weight: 800;
}
.bonus-list {
  display: grid;
  gap: 14px;
}
.bonus-card h2 { margin: 0 0 8px; font-size: 1.2rem; }
.bonus-card .meta { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.promo-activate {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}
.security-row {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.security-row img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
}
.phone-visual {
  width: min(320px, 100%);
  margin: 0 auto 16px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border);
}
.req-list { columns: 1; gap: 24px; }
.show-more { margin: 16px auto 0; display: flex; justify-content: center; }

@media (min-width: 640px) {
  body { padding-bottom: 0; }
  .bottom-bar { display: none; }
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .widgets { grid-template-columns: 1.1fr 1.4fr; }
  .pay-stats { grid-template-columns: repeat(4, 1fr); }
  .mobile-promo { grid-template-columns: 220px 1fr; }
  .bonus-picker { grid-template-columns: 1fr 1fr; }
  .promo-activate { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .req-list { columns: 2; }
  .hero { min-height: 320px; }
  .status-badge { display: inline-flex; }
}

@media (max-width: 639px) {
  .header-meta, .search-wrap { display: none; }
  .status-badge span.label { display: none; }
  .hero { aspect-ratio: auto; height: 210px; }
  .hero-overlay { max-width: none; padding: 16px; background: linear-gradient(90deg, rgba(8,10,17,.88), rgba(8,10,17,.35)); }
  .hero-cta .btn { width: 100%; }
  .logo-text { font-size: .95rem; }
}

@media (min-width: 960px) {
  .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .games-grid.secondary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .auth-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
  .security-row { grid-template-columns: 96px 1fr; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
