/* ===========================
   BASE & RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #f5c842;
  --gold-dark: #d4a017;
  --gold-light: #ffe98a;
  --bg: #0a0a14;
  --bg2: #0f0f1e;
  --bg3: #141428;
  --card: #131326;
  --card2: #1a1a32;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-muted: #7a7a9a;
  --primary: #f5c842;
  --primary-hover: #ffe070;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 4px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gold { color: var(--gold); }
.text-center { text-align: center; }
.w100 { width: 100%; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
  color: #1a0e00;
  box-shadow: 0 4px 20px rgba(245,200,66,0.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #f5c842 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245,200,66,0.5);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline:hover {
  background: rgba(245,200,66,0.1);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

.btn--xl { padding: 16px 40px; font-size: 17px; border-radius: 10px; }
.btn--lg { padding: 14px 32px; font-size: 15px; }
.btn--sm { padding: 7px 16px; font-size: 13px; }

.pulse {
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245,200,66,0.35); }
  50% { box-shadow: 0 6px 40px rgba(245,200,66,0.7); }
}

/* ===========================
   WIN TICKER (TOP BAR)
   =========================== */
.win-ticker {
  background: linear-gradient(90deg, #1a0e00, #2a1800, #1a0e00);
  border-bottom: 1px solid rgba(245,200,66,0.25);
  text-align: center;
  padding: 7px 20px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
}
.ticker-icon { font-size: 16px; }

/* ===========================
   HEADER
   =========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,20,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo { flex-shrink: 0; }
.logo img { height: 44px; width: auto; object-fit: contain; }

.nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  transition: all .2s;
}
.nav__link:hover, .nav__link.active {
  color: var(--gold);
  background: rgba(245,200,66,0.1);
}

.header__actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav__link { font-size: 15px; padding: 12px 16px; }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('background.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(1.2);
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,20,0.8) 40%, rgba(20,10,40,0.5) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}
.hero__content { max-width: 600px; }
.hero__badge {
  display: inline-block;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.4);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.hero__title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero__sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat__num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
.stat__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===========================
   WINS FEED
   =========================== */
.wins-section { padding: 0; }
.wins-feed {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.wins-feed::-webkit-scrollbar { display: none; }
.win-item {
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  animation: slideIn .4s ease;
}
.win-item__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.win-item__name { font-weight: 700; color: #fff; }
.win-item__amount { color: var(--gold); font-weight: 800; font-size: 14px; }
.win-item__game { color: var(--text-muted); font-size: 12px; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 52px 0; }
.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.section__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}
.section__title.text-center { width: 100%; margin-bottom: 32px; }

/* ===========================
   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;
  background: var(--card);
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(245,200,66,0.2); }
.game-card:hover img { transform: scale(1.06); }
.game-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.game-card:hover .game-card__overlay { opacity: 1; }

/* ===========================
   BONUS BANNER
   =========================== */
.bonus-banner { padding: 20px 0 52px; }
.bonus-card {
  background: linear-gradient(135deg, #1a0e00 0%, #0f0f1e 60%, #1a1040 100%);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: var(--radius-lg);
  padding: 48px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 8px 60px rgba(245,200,66,0.1);
  overflow: hidden;
  position: relative;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,200,66,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.bonus-card__left { max-width: 480px; }
.bonus-card__tag {
  display: inline-block;
  background: rgba(245,200,66,0.15);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bonus-card__title { font-size: 28px; font-weight: 900; margin-bottom: 18px; }
.bonus-card__amounts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.bonus-pill {
  background: rgba(245,200,66,0.12);
  border: 1px solid rgba(245,200,66,0.35);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 20px;
}
.bonus-card__desc { color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.bonus-card__right { text-align: center; flex-shrink: 0; }
.bonus-big {
  font-size: 90px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 40px rgba(245,200,66,0.5);
}
.bonus-big span { font-size: 50px; }
.bonus-fs {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  opacity: 0.85;
}

/* ===========================
   FEATURES
   =========================== */
.features-section { background: var(--bg2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: rgba(245,200,66,0.4);
  transform: translateY(-3px);
}
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===========================
   SEO SECTION
   =========================== */
.seo-section { background: var(--bg); }
.seo-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.seo-block h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.seo-block > p { color: var(--text-muted); margin-bottom: 30px; }
.seo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.seo-cols h3 { font-size: 17px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.seo-cols p { color: var(--text-muted); margin-bottom: 12px; font-size: 14px; }
.seo-cols li { color: var(--text-muted); font-size: 14px; }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 52px 0 28px; }
.footer__top { display: grid; grid-template-columns: 280px 1fr; gap: 48px; margin-bottom: 40px; }
.footer__brand img { margin-bottom: 14px; }
.footer__brand p { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.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; color: var(--text-muted); font-size: 13px; margin-bottom: 8px; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer__bottom p { color: var(--text-muted); font-size: 12px; margin-bottom: 6px; }
.footer__disclaimer { font-size: 11px !important; opacity: 0.6; }

/* ===========================
   WIN POPUP (NOTIFICATION)
   =========================== */
.win-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--card2);
  border: 1px solid rgba(245,200,66,0.35);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  transform: translateX(-200%);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  max-width: 300px;
}
.win-popup.show { transform: translateX(0); }
.win-popup__icon { font-size: 28px; flex-shrink: 0; }
.win-popup__text { display: flex; flex-direction: column; gap: 2px; }
.win-popup__text strong { font-size: 14px; color: #fff; }
.win-popup__text span { font-size: 13px; color: var(--gold); font-weight: 600; }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1040 100%);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 40px;
  text-align: center;
}
.page-hero__tag {
  display: inline-block;
  background: rgba(245,200,66,0.15);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-hero__title { font-size: clamp(28px, 5vw, 48px); font-weight: 900; margin-bottom: 12px; }
.page-hero__sub { color: var(--text-muted); font-size: 15px; max-width: 560px; margin: 0 auto 28px; }

/* ===========================
   FAQ
   =========================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .2s;
  font-family: inherit;
}
.faq-q:hover { background: rgba(255,255,255,0.04); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--gold); 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 .3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a__inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* ===========================
   BONUSES PAGE
   =========================== */
.bonuses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.bonus-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.bonus-item:hover { transform: translateY(-4px); border-color: rgba(245,200,66,0.4); }
.bonus-item::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,200,66,0.08) 0%, transparent 70%);
}
.bonus-item__icon { font-size: 40px; margin-bottom: 14px; }
.bonus-item__title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.bonus-item__value { color: var(--gold); font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.bonus-item__desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.bonus-item__badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(245,200,66,0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(245,200,66,0.3);
}

/* LIVE PAGE */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.live-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform .25s;
}
.live-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(245,200,66,0.15); }
.live-card img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-badge::before { content: ''; display: block; width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }
.live-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 20px 12px 12px;
}
.live-card__name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.live-card__players { font-size: 12px; color: var(--text-muted); }

/* ===========================
   SEO LINKS NAV
   =========================== */
.seo-links { margin-top: 24px; }
.seo-links strong { display: block; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.seo-links ul { padding-left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links li { margin: 0; }
.seo-links a {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all .2s;
}
.seo-links a:hover { color: var(--gold); border-color: rgba(245,200,66,0.4); background: rgba(245,200,66,0.07); }

/* ===========================
   BONUS STRIP
   =========================== */
.bonus-strip {
  background: linear-gradient(135deg, #1a0e00, #0f0f1e);
  border-top: 1px solid rgba(245,200,66,0.2);
  border-bottom: 1px solid rgba(245,200,66,0.2);
  padding: 36px 0;
}
.bonus-strip__inner { text-align: center; }
.bonus-strip__title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.bonus-strip__sub { color: var(--text-muted); margin-bottom: 22px; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav { display: none; }
  .header__actions { display: none; }
  .burger { display: flex; }
  .bonus-card { flex-direction: column; padding: 32px 24px; }
  .bonus-card__right { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .seo-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 420px; }
  .hero__stats { gap: 18px; }
  .footer__links { grid-template-columns: 1fr; }
  .seo-block { padding: 24px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .bonuses-grid { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
}
