:root {
  --bg-dark: #07091a;
  --bg-card: #0f1427;
  --bg-nav: #0c1020;
  --gold: #f5c842;
  --gold-dim: #c9a030;
  --green: #2ecc71;
  --red: #e74c3c;
  --text: #e8eaf0;
  --text-muted: #8892a8;
  --border: #1e2a45;
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(245,200,66,.1);
  color: var(--gold);
}

.header-btn {
  margin-left: auto;
  background: linear-gradient(135deg, #f5c842, #e8a020);
  color: #07091a;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  transition: opacity .2s;
}
.header-btn:hover { opacity: .85; }

/* ─── TICKER ─── */
.ticker-wrap {
  background: linear-gradient(90deg, #1a0a30, #0d1a35, #1a0a30);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  gap: 48px;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-size: 13px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-item span { color: var(--text-muted); }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── HERO BANNER ─── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1a40 0%, #1a0835 50%, #0a1a2e 100%);
}

.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,200,66,.15);
  border: 1px solid rgba(245,200,66,.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #f5c842 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5c842, #e8900d);
  color: #07091a;
  font-weight: 900;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(245,200,66,.4);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,200,66,.55);
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-card {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  backdrop-filter: blur(8px);
  min-width: 200px;
}

.benefit-card .icon {
  font-size: 22px;
  flex-shrink: 0;
}

.benefit-card strong {
  display: block;
  color: var(--gold);
  font-size: 16px;
}

/* ─── PROMO STRIP ─── */
.promo-strip {
  display: flex;
  gap: 12px;
  padding: 16px;
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.promo-strip::-webkit-scrollbar { display: none; }

.promo-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.promo-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.promo-pill img { width: 22px; height: 22px; object-fit: contain; }

/* ─── SECTION ─── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--gold);
  border-radius: 2px;
}

.see-all {
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all .2s;
}
.see-all:hover { border-color: var(--gold); color: var(--gold); }

/* ─── TABS ─── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.tab-btn.active,
.tab-btn:hover {
  color: var(--gold);
  background: rgba(245,200,66,.08);
}
.tab-btn.active {
  border-bottom: 2px solid var(--gold);
}

/* ─── GAMES GRID ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.game-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 0 2px var(--gold);
  z-index: 2;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  opacity: 0;
  transition: opacity .25s;
}
.game-card:hover .game-overlay { opacity: 1; }

.game-name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.game-play-btn {
  background: linear-gradient(135deg, #f5c842, #e8900d);
  color: #07091a;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 0;
  border-radius: 6px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.game-badge.new { background: var(--green); }
.game-badge.hot { background: #f56038; }

/* ─── LIVE WINS ─── */
.wins-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow: hidden;
  position: relative;
}

.win-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  animation: slideIn .4s ease;
  transition: opacity .3s;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.win-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e2a5e, #3a1860);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.win-info { flex: 1; min-width: 0; }

.win-user {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.win-game {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-amount {
  font-size: 15px;
  font-weight: 900;
  color: var(--gold);
  white-space: nowrap;
}
.win-amount.big { color: var(--green); }

/* ─── SEO TEXT ─── */
.seo-block {
  max-width: 1280px;
  margin: 32px auto;
  padding: 32px 16px;
  border-top: 1px solid var(--border);
}

.seo-block h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--gold);
}

.seo-block h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.seo-block p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.seo-block ul, .seo-block ol {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 12px;
}

/* ─── BONUS CARDS ─── */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: linear-gradient(135deg, #0f1427 0%, #1a1040 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.bonus-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.bonus-card-img {
  height: 140px;
  background: linear-gradient(135deg, #1a1040, #1e2a5e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.bonus-card-body { padding: 18px; }

.bonus-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.bonus-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bonus-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.bonus-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #f5c842, #e8900d);
  color: #07091a;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: opacity .2s;
}
.bonus-btn:hover { opacity: .85; }

.bonus-terms {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* ─── LIVE TABLE CARDS ─── */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.live-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.live-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #1a1040;
  overflow: hidden;
}

.live-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.live-players {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.7);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-card-info { padding: 12px; }

.live-card-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.live-card-provider {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 40px 16px 24px;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo img { height: 40px; margin-bottom: 12px; }

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(135deg, #0d1a40 0%, #1a0835 100%);
  padding: 40px 16px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 20px;
}

/* ─── SEO ARTICLE ─── */
.seo-block h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--gold);
}

.seo-section {
  margin-top: 28px;
}

.seo-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.seo-steps {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 20px;
  margin-top: 10px;
}

.seo-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seo-link:hover { color: #fff; }

/* ─── FAQ ─── */
.seo-faq {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.seo-faq-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.faq-q {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── INTERNAL NAV ─── */
.seo-nav {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.seo-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.seo-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-nav-list li a {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all .2s;
}
.seo-nav-list li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.seo-disclaimer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-benefits { flex-direction: row; flex-wrap: wrap; }
  .benefit-card { min-width: 160px; flex: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .bonus-grid { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .nav-links a { padding: 6px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .header-inner { gap: 12px; }
  .header-btn { padding: 8px 14px; font-size: 12px; }
}
