:root {
  --bg-dark: #0d0d14;
  --bg-card: #16161f;
  --bg-card2: #1c1c28;
  --accent: #c8a95b;
  --accent2: #e84393;
  --accent-glow: rgba(200,169,91,0.25);
  --accent2-glow: rgba(232,67,147,0.25);
  --text: #f0eef8;
  --text-muted: #8b8aa0;
  --border: rgba(255,255,255,0.07);
  --radius: 14px;
  --radius-sm: 8px;
  --font: 'Nunito', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── HEADER ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,20,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo img { height: 38px; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav a:hover, .nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav a.active { color: var(--accent); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}

.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(135deg, #e84393 0%, #c0306e 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,67,147,0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #d4a843 0%, #f0cc6a 50%, #c8921f 100%);
  color: #1a1208;
  box-shadow: 0 4px 20px rgba(200,169,91,0.4);
}

.btn-lg {
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 10px;
}

/* ─── WINS TICKER ─── */
.wins-ticker {
  background: linear-gradient(90deg, rgba(200,169,91,0.1), rgba(232,67,147,0.08), rgba(200,169,91,0.1));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 38px;
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  animation: ticker-scroll 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.ticker-item .win-amount {
  color: var(--accent);
  font-weight: 800;
}

.ticker-item .win-name { color: var(--text); }

.ticker-dot {
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('header-bg.webp');
  background-size: cover;
  background-position: center top;
  filter: brightness(.45) saturate(1.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,20,0.1) 0%, rgba(13,13,20,0.6) 60%, rgba(13,13,20,1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,91,0.15);
  border: 1px solid rgba(200,169,91,0.3);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  max-width: 640px;
}

.hero h1 span {
  background: linear-gradient(135deg, #d4a843, #f0cc6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── FEATURES STRIP ─── */
.features-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: border-color .2s, transform .2s;
  cursor: default;
}

.feature-card:hover {
  border-color: rgba(200,169,91,0.3);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 32px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── SECTION ─── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  margin-bottom: 6px;
}

.section-title span {
  background: linear-gradient(135deg, #d4a843, #f0cc6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ─── GAME GRID ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 2;
}

.game-card-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--bg-card2), #0d0d18);
  position: relative;
  overflow: hidden;
}

.game-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.game-card:hover .game-card-img img {
  transform: scale(1.06);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,20,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-info {
  padding: 10px 12px;
  background: var(--bg-card);
}

.game-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-provider {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── BONUS CARDS ─── */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.bonus-card:hover {
  border-color: rgba(200,169,91,0.3);
  transform: translateY(-3px);
}

.bonus-card-header {
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, var(--bg-card2), #14141d);
  position: relative;
  overflow: hidden;
}

.bonus-card-header::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(200,169,91,0.2), transparent 70%);
}

.bonus-icon { font-size: 42px; margin-bottom: 12px; }

.bonus-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.bonus-amount {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4a843, #f0cc6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 6px;
}

.bonus-card-body { padding: 20px 24px; }

.bonus-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ─── LIVE TABLE ─── */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
  cursor: pointer;
}

.live-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,67,147,0.35);
}

.live-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1025, #0d0d14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
}

.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #e84393;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.live-players {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-card-info { padding: 12px 14px; }

.live-card-name {
  font-size: 14px;
  font-weight: 700;
}

.live-card-limits {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: background .2s;
}

.faq-question:hover { background: rgba(255,255,255,0.03); }

.faq-arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform .25s, border-color .2s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer { max-height: 400px; }

/* ─── WINS LIVE PANEL ─── */
.wins-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.wins-panel-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.wins-panel-title {
  font-size: 15px;
  font-weight: 800;
}

.live-dot {
  width: 8px; height: 8px;
  background: #e84393;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232,67,147,0.5); }
  50% { opacity: .7; box-shadow: 0 0 0 6px rgba(232,67,147,0); }
}

.wins-list {
  max-height: 380px;
  overflow-y: auto;
}

.wins-list::-webkit-scrollbar { width: 4px; }
.wins-list::-webkit-scrollbar-track { background: transparent; }
.wins-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.win-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.win-row:last-child { border-bottom: none; }

.win-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a1a3e, #1a0d2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1.5px solid rgba(200,169,91,0.2);
}

.win-info { flex: 1; min-width: 0; }

.win-user {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-game {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.win-sum {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.win-sum.big { color: #4ade80; }

/* ─── SEO TEXT ─── */
.seo-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.seo-section h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--accent);
}

.seo-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.seo-section ol {
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img { height: 34px; margin-bottom: 16px; }

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color .2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-age {
  width: 34px; height: 34px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, #1a1028 0%, #0d0d14 60%);
  border-bottom: 1px solid var(--border);
  padding: 50px 20px 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── TABS ─── */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.tab-btn.active {
  background: linear-gradient(135deg, rgba(200,169,91,0.15), rgba(200,169,91,0.05));
  border-color: rgba(200,169,91,0.4);
  color: var(--accent);
}

/* ─── STATS STRIP ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #d4a843, #f0cc6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .seo-block { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .header-inner { gap: 16px; }
  .nav { display: none; }
  .features-strip { margin-top: -20px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(13,13,20,0.98);
  border-top: 1px solid var(--border);
  z-index: 200;
  padding: 0;
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  transition: color .2s;
}

.mobile-nav-item:hover, .mobile-nav-item.active { color: var(--accent); }
.mobile-nav-item span { font-size: 20px; }

@media (max-width: 680px) {
  .mobile-nav { display: block; }
  body { padding-bottom: 64px; }
}

/* ─── SEO ARTICLE ─── */
.seo-article { max-width: 1200px; margin: 0 auto; }

.seo-faq {
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 0 20px 48px;
}

.seo-faq__title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  margin-bottom: 24px;
}

.seo-faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.seo-faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color .2s;
}

.seo-faq__item:hover { border-color: rgba(200,169,91,0.3); }

.seo-faq__question {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.seo-faq__answer {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

.seo-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.seo-links__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 12px;
  margin-bottom: 14px;
}

.seo-links__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-links__list a {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

.seo-links__list a:hover {
  color: var(--accent);
  border-color: rgba(200,169,91,0.35);
}

.seo-section a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(200,169,91,0.4);
  text-underline-offset: 3px;
  transition: color .2s;
}

.seo-section a:hover { color: #f0cc6a; }

@media (max-width: 680px) {
  .seo-faq__list { grid-template-columns: 1fr; }
}

/* ─── PROVIDER LOGOS ─── */
.providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
}

.provider-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: .04em;
  transition: border-color .2s, color .2s;
}

.provider-chip:hover {
  border-color: rgba(200,169,91,0.3);
  color: var(--accent);
}
