/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #121216;
  --bg2:       #1c1c22;
  --bg3:       #252530;
  --card:      #1e1e28;
  --gold:      #f5a623;
  --gold-lt:   #fbbf5c;
  --gold-dk:   #c97e0e;
  --green:     #22c55e;
  --red:       #ef4444;
  --text:      #f0f0f5;
  --muted:     #8888a0;
  --border:    rgba(245,166,35,0.18);
  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --trans:     0.22s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); border-radius: 3px; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,18,22,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo img { height: 42px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--trans), background var(--trans);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  background: rgba(245,166,35,0.1);
}
.nav-menu a.active { font-weight: 600; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #000 !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  transition: filter var(--trans), transform var(--trans) !important;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); background: unset; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: var(--trans); }

/* ===== MARQUEE / PROMO STRIP ===== */
.promo-strip {
  background: linear-gradient(90deg, #1c1507, #2a1e06, #1c1507);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0;
}
.promo-strip-inner {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding: 10px 0;
}
.promo-strip-inner:hover { animation-play-state: paused; }
.promo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 36px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.promo-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-lt); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== HERO BANNER ===== */
.hero {
  max-width: 1280px;
  margin: 30px auto 0;
  padding: 0 20px;
}
.hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a0e00 0%, #2d1a00 50%, #1a0e00 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 50px;
  max-width: 560px;
}
.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 1.05rem;
  color: #ddd;
  margin-bottom: 28px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 10px;
  transition: filter var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,0.55); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 10px;
  transition: background var(--trans), color var(--trans);
}
.btn-secondary:hover { background: var(--gold); color: #000; }

/* ===== STATS ROW ===== */
.stats-row {
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  transition: border-color var(--trans);
}
.stat-card:hover { border-color: var(--gold); }
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ===== SECTION ===== */
.section {
  max-width: 1280px;
  margin: 44px auto 0;
  padding: 0 20px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title .icon { color: var(--gold); font-size: 1.2rem; }
.view-all {
  font-size: 0.82rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--trans);
}
.view-all:hover { gap: 8px; }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
  border: 1px solid transparent;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  border-color: var(--gold);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover img { transform: scale(1.06); }
.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--trans);
}
.game-card:hover .game-overlay { opacity: 1; }
.game-name { font-size: 0.78rem; font-weight: 700; color: #fff; line-height: 1.2; }
.game-provider { font-size: 0.68rem; color: var(--muted); margin-top: 2px; }
.play-btn {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 6px;
  margin-top: 8px;
  transition: filter var(--trans);
}
.play-btn:hover { filter: brightness(1.15); }
.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.game-badge.hot { background: #ef4444; color: #fff; }
.game-badge.new { background: var(--green); color: #fff; }

/* ===== LIVE WINS PANEL ===== */
.wins-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.wins-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(245,166,35,0.05);
}
.wins-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
.live-dot {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.85); } }
.wins-toggle {
  font-size: 0.78rem;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wins-list {
  max-height: 360px;
  overflow: hidden;
  position: relative;
}
.wins-list.expanded { max-height: none; }
.wins-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--card));
  pointer-events: none;
}
.wins-list.expanded::after { display: none; }
.win-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--trans);
  animation: slideInWin 0.4s ease forwards;
}
.win-item:hover { background: rgba(245,166,35,0.05); }
@keyframes slideInWin {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}
.win-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}
.win-info { flex: 1; min-width: 0; }
.win-user { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.win-game { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-amount { font-size: 0.95rem; font-weight: 800; color: var(--green); flex-shrink: 0; }
.win-time { font-size: 0.68rem; color: var(--muted); flex-shrink: 0; }

/* ===== BONUSES PAGE ===== */
.bonuses-grid {
  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-lg);
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.bonus-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(245,166,35,0.2);
}
.bonus-top {
  background: linear-gradient(135deg, #2a1e06, #1a0e00);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bonus-top::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.25), transparent 70%);
}
.bonus-icon { font-size: 2.8rem; margin-bottom: 12px; }
.bonus-amount { font-size: 2rem; font-weight: 900; color: var(--gold); }
.bonus-desc { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.bonus-body { padding: 20px 24px; }
.bonus-features { list-style: none; margin-bottom: 20px; }
.bonus-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--muted);
  padding: 5px 0;
}
.bonus-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ===== LIVE PAGE ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.live-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform var(--trans), border-color var(--trans);
}
.live-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.live-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.live-card-img img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-card-body { padding: 14px 16px; }
.live-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.live-limit { font-size: 0.75rem; color: var(--muted); }
.live-players { font-size: 0.72rem; color: var(--green); margin-top: 4px; }

/* ===== SEO TEXT SECTION ===== */
.seo-section {
  max-width: 1280px;
  margin: 60px auto 0;
  padding: 0 20px;
}
.seo-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}
.seo-block h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; color: var(--text); }
.seo-block h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 10px; color: var(--gold); }
.seo-block p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.seo-block ul, .seo-block ol { padding-left: 18px; margin-bottom: 12px; }
.seo-block li { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 5px; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.82rem; color: var(--muted); transition: color var(--trans); }
.footer-col a:hover { color: var(--gold); }
.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-copy { font-size: 0.75rem; color: var(--muted); }
.footer-age {
  background: var(--border);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #1a0e00 0%, #200d05 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; margin-bottom: 10px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 0.95rem; color: var(--muted); max-width: 540px; margin: 0 auto 24px; }

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-tab {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.filter-tab:hover,
.filter-tab.active {
  background: rgba(245,166,35,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== FAQ ===== */
.seo-faq { margin-top: 32px; }
.seo-faq-title { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-question { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.faq-answer { font-size: 0.84rem; color: var(--muted); line-height: 1.72; }

/* ===== INTERNAL LINKS ===== */
.seo-links { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.seo-links-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.seo-links-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.seo-links-list a {
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--trans);
}
.seo-links-list a:hover { color: var(--gold-lt); }

/* ===== TWO-COL LAYOUT ===== */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .two-col-layout { grid-template-columns: 1fr; }
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(18,18,22,0.98); padding: 16px 20px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .hero-content { padding: 28px 24px; }
  .seo-block { padding: 28px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .live-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .bonuses-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
