*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #FFB800;
  --gold-dark: #CC8A00;
  --gold-light: #FFD04D;
  --bg-dark: #0D0F14;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-hover: rgba(255,255,255,0.10);
  --text: #FFFFFF;
  --text-dim: #A0A8B8;
  --green: #00E676;
  --red: #FF5252;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/background.webp') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

/* ====== HEADER ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,184,0,0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav a:hover, .nav a.active {
  color: var(--gold);
  background: rgba(255,184,0,0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,184,0,0.5);
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(255,184,0,0.1);
  border-color: var(--gold);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #FF8C00 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(255,184,0,0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255,184,0,0.5);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn-xl {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: var(--radius);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 20px 60px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,184,0,0.12);
  border: 1px solid rgba(255,184,0,0.3);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-bonus-box {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,184,0,0.15) 0%, rgba(255,100,0,0.1) 100%);
  border: 1.5px solid rgba(255,184,0,0.4);
  border-radius: 16px;
  padding: 24px 40px;
  margin-bottom: 36px;
}

.hero-bonus-box .bonus-label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-bonus-box .bonus-value {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== FEATURES ====== */
.features {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,184,0,0.25);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ====== SECTION ====== */
.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
}

.section-title span {
  color: var(--gold);
}

.section-link {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition);
}
.section-link:hover { opacity: 0.75; }

/* ====== GAMES GRID ====== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: #1a1d25;
  transition: all var(--transition);
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,184,0,0.3);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.game-card:hover img { transform: scale(1.05); }

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover .game-overlay { opacity: 1; }

.game-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-play-btn {
  background: linear-gradient(135deg, var(--gold), #FF8C00);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all var(--transition);
}
.game-play-btn:hover { opacity: 0.9; }

.game-hot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #FF5252, #FF1744);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #00E676, #00BCD4);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ====== WINS TICKER ====== */
.wins-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.wins-ticker-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.wins-ticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.wins-ticker-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.2);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,230,118,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(0,230,118,0.08); }
}

.wins-count {
  font-size: 12px;
  color: var(--text-dim);
}

.wins-list {
  max-height: 340px;
  overflow: hidden;
  position: relative;
}

.win-item {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  animation: slideInWin 0.4s ease;
  transition: background var(--transition);
}
.win-item:hover { background: rgba(255,255,255,0.03); }

@keyframes slideInWin {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.win-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #FF8C00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}

.win-user { font-size: 14px; font-weight: 600; }
.win-game { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.win-multiplier {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}

.win-amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  text-align: right;
  min-width: 90px;
}

.win-amount.big { color: #FFD700; font-size: 16px; }

/* ====== APP DOWNLOAD ====== */
.app-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.app-banner {
  background: linear-gradient(135deg, rgba(255,184,0,0.12) 0%, rgba(255,60,0,0.08) 100%);
  border: 1px solid rgba(255,184,0,0.25);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.app-text h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}
.app-text p { color: var(--text-dim); font-size: 15px; }

/* ====== SEO ====== */
.seo-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.seo-content {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 40px;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 14px;
}

.seo-content h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 12px; margin-top: 24px; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 { font-size: 16px; font-weight: 600; color: var(--gold); margin-bottom: 8px; margin-top: 20px; }
.seo-content p { margin-bottom: 12px; }
.seo-content ul { padding-left: 20px; margin-bottom: 12px; }
.seo-content li { margin-bottom: 6px; }

/* ====== FOOTER ====== */
.footer {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 20px 100px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

.footer-brand img { height: 40px; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 13px; color: var(--text-dim); line-height: 1.6; max-width: 280px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 12px; color: var(--text-dim); }

.age-badge {
  background: rgba(255,82,82,0.2);
  border: 1px solid rgba(255,82,82,0.4);
  color: #FF5252;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ====== BOTTOM NAV MOBILE ====== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(13,15,20,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 600;
  transition: color var(--transition);
}

.bottom-nav-item .icon { font-size: 22px; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--gold); }

.bottom-nav-center {
  background: linear-gradient(135deg, var(--gold), #FF8C00);
  color: #000 !important;
  border-radius: 16px;
  margin: -8px 4px 0;
  padding: 10px 16px;
  font-weight: 800;
}

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

.page-hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: var(--text-dim); font-size: 16px; }

/* ====== TABS ====== */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--text-dim);
  transition: all var(--transition);
  text-decoration: none;
}

.tab:hover, .tab.active {
  background: rgba(255,184,0,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* ====== BONUS CARDS ====== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.bonus-card {
  background: linear-gradient(135deg, rgba(255,184,0,0.08) 0%, rgba(255,60,0,0.05) 100%);
  border: 1px solid rgba(255,184,0,0.2);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.bonus-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,184,0,0.4);
  box-shadow: 0 12px 40px rgba(255,184,0,0.1);
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.15), transparent);
}

.bonus-icon { font-size: 40px; margin-bottom: 14px; }
.bonus-title { font-size: 18px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.bonus-subtitle { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; line-height: 1.5; }
.bonus-terms { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 12px; }

/* ====== FAQ ====== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: rgba(255,184,0,0.25); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,184,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ====== LIVE TABLES ====== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.live-card:hover {
  border-color: rgba(255,184,0,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.live-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1d25, #252830);
  position: relative;
  overflow: hidden;
}

.live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FF1744;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1s infinite;
}

.live-info { padding: 14px 16px; }
.live-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.live-meta { font-size: 12px; color: var(--text-dim); }
.live-players { color: var(--green); font-weight: 600; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .live-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid { grid-template-columns: 1fr; }
  .app-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .bottom-nav { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
  .win-item { grid-template-columns: 36px 1fr auto; }
  .win-multiplier { display: none; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-outline { display: none; }
}

/* ====== UTILS ====== */
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.text-center { text-align: center; }

.providers-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.provider-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.provider-tag:hover, .provider-tag.active {
  background: rgba(255,184,0,0.1);
  border-color: rgba(255,184,0,0.3);
  color: var(--gold);
}
