:root {
  color-scheme: dark;
  --bg: #111217;
  --panel: #1a1c2b;
  --panel-2: #242637;
  --panel-3: #303143;
  --line: rgba(255,255,255,.08);
  --text: #fff;
  --muted: #a7a9b8;
  --yellow: #f2ff00;
  --yellow-2: #e7f500;
  --radius: 12px;
  --max: 1368px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: grid;
  grid-template-columns: auto auto 1fr 34px auto auto;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: #111217;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
}
.brand span {
  display: inline-flex;
  height: 34px;
  align-items: center;
  padding: 0 5px;
  border-radius: 6px;
  color: #030402;
  background: var(--yellow);
}
.brand b { color: #fff; }

.segments {
  display: flex;
  gap: 2px;
  margin-left: 16px;
  padding: 4px;
  border-radius: 999px;
  background: #292a35;
}
.segments span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #c9cbd6;
  font-size: 14px;
  font-weight: 800;
}
.segments span:first-child::before { content: "♣"; margin-right: 6px; }
.segments span:last-child::before { content: "⚽"; margin-right: 6px; }

.search { position: relative; width: 28px; height: 28px; justify-self: end; }
.search { grid-column: 4; }
.btn-login { grid-column: 5; min-width: 112px; }
.btn-register { grid-column: 6; min-width: 142px; }
.search::before { content: ""; position: absolute; left: 4px; top: 3px; width: 13px; height: 13px; border: 3px solid #aeb1c0; border-radius: 50%; }
.search::after { content: ""; position: absolute; left: 17px; top: 18px; width: 11px; height: 3px; border-radius: 99px; background: #aeb1c0; transform: rotate(45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 0;
  white-space: nowrap;
}
.btn-login { background: #3b3c4d; color: #fff; }
.btn-register { background: var(--yellow); color: #050602; }

.page {
  width: min(100% - 16px, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  height: 526px;
  margin-top: 24px;
  overflow: hidden;
  background: #101116;
}
.hero picture,
.hero img {
  width: 100%;
  height: 100%;
}
.hero img { object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17,18,23,0) 70%, rgba(17,18,23,.18));
}
.hero-offer {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 49%;
  width: min(700px, 58vw);
  transform: translate(-50%, -50%);
  text-align: center;
}
.hero-offer p {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 950;
  letter-spacing: 0;
}
.hero-offer strong {
  display: block;
  color: #ffe947;
  font-size: clamp(72px, 8vw, 122px);
  line-height: .92;
  font-weight: 950;
  white-space: nowrap;
}
.hero-offer > span:not(.hero-btn) {
  display: block;
  margin-top: 22px;
  color: #ffe947;
  font-size: 34px;
  font-weight: 950;
}
.hero-btn {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 330px;
  min-height: 68px;
  width: fit-content;
  margin: 28px auto 0;
  align-content: center;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  overflow: visible;
  color: #050602;
  cursor: pointer;
}

/* Кнопки — убрать дефолтные браузерные стили */
button.btn {
  cursor: pointer;
  font-family: inherit;
  border: 0;
}
.hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--yellow);
  animation: heroPulse 1.85s ease-in-out infinite;
}
.hero-btn small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  opacity: .8;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(242,255,0,.24); }
  50% { transform: scale(1.035); box-shadow: 0 0 0 14px rgba(242,255,0,0); }
}

.cashback {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  background: #191b2a;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}
.cashback i { color: #ffe947; font-style: normal; font-size: 22px; }
.cashback strong { font-size: 20px; }

.payments {
  height: 64px;
  display: grid;
  grid-template-columns: .8fr .8fr .55fr 1.2fr .8fr .75fr 1.05fr .95fr 1.05fr .9fr;
  align-items: center;
  gap: 18px;
  padding: 0 8px;
  overflow: hidden;
}
.payments span {
  color: #f0732e;
  font-size: 22px;
  font-weight: 950;
  white-space: nowrap;
}
.payments span:first-child { color: #225fba; }
.payments span:nth-child(2) { color: #ff3939; letter-spacing: -8px; }
.payments span:nth-child(3) { color: #f7931a; }
.payments span:nth-child(4) { color: #1ab1c7; font-size: 14px; }
.payments span:nth-child(6) { color: #b63890; }
.payments span:nth-child(7) { color: #fff; font-size: 14px; }
.payments span:nth-child(8) { color: #80bf3a; font-size: 20px; }
.payments span:nth-child(9) { color: #1aa8da; font-size: 16px; }
.payments span:nth-child(10) { color: #fff; font-size: 18px; }

.cookie-bar {
  position: sticky;
  bottom: 0;
  z-index: 45;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  margin: 0 -8px;
  background: #282b44;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.cookie-bar b { color: var(--yellow); }
.cookie-bar a {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: #050602;
  font-weight: 950;
}

.games-block { padding: 44px 0 52px; text-align: center; }
h1, h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: 0;
}
.games-block h2,
.loyalty h2 {
  font-size: 28px;
  text-transform: uppercase;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.game-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 9px;
  background: #1a1c2b;
  transition: transform .18s ease, filter .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .game-card:hover {
    transform: scale(1.045);
    filter: brightness(1.08);
    z-index: 2;
  }
}
.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1.33;
  object-fit: cover;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.game-card em {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 8px;
  font-style: normal;
  color: #fff;
  opacity: .9;
}
.game-card strong,
.game-card small {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  display: block;
  text-align: center;
  text-transform: uppercase;
}
.game-card strong { bottom: 22px; font-size: 12px; line-height: 1.1; }
.game-card small { bottom: 8px; color: #d1d3df; font-size: 8px; font-weight: 900; }

.more-games {
  min-height: 46px;
  margin-top: 36px;
  padding-inline: 26px;
}
.wheel {
  display: block;
  margin: 118px -8px 0;
  background: #111217;
}
.wheel img {
  width: 100%;
  max-height: 690px;
  margin: 0 auto;
  object-fit: cover;
}

.loyalty {
  padding: 86px 0 18px;
  text-align: center;
}
.loyalty h2 { font-size: 31px; text-transform: none; }
.loyalty p {
  margin: 14px auto 28px;
  max-width: 760px;
  color: var(--muted);
  font-weight: 800;
}
.loyalty-row {
  display: block;
  min-height: 72px;
  padding: 15px 24px;
  margin-top: 12px;
  border-radius: 12px;
  background: #1b1d2c;
  text-align: left;
}
.loyalty-row strong { display: block; font-size: 20px; }
.loyalty-row span { display: block; margin-top: 8px; color: var(--muted); font-weight: 800; }
.go-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  font-size: 16px;
}
.go-btn span { margin-left: 14px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin-top: 18px;
}
.info-grid div {
  overflow: hidden;
  border-radius: 8px;
  background: #1b1d2c;
}
.info-grid strong {
  display: block;
  min-height: 34px;
  padding: 11px 12px 0;
  color: #ffe947;
  font-size: 12px;
  text-align: left;
}
.info-grid img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 34px;
}
.support-grid div {
  min-height: 102px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #1b1d2c;
}
.support-grid strong { display: block; font-size: 20px; }
.support-grid span { display: block; margin-top: 10px; color: #fff; font-size: 13px; font-weight: 800; line-height: 1.35; }

.app-card {
  display: flex;
  width: 260px;
  gap: 10px;
  align-items: center;
  margin: 34px 0 0 auto;
  padding: 12px 16px;
  border-radius: 8px;
  background: #303143;
}
.app-card strong,
.app-card span { display: block; }
.app-card span { color: var(--muted); font-size: 12px; font-weight: 800; }

.seo-slice {
  margin: 26px 0;
  padding: 22px 24px;
  border-radius: 12px;
  background: #171925;
  color: var(--muted);
  text-align: left;
}
.seo-slice h1,
.seo-slice h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
}
.seo-slice h3 {
  margin: 16px 0 8px;
  color: #fff;
  font-size: 16px;
}
.seo-slice p {
  margin: 0 0 10px;
  line-height: 1.58;
  font-size: 14px;
  font-weight: 700;
}
.seo-slice p:last-child { margin-bottom: 0; }
.seo-slice ul {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.58;
  color: var(--muted);
}
.seo-slice ul li { margin-bottom: 4px; }
.seo-slice ol {
  margin: 0 0 10px;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.58;
  color: var(--muted);
}
.seo-slice ol li { margin-bottom: 6px; }
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.seo-table th {
  background: #1b1d2c;
  color: #d8dae5;
  padding: 8px 10px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.seo-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #22243a;
}
.seo-table tr:last-child td { border-bottom: none; }
@media (max-width: 480px) {
  .seo-table { font-size: 11px; }
  .seo-table th, .seo-table td { padding: 6px 6px; }
}

/* H1 скрытый от пользователя но виден роботу */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.seo-after-games {
  margin-top: 28px;
}
.seo-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 26px;
}
.seo-faq h2 {
  grid-column: 1 / -1;
}

.footer {
  position: relative;
  padding: 34px 0 64px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-brand { font-size: 27px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px 110px;
  max-width: 800px;
  margin-top: 48px;
}
.footer-links span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.footer p {
  margin: 42px 0 0;
  color: #676b7b;
  font-size: 12px;
  font-weight: 800;
}
.footer p + p { margin-top: 14px; color: #a7a9b8; }

.floaters {
  position: fixed;
  z-index: 55;
  right: 16px;
  bottom: 20px;
  display: grid;
  gap: 12px;
}
.floaters button,
.floaters span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3a3c52;
  color: #d8dae5;
  font-weight: 950;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .topbar {
    height: 49px;
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
    padding: 0 10px;
  }
  .brand { font-size: 17px; }
  .brand span { height: 20px; padding: 0 3px; border-radius: 3px; }
  .segments,
  .search { display: none; }
  .btn-login { grid-column: 3; min-width: 0; }
  .btn-register { grid-column: 4; min-width: 0; }
  .btn { min-height: 30px; padding: 0 13px; font-size: 11px; }
  .page { width: 100%; padding: 0 10px; }
  .hero {
    height: 346px;
    margin-top: 12px;
    border-radius: 12px 12px 0 0;
  }
  .hero img { object-fit: cover; object-position: center top; }
  .hero picture {
    height: 100%;
    overflow: hidden;
  }
  .hero img {
    height: calc(100% + 54px);
    transform: translateY(-54px);
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 42% 0 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(17,18,23,0), #1a1c2b 54%);
  }
  .hero-offer {
    top: auto;
    bottom: 18px;
    width: 100%;
    padding: 0 12px;
    transform: translateX(-50%);
  }
  .hero-offer p { font-size: 15px; margin-bottom: 4px; }
  .hero-offer strong { font-size: 34px; }
  .hero-offer > span:not(.hero-btn) { margin-top: 6px; font-size: 15px; }
  .hero-btn { min-width: 0; width: 226px; min-height: 52px; margin-top: 14px; font-size: 16px; }
  .hero-btn small { font-size: 8px; }
  .cashback { height: 44px; margin: 0 -10px; gap: 38px; }
  .cashback strong { font-size: 14px; }
  .payments {
    height: 48px;
    display: flex;
    gap: 20px;
    overflow: hidden;
    margin: 0 -10px;
    padding: 0 10px;
  }
  .payments span { font-size: 17px; flex: 0 0 auto; }
  .cookie-bar { display: none; }
  .games-block { padding: 20px 0 20px; }
  .games-block h2 { font-size: 22px; }
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 20px;
  }
  .game-card { border-radius: 7px; }
  .game-card strong { bottom: 18px; font-size: 7px; }
  .game-card small { bottom: 6px; font-size: 5px; }
  .more-games { min-height: 46px; margin-top: 22px; }
  .wheel { margin: 28px -10px 0; }
  .wheel img { height: 330px; object-fit: cover; object-position: center; }
  .loyalty { padding: 28px 0 14px; }
  .loyalty h2 { max-width: 320px; margin: 0 auto; font-size: 21px; }
  .loyalty p { max-width: 310px; font-size: 13px; }
  .loyalty-row { min-height: 72px; padding: 13px 16px; }
  .loyalty-row strong { font-size: 17px; }
  .loyalty-row span { font-size: 12px; }
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .info-grid div:nth-child(n+4) { display: none; }
  .info-grid strong { min-height: 30px; padding: 8px 8px 0; font-size: 8px; }
  .support-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 18px; }
  .support-grid div { min-height: 84px; padding: 14px 16px; }
  .support-grid strong { font-size: 18px; }
  .app-card { width: 100%; margin-top: 20px; }
  .seo-slice {
    margin: 12px 0;
    padding: 16px;
  }
  .seo-slice h2 { font-size: 18px; }
  .seo-slice h3 { font-size: 15px; }
  .seo-slice p { font-size: 12px; }
  .seo-faq { grid-template-columns: 1fr; }
  .footer { padding-bottom: 54px; }
  .footer-brand { font-size: 20px; }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 28px;
    margin-top: 34px;
  }
  .footer-links span,
  .footer p { font-size: 11px; }
  .floaters { right: 12px; bottom: 14px; }
  .floaters button,
  .floaters span { width: 42px; height: 42px; }
}
