:root {
  --phone-width: 430px;
  --visual-w: 853;
  --visual-h: 1844;
  --visual-crop-h: 1712;
  --bg: #031428;
  --panel: #081b34;
  --ink: #f8fbff;
  --muted: #c8d6e8;
  --primary: #ffd02b;
  --accent: #168cff;
  --line: rgba(255, 255, 255, .13);
}

* {
  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(22, 140, 255, .24), transparent 34%),
    linear-gradient(180deg, #061b35 0%, #031428 52%, #04182f 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, #031428, #061a33 58%, #04172d);
  box-shadow: 0 0 0 1px rgba(255, 208, 43, .08);
}

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

.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(255, 208, 43, .22);
}

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

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

.logo-slot {
  left: 6%;
  top: 1.25%;
  width: 16.9%;
  height: 4.1%;
  border-radius: 0;
}

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

.top-login {
  left: 64%;
  top: 1.55%;
  width: 14.8%;
  height: 4%;
  border-radius: 16px;
}

.top-register {
  left: 80.3%;
  top: 1.55%;
  width: 17.3%;
  height: 4%;
  border-radius: 16px;
}

.top-telegram {
  left: 56%;
  top: 2.1%;
  width: 6.5%;
  height: 3.3%;
  border-radius: 50%;
}

.hero-guide {
  left: 2.4%;
  top: 6.35%;
  width: 95.4%;
  height: 22.1%;
}

.game-categories {
  left: 2.4%;
  top: 30.1%;
  width: 95.2%;
  height: 17.2%;
}

.visual-promo {
  left: 49.5%;
  top: 49.1%;
  width: 48%;
  height: 28%;
}

.visual-support {
  left: 4.1%;
  top: 81.9%;
  width: 29.5%;
  height: 9.65%;
}

.visual-rewards {
  left: 35.4%;
  top: 81.9%;
  width: 61%;
  height: 9.65%;
}

.seo-panel {
  position: relative;
  z-index: 1;
  padding: 20px 14px 142px;
  background:
    linear-gradient(180deg, rgba(255, 208, 43, .11), rgba(3, 20, 40, .98) 12%),
    linear-gradient(180deg, #071d39, #031428 58%, #061a33);
}

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

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

h1 {
  margin-bottom: 10px;
  color: #fff9d5;
  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(13, 38, 69, .96), rgba(6, 24, 47, .95));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

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

.guide-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  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: #fff9d5;
  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(11, 38, 73, .98), rgba(5, 22, 43, .96));
}

details {
  border-top: 1px solid rgba(255, 255, 255, .1);
  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, 208, 43, .38);
  background:
    linear-gradient(180deg, rgba(63, 46, 8, .55), rgba(5, 24, 47, .96));
}

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

.site-footer a {
  color: var(--primary);
  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, 208, 43, .42);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(12, 36, 69, .94), rgba(3, 17, 34, .96));
  box-shadow:
    0 16px 45px rgba(0, 0, 0, .44),
    inset 0 1px 0 rgba(255, 255, 255, .1);
  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: #9fb0c8;
  text-decoration: none;
}

.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: #061326;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, #fff), #f4a900);
  box-shadow:
    0 12px 26px rgba(255, 208, 43, .2),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

.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, 208, 43, .36);
  border-radius: 999px;
  color: #061326;
  background: rgba(255, 208, 43, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 900;
}

.toast[hidden] {
  display: none;
}

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

  h1 {
    font-size: 24px;
  }

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