/* ===== CSS Variables (brand themes set these) ===== */
:root {
  --brand-primary: #d4af37;      /* gold default */
  --brand-secondary: #c41e3a;    /* red default */
  --brand-accent: #ff6b35;
  --bg-dark: #0a0e27;
  --bg-mid: #131831;
  --bg-light: #1d2347;
  --bg-card: #1a1f3a;
  --border: #2a3158;
  --text: #e8e9ed;
  --text-dim: #a0a3b8;
  --text-bright: #fff;
  --shadow-gold: 0 0 32px rgba(212, 175, 55, 0.35);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
  --grad-hero: linear-gradient(135deg, #1a0033 0%, #0a0e27 50%, #2a0015 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

/* ===== Ticker (top scrolling) ===== */
.ticker {
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary), var(--brand-secondary));
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-track {
  display: inline-block;
  animation: ticker 40s linear infinite;
  padding-left: 100%;
}

.ticker-track span {
  display: inline-block;
  padding: 0 32px;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== Navbar ===== */
.navbar {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text-bright);
  white-space: nowrap;
}

.logo-icon { font-size: 28px; filter: drop-shadow(0 0 8px var(--brand-primary)); }
.logo-text { background: linear-gradient(135deg, var(--brand-primary), #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-accent { color: var(--brand-secondary); -webkit-text-fill-color: var(--brand-secondary); }

.nav-menu {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
  position: relative;
}

.nav-link:hover { background: var(--bg-light); color: var(--brand-primary); }

.nav-link.hot::after { content: 'HOT'; position: absolute; top: -2px; right: -8px; background: var(--brand-secondary); color: #fff; font-size: 9px; padding: 2px 5px; border-radius: 3px; font-weight: 900; }
.nav-link.new::after { content: 'NEW'; position: absolute; top: -2px; right: -8px; background: var(--brand-primary); color: #000; font-size: 9px; padding: 2px 5px; border-radius: 3px; font-weight: 900; }

.nav-cta { display: flex; gap: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(212, 175, 55, 0.6); }

.btn-ghost {
  background: transparent;
  color: var(--text-bright);
  border: 1.5px solid var(--brand-primary);
}

.btn-ghost:hover { background: var(--brand-primary); color: #000; }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 12px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(212, 175, 55, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(196, 30, 58, 0.15), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(196, 30, 58, 0.2);
  color: var(--brand-primary);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border: 1px solid var(--brand-primary);
  margin-bottom: 20px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: var(--text-bright);
}

.hero-title-gold {
  background: linear-gradient(135deg, var(--brand-primary), #fff5d4, var(--brand-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.5));
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-bonus { margin-bottom: 28px; }

.bonus-box {
  display: inline-block;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-mid));
  border: 2px solid var(--brand-primary);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: var(--shadow-gold);
}

.bonus-label { font-size: 11px; color: var(--brand-primary); font-weight: 800; letter-spacing: 2px; }
.bonus-value { font-size: 28px; font-weight: 900; color: var(--text-bright); margin: 4px 0; }
.bonus-extra { font-size: 14px; color: var(--brand-primary); font-weight: 700; }

.hero-cta { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }

/* Jackpot board */
.jackpot-board {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border: 2px solid var(--brand-primary);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-gold), var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.jackpot-board::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.2), transparent 70%);
  pointer-events: none;
}

.jackpot-label {
  font-size: 13px;
  color: var(--brand-primary);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.jackpot-value {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-bright);
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.jackpot-sub { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; position: relative; z-index: 2; }
#jackpotTimer { color: var(--brand-secondary); font-weight: 700; }

.jackpot-winners {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.jw-title {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 700;
}

.jw-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.jw-name { color: var(--text); font-weight: 600; }
.jw-amt { color: #4ade80; font-weight: 800; }

/* ===== Ad Banner Top ===== */
.ad-banner-top {
  margin: 40px auto;
  max-width: 1400px;
  padding: 0 24px;
}

.ad-wrap {
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  border-radius: 14px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  flex-wrap: wrap;
}

.ad-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.2), transparent 50%);
}

.ad-tag {
  display: inline-block;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.ad-title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.ad-desc { font-size: 14px; color: rgba(255,255,255,0.95); max-width: 600px; }
.ad-left { position: relative; z-index: 2; }
.ad-right { position: relative; z-index: 2; }
.ad-right .btn { background: #000; color: var(--brand-primary); }

/* ===== Section header ===== */
.section-header {
  max-width: 1400px;
  margin: 60px auto 24px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-dim);
}

.link-all {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 14px;
}

.link-all:hover { text-decoration: underline; }

/* ===== Games grid ===== */
.games-section { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.game-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid var(--border);
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
}

.game-thumb {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #2a1a0a 0%, #1a0a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.08);
}

.game-card:hover .game-thumb::after {
  content: '▶ PLAY';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
}

.game-info {
  padding: 12px 14px;
}

.game-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-provider {
  font-size: 11px;
  color: var(--text-dim);
}

.game-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.game-tag.tag-hot { background: var(--brand-secondary); }
.game-tag.tag-new { background: var(--brand-primary); color: #000; }
.game-tag.tag-vip { background: linear-gradient(135deg, #8b5cf6, #ec4899); }

/* ===== Promo cards ===== */
.promo-cards {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.promo-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.promo-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
}

.promo-card.promo-memex {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(196, 30, 58, 0.15)), var(--bg-card);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-gold);
}

.promo-badge {
  display: inline-block;
  background: var(--brand-primary);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.promo-card-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.promo-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.5;
}

.promo-card-desc strong {
  color: var(--brand-primary);
}

/* ===== Winners board ===== */
.winners-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 24px;
}

.winners-board {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  margin-top: 20px;
  max-height: 320px;
  overflow: hidden;
  position: relative;
}

.winners-board::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}

.winner-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 1fr 100px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  gap: 12px;
}

.winner-row:last-child { border-bottom: none; }

.winner-time { color: var(--text-dim); font-size: 12px; font-family: "Courier New", monospace; }
.winner-user { color: var(--text-bright); font-weight: 700; }
.winner-game { color: var(--text-dim); }
.winner-bet { color: var(--text-dim); text-align: right; }
.winner-win { color: #4ade80; font-weight: 800; text-align: right; }

/* ===== Sports ===== */
.sports-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 24px;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.match-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: all 0.2s;
}

.match-card:hover {
  border-color: var(--brand-primary);
}

.match-league {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.match-team {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-bright);
  flex: 1;
}

.match-team:last-child { text-align: right; }

.match-vs {
  color: var(--brand-secondary);
  font-weight: 900;
  font-size: 12px;
  padding: 0 8px;
}

.match-time {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-family: "Courier New", monospace;
}

.match-odds {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.match-card:has(.odd-btn:nth-child(2):last-child) .match-odds {
  grid-template-columns: 1fr 1fr;
}

.odd-btn {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 10px 6px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s;
}

.odd-btn span {
  color: var(--brand-primary);
  font-size: 16px;
  font-weight: 900;
  margin-top: 4px;
}

.odd-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #000;
}

.odd-btn:hover span { color: #000; }

/* ===== VIP ===== */
.vip-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 24px;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.vip-tier {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}

.vip-tier.featured {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-gold);
  transform: scale(1.04);
}

.vip-tier:hover {
  transform: translateY(-4px);
}

.vip-tier.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.vip-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #000;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.vip-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-primary);
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.vip-bronze .vip-name { color: #cd7f32; }
.vip-silver .vip-name { color: #c0c0c0; }
.vip-gold .vip-name { color: var(--brand-primary); }
.vip-diamond .vip-name { background: linear-gradient(135deg, #b9f2ff, #fff, #b9f2ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.vip-perks {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
  text-align: left;
}

.vip-perks div { padding: 4px 0; }

/* ===== Payments ===== */
.payments-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 24px;
  text-align: center;
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.pay-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: all 0.2s;
}

.pay-logo:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* ===== Trust stats ===== */
.trust-section {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-mid));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 24px;
  margin-top: 60px;
}

.trust-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.trust-num {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.trust-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* ===== Footer ===== */
.footer {
  background: #050714;
  padding: 60px 24px 24px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .logo { margin-bottom: 8px; }
.footer-about { color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.footer-licence { font-size: 11px; color: var(--text-dim); line-height: 1.8; margin-top: 8px; }

.footer-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--brand-primary);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--brand-primary); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.age-warn {
  color: var(--brand-secondary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.copyright {
  color: var(--text-dim);
  font-size: 11px;
}

/* ===== Popup ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 20, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.popup-overlay.show {
  display: flex;
  opacity: 1;
}

.popup-modal {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border: 2px solid var(--brand-primary);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 0 0 24px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-gold), 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s;
  overflow: hidden;
}

.popup-overlay.show .popup-modal { transform: scale(1); }

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s;
  z-index: 2;
}

.popup-close:hover { background: rgba(0,0,0,0.9); }

.popup-banner {
  display: block;
  width: 100%;
  background: #f5d100;
  border-bottom: 2px solid var(--brand-primary);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.popup-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.popup-banner:hover { transform: scale(1.015); }

.popup-body {
  padding: 24px 32px 0;
}

.popup-title {
  font-size: 11px;
  color: var(--brand-primary);
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.popup-headline {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 12px;
  line-height: 1.2;
}

.popup-headline .gold {
  background: linear-gradient(135deg, var(--brand-primary), #fff5d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.popup-text {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.popup-text strong { color: var(--brand-primary); }

.popup-perks {
  background: rgba(212, 175, 55, 0.08);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  text-align: left;
  font-size: 13px;
  color: var(--text);
}

.popup-cta {
  width: 100%;
  margin-bottom: 12px;
}

.popup-small {
  font-size: 12px;
  color: var(--text-dim);
}

.popup-small a { color: var(--brand-primary); }

/* ===== Float CTA ===== */
.float-cta {
  position: fixed;
  bottom: 86px;
  right: 24px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  padding: 12px 16px 12px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
  z-index: 99;
  transition: transform 0.2s;
}

.float-cta:hover { transform: scale(1.05); }

.float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid var(--brand-primary);
  animation: float-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.float-icon { font-size: 22px; }
.float-text { font-size: 12px; font-weight: 800; line-height: 1.2; }
.float-line1 { opacity: 0.9; font-size: 10px; }
.float-line2 { font-weight: 900; }

/* ===== Bottom Bar ===== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  z-index: 98;
  transform: translateY(100%);
  transition: transform 0.4s;
}

.bottom-bar.show { transform: translateY(0); }

.bb-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #000;
}

.bb-icon { font-size: 22px; }
.bb-text { font-size: 13px; font-weight: 600; flex: 1; }
.bb-text strong { font-weight: 900; }

.bb-content .btn-primary {
  background: #000;
  color: var(--brand-primary);
  box-shadow: none;
}

.bb-close {
  background: none;
  border: none;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  font-weight: 900;
  opacity: 0.7;
}

.bb-close:hover { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
}

@media (max-width: 640px) {
  .nav-wrap { padding: 12px 16px; gap: 12px; }
  .hero { padding: 40px 16px; }
  .hero-title { font-size: 36px; }
  .jackpot-value { font-size: 28px; }
  .ad-wrap { flex-direction: column; align-items: flex-start; padding: 20px; }
  .ad-title { font-size: 20px; }
  .section-title { font-size: 22px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .game-info { padding: 8px 10px; }
  .vip-tier.featured { transform: none; }
  .vip-tier.featured:hover { transform: translateY(-4px); }
  .winner-row { grid-template-columns: 1fr 1fr 100px; font-size: 12px; }
  .winner-time, .winner-bet { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .bb-content { padding: 10px 12px; gap: 8px; font-size: 12px; }
  .bb-text { font-size: 11px; }
  .float-cta { bottom: 72px; right: 12px; padding: 10px 12px; }
}
