/* ======== RESET & BASE ======== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #f5b83d;
  --gold-dark: #c9900d;
  --gold-light: #ffe07a;
  --bg: #08080f;
  --bg2: #10101a;
  --bg3: #181828;
  --bg4: #1e1e32;
  --card: #13131f;
  --border: rgba(245,184,61,0.18);
  --text: #e8e8f0;
  --text2: #a0a0b8;
  --red: #e03c3c;
  --green: #26c97a;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ======== WINS TICKER ======== */
.wins-ticker {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.wins-ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}

.wins-ticker-inner:hover { animation-play-state: paused; }

.wins-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
  font-size: 13px;
  color: var(--text2);
  flex-shrink: 0;
}

.wins-ticker-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.wins-ticker-item .player { color: var(--gold); font-weight: 600; }
.wins-ticker-item .amount { color: var(--green); font-weight: 700; }
.wins-ticker-item .game { color: var(--text); }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======== HEADER ======== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(8,8,15,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
}

.site-header .logo {
  flex-shrink: 0;
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover, .site-nav a.active {
  color: var(--gold);
  background: rgba(245,184,61,0.08);
}

.site-nav a.active { font-weight: 600; }

.header-spacer { flex: 1; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: rgba(245,184,61,0.12);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .burger-btn { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 2px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 190;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { width: 100%; padding: 12px 16px; font-size: 15px; }
  .header-spacer { display: none; }
}

/* ======== HERO SLIDER ======== */
.hero {
  position: relative;
  height: clamp(340px, 55vw, 680px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,8,15,0.85) 0%,
    rgba(8,8,15,0.45) 50%,
    rgba(8,8,15,0.1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 60px;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,184,61,0.15);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text2);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.hero-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .hero-content { padding: 0 24px; }
}

/* ======== SECTION LAYOUT ======== */
.section {
  padding: 64px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
}

.section-title span { color: var(--gold); }

.section-subtitle {
  font-size: 14px;
  color: var(--text2);
  margin-top: 6px;
}

.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  flex-shrink: 0;
}
.see-all:hover { gap: 8px; }

/* ======== GAMES GRID ======== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

@media (min-width: 1024px) {
  .games-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--card);
  cursor: pointer;
  group: true;
}

.game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.game-card:hover img { transform: scale(1.06); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.game-card-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background var(--transition);
}

.game-card-play:hover { background: var(--gold-light); }

/* ======== HOT BADGE ======== */
.badge-hot {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
}

.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--green);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
}

/* ======== PROMO CARDS ======== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.promo-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.promo-card-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.promo-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.promo-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.promo-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
}

.promo-card-body .btn-primary { margin-top: 12px; align-self: flex-start; }

/* ======== STATS BAR ======== */
.stats-bar {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
}

/* ======== LIVE SECTION ======== */
.live-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}

.live-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.live-card-body {
  padding: 16px;
}

.live-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.live-card-meta {
  font-size: 12px;
  color: var(--text2);
  display: flex;
  gap: 12px;
}

.live-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ======== BONUS PAGE ======== */
.bonus-hero {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}

.bonus-hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.bonus-hero-title span { color: var(--gold); }

.bonus-hero-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}

.bonus-card:hover { border-color: var(--gold); }

.bonus-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(245,184,61,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bonus-card-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.bonus-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.bonus-card-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
}

.bonus-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(245,184,61,0.1);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ======== FAQ PAGE ======== */
.faq-hero {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }

.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), color var(--transition);
  font-size: 12px;
  color: var(--text2);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ======== PAGE HERO (shared) ======== */
.page-hero {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
}

.page-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.page-hero-title span { color: var(--gold); }

.page-hero-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 560px;
}

/* ======== FILTER BAR ======== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ======== FOOTER ======== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-logo { height: 36px; width: auto; margin-bottom: 16px; }

.footer-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text2);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text2);
}

.footer-age {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--text2);
  opacity: 0.6;
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ======== PAGE TRANSITIONS ======== */
.page-content {
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======== SCROLL TOP ======== */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
  font-weight: 900;
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#scrollTop:hover { transform: translateY(-3px); }

/* ======== UTILS ======== */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-muted { color: var(--text2); }
.fw-900 { font-weight: 900; }

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

@media (min-width: 1024px) {
  .live-grid { grid-template-columns: repeat(4, 1fr); }
}
