/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0b1a;
  --bg2: #130f24;
  --card-bg: #1a1530;
  --card-border: #2a2050;
  --accent: #c89c3c;
  --accent2: #f0c060;
  --purple: #6b3fa0;
  --purple-light: #9b5fd0;
  --text: #e8e0ff;
  --text-muted: #8880a8;
  --green: #2ecc71;
  --red: #e74c3c;
  --gold: linear-gradient(135deg, #c89c3c, #f0c060, #c89c3c);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ===== HEADER ===== */
.site-header {
  position: relative;
  background: linear-gradient(180deg, #1a0e38 0%, #0d0b1a 100%);
  border-bottom: 1px solid var(--card-border);
  z-index: 100;
}

.header-bg-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.header-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.header-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-link img { height: 38px; }

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-login {
  padding: 9px 22px;
  border-radius: 8px;
  border: 1.5px solid var(--purple-light);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
}

.btn-login:hover { background: rgba(155,95,208,0.15); }

.btn-register {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #7b3fcf, #a060e0);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(107,63,160,0.4);
}

.btn-register:hover {
  background: linear-gradient(135deg, #8f50df, #b070f0);
  box-shadow: 0 4px 20px rgba(107,63,160,0.6);
  transform: translateY(-1px);
}

/* ===== NAV ===== */
.site-nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--accent2); border-bottom-color: var(--accent); }
.nav-link svg, .nav-link .nav-icon { width: 18px; height: 18px; }

/* ===== HERO BANNER ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a0e38 0%, #0d0b1a 60%, #1a0e30 100%);
  padding: 50px 20px 40px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(107,63,160,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 30%, #c89c3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #c89c3c, #f0c060);
  color: #1a0e38;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(200,156,60,0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,156,60,0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1.5px solid var(--purple-light);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  background: rgba(107,63,160,0.15);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-hero-secondary:hover { background: rgba(107,63,160,0.3); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}

.feature-chip:hover { border-color: var(--accent); color: var(--text); }
.feature-chip .icon { font-size: 1.1rem; }

/* ===== LIVE WINS TICKER ===== */
.wins-ticker-wrap {
  background: linear-gradient(90deg, #1a1530, #1e1840, #1a1530);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 0;
  overflow: hidden;
}

.wins-ticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.wins-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.wins-ticker-label .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.wins-list {
  display: flex;
  gap: 14px;
  padding: 10px 24px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

.wins-list::-webkit-scrollbar { display: none; }

.win-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 8px 14px;
  white-space: nowrap;
  min-width: 220px;
  animation: slideIn 0.4s ease;
  flex-shrink: 0;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.win-card .win-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.win-card .win-info { flex: 1; }
.win-card .win-name { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.win-card .win-game { font-size: 0.72rem; color: var(--text-muted); }
.win-card .win-amount { font-size: 0.95rem; font-weight: 800; color: var(--green); }

/* ===== SECTION ===== */
.section { padding: 40px 20px; max-width: 1300px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(200,156,60,0.15);
  border: 1px solid var(--accent);
  color: var(--accent2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.see-all {
  font-size: 0.85rem;
  color: var(--purple-light);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.see-all:hover { color: var(--accent2); }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: all 0.25s;
  group: true;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-light);
  box-shadow: 0 8px 30px rgba(107,63,160,0.35);
}

.game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,5,30,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.25s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.btn-play {
  display: inline-block;
  padding: 7px 18px;
  background: linear-gradient(135deg, #c89c3c, #f0c060);
  color: #1a0e38;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  transition: all 0.2s;
}

.btn-play:hover { transform: scale(1.03); }

.game-card-bottom {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.game-rtp {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, #1a0e38 0%, #0d0b1a 60%, #2a1050 100%);
  padding: 50px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 300px;
  background: radial-gradient(ellipse, rgba(107,63,160,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner-icon { font-size: 3rem; margin-bottom: 16px; }
.page-banner-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 30%, #c89c3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.page-banner-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== BONUS CARDS ===== */
.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}

.bonus-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(200,156,60,0.2);
  transform: translateY(-3px);
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(ellipse at top right, rgba(107,63,160,0.25), transparent 70%);
  pointer-events: none;
}

.bonus-icon { font-size: 2.8rem; margin-bottom: 14px; }
.bonus-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(200,156,60,0.15);
  border: 1px solid rgba(200,156,60,0.4);
  color: var(--accent2);
  font-weight: 700;
  margin-bottom: 12px;
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.bonus-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.bonus-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }

.btn-claim {
  display: inline-block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #c89c3c, #f0c060);
  color: #1a0e38;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-claim:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--purple-light); }

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
}

.faq-question:hover { color: var(--accent2); }

.faq-question .faq-arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(107,63,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.2s;
  font-size: 0.9rem;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); background: rgba(107,63,160,0.5); }

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ===== SEO TEXT ===== */
.seo-section {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 50px 20px;
}

.seo-inner {
  max-width: 860px;
  margin: 0 auto;
}

.seo-article {}

.seo-article h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 30px 0 10px;
  color: var(--text);
  line-height: 1.35;
}

.seo-article h2:first-child { margin-top: 0; }

.seo-section > .seo-inner > h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--accent2);
}

.seo-article p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 6px;
}

.seo-article p a {
  color: var(--purple-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.seo-article p a:hover { color: var(--accent2); }

.seo-article ol, .seo-article ul {
  padding-left: 20px;
  margin: 8px 0 12px;
}

.seo-article li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.78;
  list-style: decimal;
  margin-bottom: 4px;
}

/* ===== SEO FAQ BLOCK ===== */
.seo-faq {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--card-border);
}

.seo-faq h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.seo-faq .faq-list { max-width: 100%; }

/* ===== INTERNAL LINKS NAV ===== */
.internal-links-nav {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}

.internal-links-nav h2 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.internal-links-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.internal-links-nav ul li a {
  display: inline-block;
  padding: 7px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.internal-links-nav ul li a:hover {
  border-color: var(--purple-light);
  color: var(--text);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #08060f;
  border-top: 1px solid var(--card-border);
  padding: 36px 20px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-logo { margin: 0 auto 16px; }

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-disclaimer {
  font-size: 0.75rem;
  color: #4a4568;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 12px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #4a4568;
}

/* ===== LIVE BADGE ===== */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.4);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1s infinite; }

/* ===== PROVIDERS ===== */
.providers-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}

.provider-chip {
  padding: 8px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.provider-chip:hover { border-color: var(--purple-light); color: var(--text); }

/* ===== TOAST WIN POPUP ===== */
#win-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1530, #1e1840);
  border: 1px solid var(--green);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 260px;
  max-width: 320px;
}

#win-toast.show { transform: translateY(0); opacity: 1; }

#win-toast .toast-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

#win-toast .toast-body {}
#win-toast .toast-name { font-size: 0.82rem; font-weight: 700; }
#win-toast .toast-detail { font-size: 0.75rem; color: var(--text-muted); }
#win-toast .toast-amount { font-size: 1.1rem; font-weight: 900; color: var(--green); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .bonuses-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 16px 30px; }
  .logo-text { display: none; }
  .header-inner { height: 60px; }
  .features-strip { gap: 8px; }
  .feature-chip { padding: 8px 12px; font-size: 0.8rem; }
  .seo-inner { columns: 1; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .wins-list { padding: 10px 14px 14px; }
  .win-card { min-width: 190px; }
}
