:root {
  --bg-dark: #0b0e1a;
  --bg-card: #131729;
  --bg-card2: #1a1f35;
  --accent: #f5c518;
  --accent2: #e8a800;
  --purple: #7c3aed;
  --purple2: #6d28d9;
  --text: #e8eaf0;
  --text-muted: #8891a8;
  --border: #252a42;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 12px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,14,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img { height: 42px; object-fit: contain; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.header-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--text);
  background: var(--bg-card2);
}

.header-nav a.active { color: var(--accent); }

.header-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all .2s;
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,197,24,.3); }

.btn-big {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: 14px;
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: #fff;
}
.btn-purple:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,.4); }

/* BURGER */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* HERO */
.hero {
  min-height: 100vh;
  padding: 100px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('background.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,14,26,.3) 0%, rgba(11,14,26,.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 24px;
}

.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; animation: pulse 1.5s infinite; }

@keyframes pulse {
  0%,100% { opacity:1; }
  50% { opacity:.4; }
}

.hero-title {
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hero-title .yellow { color: var(--accent); }
.hero-title .big-fs {
  display: block;
  font-size: clamp(28px, 5vw, 52px);
  color: #fff;
  margin-top: 6px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin: 20px 0 36px;
  line-height: 1.6;
}

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* WINS TICKER */
.wins-ticker {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(90deg, var(--bg-card) 80%, transparent);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .5px;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 0 12px 160px;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.win-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px 6px 12px;
  margin-right: 4px;
  border-right: 1px solid var(--border);
  font-size: 13px;
}

.win-item .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.win-item .name { color: var(--text-muted); }
.win-item .game { color: var(--text); font-weight: 600; }
.win-item .amount { color: var(--green); font-weight: 700; }

/* SECTION */
.section { padding: 70px 24px; }
.section-narrow { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.5px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 44px;
  line-height: 1.6;
}

/* BONUS CARD */
.bonus-hero {
  background: linear-gradient(135deg, #1a0a3e 0%, #0f1a3a 100%);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bonus-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.25) 0%, transparent 70%);
}

.bonus-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.3);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.bonus-amount {
  font-size: clamp(50px, 7vw, 90px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -2px;
}

.bonus-fs {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
}

.bonus-desc { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-top: 16px; }

.bonus-terms { font-size: 12px; color: var(--text-muted); margin-top: 12px; opacity: .7; }

.bonus-perks { display: flex; flex-direction: column; gap: 16px; }

.perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.perk-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(124,58,237,.2);
}

.perk-title { font-weight: 700; font-size: 15px; }
.perk-text { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .25s;
}

.feature-card:hover {
  border-color: rgba(245,197,24,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(245,197,24,.15));
}

.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* GAMES GRID */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  position: relative;
  cursor: pointer;
}

.game-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.5); border-color: var(--accent); }

.game-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-card2), #0d1020);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  position: relative;
  overflow: hidden;
}

.game-card-img::after {
  content: 'ИГРАТЬ';
  position: absolute;
  inset: 0;
  background: rgba(124,58,237,.85);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  transition: .25s;
}

.game-card:hover .game-card-img::after { opacity: 1; }

.game-card-info { padding: 12px; }
.game-card-name { font-size: 14px; font-weight: 600; }
.game-card-provider { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

.game-hot {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
  z-index: 1;
}

.game-new {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
  z-index: 1;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 50px 0;
}

.stat-item {
  background: var(--bg-card);
  padding: 28px 24px;
  text-align: center;
}

.stat-num { font-size: 36px; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* LIVE SUPPORT */
.support-bar {
  background: linear-gradient(90deg, rgba(34,197,94,.1), rgba(34,197,94,.05));
  border: 1px solid rgba(34,197,94,.2);
  border-radius: var(--radius);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}

.support-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: pulse 1.5s infinite; }
.support-text { font-size: 15px; font-weight: 600; }
.support-text span { color: var(--text-muted); font-weight: 400; }

/* PROVIDERS */
.providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.provider-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: .2s;
}

.provider-badge:hover { border-color: var(--accent); color: var(--accent); }

/* CONTENT SECTION */
.content-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.content-section h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.content-section h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--accent); }
.content-section p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.content-section ul, .content-section ol { padding-left: 22px; }
.content-section li { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }

/* PAGE HERO */
.page-hero {
  padding: 110px 24px 50px;
  text-align: center;
  background: linear-gradient(180deg, rgba(124,58,237,.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: -1px; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: .2s;
}

.faq-q:hover { color: var(--accent); }

.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: .3s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* LIVE CARDS */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
}

.live-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.5); border-color: var(--purple); }

.live-card-top {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  position: relative;
  background: linear-gradient(135deg, #1a0a3e, #0f1a3a);
}

.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
}

.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1s infinite; }

.live-card-body { padding: 16px; }
.live-card-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.live-card-limit { font-size: 13px; color: var(--text-muted); }
.live-card-players { font-size: 12px; color: var(--green); margin-top: 8px; font-weight: 600; }

/* FOOTER */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 50px 24px 30px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 38px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-18 {
  display: inline-block;
  margin-top: 14px;
  border: 1.5px solid var(--text-muted);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); letter-spacing: .3px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* WINS POPUP */
.win-popup {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.win-toast {
  background: var(--bg-card);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  animation: slideIn .4s ease, fadeOut .4s ease 4.6s forwards;
  pointer-events: auto;
  min-width: 280px;
  max-width: 340px;
}

@keyframes slideIn {
  from { transform: translateX(-120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-120%); }
}

.toast-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.toast-info .toast-name { font-size: 13px; color: var(--text-muted); }
.toast-info .toast-game { font-size: 14px; font-weight: 600; }
.toast-amount { margin-left: auto; font-size: 16px; font-weight: 800; color: var(--green); white-space: nowrap; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .burger { display: flex; }
  .bonus-hero { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 999;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg-card);
  }
  .mobile-menu a.active { border-color: var(--accent); color: var(--accent); }
  .mobile-menu-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
  .mobile-menu-btns .btn { width: 100%; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .content-section { padding: 28px 20px; }
  .bonus-hero { padding: 28px 20px; }
  .header { padding: 0 16px; }
}

/* DECORATIVE GLOW */
.glow-purple { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%); pointer-events: none; }
.glow-gold { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(245,197,24,.1) 0%, transparent 70%); pointer-events: none; }

/* TAB BUTTONS */
.tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.tab-btn:hover, .tab-btn.active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* SEO INTERNAL LINKS */
.seo-internal-links {
  margin: 32px 0 0;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.seo-internal-links__title {
  font-size: 15px !important;
  font-weight: 700;
  margin-bottom: 12px !important;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.seo-internal-links__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.seo-internal-links__list a {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: .2s;
}

.seo-internal-links__list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* SEO FAQ */
.seo-faq { margin-top: 36px; }

.seo-faq__title {
  font-size: 20px !important;
  font-weight: 700;
  margin-bottom: 16px !important;
}

/* CONTENT CTA */
.content-section__cta {
  margin-top: 32px;
  text-align: center;
}

/* PAYMENT ICONS */
.payments-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.payment-badge {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
