/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #f0b429;
  --gold2:   #ffd97d;
  --red:     #e02020;
  --dark:    #0a0a0f;
  --dark2:   #111118;
  --dark3:   #181825;
  --dark4:   #1e1e2e;
  --card:    #1a1a28;
  --border:  rgba(240,180,41,.18);
  --text:    #e8e8f0;
  --muted:   #8888aa;
  --radius:  12px;
  --shadow:  0 8px 32px rgba(0,0,0,.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* ===== TICKER (WINNERS FEED) ===== */
#winners-ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0a0a0f 0%, #1a0a00 40%, #0a0a0f 100%);
  border-bottom: 1px solid var(--border);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  font-size: 12px;
  color: var(--text);
}

.ticker-item .winner-name { color: var(--gold); font-weight: 700; }
.ticker-item .winner-game { color: var(--muted); }
.ticker-item .winner-amount { color: #4ade80; font-weight: 700; }
.ticker-item .ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 36px;
  z-index: 900;
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, background .2s;
  letter-spacing: .3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(240,180,41,.08);
}

.nav-spacer { flex: 1; }

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #e09000 100%);
  color: #0a0a0f;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .4px;
  transition: transform .15s, box-shadow .15s, filter .15s;
  box-shadow: 0 4px 20px rgba(240,180,41,.35);
  white-space: nowrap;
}

.btn-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(240,180,41,.5);
  filter: brightness(1.08);
}

.btn-play-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, color .2s;
}

.btn-play-outline:hover {
  background: rgba(240,180,41,.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  margin-top: 0;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,.3) 0%,
    rgba(10,10,15,.15) 40%,
    rgba(10,10,15,.75) 80%,
    rgba(10,10,15,1) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,180,41,.15);
  border: 1px solid rgba(240,180,41,.4);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,.8);
}

.hero-title span { color: var(--gold); }

.hero-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(232,232,240,.75);
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===== SECTION LAYOUT ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
}

.section-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: .2px;
}

.section-title span { color: var(--gold); }

.section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  opacity: .85;
  transition: opacity .2s;
  white-space: nowrap;
}
.section-link:hover { opacity: 1; }

/* ===== GAME CARDS ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  aspect-ratio: 1 / 1.1;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,.7), 0 0 0 1.5px var(--gold);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.game-card:hover img { transform: scale(1.06); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity .25s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.game-card-btn {
  display: block;
  width: 100%;
  padding: 7px;
  border-radius: 7px;
  background: var(--gold);
  color: #0a0a0f;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: filter .15s;
}
.game-card-btn:hover { filter: brightness(1.1); }

/* ===== PROMO BANNERS ===== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.promo-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 200px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.promo-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.promo-card-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.7) 0%, transparent 65%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.promo-card-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.promo-card-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.2;
}

/* ===== 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: 24px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item {}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
}

/* ===== LIVE WINS PANEL ===== */
.live-wins {
  background: var(--dark3);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

.live-wins-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse-live 1.5s ease infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

.live-wins-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.wins-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.win-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--dark4);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.04);
  animation: win-fadein .4s ease;
}

@keyframes win-fadein {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.win-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e09000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0f;
  flex-shrink: 0;
}

.win-info { flex: 1; min-width: 0; }

.win-player {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.win-game {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-amount {
  font-size: 15px;
  font-weight: 900;
  color: #4ade80;
  white-space: nowrap;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  border-bottom: 1px solid var(--border);
  padding: 52px 20px 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
}

.page-hero h1 span { color: var(--gold); }

.page-hero p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: var(--dark3);
  color: var(--muted);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s;
}

.filter-tab:hover { color: var(--text); border-color: var(--border); }

.filter-tab.active {
  background: rgba(240,180,41,.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== BONUSES PAGE ===== */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.bonus-card {
  background: var(--dark3);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}

.bonus-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.bonus-card-body {
  padding: 24px;
}

.bonus-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(240,180,41,.15);
  color: var(--gold);
  margin-bottom: 10px;
}

.bonus-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.bonus-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.bonus-highlight {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ===== FAQ PAGE ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open { border-color: rgba(240,180,41,.4); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  user-select: none;
}

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ===== LIVE PAGE ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.live-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.live-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 0 1.5px rgba(224,32,32,.5);
}

.live-card-thumb {
  position: relative;
  height: 150px;
  background: var(--dark4);
  overflow: hidden;
}

.live-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: .8px;
}

.live-players {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-card-info {
  padding: 14px 16px;
}

.live-card-name {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.live-card-provider {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img { height: 40px; margin-bottom: 14px; }

.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-badge {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.age-badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disclaimer {
  background: var(--dark3);
  padding: 16px 20px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
}

.mobile-nav-inner {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 280px;
  background: var(--dark2);
  border-left: 1px solid var(--border);
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  transition: background .2s, color .2s;
}

.mobile-nav a:hover { background: var(--dark3); color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero { min-height: 400px; }
  .hero-slides, .hero-slide { min-height: 400px; }
  .hero-content { bottom: 40px; }
}

/* ===== UTILS ===== */
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.skeleton {
  background: linear-gradient(90deg, var(--dark3) 25%, var(--dark4) 50%, var(--dark3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
