:root {
  --phone-width: 430px;
  --visual-w: 853;
  --visual-crop-h: 1662;
  --primary: #1682f5;
  --accent: #f4bd21;
  --ink: #09265d;
  --muted: rgba(9, 38, 93, .68);
  --line: rgba(22, 130, 245, .18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: #10224a;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 0, rgba(58, 151, 255, .24), transparent 34%),
    linear-gradient(180deg, #102a5d 0%, #0d1e43 52%, #091329 100%);
}

a,
button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.phone {
  position: relative;
  width: min(100%, var(--phone-width));
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #eef9ff 0, #f8fcff 56%, #e8f4ff 100%);
  box-shadow: 0 0 0 1px rgba(22, 130, 245, .1), 0 24px 64px rgba(0, 25, 70, .36);
}

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

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

.visual-hotspot {
  position: absolute;
  z-index: 4;
  display: block;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.visual-hotspot:focus-visible,
.guide-card:focus-visible,
.site-footer a:focus-visible,
.nav-hit:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 78%, #fff);
  outline-offset: 2px;
}

.logo-slot {
  left: 4.2%;
  top: 1.82%;
  width: 28%;
  height: 6.2%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  box-shadow: none;
}

.top-register { left: 51.5%; top: 2.32%; width: 17%; height: 4.55%; border-radius: 999px; }
.top-login { left: 68.8%; top: 2.32%; width: 16.8%; height: 4.55%; border-radius: 999px; }
.top-telegram { left: 88.3%; top: 2.3%; width: 8.3%; height: 4.7%; border-radius: 50%; }
.hero-games { left: 2.2%; top: 9.6%; width: 95.6%; height: 32.9%; }
.visual-promo { left: 2.3%; top: 66.6%; width: 95.5%; height: 16.3%; }
.visual-rewards { left: 2.3%; top: 84.9%; width: 95.5%; height: 8.2%; }

.seo-panel {
  position: relative;
  z-index: 1;
  padding: 18px 14px calc(116px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 12% 0, rgba(244, 189, 33, .24), transparent 34%),
    linear-gradient(180deg, #eaf7ff 0, #f8fcff 38%, #e8f4ff 100%);
}

.kicker {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #061d55;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  margin: 10px 0 0;
  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: 16px 0;
}

.guide-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(231, 246, 255, .96));
  box-shadow: 0 14px 30px rgba(22, 82, 160, .13);
}

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

.guide-card span {
  display: inline-flex;
  min-width: 62px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #073061;
  background: color-mix(in srgb, var(--accent) 74%, #fff);
  font-size: 11px;
  font-weight: 900;
}

.guide-card strong {
  display: block;
  margin-top: 9px;
  color: #09265d;
  font-size: 15px;
  line-height: 1.18;
}

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

.content-card h2 {
  margin: 0 0 8px;
  color: #061d55;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.category-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list li {
  padding: 10px 11px;
  border: 1px solid rgba(22, 130, 245, .14);
  border-radius: 11px;
  color: rgba(9, 38, 93, .78);
  background: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.42;
}

.faq-card details {
  border-top: 1px solid rgba(22, 130, 245, .14);
}

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

.faq-card summary {
  padding: 12px 0;
  color: #09265d;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.faq-card details p {
  padding: 0 0 12px;
}

.safety-note {
  border-color: rgba(244, 189, 33, .34);
  background:
    linear-gradient(180deg, rgba(255, 249, 229, .98), rgba(241, 249, 255, .98));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 16px;
  padding: 16px 8px 0;
}

.site-footer a {
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgba(22, 130, 245, .18);
  border-radius: 999px;
  color: #0c3d7a;
  background: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.nav-hits {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(calc(100vw - 20px), 410px);
  min-height: 66px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(225, 244, 255, .96));
  box-shadow: 0 16px 38px rgba(0, 41, 95, .32);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.nav-hit {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border-radius: 17px;
  color: rgba(9, 38, 93, .62);
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

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

.nav-hit.active {
  color: #073061;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff), #f0b525);
  box-shadow: inset 0 -2px 0 rgba(151, 90, 0, .18);
}

.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(5, 35, 88, .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: 23px;
  }

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