:root {
  color-scheme: dark;
  background: #030303;
}

* {
  box-sizing: border-box;
}

html {
  background: #030303;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #030303;
  font-family: Arial, Helvetica, sans-serif;
}

.landing {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 0 42px rgba(216, 165, 42, .12);
}

.visual-block {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #050505;
}

.visual-block img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

.gameplay-block {
  position: relative;
  margin: 0;
  padding: 7% 4.5% 8%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(184, 124, 16, .16), transparent 43%),
    repeating-linear-gradient(135deg, transparent 0 36px, rgba(216, 165, 42, .045) 37px 38px),
    #050505;
  border-top: 1px solid rgba(224, 177, 62, .35);
  border-bottom: 1px solid rgba(224, 177, 62, .35);
}

.gameplay-block h2 {
  margin: 0 0 5%;
  color: #d9ae52;
  font-size: clamp(20px, 5.8vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  letter-spacing: .035em;
}

.gameplay-frame {
  padding: 2px;
  overflow: hidden;
  border: 1px solid #d9a92e;
  border-radius: 18px;
  background: #050505;
  box-shadow: 0 0 24px rgba(224, 169, 40, .2);
}

.gameplay-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.hotspot {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4%;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: #1da8ee;
  box-shadow:
    0 0 0 2px rgba(59, 182, 255, .28),
    0 8px 24px rgba(86, 76, 224, .4),
    inset 0 1px 0 rgba(255, 255, 255, .36);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 140ms ease;
}

.hotspot::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -45%;
  background: linear-gradient(105deg, #1cc8ff 5%, #169fee 30%, #555ee9 57%, #a237ee 82%, #25bdf6 100%);
  transform: translateX(-22%);
  animation: telegram-shimmer 4.8s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate;
}

.hotspot::before {
  content: "➤";
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(20px, 5.4vw, 31px);
  aspect-ratio: 1;
  place-items: center;
  flex: 0 0 auto;
  color: #159bd8;
  background: #fff;
  border-radius: 50%;
  font-size: clamp(11px, 2.9vw, 17px);
  line-height: 1;
  transform: rotate(-18deg);
}

.hotspot span {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: #fff;
  font-size: clamp(8px, 2.3vw, 13px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
  white-space: nowrap;
}

.hotspot:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

.hero-cta {
  left: 3.2%;
  top: 69.35%;
  width: 43.8%;
  height: 9.35%;
}

.final-cta {
  left: 45.5%;
  top: 73.7%;
  width: 47%;
  height: 10.7%;
}

@keyframes telegram-shimmer {
  from { transform: translateX(-22%); }
  to { transform: translateX(22%); }
}

@media (hover: hover) and (pointer: fine) {
  .hotspot:hover {
    transform: scale(1.025);
    box-shadow:
      0 0 0 2px rgba(67, 191, 255, .4),
      0 11px 28px rgba(128, 58, 232, .48),
      inset 0 1px 0 rgba(255, 255, 255, .46);
  }
}

.hotspot:active {
  transform: scale(.98);
}

@media (min-width: 900px) {
  body {
    padding: 18px 0;
  }

  .landing {
    border: 1px solid rgba(223, 176, 62, .28);
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hotspot::after {
    animation: none;
    transform: translateX(0);
  }
}
