:root {
  --bg: #07120f;
  --bg2: #0a1a15;
  --panel: #0e231c;
  --panel2: #123028;
  --line: #1d4034;
  --emerald: #16c784;
  --emerald2: #0fb46b;
  --lime: #b6ff3d;
  --gold: #ffd23f;
  --gold2: #f5a623;
  --orange: #ff5a3c;
  --text: #eafff6;
  --muted: #8fc7b2;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 80% -120px, rgba(22,199,132,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255,210,63,.10), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, system-ui, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1240px, 92%); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-weight: 800; letter-spacing: .2px;
  padding: 12px 22px; border-radius: 999px; font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1c00; box-shadow: 0 10px 24px rgba(245,166,35,.35); }
.btn-emerald { background: linear-gradient(135deg, var(--emerald), var(--emerald2)); color: #052016; box-shadow: 0 10px 24px rgba(22,199,132,.35); }
.btn-outline { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line); }
.btn-orange { background: linear-gradient(135deg, var(--orange), #ff8a3c); color: #2a0c00; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; }
.section-head h2 span { color: var(--emerald); }
.section-head p { color: var(--muted); max-width: 520px; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }

.topbar {
  background: linear-gradient(90deg, rgba(22,199,132,.16), rgba(255,210,63,.10));
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar b { color: var(--gold); }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7,18,15,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; }
.logo img { width: auto; height: 54px; display: block; object-fit: contain; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  display: grid; place-items: center; color: #06241a; font-size: 20px; box-shadow: var(--shadow);
}
.logo .mark span { transform: translateY(-1px); }
.logo b span { color: var(--emerald); }

.main-nav { display: flex; gap: 6px; margin-left: 6px; }
.main-nav a {
  padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted);
  transition: background .15s, color .15s;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 3px; background: var(--text); border-radius: 3px; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { padding: 30px 0 10px; }
.hero-stage { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.hero-slide {
  display: none; min-height: 420px; align-items: center;
  padding: 48px clamp(24px, 5vw, 64px);
  background-size: cover; background-position: center;
}
.hero-slide.is-active { display: flex; }
.hero-slide--1 { background:
  linear-gradient(90deg, rgba(6,18,14,.92) 30%, rgba(6,18,14,.25)),
  url("../img/banners/hero-main.webp"), linear-gradient(120deg, #0c3a2b, #08231a); }
.hero-slide--2 { background:
  linear-gradient(90deg, rgba(6,18,14,.92) 30%, rgba(6,18,14,.25)),
  url("../img/banners/jackpot.webp"), linear-gradient(120deg, #2a1c4a, #08231a); }
.hero-slide--3 { background:
  linear-gradient(90deg, rgba(6,18,14,.92) 30%, rgba(6,18,14,.25)),
  url("../img/banners/vip-promo.webp"), linear-gradient(120deg, #3a1410, #08231a); }
.hero-copy { max-width: 620px; }
.hero-copy .tag {
  display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px;
  background: rgba(22,199,132,.16); border: 1px solid var(--emerald); color: var(--lime);
  font-weight: 800; font-size: 13px; margin-bottom: 16px;
}
.hero-copy h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.05; font-weight: 900; margin-bottom: 16px; }
.hero-copy h1 em { font-style: normal; color: var(--gold); }
.hero-copy p { color: #d6f3e6; font-size: 17px; max-width: 520px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 24px; color: var(--gold); font-weight: 900; }
.hero-stats div small { color: var(--muted); }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.hero-dots button.is-active { background: var(--gold); width: 26px; }

.quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 22px; }
.quick a {
  background: linear-gradient(160deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 12px; text-align: center;
  font-weight: 800; font-size: 14px; transition: transform .15s, border-color .15s;
}
.quick a:hover { transform: translateY(-3px); border-color: var(--emerald); }
.quick a i { display: block; width: 90px; height: 66px; margin: 0 auto 8px; }
.quick a i img { width: 100%; height: 100%; object-fit: contain; display: block; }

.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bonus-card {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 26px;
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel2), var(--panel));
  box-shadow: var(--shadow); min-height: 220px; display: flex; flex-direction: column;
}
.bonus-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,210,63,.35), transparent 70%); pointer-events: none;
}
.bonus-card.b-emerald { background-image: linear-gradient(160deg, rgba(22,199,132,.22), var(--panel)); }
.bonus-card.b-gold { background-image: linear-gradient(160deg, rgba(255,210,63,.20), var(--panel)); }
.bonus-card.b-orange { background-image: linear-gradient(160deg, rgba(255,90,60,.22), var(--panel)); }
.bonus-card .pct { font-size: 40px; font-weight: 900; color: var(--gold); }
.bonus-card h3 { font-size: 20px; margin: 6px 0; }
.bonus-card p { color: var(--muted); margin-bottom: 18px; }
.bonus-card .btn { margin-top: auto; align-self: flex-start; }

.promo-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 18px; }
.jackpot-banner {
  border-radius: var(--radius); border: 1px solid var(--line); padding: 30px;
  background:
    linear-gradient(90deg, rgba(6,18,14,.85), rgba(6,18,14,.35)),
    url("../img/banners/jackpot.webp"), linear-gradient(120deg, #2a1c4a, #0e231c);
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: center;
}
.jackpot-banner .eyebrow { color: var(--lime); }
.jackpot-banner .amount { font-size: clamp(34px, 6vw, 60px); font-weight: 900; color: var(--gold); letter-spacing: 1px; }
.jackpot-banner .amount small { font-size: 22px; color: var(--text); }
.jackpot-banner p { color: #d6f3e6; max-width: 420px; margin: 10px 0 18px; }

.tourn {
  border-radius: var(--radius); border: 1px solid var(--line); padding: 26px;
  background: linear-gradient(160deg, var(--panel2), var(--panel));
  display: flex; flex-direction: column; gap: 14px;
}
.tourn h3 { font-size: 20px; }
.tourn .prize { color: var(--gold); font-weight: 900; font-size: 26px; }
.countdown { display: flex; gap: 10px; }
.countdown div {
  background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 0; text-align: center; flex: 1;
}
.countdown div b { display: block; font-size: 24px; color: var(--lime); font-weight: 900; }
.countdown div small { color: var(--muted); font-size: 11px; text-transform: uppercase; }

.slots-wrap { position: relative; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters button {
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 13px;
  transition: .15s;
}
.filters button.is-active, .filters button:hover { background: var(--emerald); color: #052016; border-color: var(--emerald); }

.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.slider-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

.slot-card {
  position: relative; border-radius: 14px; overflow: hidden; scroll-snap-align: start;
  background: var(--panel); border: 1px solid var(--line); transition: transform .15s, border-color .15s, box-shadow .2s;
}
.slot-card:hover { transform: translateY(-5px); border-color: var(--emerald); box-shadow: 0 16px 30px rgba(0,0,0,.45); }
.slot-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.slot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slot-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1c00;
  font-weight: 900; font-size: 11px; padding: 4px 10px; border-radius: 999px;
}
.slot-badge.hot { background: linear-gradient(135deg, var(--orange), #ff8a3c); color: #2a0c00; }
.slot-badge.new { background: linear-gradient(135deg, var(--emerald), var(--lime)); color: #052016; }
.slot-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(0deg, rgba(4,15,11,.92), rgba(4,15,11,.35));
  opacity: 0; transition: opacity .18s;
}
.slot-card:hover .slot-overlay { opacity: 1; }
.slot-overlay .btn { width: 70%; padding: 10px; }
.slot-meta { padding: 12px 12px 14px; }
.slot-meta b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-meta small { color: var(--muted); font-size: 12px; }

.slider-nav { position: absolute; top: -58px; right: 0; display: flex; gap: 8px; }
.slider-nav button {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer; font-size: 18px; transition: .15s;
}
.slider-nav button:hover { background: var(--emerald); color: #052016; border-color: var(--emerald); }

.providers-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.provider-card {
  background: linear-gradient(160deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 14px; padding: 24px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .15s, border-color .15s;
}
.provider-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.provider-card img { height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.provider-card span { color: var(--muted); font-size: 12px; font-weight: 700; }

.seo { background: linear-gradient(180deg, transparent, rgba(22,199,132,.06)); }
.seo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.seo h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 16px; font-weight: 900; }
.seo h3 { margin: 22px 0 8px; color: var(--gold); font-size: 18px; }
.seo p { color: #c8e8db; margin-bottom: 12px; }
.seo ul { list-style: none; display: grid; gap: 10px; }
.seo ul li { padding-left: 26px; position: relative; color: #c8e8db; }
.seo ul li::before { content: "✦"; position: absolute; left: 0; color: var(--emerald); }
.seo-aside {
  background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.seo-aside h4 { color: var(--gold); margin-bottom: 14px; }
.seo-aside .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.seo-aside .row:last-child { border-bottom: 0; }
.seo-aside .row span { color: var(--muted); }
.seo-aside .row b { color: var(--lime); }

.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.footer-grid h5 { margin-bottom: 14px; font-size: 15px; }
.footer-grid a, .footer-grid p { color: var(--muted); font-size: 14px; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--emerald); }
.footer-prov { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.footer-prov img { height: 22px; filter: brightness(0) invert(1); opacity: .6; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.demo-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(3,10,8,.85); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.demo-modal.is-open { display: flex; }
.demo-modal__dialog {
  width: min(960px, 96vw); height: min(680px, 90vh);
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.demo-modal__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.demo-modal__title { font-weight: 800; color: var(--gold); }
.demo-modal__close { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 16px; }
.demo-modal__close:hover { background: var(--orange); color: #2a0c00; }
.demo-modal__frame { flex: 1; background: #000; }
.demo-modal__frame iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 1024px) {
  .quick { grid-template-columns: repeat(3, 1fr); }
  .providers-strip { grid-template-columns: repeat(3, 1fr); }
  .bonus-grid { grid-template-columns: 1fr; }
  .promo-split { grid-template-columns: 1fr; }
  .slider-grid { grid-template-columns: repeat(3, 1fr); }
  .seo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: var(--bg2); border-bottom: 1px solid var(--line); padding: 12px; gap: 4px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .burger { display: flex; }
  .header-cta .btn-outline { display: none; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .slider-grid { grid-template-columns: repeat(2, 1fr); }
  .providers-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-slide { min-height: 360px; }
}
