:root {
  --bg: #020305;
  --text: #fff;
  --muted: #ffffffad;
  --accent: #ffffffe6;
  --hero-bg-opacity: 0.38;
  --scene-dim: rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  -webkit-text-size-adjust: 100%;
}

body {
  font:
    400 clamp(1rem, 1.6vw, 1.2rem) / 1.5 "Ubuntu",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  position: relative;
  isolation: isolate;
}

.hero__background {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100svh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: var(--hero-bg-opacity);
}

body::after {
  content: "";
  position: fixed !important;
  inset: 0;
  background:
    linear-gradient(var(--scene-dim), var(--scene-dim)),
    radial-gradient(1200px 800px at 20% 20%, #ffffff0c, transparent 72%),
    radial-gradient(900px 700px at 80% 10%, #ffffff08, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

#ripple-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  pointer-events: none;
  z-index: 10;
}

.top-waitlist {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 18px);
  text-align: center;
  pointer-events: auto;
  width: min(92vw, 460px);
}

.top-waitlist__title {
  margin: 0;
  font-size: clamp(1.15rem, 3.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 20px rgba(120, 220, 255, 0.35),
    0 2px 16px rgba(0, 0, 0, 0.75);
}

.top-waitlist__wallet {
  appearance: none;
  font: inherit;
  cursor: pointer;
  padding: 0.95em 2.25em;
  min-width: min(340px, 92vw);
  min-height: 3.25rem;
  border-radius: 9999px;
  border: 2px solid rgba(140, 230, 255, 0.92);
  background: linear-gradient(
    165deg,
    rgba(150, 235, 255, 0.35) 0%,
    rgba(80, 180, 220, 0.22) 45%,
    rgba(8, 14, 22, 0.92) 100%
  );
  color: #fff;
  font-size: clamp(0.88rem, 2.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(120, 220, 255, 0.35),
    0 0 80px rgba(120, 220, 255, 0.12);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.top-waitlist__wallet:hover {
  border-color: #b8f0ff;
  background: linear-gradient(
    165deg,
    rgba(170, 245, 255, 0.45) 0%,
    rgba(100, 200, 235, 0.3) 45%,
    rgba(10, 18, 28, 0.88) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 6px 28px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(120, 220, 255, 0.5),
    0 0 100px rgba(120, 220, 255, 0.2);
  transform: translateY(-1px);
}

.top-waitlist__wallet:focus-visible {
  outline: 3px solid #9aebff;
  outline-offset: 4px;
}

.hero {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vw, 80px);
  overflow: hidden;
}

.hero__content {
  max-width: clamp(520px, 60vw, 760px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
  margin-top: clamp(60px, 13vh, 140px);
  margin-left: clamp(12px, 4vw, 56px);
}

.hero__content > * {
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.logo {
  width: clamp(220px, 30vw, 420px);
  height: auto;
  --delay: 0.1s;
}

.tagline {
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: 0.01em;
  width: min(100ch, 100%);
  --delay: 0.3s;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  --delay: 0.45s;
}

.social__link {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid #ffffff38;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.social__link:hover {
  border-color: #ffffff9c;
  opacity: 0.9;
  transform: translateY(-1px);
}

.social__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.social__icon {
  width: 20px;
  height: 20px;
  display: block;
}

.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.02em;
  --delay: 0.5s;
}

.link {
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid #ffffff66;
  transition:
    border-color 0.25s ease,
    opacity 0.25s ease;
}

.link:hover {
  border-color: #ffffffd9;
  opacity: 0.9;
}

.divider {
  color: #ffffff59;
}

@media (max-width: 600px) {
  :root {
    --muted: #ffffffd9;
    --accent: #fffffffa;
  }

  html,
  body {
    overflow: hidden;
  }

  body {
    font-size: 0.68rem;
    line-height: 1.55;
  }

  .hero__background {
    width: 100svh;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(-90deg);
  }

  .link {
    font-size: 0.85rem;
  }

  .hero {
    padding: 24px;
    align-items: flex-end;
    padding-bottom: 70px;
  }

  .hero__content {
    margin-left: 0;
    margin-top: 0;
  }

  .logo {
    width: min(85vw, 330px);
  }

  .divider {
    color: #ffffffb0;
  }

  .top-waitlist__title {
    letter-spacing: 0.1em;
  }
}
