:root {
  --gold: #f0b429;
  --gold-dark: #c8882a;
  --gold-light: #ffe082;
  --bg: #0d0f1a;
  --bg2: #131626;
  --bg3: #1a1e32;
  --bg4: #222740;
  --text: #e8eaf6;
  --text-muted: #8c91b8;
  --red: #e53935;
  --green: #43a047;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 26, 0.97);
  border-bottom: 1px solid rgba(240, 180, 41, 0.18);
  backdrop-filter: blur(10px);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.header__nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--gold);
  background: rgba(240, 180, 41, 0.08);
}

.header__cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a0a00;
  box-shadow: 0 4px 18px rgba(240, 180, 41, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover { background: rgba(240, 180, 41, 0.08); }

.btn-lg {
  padding: 14px 34px;
  font-size: 16px;
  border-radius: 12px;
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--bg3);
  border-bottom: 1px solid rgba(240, 180, 41, 0.1);
  overflow: hidden;
  padding: 0;
  height: 38px;
  display: flex;
  align-items: center;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--gold);
  color: #1a0a00;
  font-size: 11px;
  font-weight: 800;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  padding-left: 40px;
}

.ticker-item {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-item .badge {
  background: rgba(240, 180, 41, 0.12);
  border: 1px solid rgba(240, 180, 41, 0.3);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HERO BANNER ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-color: #0a0c1a;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,26,0.92) 0%, rgba(10,12,26,0.75) 50%, rgba(10,12,26,0.3) 100%);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content { flex: 1; }

.hero__badge {
  display: inline-block;
  background: rgba(240, 180, 41, 0.15);
  border: 1px solid rgba(240, 180, 41, 0.4);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 400;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__img {
  flex-shrink: 0;
  width: 420px;
  max-width: 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--bg2);
  border-top: 1px solid rgba(240, 180, 41, 0.08);
  border-bottom: 1px solid rgba(240, 180, 41, 0.08);
}

.features-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.features-strip__inner::-webkit-scrollbar { display: none; }

.feat-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg3);
  border: 1px solid rgba(240, 180, 41, 0.12);
  border-radius: 40px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.feat-pill:hover {
  border-color: var(--gold);
  background: rgba(240, 180, 41, 0.06);
}

.feat-pill__icon {
  font-size: 20px;
  line-height: 1;
}

/* ===== SECTION ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: var(--gold);
  border-radius: 2px;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.section-link:hover { opacity: 1; }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.04);
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(240, 180, 41, 0.3);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s;
}

.game-card:hover img { filter: brightness(1.1); }

.game-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.game-card:hover .game-card__overlay { opacity: 1; }

.game-card__name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.game-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background: var(--gold);
  color: #1a0a00;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(240,180,41,0.5);
}

.game-card:hover .game-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ===== LIVE WINS FEED ===== */
.wins-section {
  background: var(--bg2);
  border-top: 1px solid rgba(240,180,41,0.08);
  border-bottom: 1px solid rgba(240,180,41,0.08);
  padding: 40px 20px;
}

.wins-section .section { padding: 0; max-width: 1280px; }

.wins-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.win-card {
  background: var(--bg3);
  border: 1px solid rgba(240,180,41,0.1);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.win-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg4), var(--bg3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(240,180,41,0.2);
}

.win-card__info { flex: 1; min-width: 0; }

.win-card__user {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-card__game {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-card__amount {
  font-size: 14px;
  font-weight: 900;
  color: var(--green);
  flex-shrink: 0;
  white-space: nowrap;
}

.win-card__amount.big { color: var(--gold); font-size: 15px; }

/* ===== INFO SECTION ===== */
.info-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 20px;
}

.info-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}

.info-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  margin: 28px 0 10px;
}

.info-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.info-section ol, .info-section ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.info-section li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 4px;
}

/* ===== BONUS CARDS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.bonus-card {
  background: var(--bg3);
  border: 1px solid rgba(240,180,41,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(240,180,41,0.25);
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.bonus-card__icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.bonus-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.bonus-card__value {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1;
}

.bonus-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bonus-card__tag {
  display: inline-block;
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.25);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.faq-item {
  background: var(--bg3);
  border: 1px solid rgba(240,180,41,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item__q {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  transition: background 0.2s;
}

.faq-item__q:hover { background: rgba(240,180,41,0.04); }

.faq-item__q .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.3s;
}

.faq-item.open .faq-item__q .icon { transform: rotate(45deg); }
.faq-item.open { border-color: rgba(240,180,41,0.25); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.open .faq-item__a {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0a0c1a 0%, #1a1040 100%);
  padding: 50px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(240,180,41,0.1);
}

.page-hero__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.page-hero__sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid rgba(240,180,41,0.1);
  padding: 40px 20px 24px;
  margin-top: 40px;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

.footer__brand { flex: 1; min-width: 200px; }

.footer__brand img { height: 36px; width: auto; margin-bottom: 12px; }

.footer__brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer__col { flex: 1; min-width: 140px; }

.footer__col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 9px;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
}

.footer__badges { display: flex; gap: 8px; align-items: center; }

.footer__badge {
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.age-badge {
  width: 32px;
  height: 32px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE MENU ===== */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
  font-size: 22px;
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .burger { display: flex; align-items: center; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(13,15,26,0.98);
    padding: 24px 20px;
    gap: 4px;
    z-index: 99;
    backdrop-filter: blur(12px);
  }
  .header__nav.open a {
    padding: 14px 16px;
    font-size: 17px;
  }
  .hero__img { display: none; }
  .hero__inner { padding: 40px 20px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .wins-feed { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wins-feed { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .header__cta .btn-outline { display: none; }
}

/* ===== LIVE badge ===== */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 3px 8px 3px 6px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  display: block;
  animation: blink 1.2s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ===== STATS ROW ===== */
.stats-row {
  display: flex;
  gap: 1px;
  background: rgba(240,180,41,0.08);
  border: 1px solid rgba(240,180,41,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.stat-item {
  flex: 1;
  background: var(--bg2);
  padding: 20px 16px;
  text-align: center;
}

.stat-item__value {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ===== APP DOWNLOAD BANNER ===== */
.app-banner {
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  border: 1px solid rgba(240,180,41,0.15);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 40px 0;
}

.app-banner__icon { font-size: 48px; flex-shrink: 0; }

.app-banner__text h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.app-banner__text p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

@media (max-width: 560px) {
  .app-banner { flex-direction: column; text-align: center; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { min-width: 50%; }
}
