@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --canvas: #050506;
  --surface: #0c0c0e;
  --raised: #151518;
  --well: #09090b;
  --ink: #f3f3f1;
  --muted: #a1a1a8;
  --subtle: #6f7078;
  --line: rgb(255 255 255 / 8%);
  --line-strong: rgb(255 255 255 / 16%);
  --accent: #ffffff;
  --live: #6fdc9c;
  --discord: #5865f2;
  --error: #ff9b9b;
  --iris: linear-gradient(120deg, #8f7dff 0%, #c9a8ff 45%, #f4c2d6 100%);
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 16px;
  --radius-large: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, p, ol, ul, figure) {
  margin: 0;
}

:where(ol, ul) {
  list-style: none;
  padding: 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

[hidden] {
  display: none !important;
}

/* Header */

.top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: calc(1140px + 2 * var(--gutter));
  padding: 22px var(--gutter);
  position: relative;
  z-index: 2;
}

.brand img {
  height: auto;
  width: clamp(140px, 16vw, 172px);
}

.language-switch {
  background: rgb(255 255 255 / 4%);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 2px;
  padding: 3px;
}

.language-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  transition:
    background 200ms var(--ease),
    color 200ms var(--ease);
}

.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--canvas);
}

/* Hero */

.hero {
  margin: 0 auto;
  max-width: calc(1240px + 2 * var(--gutter));
  padding: clamp(24px, 4vh, 48px) var(--gutter) 0;
  position: relative;
}

.hero::before {
  background: radial-gradient(50% 60% at 50% 0%, rgb(255 255 255 / 9%), transparent 70%);
  content: "";
  height: 720px;
  inset: -80px 0 auto;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.5rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero h1 > span {
  display: block;
  text-wrap: balance;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  margin-top: 22px;
  max-width: 34em;
  text-wrap: pretty;
}

.sprite {
  height: 0;
  position: absolute;
  width: 0;
}

.discord-fab {
  background: var(--discord);
  border: 0;
  border-radius: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow:
    0 14px 36px -10px rgb(88 101 242 / 70%),
    0 6px 16px rgb(0 0 0 / 55%);
  color: #fff;
  cursor: pointer;
  display: grid;
  height: 60px;
  place-items: center;
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  transition:
    background-color 160ms ease,
    transform 200ms var(--ease);
  width: 60px;
  z-index: 30;
}

.discord-fab svg {
  fill: currentColor;
  height: 30px;
  width: 30px;
}

.discord-fab:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.discord-fab:active {
  transform: scale(0.95);
}

.discord-fab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.discord-popup {
  background: var(--surface);
  border: 0;
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 6%),
    0 40px 120px -30px rgb(0 0 0 / 90%);
  color: var(--ink);
  isolation: isolate;
  max-height: calc(100dvh - 32px);
  max-width: min(540px, calc(100% - 32px));
  overflow: auto;
  padding: 56px 44px 30px;
  text-align: center;
  width: 100%;
}

.discord-popup::backdrop {
  backdrop-filter: blur(8px);
  background: rgb(5 5 6 / 72%);
}

.discord-close {
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--subtle);
  cursor: pointer;
  display: grid;
  height: 36px;
  place-items: center;
  position: absolute;
  right: 14px;
  top: 14px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
  width: 36px;
}

.discord-close:hover,
.discord-close:focus-visible {
  background: rgb(255 255 255 / 7%);
  color: var(--ink);
}

.discord-mark {
  color: var(--discord);
  height: 96px;
  margin: 0 auto 26px;
  position: relative;
  width: 96px;
}

.discord-mark::before {
  background: radial-gradient(circle, rgb(88 101 242 / 55%) 0%, rgb(88 101 242 / 0%) 68%);
  content: "";
  inset: -52px;
  position: absolute;
  z-index: -1;
}

.discord-mark svg {
  fill: currentColor;
  height: 100%;
  width: 100%;
}

.discord-title {
  font-size: clamp(1.875rem, 6vw, 2.625rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.discord-text {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
  margin: 14px auto 0;
  max-width: 34ch;
  text-wrap: pretty;
}

.discord-prize {
  background: var(--well);
  border-radius: 20px;
  margin-top: 30px;
  padding: 22px 20px 18px;
}

.discord-prize-title {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0;
}

.podium {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.podium li {
  align-content: end;
  background: var(--raised);
  border-radius: 14px 14px 6px 6px;
  display: grid;
  gap: 2px;
  padding: 10px 6px 12px;
}

.podium span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 550;
}

.podium strong {
  font-size: 1.625rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.podium-first {
  background: var(--ink) !important;
  color: #000;
  min-height: 128px;
  order: 2;
}

.podium-first span {
  color: rgb(0 0 0 / 60%);
}

.podium-first strong {
  font-size: 2.25rem;
}

.podium-second {
  min-height: 102px;
  order: 1;
}

.podium-third {
  min-height: 86px;
  order: 3;
}

.discord-prize-note {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 12px 0 0;
}

.discord-actions {
  display: grid;
  gap: 6px;
  margin-top: 22px;
}

.discord-join {
  align-items: center;
  background: var(--discord);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 1.0625rem;
  font-weight: 650;
  gap: 12px;
  height: 58px;
  justify-content: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease);
}

.discord-join svg {
  fill: currentColor;
  height: 24px;
  width: 24px;
}

.discord-join:hover {
  background: #4752c4;
}

.discord-join:active {
  transform: scale(0.98);
}

.discord-join:focus-visible,
.discord-later:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.discord-later {
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  height: 44px;
  transition: color 160ms ease;
}

.discord-later:hover {
  color: var(--ink);
}

/* Sign-up */

.signup {
  margin-top: 30px;
  text-align: left;
  width: min(100%, 520px);
}

.beta-field {
  align-items: center;
  background: rgb(255 255 255 / 4%);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  height: 58px;
  padding: 5px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.beta-field:hover {
  background: rgb(255 255 255 / 6%);
}

.beta-field:focus-within {
  background: rgb(255 255 255 / 7%);
  border-color: rgb(255 255 255 / 32%);
}

.beta-field input {
  align-self: stretch;
  background: transparent;
  border: 0;
  color: var(--ink);
  flex: 1;
  font-size: 1rem;
  min-width: 0;
  padding: 0 8px 0 20px;
}

.beta-field input::placeholder {
  color: var(--subtle);
}

.beta-field input:focus-visible {
  outline: none;
}

.beta-field button,
.closing-link {
  align-items: center;
  background: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 10px;
  height: 46px;
  justify-content: center;
  letter-spacing: -0.01em;
  padding: 0 22px;
  transition:
    background-color 160ms ease,
    opacity 160ms ease,
    transform 160ms var(--ease);
  white-space: nowrap;
}

.beta-field button:hover,
.closing-link:hover {
  background: #fff;
}

.beta-field button:active,
.closing-link:active {
  transform: scale(0.98);
}

.beta-field button:focus-visible {
  outline-offset: 2px;
}

.beta-field button:disabled {
  cursor: progress;
  opacity: 0.6;
  transform: none;
}

.icon-line {
  fill: none;
  flex: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 16px;
}

.beta-message {
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
}

.beta-message:not(:empty) {
  padding-top: 14px;
}

.beta-message.is-error {
  color: var(--error);
}

.beta-fine {
  color: var(--subtle);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 640px;
  text-wrap: pretty;
}

/* The confirmation reads like a ticket: the seat number on a stub, the words beside it. */

.beta-result {
  align-items: stretch;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgb(20 20 22 / 78%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgb(0 0 0 / 85%);
  display: flex;
  overflow: hidden;
}

.ticket-stub {
  align-items: center;
  border-right: 1px dashed var(--line-strong);
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  min-width: 120px;
  padding: 18px 16px;
  position: relative;
}

.ticket-stub::before,
.ticket-stub::after {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  height: 18px;
  position: absolute;
  right: -10px;
  width: 18px;
}

.ticket-stub::before {
  top: -10px;
}

.ticket-stub::after {
  bottom: -10px;
}

.ticket-label {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-number {
  background: var(--iris);
  background-clip: text;
  color: transparent;
  font-size: 3.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.ticket-number::before {
  content: "#";
  font-size: 0.5em;
  margin-right: 2px;
  vertical-align: 0.7em;
}

.ticket-of {
  color: var(--subtle);
  font-size: 0.8125rem;
}

.ticket-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  padding: 20px;
}

.ticket-text h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ticket-text p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.beta-result[data-state="invalid"] .ticket-text h2,
.beta-result[data-state="confirmFailed"] .ticket-text h2 {
  color: var(--error);
}

@property --orbit {
  inherits: false;
  initial-value: 0deg;
  syntax: "<angle>";
}

.stage {
  --tilt-x: 0;
  --tilt-y: 0;
  --bar: 44px;

  isolation: isolate;
  margin: clamp(44px, 5vw, 64px) auto 0;
  max-width: 1240px;
  perspective: 1800px;
  position: relative;
}

.stage-glow {
  inset: -6% -8% 10%;
  opacity: 0.75;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.stage-glow video {
  filter: blur(70px) saturate(1.4);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.stage-horizon {
  aspect-ratio: 2.4 / 1;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: -26%;
  transform: translateX(-50%);
  width: 130%;
  z-index: -1;
}

.stage-horizon::before {
  background: radial-gradient(
    closest-side,
    rgb(255 255 255 / 22%),
    rgb(255 255 255 / 6%) 55%,
    transparent
  );
  border-radius: 50%;
  content: "";
  filter: blur(20px);
  inset: 0;
  position: absolute;
}

.stage-rise {
  mask-image: linear-gradient(180deg, #000 62%, transparent 98%);
  transform-origin: 50% 100%;
}

.window {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(
        from var(--orbit, 0deg),
        rgb(255 255 255 / 10%),
        rgb(255 255 255 / 10%) 60%,
        rgb(255 255 255 / 70%) 72%,
        rgb(255 255 255 / 10%) 84%,
        rgb(255 255 255 / 10%)
      )
      border-box;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    0 50px 140px -40px rgb(255 255 255 / 12%),
    0 80px 160px -30px rgb(0 0 0 / 95%);
  overflow: hidden;
  position: relative;
  transform: rotateX(calc(var(--tilt-y) * -2.5deg)) rotateY(calc(var(--tilt-x) * 3.5deg));
  transition: transform 700ms var(--ease);
}

.window-bar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 42px;
  justify-content: center;
  padding: 0 16px;
  position: relative;
}

.window-dots {
  display: flex;
  gap: 7px;
  left: 16px;
  position: absolute;
}

.window-dots i {
  background: rgb(255 255 255 / 14%);
  border-radius: 50%;
  height: 11px;
  width: 11px;
}

.window-address {
  align-items: center;
  background: rgb(255 255 255 / 5%);
  border-radius: 8px;
  color: var(--subtle);
  display: inline-flex;
  font-size: 0.8125rem;
  gap: 6px;
  padding: 5px 14px;
}

.window-address svg {
  fill: none;
  flex: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 14px;
}

.window-shot {
  display: block;
  height: auto;
  width: 100%;
}

.window-sheen {
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgb(255 255 255 / 10%) 45%,
    rgb(255 255 255 / 22%) 50%,
    rgb(255 255 255 / 10%) 55%,
    transparent 65%
  );
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-100%);
}

/* Sections */

.steps,
.capture,
.closing {
  margin: 0 auto;
  max-width: calc(1140px + 2 * var(--gutter));
  padding: clamp(88px, 12vw, 152px) var(--gutter) 0;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps h2,
.capture h2,
.closing h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-top: 14px;
  max-width: 14em;
  text-wrap: balance;
}

.steps ol {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  padding: 26px;
}

.step-number {
  background: var(--iris);
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.steps h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 28px;
}

.steps li p {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}

/* Capture */

.capture {
  display: grid;
  gap: 40px;
}

.capture-lead {
  color: var(--ink);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.55;
  margin-top: 20px;
  max-width: 32em;
}

.capture-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.capture-points li {
  color: var(--muted);
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}

.capture-points li::before {
  background: var(--iris);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 4px;
  position: absolute;
  top: 0.55em;
  width: 8px;
}

.capture-open {
  border-left: 2px solid var(--line-strong);
  color: var(--subtle);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 24px;
  padding-left: 14px;
}

.capture-shot {
  align-self: center;
}

.capture-video,
.capture-frame {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  box-shadow: 0 40px 120px -40px rgb(201 168 255 / 25%);
  display: block;
  overflow: hidden;
  width: 100%;
}

.capture-video {
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.capture-video img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
  width: 100%;
}

.capture-video:hover img {
  transform: scale(1.03);
}

.capture-play {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgb(255 255 255 / 92%);
  border-radius: 50%;
  box-shadow: 0 12px 40px rgb(0 0 0 / 50%);
  display: flex;
  height: 72px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease);
  width: 72px;
}

.capture-video:hover .capture-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.capture-play svg {
  fill: var(--canvas);
  height: 28px;
  margin-left: 4px;
  width: 28px;
}

.capture-note {
  color: var(--subtle);
  font-size: 0.8125rem;
  margin-top: 12px;
  text-align: center;
}

/* Closing */

.closing {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.closing-link {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 26px;
  text-decoration: none;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--subtle);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  gap: 8px 24px;
  justify-content: space-between;
  margin: clamp(88px, 12vw, 152px) auto 0;
  max-width: calc(1140px + 2 * var(--gutter));
  padding: 28px var(--gutter) 40px;
}

@media (min-width: 800px) {
  .steps ol {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .capture {
    align-items: center;
    gap: 64px;
    grid-template-columns: 5fr 6fr;
  }
}

@media (max-width: 720px) {
  .stage {
    --bar: 34px;

    margin-bottom: 40px;
    margin-top: 56px;
  }

  .window {
    border-radius: 12px;
  }

  .window-bar {
    height: 32px;
  }

  .window-dots i {
    height: 8px;
    width: 8px;
  }

  .window-address {
    font-size: 0.6875rem;
    padding: 3px 10px;
  }
}

@media (max-width: 559px) {
  .discord-popup {
    padding: 44px 20px 20px;
  }

  .discord-fab {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    height: 54px;
    right: calc(16px + env(safe-area-inset-right, 0px));
    width: 54px;
  }

  .beta-field,
  .beta-field:hover,
  .beta-field:focus-within {
    background: none;
    border: 0;
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding: 0;
  }

  .beta-field input {
    align-self: stretch;
    background: rgb(255 255 255 / 4%);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    flex: none;
    height: 54px;
    padding: 0 22px;
    text-align: center;
    transition:
      background-color 160ms ease,
      border-color 160ms ease;
  }

  .beta-field input:focus-visible {
    background: rgb(255 255 255 / 7%);
    border-color: rgb(255 255 255 / 32%);
  }

  .beta-field button {
    align-self: stretch;
    height: 54px;
  }

  .ticket-stub {
    min-width: 96px;
    padding: 16px 10px;
  }

  .ticket-number {
    font-size: 2.5rem;
  }

  .ticket-text {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 900ms var(--ease) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 170ms;
  }

  .hero-copy > :nth-child(n + 4) {
    animation-delay: 230ms;
  }

  .stage-horizon {
    animation: horizon 1800ms var(--ease) 350ms both;
  }

  .stage-glow {
    animation: glow 2400ms ease-out 600ms both;
  }

  .stage-rise {
    animation: window-rise 1600ms cubic-bezier(0.16, 1, 0.3, 1) 450ms both;
  }

  .window {
    animation: orbit 9s linear 1.8s infinite;
  }

  .window-sheen {
    animation: sheen 1300ms ease-in-out 1400ms both;
  }

  .discord-popup[open] {
    animation: popup-in 560ms var(--ease) both;
  }

  .discord-popup[open]::backdrop {
    animation: backdrop-in 400ms ease-out both;
  }

  .discord-fab:not([hidden]) {
    animation: fab-in 480ms var(--ease) both;
  }
}

@keyframes popup-in {
  from {
    opacity: 0;
    scale: 0.96;
    translate: 0 14px;
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}

@keyframes fab-in {
  from {
    opacity: 0;
    scale: 0.6;
  }
}

@keyframes rise {
  from {
    filter: blur(6px);
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes horizon {
  from {
    opacity: 0;
    scale: 0.6 0.4;
  }
}

@keyframes glow {
  from {
    opacity: 0;
    scale: 0.7;
  }
}

@keyframes window-rise {
  from {
    opacity: 0;
    rotate: x 34deg;
    scale: 0.86;
    translate: 0 18%;
  }
}

@keyframes orbit {
  to {
    --orbit: 360deg;
  }
}

@keyframes sheen {
  0% {
    opacity: 1;
    translate: -100% 0;
  }
  100% {
    opacity: 1;
    translate: 200% 0;
  }
}

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

  .window,
  .capture-video img,
  .capture-play,
  .beta-field,
  .beta-field button,
  .closing-link,
  .discord-join,
  .discord-close,
  .discord-later,
  .discord-fab {
    transition: none;
  }
}
