/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0d0d1a;
  color: #e0dff5;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* === HEADER === */
.site-header {
  position: relative;
  background: url('header-bg.webp') center/cover no-repeat;
  min-height: 80px;
  z-index: 100;
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,26,.55) 0%, rgba(13,13,26,.92) 100%);
  z-index: 0;
}
.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}
.logo-link img { height: 34px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.header-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #c9c4e8;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  background: rgba(160,100,255,.18);
  color: #fff;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: filter .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(200,150,255,.5);
  color: #d4b8ff;
}
.btn-primary {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124,58,237,.45);
}
.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a0a00;
  box-shadow: 0 4px 18px rgba(245,158,11,.35);
}
.btn-lg { padding: 13px 30px; font-size: 16px; border-radius: 12px; }

/* === MOBILE NAV TOGGLE === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #d4b8ff;
  border-radius: 2px;
  transition: .3s;
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #130f2a;
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    z-index: 200;
    border-bottom: 1px solid rgba(160,100,255,.2);
  }
  .header-nav.open { display: flex; }
  .header-nav a { width: 100%; padding: 10px 14px; }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  background: url('header-bg.webp') center/cover no-repeat;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,26,.4) 0%, rgba(13,13,26,.85) 60%, #0d0d1a 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 20px rgba(168,85,247,.6);
  margin-bottom: 16px;
}
.hero-content h1 span { color: #f59e0b; }
.hero-content p {
  font-size: clamp(14px, 2vw, 18px);
  color: #c9c4e8;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === FEATURES BAR === */
.features-bar {
  background: linear-gradient(90deg, #1a0d33, #0f172a);
  border-top: 1px solid rgba(160,100,255,.15);
  border-bottom: 1px solid rgba(160,100,255,.15);
  padding: 18px 20px;
}
.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #d4b8ff;
  white-space: nowrap;
}
.feature-item .fi {
  font-size: 22px;
  line-height: 1;
}

/* === WINS TICKER === */
.wins-ticker-wrap {
  background: #11102b;
  border-bottom: 1px solid rgba(160,100,255,.15);
  padding: 10px 20px;
  overflow: hidden;
}
.wins-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  margin-bottom: 8px;
}
.wins-ticker-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.wins-ticker {
  display: flex;
  gap: 14px;
  overflow: hidden;
  position: relative;
  height: 36px;
}
.wins-track {
  display: flex;
  gap: 14px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
  align-items: center;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.win-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160,100,255,.1);
  border: 1px solid rgba(160,100,255,.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.win-item .avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.win-item .name { color: #d4b8ff; font-weight: 600; }
.win-item .game { color: #9ca3af; }
.win-item .amount { color: #f59e0b; font-weight: 700; }

/* === SECTION LAYOUT === */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #a855f7, #7c3aed);
  border-radius: 4px;
}
.see-all {
  font-size: 13px;
  color: #a78bfa;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 8px;
  transition: background .2s;
  white-space: nowrap;
}
.see-all:hover { background: rgba(167,139,250,.1); }

/* === GAME GRID === */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
}
@media (max-width: 500px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.game-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  background: #1a1535;
  aspect-ratio: 3/4;
}
.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(124,58,237,.4);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .25s;
}
.game-card:hover img { filter: brightness(0.6); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .25s;
  background: rgba(13,13,26,.5);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-overlay .btn { padding: 8px 18px; font-size: 13px; }
.game-card-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10px 10px;
  background: linear-gradient(0deg, rgba(13,13,26,.95) 0%, transparent 100%);
  font-size: 12px;
  font-weight: 700;
  color: #e0dff5;
  text-align: center;
  line-height: 1.3;
}

/* === PROMO BANNER === */
.promo-banner {
  background: linear-gradient(135deg, #1e0a3c, #0f172a);
  border: 1px solid rgba(160,100,255,.25);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 20px 40px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .promo-banner { flex-direction: column; text-align: center; padding: 28px 20px; }
}
.promo-banner h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.promo-banner h2 span { color: #f59e0b; }
.promo-banner p { color: #a78bfa; font-size: 15px; max-width: 480px; }

/* === TABS === */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tab-btn {
  padding: 9px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(160,100,255,.15);
  color: #9ca3af;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.tab-btn:hover, .tab-btn.active {
  background: linear-gradient(135deg, #7c3aed22, #a855f722);
  border-color: rgba(168,85,247,.5);
  color: #d4b8ff;
}

/* === BONUS CARDS === */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.bonus-card {
  background: linear-gradient(135deg, #1a0d33, #0f1629);
  border: 1px solid rgba(160,100,255,.2);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform .25s, box-shadow .25s;
}
.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(124,58,237,.3);
}
.bonus-card .bonus-icon { font-size: 44px; margin-bottom: 14px; }
.bonus-card h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.bonus-card .bonus-amount { font-size: 32px; font-weight: 900; color: #f59e0b; margin-bottom: 10px; }
.bonus-card p { font-size: 14px; color: #9ca3af; line-height: 1.6; margin-bottom: 18px; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #1a1535;
  border: 1px solid rgba(160,100,255,.15);
  border-radius: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #e0dff5;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color .2s;
}
.faq-question:hover { color: #d4b8ff; }
.faq-question .faq-icon {
  font-size: 20px;
  color: #a78bfa;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* === INFO TEXT === */
.info-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}
.info-section h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.info-section h3 { font-size: 17px; font-weight: 700; color: #d4b8ff; margin: 20px 0 8px; }
.info-section p { font-size: 14px; color: #7c7b94; line-height: 1.75; margin-bottom: 10px; }
.info-section ol { padding-left: 20px; }
.info-section ol li { font-size: 14px; color: #7c7b94; line-height: 1.75; margin-bottom: 4px; }

/* === LIVE TABLE === */
.live-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}
.live-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.live-table td {
  padding: 12px 14px;
  font-size: 14px;
  background: #1a1535;
  transition: background .2s;
}
.live-table tr:hover td { background: #1e1a3e; }
.live-table td:first-child { border-radius: 10px 0 0 10px; }
.live-table td:last-child { border-radius: 0 10px 10px 0; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.badge-slot { background: rgba(124,58,237,.25); color: #a78bfa; }
.badge-live { background: rgba(239,68,68,.2); color: #f87171; }

/* === FOOTER === */
.site-footer {
  background: #080812;
  border-top: 1px solid rgba(160,100,255,.12);
  padding: 50px 20px 30px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: #d4b8ff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: #374151; }
.footer-bottom .footer-links { display: flex; gap: 16px; }
.footer-bottom .footer-links a { font-size: 12px; color: #374151; transition: color .2s; }
.footer-bottom .footer-links a:hover { color: #9ca3af; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #374151;
  font-size: 11px;
  font-weight: 800;
  color: #374151;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, #1a0d33 0%, #0f1629 100%);
  padding: 50px 20px 30px;
  text-align: center;
  border-bottom: 1px solid rgba(160,100,255,.15);
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p { font-size: 16px; color: #9ca3af; max-width: 600px; margin: 0 auto; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0d0d1a; }
::-webkit-scrollbar-thumb { background: #3b0764; border-radius: 3px; }

/* === UTILITY === */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }
.gold { color: #f59e0b; }
.purple { color: #a78bfa; }
