:root {
  color-scheme: dark;
  --bg: #030504;
  --bg-2: #07120c;
  --ink: #f4fff7;
  --muted: #a9b8ad;
  --dim: #748579;
  --line: rgba(79, 255, 126, 0.24);
  --line-strong: rgba(79, 255, 126, 0.58);
  --green: #39ff14;
  --green-2: #09d86b;
  --blue: #2aa7ff;
  --gold: #ffe98f;
  --panel: rgba(5, 12, 8, 0.66);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -8%, rgba(57, 255, 20, 0.2), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(42, 167, 255, 0.12), transparent 31%),
    linear-gradient(180deg, #020403 0%, var(--bg-2) 52%, #020403 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  opacity: 0.48;
}

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

.page-shell {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100svh;
  place-items: center;
  padding: 16px;
  isolation: isolate;
}

.motion-field {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: 44% -80% -32%;
  transform: perspective(720px) rotateX(68deg);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(transparent 0%, black 25%, black 76%, transparent 100%);
  animation: grid-flow 11s linear infinite;
}

.scanline,
.light-sweep {
  position: absolute;
  inset: 0;
}

.scanline {
  background: linear-gradient(180deg, transparent, rgba(57, 255, 20, 0.08), transparent);
  transform: translateY(-100%);
  animation: scan 5.8s ease-in-out infinite;
}

.light-sweep {
  background: linear-gradient(110deg, transparent 16%, rgba(57, 255, 20, 0.12), transparent 48%);
  filter: blur(10px);
  transform: translateX(-82%);
  animation: page-sweep 7.4s ease-in-out infinite;
}

.hero {
  width: min(100%, 384px);
  min-height: min(690px, calc(100svh - 32px));
  padding: 18px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 233, 143, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 38%),
    linear-gradient(135deg, rgba(57, 255, 20, 0.09), transparent 34%),
    var(--panel);
  box-shadow:
    0 22px 74px rgba(0, 0, 0, 0.62),
    0 0 70px rgba(57, 255, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(10px);
}

.hero.is-visible {
  animation: reveal 620ms cubic-bezier(0.2, 0.86, 0.24, 1) forwards;
}

.verified-pill {
  display: flex;
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 999px;
  color: #dcffe3;
  background: rgba(57, 255, 20, 0.085);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

.logo-frame {
  position: relative;
  display: grid;
  width: clamp(86px, 26vw, 110px);
  height: clamp(86px, 26vw, 110px);
  margin: 17px auto 14px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.5);
  border-radius: 8px;
  background: #050705;
  box-shadow:
    0 0 36px rgba(57, 255, 20, 0.25),
    0 12px 38px rgba(0, 0, 0, 0.38),
    inset 0 0 24px rgba(57, 255, 20, 0.08);
}

.logo-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.36), transparent 58%);
  content: "";
  transform: translateX(-130%);
  animation: logo-shine 4.8s ease-in-out infinite;
}

.logo-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 9px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

h1 {
  margin: 7px auto 0;
  font-size: clamp(33px, 10vw, 48px);
  line-height: 0.95;
  letter-spacing: 0;
  text-align: center;
}

.gradient-title {
  display: block;
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    #f4fff7 28%,
    var(--gold) 48%,
    var(--green-2) 68%,
    var(--blue) 100%
  );
  background-size: 270% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.22));
  animation: title-fade 4.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.lead {
  max-width: 29ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
  text-align: center;
}

.link-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.action-button {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 74px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(7, 17, 11, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  transform: translateZ(0);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.action-button::before {
  position: absolute;
  inset: -1px;
  z-index: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  content: "";
  transform: translateX(-130%);
  animation: button-sweep 4s ease-in-out infinite;
}

.action-button::after {
  position: absolute;
  inset: auto 12px 9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.68), transparent);
  content: "";
  opacity: 0.78;
  animation: underline-pulse 2.4s ease-in-out infinite;
}

.action-button.primary {
  background:
    radial-gradient(circle at 13% 13%, rgba(57, 255, 20, 0.22), transparent 46%),
    linear-gradient(135deg, rgba(57, 255, 20, 0.14), rgba(7, 17, 11, 0.96));
}

.action-button.secondary {
  background:
    radial-gradient(circle at 13% 13%, rgba(42, 167, 255, 0.17), transparent 46%),
    linear-gradient(135deg, rgba(12, 26, 33, 0.94), rgba(7, 17, 11, 0.96));
}

.action-button:focus-visible,
.action-button:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(57, 255, 20, 0.2);
  outline: 0;
  transform: translateY(-2px);
}

.button-icon,
.button-copy {
  position: relative;
  z-index: 1;
}

.button-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  animation: icon-breathe 2.8s ease-in-out infinite;
}

.telegram-icon {
  background: linear-gradient(135deg, #34b8ff, #1989dd);
  box-shadow:
    0 0 24px rgba(42, 167, 255, 0.34),
    inset 0 0 18px rgba(255, 255, 255, 0.18);
}

.contact-icon {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.98), rgba(9, 216, 107, 0.92));
  box-shadow:
    0 0 24px rgba(57, 255, 20, 0.3),
    inset 0 0 18px rgba(255, 255, 255, 0.2);
}

.button-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
}

.contact-icon svg {
  fill: #061009;
}

.mini-check {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #07110b;
  border-radius: 999px;
  color: #07110b;
  background: #fff;
  font-size: 12px;
  font-weight: 950;
}

.button-copy {
  min-width: 0;
}

.action-button strong,
.action-button small {
  display: block;
}

.action-button strong {
  font-size: 14.5px;
  font-weight: 950;
  line-height: 1.14;
}

.action-button small {
  margin-top: 5px;
  color: rgba(244, 255, 248, 0.64);
  font-size: 11.5px;
  font-weight: 760;
  line-height: 1.25;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  margin-top: 17px;
}

.trust-row span {
  min-height: 27px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 850;
}

@media (min-width: 430px) {
  .page-shell {
    padding: 22px;
  }

  .hero {
    width: min(100%, 448px);
    min-height: auto;
    padding: 24px 20px 21px;
  }

  .logo-frame {
    width: 116px;
    height: 116px;
    margin-top: 21px;
  }

  .lead {
    font-size: 16px;
  }

  .trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 760px) {
  .hero {
    width: min(100%, 492px);
    padding: 28px 24px 24px;
  }

  .logo-frame {
    width: 126px;
    height: 126px;
  }

  h1 {
    font-size: 56px;
  }
}

@media (max-width: 340px) {
  .page-shell {
    padding: 10px;
  }

  .hero {
    min-height: calc(100svh - 20px);
    padding: 13px 10px 12px;
  }

  .verified-pill {
    font-size: 11px;
  }

  .logo-frame {
    width: 82px;
    height: 82px;
    margin-top: 14px;
    margin-bottom: 11px;
  }

  h1 {
    font-size: 31px;
  }

  .lead {
    margin-top: 11px;
    font-size: 14px;
  }

  .link-stack {
    gap: 10px;
    margin-top: 17px;
  }

  .action-button {
    min-height: 68px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 9px;
  }

  .button-icon {
    width: 40px;
    height: 40px;
  }

  .action-button strong {
    font-size: 13.5px;
  }

  .action-button small {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes title-fade {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes logo-shine {
  0%,
  55% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes button-sweep {
  0%,
  42% {
    transform: translateX(-130%);
  }
  72%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes underline-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@keyframes icon-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes page-sweep {
  0%,
  46% {
    opacity: 0;
    transform: translateX(-82%);
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(88%);
  }
}

@keyframes grid-flow {
  to {
    background-position: 0 44px, 44px 0;
  }
}

@keyframes scan {
  0%,
  26% {
    transform: translateY(-100%);
  }
  78%,
  100% {
    transform: translateY(100%);
  }
}
