:root {
  --bg: #0b0c10;
  --bg2: #14161d;
  --panel: #1a1d27;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f4f8;
  --muted: #9aa0b4;
  --red: #e11d2e;
  --red2: #ff3b4b;
  --gold: #f5c451;
  --radius: 12px;
  --max: 1120px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select, input { font: inherit; }

.wrap {
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--red2), #8b0000);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 20px rgba(225,29,46,.35);
}
.logo__mark span { font-size: 18px; font-weight: 900; }
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.online {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.online__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,.05); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: .15s ease;
}
.btn--red {
  background: linear-gradient(180deg, var(--red2), var(--red));
  color: #fff;
  box-shadow: 0 8px 18px rgba(225,29,46,.28);
}
.btn--red:hover { filter: brightness(1.08); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.04); }
.btn--block { width: 100%; }

/* Hero carousel */
.hero {
  padding: 18px 0 8px;
}
.swiper {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg2);
}
.swiper-wrapper {
  display: flex;
  transition: transform .45s ease;
}
.swiper-slide {
  min-width: 100%;
  cursor: pointer;
}
.banner {
  min-height: 210px;
  padding: 28px 24px;
  display: grid;
  align-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,59,75,.35), transparent 70%);
  pointer-events: none;
}
.banner--cash { background: linear-gradient(120deg, #1c1220, #2a0f18 55%, #14161d); }
.banner--fs { background: linear-gradient(120deg, #12182a, #1a1030 55%, #14161d); }
.banner--wp { background: linear-gradient(120deg, #1a1710, #2a220f 55%, #14161d); }
.banner--lvl { background: linear-gradient(120deg, #101818, #0f2420 55%, #14161d); }
.banner__kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.banner__title {
  margin: 0;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.1;
  font-weight: 900;
}
.banner__text {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}
.banner__cta { margin-top: 10px; width: fit-content; }
.hero__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.2);
  cursor: pointer;
}
.hero__dot.is-active { background: var(--red2); }

/* Tabs / toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0;
}
.tab {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}
.tab:hover, .tab.is-active {
  color: #fff;
  border-color: rgba(225,29,46,.5);
  background: rgba(225,29,46,.15);
}
.toolbar__grow { flex: 1; min-width: 160px; }
.select, .search {
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 0 12px;
}
.search::placeholder { color: #6d7388; }

/* Wins strip */
.wins {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
  scrollbar-width: thin;
}
.win {
  flex: 0 0 auto;
  min-width: 210px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
}
.win__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #333, #111);
}
.win__player { font-size: 12px; color: var(--muted); }
.win__sum { font-weight: 800; color: var(--gold); }
.win__game { font-size: 13px; }

/* Games */
.games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .games { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .games { grid-template-columns: repeat(5, 1fr); }
}
.game {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.game:hover {
  transform: translateY(-2px);
  border-color: rgba(225,29,46,.45);
}
.game__art {
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: end stretch;
  padding: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(160deg, var(--c1, #3a1020), var(--c2, #101018));
}
.game__badge {
  justify-self: start;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
}
.game__badge--new { background: #2563eb; }
.game__badge--hit { background: var(--red); }
.game__name {
  padding: 8px 10px 10px;
  font-size: 13px;
  font-weight: 700;
  min-height: 46px;
}
.games__more {
  margin: 16px 0 8px;
  display: flex;
  justify-content: center;
}

/* SEO */
.page-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.wins-note {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}
.pill--note {
  color: #ffc094;
  border-color: rgba(225,29,46,.35);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.seo {
  margin: 28px 0 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg2);
}
.seo h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 4vw, 30px);
}
.seo h2 {
  margin: 24px 0 10px;
  font-size: clamp(20px, 3.5vw, 26px);
}
.seo h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  color: var(--text);
}
.seo p {
  color: var(--muted);
  margin: 0 0 12px;
}
.seo ul {
  margin: 0 0 14px;
  padding-left: 1.4em;
  color: var(--muted);
}
.seo li { margin: 6px 0; }
.seo table {
  width: 100%;
  border-collapse: collapse;
}
.seo td {
  border: 1px solid #3a3f50;
  padding: 8px 10px;
  vertical-align: top;
}
.seo td:first-child {
  width: 42%;
  color: var(--muted);
  background: rgba(255,255,255,.02);
}

/* Footer */
.footer {
  margin-top: 20px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.footer__links a:hover { color: #fff; }
.footer__legal { max-width: 80ch; }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.age {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: var(--red);
}

@media (max-width: 720px) {
  .online { display: none; }
  .banner { min-height: 180px; padding: 22px 18px; }
}
