/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #f0c040;
  --gold2:   #e8a800;
  --dark:    #0a0d14;
  --dark2:   #10141f;
  --dark3:   #161b2e;
  --card:    #1a2035;
  --card2:   #212840;
  --border:  #2a3050;
  --text:    #e8eaf0;
  --muted:   #8892aa;
  --green:   #22c55e;
  --red:     #ef4444;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== WINS TICKER ===== */
#wins-ticker {
  background: var(--dark3);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}
#wins-ticker::before,
#wins-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
#wins-ticker::before { left: 0; background: linear-gradient(90deg, var(--dark3), transparent); }
#wins-ticker::after  { right: 0; background: linear-gradient(270deg, var(--dark3), transparent); }

.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.ticker-item .name { color: var(--text); font-weight: 600; }
.ticker-item .amount { color: var(--gold); font-weight: 700; }
.ticker-item .game { color: var(--muted); }
.ticker-dot { color: var(--gold); font-size: 10px; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,13,20,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  flex-shrink: 0;
}
.logo img { height: 46px; width: auto; }

nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}
nav a:hover,
nav a.active {
  color: var(--text);
  background: var(--card);
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: #000;
  box-shadow: 0 4px 16px rgba(240,192,64,.3);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240,192,64,.45);
}
.btn-gold:active { transform: translateY(0); }

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 10px;
}

.btn-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,197,94,.3);
}
.btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,197,94,.45);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('background.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(.45) saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,13,20,.85) 40%, rgba(240,192,64,.08) 100%);
}
.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}
.hero-text { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,192,64,.12);
  border: 1px solid rgba(240,192,64,.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero h1 span { color: var(--gold); }

.bonus-block {
  background: rgba(26,32,53,.8);
  border: 1px solid rgba(240,192,64,.25);
  border-radius: 14px;
  padding: 20px 28px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.bonus-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.bonus-sep {
  font-size: 36px;
  font-weight: 300;
  color: var(--muted);
}
.bonus-fs {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.bonus-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== SUPPORT BADGE ===== */
.support-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.support-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.support-text strong { display: block; font-weight: 700; }
.support-text span { font-size: 12px; color: var(--muted); }
.support-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ===== SECTION ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 22px;
  background: var(--gold);
  border-radius: 2px;
}
.section-link {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  transition: opacity .2s;
}
.section-link:hover { opacity: .75; }

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active,
.tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(240,192,64,.08);
}

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
  border-color: var(--gold);
}
.game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: filter .25s;
}
.game-card:hover img { filter: brightness(.4); }
.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  gap: 8px;
}
.game-card:hover .game-overlay { opacity: 1; }
.play-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 8px;
  transition: transform .2s;
}
.play-btn:hover { transform: scale(1.05); }
.game-info {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-hot {
  font-size: 10px;
  background: rgba(240,192,64,.15);
  color: var(--gold);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(135deg, #1a2035 0%, #212840 50%, #1a2035 100%);
  border: 1px solid rgba(240,192,64,.2);
  border-radius: 18px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(240,192,64,.08) 0%, transparent 70%);
  pointer-events: none;
}
.promo-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.promo-text h2 span { color: var(--gold); }
.promo-text p { color: var(--muted); font-size: 15px; max-width: 500px; }
.promo-nums {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.promo-stat {
  text-align: center;
}
.promo-stat strong { display: block; font-size: 32px; font-weight: 900; color: var(--gold); }
.promo-stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }

/* ===== INFO SECTION ===== */
.info-section {
  background: var(--dark2);
  border-top: 1px solid var(--border);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.info-card:hover { border-color: rgba(240,192,64,.3); }
.info-icon {
  width: 52px; height: 52px;
  background: rgba(240,192,64,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--muted); }
.age-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 16px; }

/* ===== BONUS CARDS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.bonus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240,192,64,.4);
}
.bonus-card-top {
  padding: 28px;
  background: linear-gradient(135deg, var(--card2), var(--card));
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.bonus-card-top .big { font-size: 42px; font-weight: 900; color: var(--gold); }
.bonus-card-top .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.bonus-card-body { padding: 20px 24px; }
.bonus-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.bonus-card-body ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.bonus-card-body li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.bonus-card-body li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--card2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }

/* ===== LIVE TABLES ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.live-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, border-color .25s;
}
.live-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.live-thumb {
  position: relative;
  background: var(--dark3);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  overflow: hidden;
}
.live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .25s;
}
.live-card:hover .live-thumb img { filter: brightness(.5); }
.live-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
}
.live-players {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,.7);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex; align-items: center; gap: 4px;
}
.live-play-overlay {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.live-card:hover .live-play-overlay { opacity: 1; }
.live-info { padding: 12px; }
.live-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.live-info span { font-size: 12px; color: var(--muted); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 24px; font-weight: 800; color: var(--gold); }
.stat-item span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-content { flex-direction: column; }
  .promo-banner { flex-direction: column; text-align: center; }
  .promo-nums { justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  nav { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .bonus-block { flex-direction: column; gap: 8px; text-align: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .support-badge { display: none; }
}
