:root {
  color-scheme: dark;
  --bg: #07070c;
  --surface: rgba(17, 18, 29, 0.76);
  --surface-hover: rgba(25, 27, 43, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f7fa;
  --muted: #a9abb7;
  --blue: #0598ff;
  --purple: #8b19ff;
  --yellow: #ffb000;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(5, 152, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(139, 25, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #090910 0%, #050508 100%);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 18px;
}

.link-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  padding: 30px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(15,16,25,.92), rgba(8,8,14,.84));
  box-shadow: 0 28px 80px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
}

.link-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple) 55%, var(--yellow));
}

.brand-glow {
  position: absolute;
  z-index: -1;
  top: -90px;
  left: 50%;
  width: 330px;
  height: 210px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,95,255,.2), transparent 68%);
  filter: blur(16px);
}

.brand-logo {
  display: block;
  width: min(100%, 440px);
  height: 185px;
  margin: -18px auto -22px;
  object-fit: contain;
}

.intro { text-align: center; margin-bottom: 24px; }

.intro h1 {
  margin: 0;
  font-size: clamp(1.2rem, 5vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.intro p {
  margin: 9px auto 0;
  max-width: 390px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.5;
}

.links { display: grid; gap: 11px; }

.link-button {
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  align-items: center;
  min-height: 68px;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 103, 255, .55);
  background: var(--surface-hover);
  box-shadow: 0 12px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
}

.link-button:focus-visible { outline: 3px solid rgba(5,152,255,.65); outline-offset: 3px; }

.link-button.primary {
  border-color: rgba(100, 93, 255, .68);
  background: linear-gradient(105deg, rgba(0,117,255,.92), rgba(111,35,255,.94) 62%, rgba(151,27,238,.92));
  box-shadow: 0 13px 32px rgba(76,42,229,.25), inset 0 1px 0 rgba(255,255,255,.16);
}

.icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: #cbb9ff;
  background: rgba(255,255,255,.055);
  font-size: .95rem;
}

.primary .icon { color: #fff; background: rgba(255,255,255,.14); }
.play { font-size: .72rem; }

.link-button strong, .link-button small { display: block; }
.link-button strong { font-size: .97rem; line-height: 1.25; }
.link-button small { margin-top: 3px; color: var(--muted); font-size: .78rem; line-height: 1.25; }
.link-button.primary small { color: rgba(255,255,255,.78); }
.arrow { color: rgba(255,255,255,.55); font-size: 1.55rem; text-align: right; }

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #777987;
  font-size: .76rem;
  letter-spacing: .02em;
}

.footer-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 10px rgba(65,104,255,.75);
}

@media (max-width: 560px) {
  .page-shell { padding: 0; align-items: start; }
  .link-card {
    min-height: 100vh;
    padding: 24px 18px 20px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(160deg, rgba(15,16,25,.78), rgba(5,5,8,.55));
    box-shadow: none;
  }
  .brand-logo { height: 160px; margin: -14px auto -18px; }
  .intro { margin-bottom: 21px; }
  .link-button { min-height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  .link-button { transition: none; }
}
