/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0b0919;
  --bg2:      #120f24;
  --bg3:      #1a1535;
  --card:     #16122c;
  --card2:    #1e1940;
  --pink:     #e91e8c;
  --pink2:    #ff3da6;
  --gold:     #ffd679;
  --gold2:    #ffb830;
  --text:     #ffffff;
  --text2:    #b0a8d8;
  --text3:    #7b72a8;
  --green:    #00e676;
  --radius:   14px;
  --radius-sm:8px;
  --nav-h:    64px;
  --shadow:   0 8px 32px rgba(233,30,140,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 3px; }

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, #c2185b 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(233,30,140,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(233,30,140,.55); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: #1a1200;
  box-shadow: 0 4px 20px rgba(255,214,121,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,214,121,.5); }
.btn-outline {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
}
.btn-outline:hover { background: var(--pink); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11,9,25,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233,30,140,.2);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
}
.header-logo img { height: 34px; }
.header-logo svg { height: 34px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  transition: all .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(233,30,140,.15);
  color: var(--pink);
}

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid rgba(233,30,140,.2);
  z-index: 99;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text2);
  transition: .2s;
}
.mobile-nav a:hover,
.mobile-nav a.active { background: rgba(233,30,140,.15); color: var(--pink); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('header-bg.webp');
  background-size: cover;
  background-position: center top;
  filter: brightness(.6);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,9,25,.9) 0%, rgba(11,9,25,.4) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 40px 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233,30,140,.18);
  border: 1px solid rgba(233,30,140,.4);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--pink); }
.hero p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== FEATURES STRIP ===== */
.features-strip {
  display: flex;
  gap: 12px;
  padding: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg2);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.features-strip::-webkit-scrollbar { display: none; }
.feature-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  transition: .2s;
  cursor: pointer;
}
.feature-chip:hover { border-color: var(--pink); color: var(--text); }
.feature-chip .icon { font-size: 20px; }

/* ===== WINNINGS TICKER ===== */
.winnings-bar {
  background: var(--bg2);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  overflow: hidden;
}
.winnings-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.winnings-label::before { content: '🏆'; }
.winnings-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
}
.winnings-list {
  display: flex;
  gap: 24px;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}
.winnings-list:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.win-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  padding: 6px 12px;
  background: rgba(255,255,255,.04);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.07);
}
.win-item .win-name { color: var(--text2); }
.win-item .win-game { color: var(--text3); }
.win-item .win-amount { color: var(--green); font-weight: 700; }

/* ===== SECTION ===== */
.section { padding: 48px 20px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
}
.section-title span { color: var(--pink); }
.section-sub { color: var(--text2); font-size: 14px; margin-top: 4px; }

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s, box-shadow .2s;
  aspect-ratio: 1/1;
}
.game-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow); }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.game-card:hover img { filter: brightness(.7); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,9,25,.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: .2s;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-name { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.game-card-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
  text-decoration: none;
}
.game-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.game-card-badge.hot { background: #ff5722; }
.game-card-badge.new { background: var(--pink); }

/* ===== PROMO BANNER ===== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 28px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.07);
}
.promo-card-1 { background: linear-gradient(135deg, #1a0b3d 0%, #3d1068 100%); }
.promo-card-2 { background: linear-gradient(135deg, #0b1a3d 0%, #103d68 100%); }
.promo-card-3 { background: linear-gradient(135deg, #1a2b0b 0%, #3d6810 100%); }
.promo-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.promo-card h3 span { color: var(--gold); }
.promo-card p { font-size: 13px; color: var(--text2); margin-bottom: 16px; }
.promo-deco {
  position: absolute;
  top: 0; right: 0;
  font-size: 80px;
  line-height: 1;
  opacity: .18;
  pointer-events: none;
  padding: 10px;
}

/* ===== BONUS CARDS ===== */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.bonus-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bonus-card:hover { border-color: var(--pink); transform: translateY(-3px); }
.bonus-card-icon { font-size: 36px; }
.bonus-card-tag {
  display: inline-block;
  background: rgba(233,30,140,.15);
  border: 1px solid rgba(233,30,140,.3);
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
  width: fit-content;
}
.bonus-card h3 { font-size: 18px; font-weight: 700; }
.bonus-card .amount { font-size: 28px; font-weight: 800; color: var(--gold); }
.bonus-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(233,30,140,.3); }
.faq-q {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--pink);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s;
  padding: 0 20px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ===== LIVE TABLE ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.live-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  position: relative;
}
.live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.live-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.live-card-img .live-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: #f44336;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}
.live-badge::before { content: '●'; font-size: 8px; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.live-card-body { padding: 14px; }
.live-card-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.live-card-body .dealer { font-size: 12px; color: var(--text2); }
.live-card-body .limits { font-size: 12px; color: var(--gold); margin-top: 6px; }

/* ===== SEO SECTION ===== */
.seo-section {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 48px 20px;
}
.seo-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.seo-section h3 { font-size: 17px; font-weight: 700; margin: 20px 0 8px; color: var(--pink); }
.seo-section p { font-size: 14px; color: var(--text2); line-height: 1.85; margin-bottom: 10px; }
.seo-section ol, .seo-section ul { padding-left: 20px; color: var(--text2); font-size: 14px; line-height: 2; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 40px 20px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 32px;
  margin-bottom: 32px;
  align-items: start;
}
.footer-brand p { font-size: 13px; color: var(--text3); margin-top: 12px; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text2); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--text3); }
.footer-18 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text3);
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--text3);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg2) 0%, #1a103a 100%);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 48px 20px 32px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(24px, 3vw, 42px); font-weight: 800; margin-bottom: 10px; }
.page-hero h1 span { color: var(--pink); }
.page-hero p { font-size: 15px; color: var(--text2); max-width: 560px; margin: 0 auto; }

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.stat-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.07);
}
.stat-box .val { font-size: 28px; font-weight: 800; color: var(--gold); }
.stat-box .lbl { font-size: 12px; color: var(--text2); margin-top: 4px; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text3);
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--pink); }
.breadcrumbs span { color: var(--text3); }

/* ===== SEO ARTICLE ===== */
.seo-article h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.seo-article h2:first-child { margin-top: 0; }
.seo-article p { font-size: 14px; color: var(--text2); line-height: 1.85; margin-bottom: 6px; }
.seo-link { color: var(--pink); text-decoration: underline; text-decoration-style: dotted; transition: color .2s; }
.seo-link:hover { color: var(--pink2); }

.seo-faq { margin-top: 40px; }
.seo-faq h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }

.seo-nav { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.06); }
.seo-nav h2 { font-size: 16px; font-weight: 700; color: var(--text2); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .6px; }
.seo-nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.seo-nav-list li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text2);
  transition: .2s;
}
.seo-nav-list li a:hover { border-color: var(--pink); color: var(--pink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions .btn:last-child { display: inline-flex; }
  .hero-content { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
