:root {
  --phone-width: 430px;
  --visual-width: 851;
  --visual-height: 1847;
  --visual-crop-height: 1754;
  --nav-space: 132px;
  --bg: #05061b;
  --ink: #ffffff;
  --muted: #d7d5ff;
  --brand-primary: #8a38ff;
  --brand-accent: #ff6b13;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

.phone {
  position: relative;
  width: min(100vw, var(--phone-width));
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--bg);
}

.visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--visual-width) / var(--visual-crop-height);
  overflow: hidden;
}

.visual-stage::after {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.6%;
  background: linear-gradient(180deg, rgba(5, 6, 27, 0), rgba(11, 7, 36, .92) 42%, #100528 100%);
  pointer-events: none;
  content: "";
}

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

.brand-lockup {
  position: absolute;
  z-index: 3;
  left: 3.3%;
  top: 1.7%;
  display: block;
  width: 22.0%;
  height: 4.1%;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  overflow: visible;
}

.logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
}

.logo-mark.has-logo {
  opacity: 1;
  background: center / contain no-repeat;
}

.hotspot,
.faq-hit {
  position: absolute;
  z-index: 2;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(138, 56, 255, 0.18);
}

.hotspot:focus-visible,
.faq-hit:focus-visible,
.nav-hit:focus-visible {
  outline: 2px solid rgba(255, 107, 19, 0.95);
  outline-offset: -2px;
}

.hotspot:active,
.faq-hit:active,
.nav-hit:active {
  background: rgba(255, 107, 19, 0.08);
}

.logo-hotspot { left: 3.3%; top: 1.7%; width: 22%; height: 4.1%; }
.top-login { left: 44.4%; top: 1.95%; width: 13%; height: 3.05%; }
.top-register { left: 59.4%; top: 1.95%; width: 15.8%; height: 3.05%; }
.support-hit { left: 79.1%; top: 2%; width: 6.4%; height: 3.1%; }
.search-hit { left: 89.1%; top: 2%; width: 6.8%; height: 3.1%; }

.spin-20 { left: 5.4%; top: 8%; width: 28.8%; height: 5.95%; }
.newbie { left: 35.3%; top: 8%; width: 29.5%; height: 5.95%; }
.pass-daily { left: 65.9%; top: 8%; width: 28.8%; height: 5.95%; }
.spin-100 { left: 5.4%; top: 14.55%; width: 28.8%; height: 5.95%; }
.spin-now { left: 35.3%; top: 14.55%; width: 29.5%; height: 5.95%; }
.spin-500 { left: 65.9%; top: 14.55%; width: 28.8%; height: 5.95%; }
.spin-200 { left: 5.4%; top: 21.1%; width: 28.8%; height: 5.95%; }
.spin-1000 { left: 35.3%; top: 21.1%; width: 29.5%; height: 5.95%; }
.app-download { left: 65.9%; top: 21.1%; width: 28.8%; height: 5.95%; }

.app-guide { left: 5.05%; top: 54%; width: 42.4%; height: 4.85%; }
.payment-guide-hit { left: 5.05%; top: 59.6%; width: 42.4%; height: 4.85%; }
.bonus-guide { left: 5.05%; top: 65.2%; width: 42.4%; height: 4.85%; }
.live-event { left: 51%; top: 49.6%; width: 45.8%; height: 20.55%; }
.view-schedule { left: 54.25%; top: 66.95%; width: 38.8%; height: 3.85%; }

.telegram-card { left: 2.9%; top: 72.35%; width: 94.1%; height: 6.85%; }
.telegram-button { left: 64.25%; top: 74.2%; width: 28.8%; height: 3.55%; }

.faq-head { left: 3%; top: 80.1%; width: 65%; height: 2.7%; }
.faq-view-all { left: 80%; top: 80.15%; width: 15%; height: 2.65%; }

.faq-hit {
  left: 5.25%;
  width: 89.4%;
  height: 2.65%;
}

.faq-one { top: 83.1%; }
.faq-two { top: 86%; }

.responsible { left: 2.8%; top: 89.6%; width: 94%; height: 4%; }

.nav-hits {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(calc(100vw - 24px), calc(var(--phone-width) - 24px));
  min-height: 76px;
  padding: 8px 8px 7px;
  border: 1px solid rgba(255, 107, 19, .34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 107, 19, .2), transparent 42%),
    linear-gradient(180deg, rgba(54, 19, 106, .92), rgba(11, 7, 36, .96));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.nav-hit {
  position: relative;
  min-height: 58px;
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 5px 2px 4px;
  border: 0;
  border-radius: 18px;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  cursor: pointer;
  font-size: .69rem;
  font-weight: 900;
  line-height: 1;
}

.nav-icon {
  width: 25px;
  height: 25px;
  max-width: 25px;
  max-height: 25px;
  display: block;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .32));
}

.nav-icon path {
  fill: none;
  stroke: currentColor;
}

.nav-hit.active {
  color: var(--brand-accent);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 107, 19, .3), transparent 56%),
    rgba(255, 107, 19, .08);
}

.nav-hit.active::after {
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-accent);
  box-shadow: 0 0 12px rgba(255, 107, 19, .68);
  content: "";
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer {
  position: absolute;
  z-index: 4;
  left: 5%;
  right: 5%;
  top: 78.35%;
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(138, 56, 255, 0.76);
  border-radius: 12px;
  background: rgba(14, 7, 42, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(138, 56, 255, 0.2);
  color: var(--ink);
}

.faq-answer strong {
  font-size: 14px;
}

.faq-answer span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  max-width: min(360px, calc(100vw - 36px));
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 7, 42, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  transform: translateX(-50%);
  font-size: .78rem;
  font-weight: 900;
}

.toast[hidden] {
  display: none;
}

.seo-layer {
  position: relative;
  padding: 18px 16px calc(var(--nav-space) + 72px + env(safe-area-inset-bottom));
  color: #fff;
  background:
    radial-gradient(circle at 12% 0, rgba(138, 56, 255, .2), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 107, 19, .15), transparent 38%),
    linear-gradient(180deg, #100528 0%, #08041d 54%, #050316 100%);
}

.seo-layer::before {
  position: absolute;
  inset: 0 12px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 19, .58), transparent);
  content: "";
}

.seo-kicker {
  margin: 0 0 8px;
  color: var(--brand-accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seo-layer h1,
.seo-layer h2,
.seo-layer p {
  margin-top: 0;
}

.seo-layer h1 {
  margin-bottom: 10px;
  font-size: clamp(1.68rem, 7vw, 2.12rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .35);
}

.seo-lead {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.52;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.seo-links a,
.seo-footer a {
  text-decoration: none;
}

.seo-links a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 107, 19, .38);
  border-radius: 12px;
  color: #ffe2d0;
  background: linear-gradient(180deg, rgba(255, 107, 19, .13), rgba(138, 56, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: .8rem;
  font-weight: 900;
}

.seo-card {
  position: relative;
  margin: 10px 0 0;
  padding: 15px;
  border: 1px solid rgba(255, 107, 19, .28);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(138, 56, 255, .12), transparent 45%),
    rgba(11, 7, 36, .84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 12px 28px rgba(0, 0, 0, .26);
}

.seo-card h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.seo-card p,
.seo-card li {
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.48;
}

.seo-card p {
  margin-bottom: 0;
}

.token-text {
  color: #ffd49f;
  overflow-wrap: anywhere;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.category-list li {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .055);
}

.faq-card details {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(0, 0, 0, .18);
  overflow: hidden;
}

.faq-card summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  color: #fff;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.25;
}

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

.safety-card {
  border-color: rgba(255, 107, 19, .42);
}

.seo-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 0 0;
  scroll-margin-bottom: calc(var(--nav-space) + 30px);
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 900;
}

.seo-footer a,
.seo-footer span {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 107, 19, .24);
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, .055);
  overflow-wrap: anywhere;
}

@media (max-width: 430px) {
  .phone {
    width: 100vw;
  }
}

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

  .seo-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-list {
    grid-template-columns: 1fr;
  }
}
