:root {
  --color-night: #03040f;
  --color-deep: #070b2b;
  --color-navy: #0b1240;
  --color-royal: #1b3fd6;
  --color-blue: #2563ff;
  --color-neon: #3d8bff;
  --color-ice: #9cc8ff;
  --color-text: #dfe8ff;
  --color-muted: rgba(223, 232, 255, 0.55);
  --color-gold: #ffd84a;
  --color-gold-deep: #ffae00;
  --color-telegram: #2aabee;
  --font-main: "Inter", system-ui, sans-serif;
  --font-heading: "Unbounded", "Inter", system-ui, sans-serif;
  --container: 760px;
  --gutter: 16px;
  --radius: clamp(20px, 4vw, 28px);
  --glass: linear-gradient(160deg, rgba(37, 99, 255, 0.2), rgba(7, 11, 43, 0.82) 60%);
  --transition: 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--color-night);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

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

h1,
h2 {
  font-family: var(--font-heading);
  line-height: 1.05;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(37, 99, 255, 0.4), transparent 70%),
    radial-gradient(60% 45% at 50% 115%, rgba(27, 63, 214, 0.5), transparent 70%),
    linear-gradient(180deg, var(--color-night) 0%, var(--color-deep) 55%, var(--color-navy) 100%);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.backdrop-beam {
  position: absolute;
  top: -10vh;
  width: 60vmax;
  height: 150vh;
  background: linear-gradient(180deg, rgba(110, 165, 255, 0.38), rgba(37, 99, 255, 0.08) 55%, transparent 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(20px);
  opacity: 0.55;
  transform-origin: 50% 0;
  animation: beam-sway 7s ease-in-out infinite alternate;
}

.backdrop-beam--left {
  left: calc(6vw - 30vmax);
  --tilt-from: -38deg;
  --tilt-to: -16deg;
}

.backdrop-beam--right {
  right: calc(6vw - 30vmax);
  --tilt-from: 38deg;
  --tilt-to: 16deg;
  animation-delay: -3.5s;
}

.backdrop-grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -8%;
  height: 50vh;
  background-image:
    linear-gradient(rgba(61, 139, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 139, 255, 0.4) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  opacity: 0.45;
  animation: grid-run 2.4s linear infinite;
}

.sparks {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flash {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: radial-gradient(circle at 50% 12%, rgba(220, 235, 255, 0.95), rgba(61, 139, 255, 0.4) 32%, transparent 70%);
  opacity: 0;
  animation: flash 0.8s 1.28s ease-out;
}

.dots {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 9px);
}

.dots-item {
  width: clamp(9px, 2.4vw, 12px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 18px rgba(156, 200, 255, 0.95);
  animation: dot-bounce 1.2s ease-in-out infinite;
}

.dots-item:nth-child(2) {
  animation-delay: 0.15s;
}

.dots-item:nth-child(3) {
  animation-delay: 0.3s;
}

.tap-finger {
  position: absolute;
  right: -12px;
  bottom: -24px;
  font-size: clamp(24px, 6.5vw, 32px);
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
  pointer-events: none;
  animation: finger-tap 1.5s ease-in-out infinite;
}

.page {
  overflow-x: clip;
  animation: shake 0.55s 1.3s ease-out;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 9vw, 110px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 15% 0 0;
  background: radial-gradient(60% 55% at 50% 60%, rgba(37, 99, 255, 0.45), transparent 75%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 58%, rgba(0, 0, 0, 0.55) 76%, transparent 97%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 58%, rgba(0, 0, 0, 0.55) 76%, transparent 97%);
  animation: hero-in 1.2s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform-origin: 50% 40%;
  animation: ken-burns 16s 1.2s ease-in-out infinite alternate;
}

@media (min-width: 768px) {
  .hero-media {
    aspect-ratio: auto;
    height: max(420px, min(56vw, 82vh));
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, #000 13%, #000 58%, rgba(0, 0, 0, 0.55) 76%, transparent 97%),
      linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(180deg, transparent 0%, #000 13%, #000 58%, rgba(0, 0, 0, 0.55) 76%, transparent 97%),
      linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-composite: intersect;
  }
}

.logo {
  position: absolute;
  top: clamp(6px, 1.5vw, 16px);
  left: 0;
  right: 0;
  width: clamp(170px, 44vw, 380px);
  aspect-ratio: 2.4;
  margin-inline: auto;
  font-size: 0;
}

.logo::after {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border: 2px solid rgba(156, 200, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: shockwave 0.9s 1.3s ease-out;
}

.logo-flare {
  position: absolute;
  inset: -30% -14%;
  background:
    radial-gradient(closest-side, rgba(3, 4, 15, 0.8), rgba(3, 4, 15, 0.45) 55%, transparent 80%),
    radial-gradient(closest-side, rgba(61, 139, 255, 0.45), transparent);
  filter: blur(10px);
  opacity: 0;
  animation: flare-in 0.9s 1.25s ease-out forwards, flare-pulse 3.2s 2.3s ease-in-out infinite;
}

.logo-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 78%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 78%, transparent 100%);
  animation:
    logo-slam 1s 0.7s cubic-bezier(0.25, 0.9, 0.3, 1) both,
    neon-flicker 7s 2.5s linear infinite;
}

.casino-chip {
  --size: 56px;
  --depth: 0.3;
  position: absolute;
  z-index: 2;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, var(--face) 0 50%, rgba(255, 255, 255, 0.95) 51% 54%, var(--face) 55% 70%, transparent 71%),
    repeating-conic-gradient(var(--edge) 0deg 20deg, #fff 20deg 30deg);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.3),
    inset 0 -5px 10px rgba(0, 0, 0, 0.35),
    0 14px 26px rgba(0, 0, 0, 0.55),
    0 0 30px var(--glow);
  translate: 0 calc(var(--scroll, 0) * var(--depth) * -1px);
  animation: chip-float 6s ease-in-out infinite, chip-in 0.9s 1.8s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  pointer-events: none;
}

.casino-chip::after {
  content: "D";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: calc(var(--size) * 0.3);
  font-weight: 900;
  color: #fff;
}

.casino-chip--blue {
  --size: clamp(54px, 13vw, 116px);
  --face: #1b3fd6;
  --edge: #2563ff;
  --glow: rgba(61, 139, 255, 0.6);
  --depth: 0.25;
  top: 34%;
  left: -16px;
}

.casino-chip--red {
  --size: clamp(46px, 10vw, 92px);
  --face: #c5132f;
  --edge: #ff3b5c;
  --glow: rgba(255, 59, 92, 0.45);
  --depth: 0.45;
  top: 56%;
  right: -12px;
  animation-delay: -2s, 1.95s;
}

.casino-chip--gold {
  --size: clamp(34px, 7vw, 66px);
  --face: #d99a00;
  --edge: #ffd84a;
  --glow: rgba(255, 216, 74, 0.45);
  --depth: 0.6;
  bottom: 14%;
  left: 7%;
  filter: blur(1px);
  animation-delay: -4s, 2.1s;
}

.casino-chip--navy {
  --size: clamp(28px, 6vw, 56px);
  --face: #0b1240;
  --edge: #3d8bff;
  --glow: rgba(61, 139, 255, 0.4);
  --depth: 0.15;
  top: 26%;
  right: 10%;
  filter: blur(2px);
  animation-delay: -1s, 2.25s;
}

@media (min-width: 768px) {
  .casino-chip--blue {
    left: 5%;
  }

  .casino-chip--red {
    right: 6%;
  }

  .casino-chip--gold {
    left: 14%;
  }

  .casino-chip--navy {
    right: 16%;
  }
}

.guide {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * clamp(56px, 13vw, 220px));
  text-align: center;
}

.guide-inner {
  animation: fade-up 0.9s 1.7s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.guide-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(24px, 7.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.guide-title-line {
  color: #fff;
  text-shadow: 0 0 30px rgba(61, 139, 255, 0.8), 0 4px 0 rgba(27, 63, 214, 0.6);
}

.guide-title-line--accent {
  background: linear-gradient(180deg, #fff6c2 0%, var(--color-gold) 45%, var(--color-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 190, 30, 0.55));
}

.guide-text {
  max-width: 620px;
  margin: clamp(14px, 3vw, 22px) auto 0;
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: balance;
}

.guide-key {
  display: inline-block;
  padding: 0 0.4em;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  border: 1px solid rgba(156, 200, 255, 0.45);
  border-radius: 8px;
  background: rgba(61, 139, 255, 0.22);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3.5vw, 28px);
  max-width: 620px;
  margin: clamp(24px, 5vw, 40px) auto 0;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2.5vw, 16px);
  min-width: 0;
  padding: clamp(30px, 7vw, 40px) clamp(10px, 3vw, 20px) clamp(16px, 4vw, 24px);
  border: 1px solid rgba(120, 170, 255, 0.2);
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: step-active 3s ease-in-out infinite;
}

.step:last-child {
  animation-delay: 1.5s;
}

.step-num {
  position: absolute;
  top: clamp(10px, 2.5vw, 14px);
  left: clamp(12px, 3vw, 18px);
  font-family: var(--font-heading);
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 900;
  color: var(--color-ice);
  opacity: 0.6;
}

.step-visual {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(92px, 24vw, 124px);
}

.step-label {
  font-family: var(--font-heading);
  font-size: clamp(11px, 3.1vw, 15px);
  font-weight: 700;
  color: #fff;
}

.dots-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(76px, 20vw, 108px);
  height: clamp(50px, 13vw, 66px);
  border-radius: 999px;
  background: linear-gradient(135deg, #5aa0ff, var(--color-blue) 45%, var(--color-royal));
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.28) inset,
    0 12px 30px rgba(37, 99, 255, 0.75),
    0 0 46px rgba(61, 139, 255, 0.65);
  animation: chip-wiggle 3s ease-in-out infinite;
}

.dots-chip::before,
.dots-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(130, 180, 255, 0.95);
  border-radius: inherit;
  pointer-events: none;
  animation: ring 2s ease-out infinite;
}

.dots-chip::after {
  animation-delay: 1s;
}

.steps-connector {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(34px, 9vw, 46px);
  aspect-ratio: 1;
  border: 3px solid var(--color-deep);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-neon), var(--color-royal));
  box-shadow: 0 0 24px rgba(61, 139, 255, 0.8);
  translate: -50% -50%;
  animation: connector-pulse 1.5s ease-in-out infinite;
}

.steps-connector span {
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
}

.app-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  max-width: 190px;
  padding: 4px;
  font-size: clamp(9px, 2.7vw, 13px);
  font-weight: 600;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(16, 22, 56, 0.96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.app-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: clamp(5px, 1.5vw, 8px) clamp(6px, 2vw, 10px);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.app-menu-item img {
  flex-shrink: 0;
  width: clamp(11px, 3vw, 14px);
  height: auto;
  opacity: 0.5;
}

.app-menu-item--active {
  color: #fff;
  background: linear-gradient(90deg, var(--color-blue), var(--color-royal));
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.7);
  animation: menu-pick 1.5s ease-in-out infinite;
}

.app-menu-item--active img {
  opacity: 1;
}

.tap-finger--menu {
  right: -10px;
  bottom: -22px;
  font-size: clamp(20px, 5.5vw, 28px);
}

.ticker {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 10vw, 88px);
}

.ticker-band {
  position: relative;
  z-index: 1;
  width: 120%;
  margin-left: -10%;
  padding-block: clamp(10px, 2.4vw, 16px);
  overflow: hidden;
  background: linear-gradient(90deg, var(--color-royal), var(--color-blue) 50%, var(--color-royal));
  box-shadow: 0 0 40px rgba(37, 99, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  rotate: -3deg;
}

.ticker-band--back {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  background: var(--color-navy);
  border-block: 1px solid rgba(156, 200, 255, 0.25);
  box-shadow: none;
  opacity: 0.75;
  rotate: 3deg;
  translate: 0 -50%;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker var(--ticker-duration, 20s) linear infinite;
}

.ticker-track--reverse {
  animation-direction: reverse;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group span,
.ticker-group b {
  padding-inline: clamp(10px, 2.4vw, 18px);
  font-family: var(--font-heading);
  font-size: clamp(15px, 4vw, 24px);
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
  color: #fff;
}

.ticker-group b {
  color: var(--color-gold);
  text-shadow: 0 0 12px rgba(255, 216, 74, 0.7);
}

.ticker-band--back .ticker-group span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(156, 200, 255, 0.6);
}

.links {
  padding-bottom: clamp(48px, 10vw, 96px);
}

.links-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(560px + var(--gutter) * 2);
}

.tg-card {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(18px, 4.8vw, 28px);
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, #0d1a5c, #070b2b 65%) padding-box,
    linear-gradient(135deg, rgba(42, 171, 238, 0.9), rgba(27, 63, 214, 0.25) 45%, rgba(255, 216, 74, 0.6)) border-box;
  box-shadow: 0 30px 60px -30px rgba(42, 171, 238, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tg-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 171, 238, 0.35), transparent);
  pointer-events: none;
}

.tg-card:hover,
.tg-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px -24px rgba(42, 171, 238, 0.85);
}

.tg-card:focus-visible {
  outline: 2px solid var(--color-ice);
  outline-offset: 4px;
}

.tg-card:active {
  transform: scale(0.98);
}

.tg-card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 4vw, 20px);
  text-align: left;
}

.tg-avatar {
  position: relative;
  flex-shrink: 0;
  width: clamp(72px, 20vw, 96px);
}

.tg-avatar-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 0 0 2px rgba(42, 171, 238, 0.7), 0 0 34px rgba(42, 171, 238, 0.55);
}

.tg-avatar-badge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: clamp(28px, 7.5vw, 34px);
  aspect-ratio: 1;
  border: 3px solid #0b1650;
  border-radius: 50%;
  background: var(--color-telegram);
}

.tg-avatar-badge img {
  width: 55%;
  margin-left: -2px;
}

.tg-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tg-card-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 5.6vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.tg-card-name img {
  width: clamp(18px, 5vw, 24px);
}

.tg-card-meta {
  font-size: clamp(13px, 3.6vw, 15px);
  font-weight: 500;
  color: var(--color-muted);
}

.tg-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: clamp(18px, 4.5vw, 24px);
  padding: clamp(15px, 4vw, 19px) 24px;
  overflow: hidden;
  font-size: clamp(16px, 4.4vw, 19px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #4cc3ff, var(--color-telegram) 40%, #1b6dff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 30px -8px rgba(42, 171, 238, 0.9);
  animation: button-pulse 2.4s ease-in-out infinite;
}

.tg-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 3s 1s ease-in-out infinite;
}

.tg-button img {
  width: 24px;
  height: 24px;
}

.site-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: clamp(28px, 7vw, 44px);
}

.site-link:focus-visible {
  outline: none;
}

.site-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: clamp(8px, 2.4vw, 10px) 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #0d1a5c, #050820) padding-box,
    linear-gradient(135deg, rgba(61, 139, 255, 0.95), rgba(27, 63, 214, 0.35) 50%, rgba(156, 200, 255, 0.85)) border-box;
  box-shadow: 0 0 0 4px rgba(61, 139, 255, 0.08), 0 14px 30px -10px rgba(37, 99, 255, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-link:hover .site-button,
.site-link:focus-visible .site-button {
  transform: translateY(-3px);
  box-shadow: 0 0 0 6px rgba(61, 139, 255, 0.15), 0 18px 40px -10px rgba(61, 139, 255, 0.95);
}

.site-link:focus-visible .site-button {
  outline: 2px solid var(--color-ice);
  outline-offset: 4px;
}

.site-link:active .site-button {
  transform: scale(0.97);
}

.site-button-logo {
  width: auto;
  height: clamp(36px, 9.5vw, 44px);
  aspect-ratio: 2.4;
  object-fit: cover;
  object-position: 50% 55%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 78%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 78%, transparent 100%);
  animation: neon-flicker 7s 3s linear infinite;
}

.site-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: clamp(13px, 3.6vw, 16px);
  font-weight: 700;
  color: var(--color-text);
}

.site-caption-hand {
  display: inline-block;
  animation: hand-up 0.9s ease-in-out infinite alternate;
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
  animation: reveal-up 0.9s var(--reveal-delay, 0s) cubic-bezier(0.2, 0.9, 0.2, 1) backwards;
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
  }
}

.footer {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  text-align: center;
}

.footer-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

@keyframes beam-sway {
  from {
    transform: rotate(var(--tilt-from));
  }

  to {
    transform: rotate(var(--tilt-to));
  }
}

@keyframes grid-run {
  to {
    background-position: 0 56px;
  }
}

@keyframes flash {
  0% {
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes logo-slam {
  0% {
    opacity: 0;
    transform: perspective(700px) translateZ(520px) rotateX(28deg) scale(2.2);
    filter: blur(20px) brightness(3);
  }

  55% {
    opacity: 1;
    filter: blur(0) brightness(1.8);
  }

  64% {
    transform: perspective(700px) translateZ(0) rotateX(0) scale(0.9);
  }

  76% {
    transform: perspective(700px) scale(1.07);
    filter: brightness(1.4);
  }

  88% {
    transform: perspective(700px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: perspective(700px) scale(1);
    filter: brightness(1);
  }
}

@keyframes neon-flicker {
  0%,
  86%,
  100% {
    filter: brightness(1);
  }

  87% {
    filter: brightness(0.45);
  }

  88% {
    filter: brightness(1.35);
  }

  89.5% {
    filter: brightness(0.6);
  }

  91% {
    filter: brightness(1.2);
  }

  93% {
    filter: brightness(1);
  }
}

@keyframes shockwave {
  0% {
    opacity: 1;
    transform: scale(0.6);
  }

  100% {
    opacity: 0;
    transform: scale(1.9, 2.4);
  }
}

@keyframes flare-in {
  to {
    opacity: 1;
  }
}

@keyframes flare-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translate(0, 0);
  }

  15% {
    transform: translate(-6px, 4px);
  }

  30% {
    transform: translate(5px, -4px);
  }

  45% {
    transform: translate(-4px, 2px);
  }

  60% {
    transform: translate(3px, -2px);
  }

  80% {
    transform: translate(-1px, 1px);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(1.12);
    filter: blur(14px) brightness(1.6);
  }

  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes ken-burns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.07);
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }

  50% {
    transform: translateY(-14px) rotate(10deg);
  }
}

@keyframes chip-in {
  from {
    opacity: 0;
    scale: 0.2;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes step-active {
  0%,
  50%,
  100% {
    border-color: rgba(120, 170, 255, 0.2);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8);
  }

  12%,
  38% {
    border-color: rgba(156, 200, 255, 0.85);
    box-shadow: 0 0 0 1px rgba(156, 200, 255, 0.4), 0 0 44px rgba(61, 139, 255, 0.55);
  }
}

@keyframes dot-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0) scale(1);
  }

  30% {
    transform: translateY(-9px) scale(1.25);
  }
}

@keyframes ring {
  from {
    opacity: 0.95;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.6, 1.9);
  }
}

@keyframes chip-wiggle {
  0%,
  70%,
  100% {
    transform: rotate(0) scale(1);
  }

  74% {
    transform: rotate(-8deg) scale(1.1);
  }

  78% {
    transform: rotate(7deg) scale(1.1);
  }

  82% {
    transform: rotate(-5deg) scale(1.08);
  }

  86% {
    transform: rotate(3deg) scale(1.04);
  }

  90% {
    transform: rotate(0) scale(1);
  }
}

@keyframes finger-tap {
  0%,
  100% {
    transform: translate(8px, 10px) rotate(-12deg);
  }

  40% {
    transform: translate(0, 0) rotate(-12deg) scale(1);
  }

  50% {
    transform: translate(0, -2px) rotate(-12deg) scale(0.82);
  }

  60% {
    transform: translate(0, 0) rotate(-12deg) scale(1);
  }
}

@keyframes connector-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

@keyframes menu-pick {
  0%,
  35%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  65% {
    transform: scale(1.04);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes button-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-120%);
  }

  45%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes hand-up {
  from {
    transform: translateY(3px);
  }

  to {
    transform: translateY(-6px);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
}
