:root {
  --bg: #07010f;
  --bg2: #07010f;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --stroke: rgba(255, 255, 255, 0.10);
  --card: rgba(255, 255, 255, 0.05);
  --card2: rgba(255, 255, 255, 0.07);
  --neon: #ff2bd6;
  --neon2: #a855f7;
  --neon3: #ff2b6d;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 760px at 14% 8%, rgba(255, 43, 214, 0.20), transparent 58%),
    radial-gradient(1200px 760px at 86% 24%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(1100px 860px at 55% 120%, rgba(255, 43, 214, 0.10), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow: hidden; /* без ползунка */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.78) 100%);
  opacity: 0.9;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 44px 44px;
  opacity: 0.08;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 72%);
}

.btn::after {
  content: "";
  position: absolute;
  left: -40%;
  top: -60%;
  width: 40%;
  height: 220%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 43, 214, 0.18), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.btn:hover::after {
  opacity: 1;
  animation: sweep 900ms ease-out 1;
}

@keyframes sweep {
  from { left: -40%; }
  to { left: 120%; }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: normal;
}

@media (max-width: 520px) {
  .fx {
    opacity: 0.58;
  }
}

.wrap {
  height: 100%;
  width: min(760px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.head {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.brand {
  position: relative;
  z-index: 0;
  isolation: isolate;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-size: clamp(17px, 2.6vw, 20px);
  padding: 11px 18px;
  border-radius: 999px;
  color: transparent;
  background-image: linear-gradient(135deg, #ffffff 0%, #f0e0ff 38%, #ff2bd6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  animation: riseIn 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 43, 214, 0.38);
  backdrop-filter: blur(12px) saturate(1.15);
  box-shadow:
    0 0 0 1px rgba(255, 43, 214, 0.14) inset,
    0 0 44px rgba(255, 43, 214, 0.14),
    0 24px 72px rgba(0, 0, 0, 0.58);
}

.hero h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.4;
  font-size: 15px;
}

.links {
  display: grid;
  gap: 13px;
}

.links .btn:nth-child(1) {
  border-image: linear-gradient(135deg, rgba(255, 43, 214, 0.58), rgba(168, 85, 247, 0.42)) 1;
  animation: riseIn 680ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

.links .btn:nth-child(1)::before {
  background:
    radial-gradient(520px 280px at 18% 0%, rgba(255, 43, 214, 0.26), transparent 58%),
    radial-gradient(520px 280px at 82% 12%, rgba(168, 85, 247, 0.2), transparent 60%);
}

.links .btn:nth-child(2) {
  border-image: linear-gradient(135deg, rgba(168, 85, 247, 0.52), rgba(255, 43, 109, 0.42)) 1;
  animation: riseIn 680ms cubic-bezier(0.22, 1, 0.36, 1) 170ms both;
}

.links .btn:nth-child(2)::before {
  background:
    radial-gradient(520px 280px at 28% 0%, rgba(168, 85, 247, 0.24), transparent 58%),
    radial-gradient(520px 280px at 72% 14%, rgba(255, 43, 109, 0.18), transparent 60%);
}

.links .btn:nth-child(3) {
  border-image: linear-gradient(135deg, rgba(255, 43, 109, 0.48), rgba(255, 43, 214, 0.46)) 1;
  animation: riseIn 680ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both;
}

.links .btn:nth-child(3)::before {
  background:
    radial-gradient(520px 280px at 22% 0%, rgba(255, 43, 109, 0.22), transparent 58%),
    radial-gradient(520px 280px at 78% 10%, rgba(255, 43, 214, 0.22), transparent 60%);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 43, 214, 0.22);
  border-image: linear-gradient(135deg, rgba(255, 43, 214, 0.50), rgba(168, 85, 247, 0.40), rgba(255, 43, 109, 0.34)) 1;
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.10) inset, 0 28px 100px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
  background:
    radial-gradient(520px 260px at 22% 0%, rgba(255, 43, 214, 0.22), transparent 60%),
    radial-gradient(520px 260px at 78% 10%, rgba(168, 85, 247, 0.18), transparent 62%);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 43, 214, 0.30);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.14) inset, 0 40px 140px rgba(0, 0, 0, 0.50);
}

.btn:hover::before {
  opacity: 1;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 43, 214, 0.18), var(--shadow);
}

.btn__k {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  text-shadow: 0 0 18px rgba(255, 43, 214, 0.16);
}

.hero {
  display: none;
}

.badge {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 43, 214, 0.14);
  border: 1px solid rgba(255, 43, 214, 0.26);
  color: rgba(255, 255, 255, 0.88);
}

.foot {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.02em;
  animation: riseIn 640ms cubic-bezier(0.22, 1, 0.36, 1) 340ms both;
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .links .btn,
  .foot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-height: 720px) {
  .wrap {
    align-content: start;
    padding-top: 16px;
    gap: 12px;
  }
  .btn {
    padding: 12px 14px;
    border-radius: 16px;
  }
  .hero p {
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .btn {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .btn__v {
    white-space: normal;
  }
}

