:root {
  --gold: #f5c518;
  --gold-light: #ffd740;
  --bg-dark: #0d0e17;
  --bg-card: #161828;
  --bg-nav: rgba(13, 14, 23, 0.95);
  --text: #e8eaf0;
  --text-muted: #8b90a8;
  --accent: #7b5cff;
  --accent2: #ff4f7b;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  background-image: url('background.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 23, 0.82);
  z-index: 0;
  pointer-events: none;
}

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  gap: 16px;
}

.navbar-logo img {
  height: 42px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s, background .2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
}

.navbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(245,197,24,0.5);
  color: var(--gold);
}

.btn-outline:hover { background: rgba(245,197,24,0.1); border-color: var(--gold); }

.btn-primary {
  background: linear-gradient(135deg, #f5c518, #e0a800);
  color: #0d0e17;
}

.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-large {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 10px;
}

.btn-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.btn-green:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── LAYOUT ─── */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  padding: 72px 20px 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 30%, #f5c518 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FEATURES STRIP ─── */
.features-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 0 20px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: transform .2s, border-color .2s;
}

.feature-card:hover { transform: translateY(-3px); border-color: rgba(245,197,24,0.25); }

.feature-icon {
  font-size: 32px;
  margin-bottom: 10px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── SECTION HEADER ─── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title span { color: var(--gold); }

.section-link {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  opacity: .8;
  transition: opacity .2s;
}
.section-link:hover { opacity: 1; }

/* ─── GAMES GRID ─── */
.games-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-decoration: none;
  display: block;
  position: relative;
  group: true;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.game-card:hover img { transform: scale(1.06); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,14,23,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity .2s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-play {
  background: var(--gold);
  color: #0d0e17;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 6px;
  text-align: center;
}

/* ─── BONUS BANNER ─── */
.bonus-banner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.bonus-banner-inner {
  background: linear-gradient(135deg, rgba(123,92,255,0.15) 0%, rgba(245,197,24,0.08) 100%);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.bonus-banner-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}

.bonus-banner-text h2 .highlight {
  background: linear-gradient(135deg, #f5c518, #ff4f7b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonus-banner-text p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
}

.bonus-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── PROMO CARDS ─── */
.promo-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, border-color .2s;
}

.promo-card:hover { transform: translateY(-3px); border-color: rgba(245,197,24,0.3); }

.promo-tag {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.2);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.promo-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.promo-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── INFO TEXT ─── */
.info-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 44px;
}

.info-box h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.info-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin: 24px 0 10px;
}

.info-box p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.info-box ul {
  margin: 8px 0 10px 20px;
}

.info-box li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  background: rgba(13,14,23,0.9);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  text-align: center;
}

.footer-logo img { height: 38px; margin-bottom: 16px; }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-disclaimer {
  font-size: 12px;
  color: rgba(139,144,168,0.6);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── PAGE INNER ─── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 56px 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #f5c518);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── TABS ─── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.tab-btn:hover, .tab-btn.active {
  background: rgba(245,197,24,0.1);
  border-color: rgba(245,197,24,0.4);
  color: var(--gold);
}

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .2s;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  font-size: 20px;
  line-height: 1;
  transition: transform .3s;
  flex-shrink: 0;
  color: var(--gold);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  margin-top: -1px;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--gold); }

/* ─── LIVE TABLE ─── */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .2s, border-color .2s;
}

.live-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,197,24,0.4);
}

.live-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.live-card-body { padding: 14px 16px; }

.live-badge {
  display: inline-block;
  background: rgba(255,79,123,0.15);
  border: 1px solid rgba(255,79,123,0.35);
  color: #ff4f7b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.live-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.live-card-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── BONUS PAGE ─── */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}

.bonus-card:hover { transform: translateY(-4px); border-color: rgba(245,197,24,0.3); }

.bonus-card-head {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
}

.bonus-amount {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #f5c518, #ff4f7b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.bonus-card-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.bonus-card-head p {
  font-size: 13px;
  color: var(--text-muted);
}

.bonus-card-body { padding: 20px 24px; }

.bonus-terms {
  list-style: none;
  margin-bottom: 20px;
}

.bonus-terms li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bonus-terms li:last-child { border-bottom: none; }

.bonus-terms strong { color: var(--text); }

/* ─── MOBILE NAV ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(13,14,23,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 8px;
  backdrop-filter: blur(14px);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  width: 100%;
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all .2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
  border-color: rgba(245,197,24,0.3);
  background: rgba(245,197,24,0.06);
}

.mobile-menu .btn { width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }
  .bonus-banner-inner { padding: 28px 20px; }
  .info-box { padding: 28px 20px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
