/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a1510;
  --bg2: #0f1e14;
  --card: #132019;
  --card2: #1a2e1f;
  --gold: #c9a84c;
  --gold2: #e6c76a;
  --gold-btn: linear-gradient(135deg, #c9a84c 0%, #e6c76a 50%, #c9a84c 100%);
  --green-btn: #1b4d2e;
  --text: #ffffff;
  --text-muted: #9ab0a0;
  --border: #2a4030;
  --radius: 12px;
  --radius-lg: 18px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-btn);
  color: #1a1200;
  box-shadow: 0 0 18px rgba(201,168,76,0.35);
}
.btn-gold:hover { box-shadow: 0 0 28px rgba(201,168,76,0.55); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: rgba(201,168,76,0.1); }
.btn-green {
  background: var(--green-btn);
  color: var(--gold);
  border: 1px solid var(--border);
}
.btn-green:hover { background: #246038; }
.btn-lg { padding: 15px 40px; font-size: 15px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 21, 16, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-logo {
  flex-shrink: 0;
}
.header-logo img { height: 38px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}
.header-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--text);
  background: var(--card2);
}

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

/* Mobile burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('header-bg.webp');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,21,16,0.25) 0%, rgba(10,21,16,0.85) 75%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 48px;
}
.hero-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== FEATURE CARDS ===== */
.features {
  padding: 0 20px 48px;
}
.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}
.feature-card:hover {
  background: var(--card2);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.15);
}
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 32px;
}
.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== SECTION HEADERS ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 48px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--gold);
  border-radius: 2px;
}

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  transition: all 0.25s;
  cursor: pointer;
}
.game-card:hover {
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  z-index: 2;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.game-card:hover img { transform: scale(1.07); }
.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 0.25s;
}
.game-card:hover .game-overlay { opacity: 1; }
.game-overlay span {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.game-overlay .btn { width: 100%; padding: 9px; font-size: 12px; }
.game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

/* ===== LIVE WINS TICKER ===== */
.live-wins-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  margin-bottom: 48px;
  overflow: hidden;
}
.live-wins-label {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.live-wins-label span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}

.ticker-outer {
  overflow: hidden;
  width: 100%;
}
.ticker-inner {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ticker 50s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.win-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.win-pill.new-win { border-color: var(--gold); }
.win-pill .win-game { color: var(--text-muted); font-size: 12px; }
.win-pill .win-amount { color: var(--gold2); font-weight: 700; }
.win-pill .win-user { color: rgba(255,255,255,0.6); }

/* ===== APP BANNER ===== */
.app-banner {
  margin: 0 20px 48px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 48px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
}
.app-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
}
.app-banner-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.app-banner-text p { color: var(--text-muted); margin-bottom: 24px; }
.app-banner-icon { font-size: 80px; flex-shrink: 0; }

/* ===== SEO TEXT ===== */
.seo-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 48px;
}
.seo-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
}
.seo-section h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.seo-section p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.75; }
.seo-section ul { color: var(--text-muted); padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.seo-section ul li { margin-bottom: 6px; line-height: 1.75; }

.seo-collapsed { max-height: 180px; overflow: hidden; position: relative; }
.seo-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.seo-subsection { margin-bottom: 4px; }
.seo-faq { margin-top: 28px; }
.seo-faq > h2,
.seo-links > h2 { font-size: 18px; margin-bottom: 14px; }
.seo-links { margin-top: 28px; }
.seo-links__list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin-bottom: 20px; }
.seo-links__list li a {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.seo-links__list li a:hover { border-color: var(--gold); color: var(--gold); background: var(--card2); }
.seo-legal { font-size: 12px; color: var(--text-muted); margin-top: 20px; line-height: 1.7; }
.seo-section__title { color: var(--gold); }
.seo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--gold);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--card);
  transition: all 0.2s;
}
.seo-toggle:hover { background: var(--card2); border-color: var(--gold); }
.seo-toggle svg { transition: transform 0.3s; }
.seo-toggle.expanded svg { transform: rotate(180deg); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.age-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* ===== BOTTOM BAR (MOBILE) ===== */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
}
.bottom-bar .btn { flex: 1; }

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  padding: 48px 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--text-muted); font-size: 16px; max-width: 600px; }

/* ===== BONUS CARDS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}
.bonus-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.12);
}
.bonus-card-header {
  background: linear-gradient(135deg, var(--card2), #0e2318);
  padding: 28px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.bonus-card-header .bonus-icon { font-size: 48px; margin-bottom: 12px; }
.bonus-card-header h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.bonus-amount {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.bonus-card-body { padding: 20px 24px; }
.bonus-card-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.bonus-card-body .btn { width: 100%; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  gap: 16px;
}
.faq-question:hover { background: var(--card2); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card2);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--gold);
  color: #1a1200;
  border-color: var(--gold);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 22px;
}
.faq-answer p { color: var(--text-muted); line-height: 1.75; padding-bottom: 18px; }
.faq-item.open .faq-answer { max-height: 400px; padding-top: 0; }

/* ===== LIVE TABLE ===== */
.live-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.live-table table { width: 100%; border-collapse: collapse; }
.live-table th {
  padding: 14px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-align: left;
  background: var(--card2);
  border-bottom: 1px solid var(--border);
}
.live-table td {
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid rgba(42,64,48,0.5);
}
.live-table tr:last-child td { border-bottom: none; }
.live-table tr:hover td { background: rgba(255,255,255,0.02); }
.win-positive { color: #4caf50; font-weight: 700; }
.win-negative { color: #ef5350; font-weight: 700; }
.game-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card2);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}

/* ===== PROVIDER LOGOS ===== */
.providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.provider-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.provider-badge:hover { border-color: var(--gold); color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    z-index: 999;
  }
  .burger { display: flex; }
  .header-actions .btn { padding: 9px 16px; font-size: 12px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 420px; }
  .hero-content h1 { font-size: 28px; }
  .app-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .app-banner-icon { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .bottom-bar { display: flex; }
  body { padding-bottom: 70px; }
  .bonus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-icon { width: 56px; height: 56px; font-size: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
