:root {
  --source-width: 853;
  --stage-source-height: 1282;
  --phone-width: 430px;
  --nav-space: 132px;
  --brand-primary: #18d8e8;
  --brand-accent: #22f0c9;
  --page-bg: #02101b;
  --text-main: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 216, 232, .22), transparent 28rem),
    linear-gradient(180deg, #02101b 0%, #000713 100%);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.phone {
  position: relative;
  width: min(100vw, var(--phone-width));
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--page-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, .58);
  isolation: isolate;
}

.visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--source-width) / var(--stage-source-height);
  overflow: hidden;
  line-height: 0;
  background: #02101b;
}

.visual-stage::after {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5%;
  background: linear-gradient(180deg, rgba(2, 16, 27, 0), rgba(2, 16, 27, .72) 62%, #031523 100%);
  pointer-events: none;
  content: "";
}

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

.visual-slice {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.visual-slice-hero {
  top: 0;
  height: calc(100% * 950 / 1282);
}

.visual-slice-support {
  top: calc(100% * 950 / 1282);
  height: calc(100% * 332 / 1282);
}

.visual-support-image {
  transform: translateY(-61.71%);
}

.logo-layer {
  position: absolute;
  z-index: 5;
  left: 3.1%;
  top: 1.0%;
  width: 21.5%;
  height: 6.6%;
  pointer-events: none;
}

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

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

.hotspot {
  position: absolute;
  z-index: 6;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(34, 240, 201, .18);
}

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

.hotspot:active,
.nav-hit:active {
  background: rgba(34, 240, 201, .1);
}

.logo-hotspot { left: 3.1%; top: 0.96%; width: 21.5%; height: 6.33%; }
.top-login { left: 54.7%; top: 1.82%; width: 13.8%; height: 5.27%; }
.top-register { left: 70.0%; top: 1.82%; width: 18.0%; height: 5.27%; }
.top-menu { left: 91.0%; top: 2.21%; width: 6.6%; height: 4.80%; border-radius: 50%; }
.hero-login { left: 4.0%; top: 43.46%; width: 23.8%; height: 6.04%; }
.hero-register { left: 29.1%; top: 43.46%; width: 23.4%; height: 6.04%; }
.fishing-card { left: 3.1%; top: 51.91%; width: 30.0%; height: 21.11%; }
.sports-card { left: 35.4%; top: 51.91%; width: 30.0%; height: 21.11%; }
.slots-card { left: 67.0%; top: 51.91%; width: 30.0%; height: 21.11%; }
.bonus-panel { left: 2.9%; top: 74.36%; width: 94.4%; height: 11.03%; }
.bonus-button { left: 63.0%; top: 77.91%; width: 30.5%; height: 5.18%; }
.telegram-panel { left: 2.9%; top: 86.35%; width: 94.4%; height: 9.59%; }
.telegram-button { left: 63.3%; top: 89.42%; width: 30.4%; height: 5.27%; }

.visual-bridge {
  position: relative;
  z-index: 3;
  min-height: 106px;
  padding: 14px 16px 16px;
  background:
    linear-gradient(180deg, rgba(3, 21, 35, .98), rgba(2, 17, 28, .98)),
    var(--page-bg);
}

.visual-bridge::before {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 240, 201, .48), transparent);
  content: "";
}

.visual-bridge p {
  margin: 0 0 10px;
  color: #5ff9ff;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bridge-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bridge-actions a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 240, 201, .34);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 58, 75, .72), rgba(3, 24, 37, .88));
  color: #f7ffff;
  font-size: .92rem;
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.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(34, 240, 201, .45);
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 0, rgba(34, 240, 201, .25), transparent 45%),
    radial-gradient(circle at 78% 12%, rgba(24, 216, 232, .22), transparent 44%),
    linear-gradient(180deg, rgba(4, 36, 52, .96), rgba(1, 10, 18, .98));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .56),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

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

.nav-icon {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  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(34, 240, 201, .25), transparent 58%),
    rgba(24, 216, 232, .16);
}

.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(34, 240, 201, .76);
  content: "";
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  max-width: min(84vw, 330px);
  padding: 10px 14px;
  border: 1px solid rgba(34, 240, 201, .45);
  border-radius: 14px;
  background: rgba(1, 12, 20, .94);
  color: #eaffff;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
}

.seo-layer {
  position: relative;
  z-index: 2;
  padding: 28px 16px var(--nav-space);
  background:
    linear-gradient(180deg, rgba(3, 21, 35, .98), rgba(0, 8, 17, 1) 58%),
    var(--page-bg);
}

.seo-kicker {
  margin: 0 0 10px;
  color: #66f7ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seo-layer h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 9vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.seo-lead {
  margin: 0 0 20px;
  color: rgba(235, 252, 255, .88);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.58;
}

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

.seo-links a,
.seo-card {
  border: 1px solid rgba(34, 240, 201, .34);
  background: linear-gradient(180deg, rgba(10, 58, 75, .78), rgba(3, 24, 37, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.seo-links a {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #f8ffff;
  font-size: .95rem;
  font-weight: 900;
  text-align: center;
}

.seo-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 14px;
}

.seo-card h2 {
  margin: 0 0 8px;
  color: #52f6ff;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.seo-card p {
  margin: 0;
  color: rgba(237, 252, 255, .85);
  font-size: .95rem;
  line-height: 1.55;
}

.token-text {
  overflow-wrap: anywhere;
  color: #a8fff0;
  font-weight: 900;
}

.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: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 240, 201, .25);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #f4ffff;
  font-size: .82rem;
  font-weight: 900;
  text-align: center;
}

.faq-card details {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 10px 0;
}

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

.faq-card summary {
  cursor: pointer;
  color: #ffffff;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.35;
}

.faq-card details p {
  margin-top: 8px;
}

.safety-card {
  border-color: rgba(255, 255, 255, .16);
}

.seo-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: rgba(237, 252, 255, .76);
  font-size: .78rem;
  line-height: 1.4;
}

.seo-footer a,
.seo-footer span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(34, 240, 201, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
}

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

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

  .nav-hit {
    font-size: .62rem;
  }
}
