:root {
  --bg: #140608;
  --bg2: #1c080b;
  --panel: #24090d;
  --panel2: #320d12;
  --line: #4a1820;
  --red: #e3122f;
  --red2: #ff2d4b;
  --crimson: #b00d24;
  --gold: #ffce45;
  --gold2: #f5a623;
  --amber: #ff8a3c;
  --text: #fff2f0;
  --muted: #d39aa0;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(0,0,0,.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 560px at 50% -160px, rgba(227,18,47,.24), transparent 60%),
    radial-gradient(800px 480px at 100% 30%, rgba(255,206,69,.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: 12px; 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-red { background: linear-gradient(135deg, var(--red2), var(--crimson)); color: #fff; box-shadow: 0 10px 24px rgba(227,18,47,.4); }
.btn-outline { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--line); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.shead { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.shead .eyebrow { color: var(--red2); font-weight: 800; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; }
.shead h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; margin: 8px 0 10px; }
.shead h2 span { color: var(--gold); }
.shead .line { width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red2), var(--gold)); margin: 0 auto 12px; }
.shead p { color: var(--muted); }
.section { padding: 56px 0; }

.header { position: sticky; top: 0; z-index: 60; background: rgba(20,6,8,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 20px; height: 76px; }
.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: 40px; height: 40px; border-radius: 50%; background: conic-gradient(from 220deg, var(--red2), var(--gold), var(--red2)); display: grid; place-items: center; color: #2a0205; font-size: 20px; box-shadow: var(--shadow); }
.logo b span { color: var(--red2); }

.main-nav { display: flex; gap: 4px; margin-left: 14px; }
.main-nav a { padding: 9px 14px; border-radius: 999px; 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,.06); }

.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: 40px 0 20px; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.hero-left { position: relative; border-radius: 24px; overflow: hidden; padding: 44px clamp(24px,4vw,48px); border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(20,6,8,.92), rgba(20,6,8,.55)), url("../img/banners/hero-main.webp"), linear-gradient(120deg, #6b0f1c, #1c080b);
  background-size: cover; background-position: center; min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.hero-left .tag { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(227,18,47,.18); border: 1px solid var(--red2); color: var(--gold); font-weight: 800; font-size: 13px; margin-bottom: 16px; width: fit-content; }
.hero-left h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; font-weight: 900; margin-bottom: 16px; }
.hero-left h1 em { font-style: normal; color: var(--gold); }
.hero-left p { color: #f3d6d8; font-size: 17px; max-width: 460px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 22px; color: var(--gold); font-weight: 900; }
.hero-stats div small { color: var(--muted); }

.hero-featured { background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.hero-featured h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-featured h4::before { content: "🔥"; }
.hero-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fg-card { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.fg-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .25s; }
.fg-card:hover img { transform: scale(1.06); }
.fg-card span { position: absolute; left: 0; bottom: 0; right: 0; font-size: 15px; font-weight: 800; background: linear-gradient(0deg, rgba(15,3,5,.92), transparent); padding: 18px 6px 6px; }

.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo-banner { position: relative; min-height: 200px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); background-size: cover; background-position: center; }
.promo-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,6,8,.94), rgba(20,6,8,.3)); z-index: 0; }
.promo-banner > * { position: relative; z-index: 1; }
.pb1 { background-image: url("../img/banners/promo-1.webp"); background-color: #4a0f1c; }
.pb2 { background-image: url("../img/banners/promo-2.webp"); background-color: #4a0f33; }
.pb3 { background-image: url("../img/banners/promo-3.webp"); background-color: #5a2a08; }
.promo-banner .eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 11px; }
.promo-banner h3 { font-size: 22px; margin: 6px 0 4px; }
.promo-banner p { color: #e7c2c6; font-size: 14px; margin-bottom: 16px; }
.promo-banner a { color: var(--gold); font-weight: 800; }
.promo-banner a:hover { text-decoration: underline; }

.bonus-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.bf-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; justify-content: center; min-height: 320px; background-size: cover; background-position: center; background-image: url("../img/banners/bonus-feature.webp"); background-color: #4a0f1c; }
.bf-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,6,8,.94), rgba(20,6,8,.45)); }
.bf-main > * { position: relative; z-index: 1; }
.bf-main .pct { font-size: clamp(44px,7vw,72px); font-weight: 900; color: var(--gold); line-height: 1; }
.bf-main h3 { font-size: 24px; margin: 10px 0; }
.bf-main p { color: #f3d6d8; max-width: 380px; margin-bottom: 20px; }
.bf-list { display: flex; flex-direction: column; gap: 14px; }
.bf-item { position: relative; border-radius: 14px; border: 1px solid var(--line); padding: 18px 20px; display: flex; align-items: center; gap: 16px; overflow: hidden; background-size: cover; background-position: center; }
.bf-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,9,13,.92), rgba(36,9,13,.7)); }
.bf-item > * { position: relative; z-index: 1; }
.bfi1 { background-image: url("../img/banners/bonus-small-1.webp"); background-color: #5a2a08; }
.bfi2 { background-image: url("../img/banners/bonus-small-2.webp"); background-color: #4a0f33; }
.bfi3 { background-image: url("../img/banners/bonus-small-3.webp"); background-color: #3a0a10; }
.bf-item .num { font-size: 30px; font-weight: 900; color: var(--red2); min-width: 84px; }
.bf-item h4 { font-size: 16px; }
.bf-item p { color: var(--muted); font-size: 13px; }
.bf-item .btn { margin-left: auto; }

.jackpot-ribbon { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gold); padding: 30px clamp(24px,4vw,48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(20,6,8,.88), rgba(74,15,51,.6)), url("../img/banners/jackpot-ribbon.webp"), linear-gradient(120deg, #4a0f33, #24090d); background-size: cover; background-position: center; }
.jackpot-ribbon .jr-left .eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.jackpot-ribbon .amount { font-size: clamp(36px, 6vw, 64px); font-weight: 900; color: var(--gold); letter-spacing: 1px; }
.jackpot-ribbon p { color: #f3d6d8; max-width: 360px; }

.tourn-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; margin-top: 18px; }
.tourn-banner { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); padding: 28px; background-size: cover; background-position: center; background-image: url("../img/banners/tournament-bg.webp"); background-color: #4a0f1c; display: flex; flex-direction: column; gap: 14px; }
.tourn-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20,6,8,.9), rgba(20,6,8,.55)); }
.tourn-banner > * { position: relative; z-index: 1; }
.tourn-banner h3 { font-size: 22px; }
.tourn-banner .prize { color: var(--gold); font-weight: 900; font-size: 28px; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: rgba(0,0,0,.45); 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(--red2); font-weight: 900; }
.countdown div small { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.leaderboard { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel2), var(--panel)); padding: 22px 26px; }
.leaderboard h4 { color: var(--gold); margin-bottom: 12px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-row .rank { width: 28px; height: 28px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.lb-row:nth-child(2) .rank { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1c00; border: 0; }
.lb-row .who { font-weight: 700; }
.lb-row .pts { margin-left: auto; color: var(--gold); font-weight: 800; }

.slot-group { margin-bottom: 16px; }
.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; scrollbar-width: none; -ms-overflow-style: none; }
.slider-track::-webkit-scrollbar { display: none; height: 0; }

.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(--gold); box-shadow: 0 16px 30px rgba(0,0,0,.5); }
.slot-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.slot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slot-rank { position: absolute; top: 0; left: 0; z-index: 3; width: 40px; height: 40px; background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1c00; font-weight: 900; font-size: 18px; display: grid; place-items: center; border-bottom-right-radius: 14px; }
.slot-badge { position: absolute; top: 10px; right: 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(--red2), var(--amber)); color: #fff; }
.slot-badge.new { background: linear-gradient(135deg, #36d07a, #b6ff3d); color: #052016; }
.slot-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: linear-gradient(0deg, rgba(15,3,5,.92), rgba(15,3,5,.3)); opacity: 0; transition: opacity .18s; }
.slot-card:hover .slot-overlay { opacity: 1; }
.slot-overlay .btn { width: 72%; padding: 11px; }
.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; }

.group-head .nav-arrows { display: flex; gap: 8px; margin-left: auto; }
.arrow-btn { 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; }
.arrow-btn:hover { background: var(--red2); color: #fff; border-color: var(--red2); }
.group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.group-head h3 { font-size: clamp(18px,2.4vw,24px); font-weight: 900; }
.group-head .chip { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; background: rgba(227,18,47,.16); color: var(--red2); border: 1px solid var(--line); }

.live { overflow: hidden; }
.live-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.live-list { display: flex; gap: 14px; list-style: none; width: max-content; animation: marquee 38s linear infinite; }
.live:hover .live-list { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.live-item { display: flex; align-items: center; gap: 12px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; min-width: 250px; }
.live-item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.live-item b { font-size: 13px; }
.live-item .lw-game { display: block; color: var(--muted); font-size: 12px; }
.live-item .lw-amt { margin-left: auto; color: var(--gold); font-weight: 900; }

.seo { background: linear-gradient(180deg, transparent, rgba(255,206,69,.05)); }
.seo-full { width: 100%; }
.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: #ecccce; margin-bottom: 12px; max-width: none; }
.seo ul { list-style: none; display: grid; gap: 10px; }
.seo ul li { padding-left: 26px; position: relative; color: #ecccce; }
.seo ul li::before { content: "✦"; position: absolute; left: 0; color: var(--red2); }

.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(--red2); }
.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; }

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr; }
  .bonus-feature { grid-template-columns: 1fr; }
  .tourn-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: absolute; top: 76px; 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; }
  .footer-grid { grid-template-columns: 1fr; }
  .jackpot-ribbon { flex-direction: column; align-items: flex-start; }
}
