:root {
  --phone-width: 430px;
  --visual-w: 853;
  --visual-h: 1846;
  --visual-crop-h: 1625;
  --nav-space: 132px;
  --primary: #ff6a28;
  --accent: #ffc928;
  --purple: #6f2abb;
  --bg: #17072c;
  --text: #fff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: #171717;
}

body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 201, 40, .13), transparent 36%),
    #171717;
}

button,
input {
  font: inherit;
}

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

.phone {
  position: relative;
  width: min(100%, var(--phone-width));
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--bg);
  box-shadow: 0 0 48px rgba(0, 0, 0, .68);
}

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

.visual-stage::after {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.2%;
  background:
    linear-gradient(180deg, rgba(32, 7, 56, 0), rgba(32, 7, 56, .96) 34%, #200738 100%);
  pointer-events: none;
  content: "";
}

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

.hotspot {
  position: absolute;
  z-index: 4;
}

.brand-logo {
  position: absolute;
  z-index: 4;
  left: 3.35%;
  top: 1.28%;
  width: 23.4%;
  height: 5.15%;
  display: block;
  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 {
  display: block;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.hotspot:focus-visible,
.nav-hit:focus-visible,
.logo-hotspot:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 82%, #fff);
  outline-offset: 2px;
}

.logo-hotspot { left: 3.35%; top: 1.45%; width: 23.4%; height: 5.85%; }
.top-support { left: 73.4%; top: 1.93%; width: 8.9%; height: 4.54%; border-radius: 50%; }
.top-search { left: 86.4%; top: 1.93%; width: 8.9%; height: 4.54%; border-radius: 50%; }

.login { left: 5.6%; top: 9.6%; width: 23%; height: 4.77%; }
.register { left: 31%; top: 9.6%; width: 43.5%; height: 4.77%; }
.panel-support { left: 76.7%; top: 9.94%; width: 8.1%; height: 4.26%; border-radius: 50%; }
.panel-search { left: 86.6%; top: 9.94%; width: 8.1%; height: 4.26%; border-radius: 50%; }

.reward-20 { left: 5.9%; top: 15.75%; width: 28.8%; height: 6.34%; }
.newbie-kit { left: 35.6%; top: 15.75%; width: 28.8%; height: 6.34%; }
.pass { left: 65.25%; top: 15.75%; width: 28.8%; height: 6.34%; }
.reward-100 { left: 5.9%; top: 22.66%; width: 28.8%; height: 6.34%; }
.spin { left: 35.6%; top: 22.66%; width: 28.8%; height: 6.34%; }
.bonus { left: 65.25%; top: 22.66%; width: 28.8%; height: 6.34%; }
.reward-200 { left: 5.9%; top: 29.58%; width: 28.8%; height: 6.34%; }
.reward-500 { left: 35.6%; top: 29.58%; width: 28.8%; height: 6.34%; }
.reward-1000 { left: 65.25%; top: 29.58%; width: 28.8%; height: 6.34%; }

.golf { left: 0; top: 37.72%; width: 100%; height: 26.01%; border-radius: 0; }
.winners { left: 4.6%; top: 96.79%; width: 34.7%; height: 3.21%; }
.live-games { left: 42.7%; top: 63.84%; width: 54.8%; height: 34.19%; }
.play-now { left: 45.6%; top: 95.2%; width: 48.3%; height: 4.8%; }

.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, 201, 40, .3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 201, 40, .18), transparent 42%),
    linear-gradient(180deg, rgba(57, 17, 92, .92), rgba(22, 6, 40, .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(--accent);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 201, 40, .3), transparent 56%),
    rgba(255, 201, 40, .08);
}

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

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(18px + 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(20, 8, 42, .95);
  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: 28px 16px calc(var(--nav-space) + 72px + env(safe-area-inset-bottom));
  color: #fff;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 201, 40, .14), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(255, 106, 40, .16), transparent 38%),
    linear-gradient(180deg, #200738 0%, #140521 52%, #0d0418 100%);
}

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

.seo-kicker {
  margin: 0 0 8px;
  color: var(--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: none;
}

.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, 201, 40, .36);
  border-radius: 12px;
  color: #fff5d0;
  background: linear-gradient(180deg, rgba(255, 201, 40, .13), rgba(255, 106, 40, .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, 201, 40, .28);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 106, 40, .08), transparent 45%),
    rgba(23, 7, 44, .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: #ffe083;
  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, 106, 40, .38);
}

.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, 201, 40, .22);
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, .055);
  overflow-wrap: anywhere;
}

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

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

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