/* ======================================================
   ATOM CASINO — Main Stylesheet
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-0:       #07091a;
  --bg-1:       #0c0f22;
  --bg-2:       #111729;
  --bg-card:    #151c32;
  --bg-card-h:  #1b2440;
  --gold:       #f5c518;
  --gold-dk:    #b89210;
  --gold-glow:  rgba(245,197,24,.25);
  --green:      #22c55e;
  --green-dk:   #16a34a;
  --red:        #ef4444;
  --blue:       #3b82f6;
  --txt:        #e8eeff;
  --txt-muted:  #6b7a9f;
  --border:     rgba(255,255,255,.06);
  --border-g:   rgba(245,197,24,.22);
  --radius:     12px;
  --radius-sm:  8px;
  --hdr:        70px;
  --ease:       .22s ease;
  --ease-out:   .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--txt);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-card-h); border-radius: 3px; }

/* ---------- Typography helpers ---------- */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: .5rem;
}
.section-sub {
  color: var(--txt-muted);
  font-size: .95rem;
  margin-bottom: 2rem;
}
.section-head { margin-bottom: 2rem; }
.section-head .section-title { margin-bottom: .4rem; }

/* ---------- Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .65rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .3px;
  transition: var(--ease-out);
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, #f6c90e 0%, #d4a800 100%);
  color: #000;
  box-shadow: 0 0 18px var(--gold-glow);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245,197,24,.45);
}
.btn--green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(34,197,94,.3);
}
.btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,197,94,.45);
}
.btn--ghost {
  border: 1px solid var(--border-g);
  color: var(--gold);
  background: rgba(245,197,24,.06);
}
.btn--ghost:hover { background: rgba(245,197,24,.14); }
.btn--lg { padding: .85rem 2.2rem; font-size: 1rem; }
.btn--sm { padding: .45rem 1rem; font-size: .82rem; }

/* ======================================================
   HEADER
   ====================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hdr);
  background: rgba(7,9,26,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--ease);
}
.header.scrolled {
  background: rgba(7,9,26,.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img { height: 42px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex: 1;
}
.nav__link {
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  color: var(--txt-muted);
  transition: var(--ease);
  position: relative;
}
.nav__link:hover,
.nav__link.active { color: var(--txt); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.header__actions { display: flex; align-items: center; gap: .8rem; margin-left: auto; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: var(--ease);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--hdr);
  left: 0; right: 0;
  background: rgba(7,9,26,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  z-index: 999;
  flex-direction: column;
  gap: .5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav__link {
  padding: .85rem 1rem;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav__link:last-of-type { border-bottom: none; }

/* ======================================================
   WINNERS TICKER
   ====================================================== */
.ticker-bar {
  background: linear-gradient(90deg, var(--bg-1) 0%, #0f1630 50%, var(--bg-1) 100%);
  border-bottom: 1px solid var(--border);
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: fixed;
  top: var(--hdr);
  left: 0; right: 0;
  z-index: 998;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .5px;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  gap: 6px;
}
.ticker-label::after {
  content: '▶';
  font-size: .6rem;
}
.ticker-track-wrap { flex: 1; overflow: hidden; }
.ticker-track {
  display: flex;
  gap: 0;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: .8rem;
  color: var(--txt-muted);
  border-right: 1px solid var(--border);
}
.ticker-item .player { color: var(--txt); font-weight: 600; }
.ticker-item .game { color: var(--txt-muted); }
.ticker-item .win-amount {
  color: var(--gold);
  font-weight: 700;
}
.ticker-item .win-amount.big { color: var(--green); }
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s ease infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

/* ======================================================
   PAGE WRAPPER
   ====================================================== */
.page-top { padding-top: calc(var(--hdr) + 40px); }

/* ======================================================
   HERO SLIDER
   ====================================================== */
.hero {
  position: relative;
  height: clamp(420px, 60vh, 680px);
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(7,9,26,.85) 0%,
    rgba(7,9,26,.5) 50%,
    rgba(7,9,26,.15) 100%);
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  z-index: 2;
  max-width: 600px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.15);
  border: 1px solid var(--border-g);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  width: fit-content;
}
.hero__badge::before {
  content: '★';
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.hero__desc {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(232,238,255,.7);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 5%;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.3);
  transition: var(--ease-out);
}
.hero__dot.active {
  background: var(--gold);
  width: 28px;
}

/* ======================================================
   SECTIONS
   ====================================================== */
.section { padding: 60px 0; }
.section + .section { padding-top: 0; }
.section--dark { background: var(--bg-1); }

/* Recent winners panel */
.wins-section { padding: 50px 0; }
.wins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.win-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  transition: var(--ease);
}
.win-card:hover { border-color: var(--border-g); background: var(--bg-card-h); }
.win-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e2d5a, #2d3f7a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--gold);
}
.win-info { flex: 1; min-width: 0; }
.win-player { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-game { font-size: .78rem; color: var(--txt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-amount-badge {
  font-weight: 800;
  font-size: .95rem;
  color: var(--green);
  flex-shrink: 0;
}
.win-amount-badge.is-big { color: var(--gold); font-size: 1.05rem; }

/* ======================================================
   GAME CARDS
   ====================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  cursor: pointer;
  group: true;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.game-card:hover img { transform: scale(1.08); }
.game-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7,9,26,.95) 100%);
  opacity: 0;
  transition: opacity var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem .8rem;
  gap: .5rem;
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__name {
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.3;
}
.game-card__provider { font-size: .72rem; color: var(--txt-muted); }
.game-card__play {
  background: var(--green);
  color: #fff;
  padding: .45rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .78rem;
  text-align: center;
  transition: var(--ease);
  display: block;
}
.game-card__play:hover { background: var(--green-dk); }

/* Badges */
.game-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}
.game-badge.new { background: var(--blue); }
.game-badge.hot { background: var(--red); }
.game-badge.top { background: var(--gold); color: #000; }

/* Tabs for slots filter */
.filter-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-tab {
  padding: .5rem 1.2rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--txt-muted);
  transition: var(--ease);
}
.filter-tab:hover { border-color: var(--border-g); color: var(--txt); }
.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

/* ======================================================
   PROMO BANNERS
   ====================================================== */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  background: var(--bg-card);
}
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.promo-card:hover img { transform: scale(1.04); }
.promo-card__inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,9,26,.85) 0%, rgba(7,9,26,.2) 100%);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
}
.promo-card__tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
}
.promo-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}
.promo-card__cta {
  width: fit-content;
  background: var(--gold);
  color: #000;
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  margin-top: .3rem;
  transition: var(--ease);
}
.promo-card:hover .promo-card__cta { background: #fff; }

/* ======================================================
   FEATURES
   ====================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: var(--ease);
}
.feature-card:hover {
  border-color: var(--border-g);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.feature-desc { font-size: .85rem; color: var(--txt-muted); line-height: 1.6; }

/* ======================================================
   LIVE CASINO
   ====================================================== */
.live-table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.live-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--ease-out);
}
.live-table-card:hover {
  border-color: var(--border-g);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.live-table-card__thumb {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #1a2040, #0d1530);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.live-table-card__icon { font-size: 4rem; }
.live-table-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-table-card__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1s ease infinite;
}
.live-table-card__info { padding: 1rem; }
.live-table-card__name { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.live-table-card__meta { font-size: .8rem; color: var(--txt-muted); margin-bottom: .8rem; }
.live-table-card__limits {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--txt-muted);
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}
.live-table-card__limits span { color: var(--txt); font-weight: 600; }

/* ======================================================
   BONUS CARDS
   ====================================================== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bonus-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--ease-out);
}
.bonus-card:hover { border-color: var(--border-g); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.bonus-card__bg {
  position: absolute;
  inset: 0;
}
.bonus-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  transition: transform .5s ease, opacity .3s ease;
}
.bonus-card:hover .bonus-card__bg img { transform: scale(1.05); opacity: .75; }
.bonus-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,9,26,.9) 0%, rgba(7,9,26,.5) 100%);
}
.bonus-card__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bonus-tag {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: .3rem .7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: fit-content;
}
.bonus-amount {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: .5rem;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bonus-desc { font-size: .9rem; color: rgba(232,238,255,.75); line-height: 1.5; margin-bottom: 1.4rem; }
.bonus-terms { font-size: .72rem; color: var(--txt-muted); margin-top: .8rem; }

/* ======================================================
   FAQ
   ====================================================== */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--ease);
}
.faq-item.open { border-color: var(--border-g); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.3rem 1.5rem;
  font-weight: 600;
  font-size: .98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--ease);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--gold);
  transition: transform var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.3rem;
  font-size: .9rem;
  color: var(--txt-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ======================================================
   PAGE HERO (inner pages)
   ====================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.page-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: .8rem;
}
.page-hero__desc { font-size: 1rem; color: var(--txt-muted); max-width: 540px; margin: 0 auto; }

/* ======================================================
   WIN TOAST NOTIFICATION
   ====================================================== */
.win-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.win-toast {
  background: var(--bg-card);
  border: 1px solid var(--border-g);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 280px;
  max-width: 340px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  animation: toastIn .4s cubic-bezier(.175,.885,.32,1.275) forwards;
  pointer-events: all;
}
.win-toast.removing {
  animation: toastOut .35s ease forwards;
}
.win-toast__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e3a20, #0d2a10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.win-toast__body { flex: 1; min-width: 0; }
.win-toast__player { font-weight: 700; font-size: .82rem; margin-bottom: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-toast__game { font-size: .74rem; color: var(--txt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: .2rem; }
.win-toast__amount { font-size: 1rem; font-weight: 800; color: var(--green); }
.win-toast__amount.gold { color: var(--gold); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(120%) scale(.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(120%) scale(.9); }
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo img { height: 40px; width: auto; }
.footer__desc { font-size: .85rem; color: var(--txt-muted); line-height: 1.7; max-width: 280px; }
.footer__badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.footer__badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .3rem .6rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--txt-muted);
}
.footer__col-title {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 1.2rem;
  color: var(--txt);
}
.footer__links { display: flex; flex-direction: column; gap: .65rem; }
.footer__links a {
  font-size: .85rem;
  color: var(--txt-muted);
  transition: var(--ease);
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy { font-size: .8rem; color: var(--txt-muted); }
.footer__legal { font-size: .75rem; color: var(--txt-muted); max-width: 500px; text-align: right; line-height: 1.5; }

/* ======================================================
   UTILITY
   ====================================================== */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-muted { color: var(--txt-muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.d-none { display: none; }

/* ======================================================
   SHOW MORE BUTTON
   ====================================================== */
.show-more-wrap { text-align: center; margin-top: 2.5rem; }

/* ======================================================
   STATS BAR
   ====================================================== */
.stats-bar {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item__value {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: .2rem;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item__label { font-size: .8rem; color: var(--txt-muted); }

/* ======================================================
   SEO TEXT SECTION
   ====================================================== */
.seo-section {
  padding: 60px 0 40px;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}
.seo-section + .footer { margin-top: 0; }
.seo-wrap { max-width: 900px; }

.seo-h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.5px;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.seo-h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--txt);
  margin: 2rem 0 .8rem;
  padding-left: .9rem;
  border-left: 3px solid var(--gold);
}
.seo-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1.5rem 0 .6rem;
}
.seo-p {
  font-size: .93rem;
  color: rgba(232,238,255,.75);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.seo-list {
  margin: .6rem 0 1rem 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.seo-list li {
  font-size: .92rem;
  color: rgba(232,238,255,.75);
  line-height: 1.65;
  padding-left: 1.4rem;
  position: relative;
}
.seo-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .75rem;
  top: .2rem;
}
.seo-ol {
  counter-reset: seo-counter;
  margin: .6rem 0 1rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.seo-ol li {
  counter-increment: seo-counter;
  font-size: .92rem;
  color: rgba(232,238,255,.75);
  line-height: 1.65;
  padding-left: 2rem;
  position: relative;
}
.seo-ol li::before {
  content: counter(seo-counter);
  position: absolute;
  left: 0;
  width: 22px; height: 22px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  top: .15rem;
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .88rem;
}
.seo-table th {
  background: var(--bg-card);
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  padding: .7rem 1rem;
  border-bottom: 2px solid var(--border-g);
}
.seo-table td {
  padding: .65rem 1rem;
  color: rgba(232,238,255,.75);
  border-bottom: 1px solid var(--border);
}
.seo-table tr:last-child td { border-bottom: none; }
.seo-note {
  font-size: .8rem;
  color: var(--txt-muted);
  font-style: italic;
  line-height: 1.6;
  padding: .8rem 1rem;
  border-left: 2px solid var(--border-g);
  margin: 1rem 0;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1100px) {
  .games-grid { grid-template-columns: repeat(5, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .promos-grid { grid-template-columns: 1fr 1fr; }
  .wins-grid { grid-template-columns: 1fr 1fr; }
  .live-table-grid { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions .btn--ghost { display: none; }
}
@media (max-width: 600px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .promos-grid { grid-template-columns: 1fr; }
  .wins-grid { grid-template-columns: 1fr; }
  .live-table-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; }
  .hero__content { padding: 0 5%; max-width: 100%; }
  .win-toast { min-width: 240px; max-width: calc(100vw - 48px); }
  .win-toast-wrap { right: 16px; bottom: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
