:root {
  --bg: #09090f;
  --bg2: #0f1020;
  --bg3: #141828;
  --gold: #c9a030;
  --gold-l: #e8c050;
  --gold-d: #9a7720;
  --red: #e6394a;
  --green: #2ed573;
  --text: #e8e8f0;
  --text2: #7878a0;
  --border: rgba(201,160,48,.14);
  --border2: rgba(201,160,48,.36);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-d); border-radius: 3px; }

/* ── Container ─────────────────────────────── */
.container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 26px; border-radius: 7px; font-size: 14px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; transition: all .18s;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { background: var(--gold-l); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-secondary:hover { background: rgba(201,160,48,.1); }
.btn-outline { background: transparent; color: var(--text2); border: 1px solid var(--border2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Navbar ─────────────────────────────────── */
.navbar {
  position: relative; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  padding: 0 24px; height: 64px;
  background: rgba(9,9,15,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.logo-wrap { display: flex; align-items: center; margin-right: 12px; }
.logo { height: 44px; width: auto; }
.nav-links {
  display: flex; list-style: none; gap: 2px;
  margin-left: auto; align-items: center;
}
.nav-link {
  display: block; padding: 7px 15px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--text2);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(201,160,48,.08); }
.nav-cta {
  background: var(--gold); color: #000 !important; font-weight: 700 !important;
  padding: 8px 20px !important; border-radius: 7px !important;
}
.nav-cta:hover { background: var(--gold-l) !important; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border2);
  color: var(--text); padding: 5px 11px; border-radius: 5px;
  font-size: 18px; cursor: pointer; margin-left: auto;
}

/* ── Header / Hero ─────────────────────────── */
.site-header { position: relative; overflow: hidden; }
.header-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../BG/Welcome.webp') center/cover no-repeat;
  transition: opacity .6s;
}
.header-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,9,15,.55) 0%, rgba(9,9,15,.82) 60%, var(--bg) 100%);
}
.hero {
  position: relative; z-index: 5;
  padding: 90px 24px 110px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,160,48,.12); border: 1px solid var(--border2);
  border-radius: 20px; padding: 4px 14px; font-size: 12px;
  color: var(--gold); font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); animation: blink 1.2s infinite;
}
.hero-title {
  font-size: clamp(38px, 7vw, 80px); font-weight: 900;
  letter-spacing: -2px; text-transform: uppercase; line-height: 1.05;
  color: var(--text);
}
.hero-title .g { color: var(--gold); }
.hero-sub {
  margin: 18px auto 36px; max-width: 460px;
  font-size: 17px; color: var(--text2);
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Winners Ticker ─────────────────────────── */
.ticker-wrap {
  display: flex; align-items: center;
  background: var(--bg2); overflow: hidden; height: 42px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ticker-label {
  flex-shrink: 0; padding: 0 16px; height: 100%;
  display: flex; align-items: center; gap: 7px;
  background: var(--bg3); border-right: 1px solid var(--border);
  font-size: 11px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 1px; z-index: 2;
}
.ticker-label::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); animation: blink 1s infinite;
}
.ticker-viewport { flex: 1; overflow: hidden; position: relative; }
.ticker-track {
  display: flex; animation: ticker 38s linear infinite; width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 22px; font-size: 13px; height: 42px;
  border-right: 1px solid var(--border); white-space: nowrap;
}
.ti-name  { color: var(--text2); }
.ti-verb  { color: var(--text2); font-size: 12px; }
.ti-game  { color: var(--text); }
.ti-amt   { color: var(--green); font-weight: 700; }

/* ── Section ────────────────────────────────── */
.section { padding: 58px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 26px; font-weight: 800; margin-bottom: 28px; }
.section-title span { color: var(--gold); }
.section-footer { text-align: center; margin-top: 30px; }

/* ── Game Cards ─────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 14px;
}
.game-card {
  position: relative; border-radius: 10px; overflow: hidden;
  background: var(--bg3); border: 1px solid var(--border);
  cursor: pointer; transition: transform .2s, border-color .2s;
  aspect-ratio: 3/4;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.game-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none;
}
.game-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  background: linear-gradient(145deg, #181c2e 0%, #0c0e1a 100%);
  color: var(--gold);
}
.game-placeholder-icon { font-size: 38px; }
.game-placeholder-name {
  font-size: 12px; font-weight: 600; color: var(--text2);
  text-align: center; padding: 0 10px; line-height: 1.4;
}
.game-badge {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 12px; text-transform: uppercase; letter-spacing: .4px;
}
.badge-hot  { background: var(--red);  color: #fff; }
.badge-new  { background: var(--gold); color: #000; }
.game-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, transparent 100%);
  padding: 24px 10px 10px;
  transform: translateY(101%); transition: transform .2s;
}
.game-card:hover .game-overlay { transform: translateY(0); }
.game-name { font-size: 12px; font-weight: 600; text-align: center; margin-bottom: 7px; }
.game-play-btn {
  display: block; width: 100%; background: var(--gold); color: #000;
  font-size: 11px; font-weight: 700; text-align: center; padding: 6px;
  border-radius: 5px; text-transform: uppercase; letter-spacing: .5px;
}

/* ── Live Banner ────────────────────────────── */
.live-banner {
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg3); padding: 48px 40px;
  position: relative; overflow: hidden;
}
.live-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
}
.live-badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
  animation: livePulse 2s infinite;
}
.live-badge-pill::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; animation: blink 1s infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,57,74,.5); }
  50%      { box-shadow: 0 0 0 8px rgba(230,57,74,0); }
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }
.live-banner h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.live-banner p  { color: var(--text2); margin-bottom: 24px; max-width: 420px; }

/* ── Bonus Cards (home) ─────────────────────── */
.bonuses-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px;
}
.bonus-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 22px;
  position: relative; transition: border-color .2s, transform .2s;
}
.bonus-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.bonus-card.featured { border-color: var(--gold); background: linear-gradient(135deg, rgba(201,160,48,.07), var(--bg3)); }
.bonus-crown {
  position: absolute; top: -1px; right: 14px;
  background: var(--gold); color: #000; font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 0 0 7px 7px; text-transform: uppercase;
}
.bonus-icon  { font-size: 34px; margin-bottom: 12px; }
.bonus-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.bonus-amount  { font-size: 22px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.bonus-card p  { font-size: 13px; color: var(--text2); margin-bottom: 18px; }

/* ── Footer ─────────────────────────────────── */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 50px 0 24px; margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-logo { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text2); max-width: 280px; line-height: 1.7; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--gold); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a  { font-size: 13px; color: var(--text2); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 18px;
  text-align: center; font-size: 12px; color: var(--text2);
}

/* ── Toast Notifications ────────────────────── */
.toast-container {
  position: fixed; bottom: 18px; left: 18px; z-index: 9999;
  display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none;
}
.winner-toast {
  background: var(--bg3); border: 1px solid var(--border2);
  border-left: 3px solid var(--green); border-radius: 8px;
  padding: 11px 14px; min-width: 215px; max-width: 270px;
  animation: toastIn .3s ease; pointer-events: auto;
}
.winner-toast.out { animation: toastOut .4s ease forwards; }
@keyframes toastIn  { from { transform: translateX(-110%); opacity:0; } to { transform:translateX(0); opacity:1; } }
@keyframes toastOut { from { transform: translateX(0); opacity:1; } to { transform:translateX(-110%); opacity:0; } }
.toast-player { font-size: 13px; font-weight: 600; color: var(--text); }
.toast-game   { font-size: 12px; color: var(--text2); margin-top: 1px; }
.toast-win    { font-size: 16px; font-weight: 800; color: var(--green); margin-top: 4px; }

/* ── Page Hero (inner pages) ────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../BG/Welcome.webp') center/cover no-repeat; opacity: .15;
}
.page-hero-content { position: relative; z-index: 1; }
.page-title { font-size: 34px; font-weight: 900; text-transform: uppercase; letter-spacing: -1px; }
.page-title span { color: var(--gold); }
.page-sub  { font-size: 15px; color: var(--text2); margin-top: 8px; }

/* ── Filter Bar ─────────────────────────────── */
.filter-bar { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
  padding: 6px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: transparent; color: var(--text2); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .18s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold); color: var(--gold); background: rgba(201,160,48,.09);
}

/* ── Category Cards ─────────────────────────── */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 32px; }
.cat-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 10px; text-align: center;
  cursor: pointer; transition: all .18s;
}
.cat-card:hover, .cat-card.active { border-color: var(--gold); transform: translateY(-2px); }
.cat-icon  { font-size: 26px; margin-bottom: 7px; }
.cat-name  { font-size: 13px; font-weight: 600; }
.cat-count { font-size: 11px; color: var(--text2); margin-top: 2px; }

/* ── Live Table Cards ───────────────────────── */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.live-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.live-card:hover { transform: translateY(-4px); border-color: var(--red); }
.live-thumb {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a1e2e, #0d0f1a);
  display: flex; align-items: center; justify-content: center; font-size: 44px;
}
.live-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-status-pill {
  position: absolute; top: 8px; left: 8px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 9px; border-radius: 12px;
  display: flex; align-items: center; gap: 4px;
}
.live-status-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; animation: blink 1s infinite;
}
.live-players-pill {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.7); color: #fff; font-size: 11px; font-weight: 600;
  padding: 2px 9px; border-radius: 12px;
}
.live-info { padding: 14px; }
.live-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.live-dealer { font-size: 12px; color: var(--text2); margin-bottom: 12px; }
.live-limits {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text2); margin-bottom: 10px;
}

/* ── Full Bonus Cards (bonuses page) ─────────── */
.bonus-full {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 30px;
  display: flex; gap: 22px; align-items: center;
  margin-bottom: 14px; transition: border-color .2s;
}
.bonus-full:hover { border-color: var(--gold); }
.bonus-full.featured { border-color: var(--gold); }
.bonus-full-icon {
  width: 68px; height: 68px; flex-shrink: 0;
  background: rgba(201,160,48,.1); border: 1px solid var(--border2);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 30px;
}
.bonus-full-body { flex: 1; }
.bonus-full-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.bonus-full-body p  { font-size: 14px; color: var(--text2); line-height: 1.5; }
.bonus-full-tag {
  background: var(--gold); color: #000; font-size: 9px; font-weight: 800;
  padding: 2px 8px; border-radius: 10px; text-transform: uppercase;
  margin-left: 8px; vertical-align: middle;
}
.bonus-full-value { flex-shrink: 0; text-align: right; }
.bonus-full-value .amount { font-size: 26px; font-weight: 900; color: var(--gold); }
.bonus-full-value .sub { font-size: 12px; color: var(--text2); }

/* ── FAQ ────────────────────────────────────── */
.faq-list { max-width: 820px; }
.faq-item {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 9px; margin-bottom: 8px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--gold); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 17px 20px; cursor: pointer; font-size: 15px; font-weight: 600;
  user-select: none;
}
.faq-icon {
  width: 24px; height: 24px; border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gold); flex-shrink: 0; transition: transform .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 20px 18px;
  font-size: 14px; color: var(--text2); line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* ── Stats Row ──────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  margin-bottom: 48px;
}
.stat-cell {
  background: var(--bg3); padding: 22px 18px; text-align: center;
}
.stat-value { font-size: 28px; font-weight: 900; color: var(--gold); }
.stat-label { font-size: 12px; color: var(--text2); margin-top: 2px; text-transform: uppercase; letter-spacing: .7px; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 780px) {
  .nav-links  { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; z-index: 200;
    background: var(--bg2); border-bottom: 1px solid var(--border);
    padding: 10px 12px;
  }
  .nav-burger { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .bonus-full { flex-direction: column; text-align: center; }
  .bonus-full-value { text-align: center; }
  .live-banner { padding: 28px 20px; }
  .hero { padding: 56px 16px 72px; }
}
@media (max-width: 520px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { letter-spacing: -1px; }
  .toast-container { left: 10px; bottom: 10px; }
}

/* -- SEO Article ------------------------------- */
.seo-article { color: var(--text); line-height: 1.8; }
.seo-article h2 {
  font-size: 20px; font-weight: 800; margin: 36px 0 14px;
  color: var(--text); padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.seo-article h3 {
  font-size: 16px; font-weight: 700; margin: 24px 0 10px; color: var(--gold);
}
.seo-article p  { margin-bottom: 14px; font-size: 15px; color: var(--text2); }
.seo-article ul, .seo-article ol {
  margin: 12px 0 18px 22px; font-size: 15px; color: var(--text2);
}
.seo-article li { margin-bottom: 6px; }
.seo-article strong { color: var(--text); font-weight: 600; }
