:root {
  --phone-width: 430px;
  --visual-w: 853;
  --visual-h: 1844;
  --visual-crop-h: 1705;
  --bg: #eaf8ff;
  --panel: #f8fdff;
  --ink: #071f61;
  --muted: #4967a1;
  --primary: #0878ff;
  --accent: #12b8ff;
  --gold: #ffc62f;
  --line: rgba(8, 120, 255, .16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 180, 255, .28), transparent 38%),
    linear-gradient(180deg, #e8f8ff 0%, #ffffff 52%, #eaf8ff 100%);
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

.phone {
  position: relative;
  width: min(100vw, var(--phone-width));
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(229, 248, 255, .98), rgba(255, 255, 255, .98) 58%, #eaf8ff);
  box-shadow: 0 0 0 1px rgba(8, 120, 255, .08);
}

.visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--visual-w) / var(--visual-crop-h);
  overflow: hidden;
  background: #eaf8ff;
}

.visual {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.visual-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 16px;
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(8, 120, 255, .18);
}

.visual-hotspot:focus-visible,
.nav-hit:focus-visible,
.guide-card:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid rgba(8, 120, 255, .95);
  outline-offset: 2px;
}

.visual-hotspot:active {
  background: rgba(8, 120, 255, .08);
}

.logo-slot {
  left: 3.5%;
  top: 1.88%;
  width: 24%;
  height: 4.5%;
  border-radius: 0;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.top-register {
  left: 49.2%;
  top: 2.52%;
  width: 20.8%;
  height: 3.85%;
  border-radius: 999px;
}

.top-login {
  left: 64.8%;
  top: 2.52%;
  width: 19.2%;
  height: 3.85%;
  border-radius: 999px;
}

.top-telegram {
  left: 87%;
  top: 2.28%;
  width: 8%;
  height: 4.35%;
  border-radius: 50%;
}

.hero-games {
  left: 1.8%;
  top: 8.9%;
  width: 96.4%;
  height: 27.2%;
}

.game-gallery {
  left: 2.2%;
  top: 40.6%;
  width: 95%;
  height: 16.8%;
}

.visual-promo {
  left: 1.8%;
  top: 58.85%;
  width: 96.4%;
  height: 18%;
}

.visual-rewards {
  left: 2%;
  top: 78.15%;
  width: 47%;
  height: 13.5%;
}

.visual-account {
  left: 75.2%;
  top: 78.15%;
  width: 22.4%;
  height: 13.5%;
}

.seo-panel {
  position: relative;
  z-index: 1;
  padding: 20px 14px 142px;
  background:
    linear-gradient(180deg, rgba(8, 120, 255, .12), rgba(255, 255, 255, .96) 12%),
    linear-gradient(180deg, #f0fbff, #ffffff 58%, #eaf8ff);
}

.kicker {
  margin: 0 0 7px;
  color: #0878ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: #061e5c;
  font-size: 27px;
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 13px;
}

.guide-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(235, 249, 255, .96));
  box-shadow:
    0 10px 24px rgba(8, 84, 170, .08),
    inset 0 1px 0 rgba(255, 255, 255, .92);
}

.guide-card {
  min-height: 82px;
  padding: 13px;
  text-decoration: none;
}

.guide-card span {
  display: block;
  margin-bottom: 8px;
  color: #0878ff;
  font-size: 12px;
  font-weight: 900;
}

.guide-card strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
}

.content-card {
  margin-top: 12px;
  padding: 16px;
}

.content-card h2 {
  margin-bottom: 9px;
  color: #061e5c;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.category-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.faq-card {
  background:
    linear-gradient(180deg, rgba(232, 249, 255, .98), rgba(255, 255, 255, .96));
}

details {
  border-top: 1px solid rgba(8, 120, 255, .12);
  padding: 12px 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

details p {
  margin: 9px 0 0;
}

.safety-note {
  border-color: rgba(255, 198, 47, .45);
  background:
    linear-gradient(180deg, rgba(255, 248, 211, .96), rgba(236, 249, 255, .96));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  padding: 15px 12px;
  border: 1px solid rgba(8, 120, 255, .15);
  border-radius: 18px;
  background: rgba(255, 255, 255, .74);
}

.site-footer a {
  color: #0878ff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.nav-hits {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: min(390px, calc(100vw - 20px));
  min-height: 76px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(226, 244, 255, .96));
  box-shadow:
    0 16px 45px rgba(8, 72, 148, .2),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.nav-hit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 60px;
  border-radius: 24px;
  color: #6e84a0;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.nav-hit span {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-hit svg {
  width: 24px;
  max-width: 24px;
  height: 24px;
  max-height: 24px;
  fill: currentColor;
  flex: 0 0 24px;
}

.nav-hit.active {
  color: #ffffff;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 82%, #39c6ff), #0566ed);
  box-shadow:
    0 12px 26px rgba(8, 102, 237, .26),
    inset 0 1px 0 rgba(255, 255, 255, .44);
}

.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  max-width: min(360px, calc(100vw - 36px));
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 42, 111, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 800;
}

.toast[hidden] {
  display: none;
}

@media (max-width: 360px) {
  .seo-panel {
    padding-inline: 10px;
  }

  h1 {
    font-size: 24px;
  }

  .nav-hit span {
    font-size: 11px;
  }
}
