:root {
  --bg: #030303;
  --card-bg: rgba(10, 10, 10, 0.4);
  --text: #e0e0e0;
  --accent: #ff003c;
  --accent-2: #e36a50;
  --border: rgba(255, 255, 255, 0.1);
  --font-display: "Syncopate", sans-serif;
  --font-code: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
}

body.yeetlab-test-landing-page.hyper-scroll-page {
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  cursor: crosshair;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.2)
  );
  background-size: 100% 4px;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  background: radial-gradient(circle, transparent 40%, #000 120%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 12;
  opacity: 0.023;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hud {
  position: fixed;
  inset: 2rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  font-family: var(--font-code);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.hud-top,
.hud-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud strong {
  color: #fff;
}

.hud-line {
  position: relative;
  flex: 1;
  height: 1px;
  margin: 0 1rem;
  background: rgba(255, 255, 255, 0.2);
}

.hud-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.hud-bottom {
  cursor: pointer;
  pointer-events: auto;
}

.hud-bottom__left,
.hud-bottom__right,
.hud-bottom__dot {
  transition:
    margin 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.24s ease,
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-bottom__left,
.hud-bottom__right {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.hud-bottom__left {
  transform-origin: left center;
}

.hud-bottom__right {
  transform-origin: right center;
}

.hud-bottom__line {
  align-self: center;
  flex: 1;
  margin: 0 0 0 1rem;
  opacity: 1;
  transform: scaleX(1);
  transform-origin: right center;
  transition:
    opacity 0.3s ease,
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-bottom__line::after {
  display: none;
}

.hud-bottom__dot {
  align-self: center;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  margin: 0 1rem 0 0;
  position: relative;
  z-index: 2;
}

.hud-bottom:hover .hud-bottom__line,
.hud-bottom:focus-visible .hud-bottom__line,
.hud-bottom.is-download-open .hud-bottom__line {
  opacity: 0;
  transform: scaleX(0.02);
}

.hud-bottom:hover .hud-bottom__left,
.hud-bottom:focus-visible .hud-bottom__left,
.hud-bottom.is-download-open .hud-bottom__left {
  transform: translateX(var(--download-left-shift, 0));
}

.hud-bottom:hover .hud-bottom__right,
.hud-bottom:focus-visible .hud-bottom__right,
.hud-bottom.is-download-open .hud-bottom__right {
  transform: translateX(var(--download-right-shift, 0));
}

.hud-bottom:hover .hud-bottom__dot,
.hud-bottom:focus-visible .hud-bottom__dot,
.hud-bottom.is-download-open .hud-bottom__dot {
  transform: translateX(var(--download-dot-shift, 0));
}

.center-nav {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.viewport {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  perspective: 1000px;
}

.world {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.item {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  transform-origin: center center;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 320px;
  height: 460px;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (hover: hover) {
  .card:hover {
    z-index: 100;
    border-color: var(--accent);
    background: rgba(20, 20, 20, 0.8);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.2);
  }
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid transparent;
  transition: 0.3s;
}

.card::before {
  top: -1px;
  left: -1px;
  border-top-color: var(--text);
  border-left-color: var(--text);
}

.card::after {
  right: -1px;
  bottom: -1px;
  border-right-color: var(--text);
  border-bottom-color: var(--text);
}

.card:hover::before,
.card:hover::after {
  width: 100%;
  height: 100%;
  border-color: var(--accent);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-id {
  color: var(--accent);
  font-family: var(--font-code);
  font-size: 0.8rem;
}

.card h2 {
  margin: 0;
  max-width: 100%;
  color: #fff;
  width: 100%;
  text-align: center;
  font-size: clamp(1.85rem, 2.45vw, 2.65rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  text-transform: uppercase;
  mix-blend-mode: hard-light;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-code);
  font-size: 0.7rem;
}

.big-text {
  color: transparent;
  font-size: 15vw;
  font-weight: 800;
  letter-spacing: -0.5rem;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
  mix-blend-mode: overlay;
}

.big-text--separate {
  display: inline-flex;
  gap: calc(var(--separate-split, 0) * 1em);
}

.big-text__half {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: inherit;
  transform: translateX(0);
}

.big-text__half--left {
  transform: translateX(calc(var(--separate-split, 0) * -0.5em));
}

.big-text__half--right {
  transform: translateX(calc(var(--separate-split, 0) * 0.5em));
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  transform: translate(-50%, -50%);
}

.scroll-proxy {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 10000vh;
}

.entry-gate,
.test-stage,
.test-blackout,
.test-overlay,
.test-notice {
  position: fixed;
  inset: 0;
}

.entry-gate {
  z-index: 24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.7s ease;
}

.entry-gate.is-ready {
  opacity: 1;
  pointer-events: auto;
}

.entry-gate.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.entry-gate.is-dismissing {
  opacity: 0;
  pointer-events: none;
  transition-duration: 2s;
}

.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(420px, calc(100vw - 3rem));
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.78);
  color: var(--text);
  border-radius: 28px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(18px) scale(0.84);
  overflow: hidden;
  transition: transform 1.7s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
}

.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(120deg, transparent 8%, rgba(255, 0, 60, 0.16) 28%, rgba(255, 120, 120, 0.28) 50%, rgba(255, 0, 60, 0.18) 72%, transparent 92%);
  background-size: 220% 220%;
  opacity: 0;
  transition: opacity 0.28s ease;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.entry-gate.is-ready .entry-card {
  transform: translateY(0) scale(1);
}

.entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 60, 0.38);
  background: rgba(14, 14, 14, 0.84);
}

.entry-card:hover::after {
  opacity: 1;
  animation: entry-border-sheen 3.2s linear infinite;
}

.entry-card__eyebrow,
.entry-card__cta {
  font-family: var(--font-code);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.entry-card__eyebrow {
  display: none;
}

.entry-card__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 280px;
  padding: 1.1rem;
  border-radius: 22px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 12px 30px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.entry-card__media::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.entry-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 65%);
  pointer-events: none;
}

.entry-card__image {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

.entry-card__title {
  width: 100%;
  color: #fff;
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  mix-blend-mode: hard-light;
}

.entry-card__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-code);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-card__actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.entry-card__cta {
  color: rgba(255, 255, 255, 0.88);
}

.entry-dismiss-btn {
  min-width: 220px;
}

.darkmatter-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.95rem 2.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 14px 34px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.28em;
  z-index: 1;
  transition: box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.darkmatter-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
  z-index: -1;
}

.entry-card:hover .darkmatter-btn,
.entry-dismiss-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.entry-card:hover .darkmatter-btn::before,
.entry-dismiss-btn:hover::before {
  transform: scale(1.5);
}

.darkmatter-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0;
  z-index: -1;
}

.darkmatter-particle--tl {
  left: 25%;
  top: 25%;
  --tx: -20px;
  --ty: -15px;
}

.darkmatter-particle--tr {
  left: 75%;
  top: 25%;
  --tx: 15px;
  --ty: -20px;
  animation-delay: 0.2s;
}

.darkmatter-particle--bl {
  left: 25%;
  top: 75%;
  --tx: -15px;
  --ty: 15px;
  animation-delay: 0.4s;
}

.darkmatter-particle--br {
  left: 75%;
  top: 75%;
  --tx: 20px;
  --ty: 15px;
  animation-delay: 0.6s;
}

.entry-card:hover .darkmatter-particle,
.entry-dismiss-btn:hover .darkmatter-particle {
  animation: darkmatter-float 2s forwards;
}

@keyframes darkmatter-float {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  20% {
    opacity: 0.8;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(1);
    opacity: 0;
  }
}

@keyframes entry-border-sheen {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.test-stage {
  z-index: 26;
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.test-stage.active {
  opacity: 1;
  pointer-events: auto;
}

.test-stage__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(540px, calc(100vw - 2rem));
  padding: 1.6rem 1.4rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.56);
}

.test-stage__app {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.test-stage__app.active {
  opacity: 1;
  transform: translateY(0);
}

.test-stage__app-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(34vh, 320px);
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.test-stage__app-frame::before {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.test-stage__image {
  width: min(420px, 72vw);
  max-height: 34vh;
  object-fit: contain;
}

.test-stage__pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.test-stage__pricing.active {
  opacity: 1;
  transform: translateY(0);
}

.test-stage__old-price {
  position: relative;
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
}

.test-stage__slash,
.test-stage__buy-slash {
  position: absolute;
  top: 50%;
  left: -4%;
  width: 0;
  transform-origin: left center;
  transform: translateY(-50%) rotate(5deg);
  background: #d42b3a;
}

.test-stage__slash {
  height: 2px;
  box-shadow: 0 0 10px rgba(212, 43, 58, 0.55);
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.test-stage__slash.active {
  width: 108%;
}

.test-stage__buy {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  padding: 0.42em 1.6em;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.55rem);
  letter-spacing: 0.03em;
  background: linear-gradient(175deg, #58c42e 0%, #2d8f10 48%, #1e6508 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.44);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.15s ease;
}

.test-stage__buy.active {
  opacity: 1;
  transform: translateY(0);
}

.test-stage__buy:hover {
  filter: brightness(1.1);
}

.test-stage__buy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  border-radius: 999px 999px 60% 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

.test-stage__buy-slash {
  height: 3px;
  box-shadow: 0 0 14px rgba(212, 43, 58, 0.75);
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.test-stage__buy-slash.active {
  width: 108%;
}

.test-stage__label,
.test-stage__meet {
  font-family: var(--font-code);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.test-stage__label {
  margin: 1.8rem 0 1rem;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.test-stage__label.active {
  opacity: 1;
}

.test-stage__choice-wrap {
  display: grid;
  width: 100%;
}

.test-stage__choices {
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.test-stage__choices.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.test-stage__choices--food {
  grid-area: 1 / 1;
}

.test-stage__choice {
  min-width: 210px;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.35s ease;
}

.test-stage__choice:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.test-stage__choice-title,
.test-stage__choice-sub {
  display: block;
  text-transform: uppercase;
}

.test-stage__choice-title {
  font-size: clamp(0.92rem, 1.7vw, 1.16rem);
  letter-spacing: 0.16em;
}

.test-stage__choice-sub {
  margin-top: 0.55rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: 0.18em;
}

.test-stage__meet {
  margin-top: 1.5rem;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, color 0.18s ease;
}

.test-stage__meet.active {
  opacity: 1;
  pointer-events: auto;
}

.test-stage__meet:hover {
  color: rgba(255, 255, 255, 0.82);
}

.test-blackout {
  z-index: 29;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.44s ease;
}

.test-blackout.fading-in {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.12s ease;
}

.test-blackout.fading-out {
  opacity: 0;
  pointer-events: none;
}

.test-blackout__video {
  width: auto;
  height: 200px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.test-blackout__video.active {
  opacity: 1;
}

.test-overlay {
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.4s ease;
}

.test-overlay.active {
  background: rgba(0, 0, 0, 0.82);
  pointer-events: all;
}

.test-overlay__image {
  max-height: 72vh;
  max-width: 80vw;
  object-fit: contain;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.test-overlay.active .test-overlay__image {
  opacity: 1;
  transform: scale(1);
}

.test-notice {
  z-index: 31;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.35s ease;
}

.test-notice.active {
  background: rgba(0, 0, 0, 0.72);
  pointer-events: all;
}

.test-notice__card {
  max-width: min(480px, 86vw);
  padding: 2.4rem 2.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 10, 24, 0.96);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.test-notice.active .test-notice__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.test-notice__title,
.test-notice__body,
.test-notice__close {
  font-family: var(--font-code);
  text-transform: uppercase;
}

.test-notice__title {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.test-notice__body {
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.test-notice__close {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  cursor: pointer;
}

.test-notice__close:hover {
  color: rgba(255, 255, 255, 0.85);
}

body.is-stage-active .hud {
  opacity: 0.2;
  transition: opacity 0.5s ease;
}

@media (max-width: 900px) {
  .hud {
    inset: 1rem;
    font-size: 9px;
  }

  .center-nav {
    display: none;
  }

  .card {
    width: min(72vw, 320px);
    height: min(60vh, 420px);
    padding: 1.5rem;
  }

  .card h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .big-text {
    font-size: 22vw;
    letter-spacing: -0.25rem;
  }

  .entry-card,
  .test-stage__panel {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .test-stage__choices {
    flex-direction: column;
    width: 100%;
  }

  .test-stage__choice {
    min-width: 0;
    width: 100%;
  }

  .test-stage__image {
    width: min(320px, 72vw);
    max-height: 28vh;
  }
}

/* ─── Weather Widget ──────────────────────────────────────────── */

.weather-widget {
  position: fixed;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

body.is-stage-active .weather-widget {
  opacity: 0.08;
  pointer-events: none;
}

.weather-widget__icons {
  position: relative;
  width: 68px;
  height: 68px;
}

.weather-widget:hover .weather-widget__icons {
  filter: brightness(1.3);
}

.weather-widget__label {
  font-family: var(--font-code);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.weather-widget__label::after {
  content: " ›";
  opacity: 0;
  transition: opacity 0.3s ease;
}

.weather-widget:hover .weather-widget__label {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.28em;
}

.weather-widget:hover .weather-widget__label::after {
  opacity: 1;
}

/* stacked icon base — opacity driven by JS */
.wi {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
}

/* ── Sun ── */
.wi__sun {
  position: relative;
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* rotating rays via conic-gradient + mask */
.wi__sun::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    #f5c842 0deg, #f5c842 11deg,   transparent 11deg,  transparent 45deg,
    #f5c842 45deg, #f5c842 56deg,  transparent 56deg,  transparent 90deg,
    #f5c842 90deg, #f5c842 101deg, transparent 101deg, transparent 135deg,
    #f5c842 135deg, #f5c842 146deg, transparent 146deg, transparent 180deg,
    #f5c842 180deg, #f5c842 191deg, transparent 191deg, transparent 225deg,
    #f5c842 225deg, #f5c842 236deg, transparent 236deg, transparent 270deg,
    #f5c842 270deg, #f5c842 281deg, transparent 281deg, transparent 315deg,
    #f5c842 315deg, #f5c842 326deg, transparent 326deg
  );
  -webkit-mask: radial-gradient(transparent 28%, black 32%);
  mask: radial-gradient(transparent 28%, black 32%);
  animation: wi-sun-spin 12s linear infinite;
}

/* sun disc */
.wi__sun::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f5c842;
  box-shadow: 0 0 12px 3px rgba(245, 200, 66, 0.5);
}

@keyframes wi-sun-spin {
  to { transform: rotate(360deg); }
}

/* small sun for partly-cloudy */
.wi__sun--sm {
  width: 27px;
  height: 27px;
}

.wi__sun--sm::after {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 8px 3px rgba(245, 200, 66, 0.45);
}

/* ── Cloud ── */
.wi__cloud {
  --cloud-col: #00d8f0;
  position: relative;
  width: 44px;
  height: 19px;
  background: var(--cloud-col);
  border-radius: 19px;
  flex-shrink: 0;
}

.wi__cloud::before {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  background: var(--cloud-col);
  border-radius: 50%;
  top: -9px;
  left: 7px;
}

.wi__cloud::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--cloud-col);
  border-radius: 50%;
  top: -7px;
  left: 24px;
}

.wi__cloud--dark {
  --cloud-col: #006878;
}

/* ── Partly-cloudy layout ── */
.wi--partly {
  justify-content: flex-end;
  padding-bottom: 9px;
}

.wi--partly .wi__sun--sm {
  position: absolute;
  top: 7px;
  right: 8px;
}

/* ── Rain drops ── */
.wi__drops {
  display: flex;
  gap: 7px;
  margin-top: 2px;
}

.wi__drops i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #6ab0e0, #3a80b0);
  animation: wi-rain 1.1s ease-in infinite;
  font-style: normal;
}

.wi__drops i:nth-child(2) { animation-delay: 0.28s; }
.wi__drops i:nth-child(3) { animation-delay: 0.56s; }

@keyframes wi-rain {
  0%   { transform: translateY(0); opacity: 1; }
  85%  { opacity: 0.5; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ── Lightning bolt ── */
.wi__bolt {
  width: 14px;
  height: 24px;
  background: #f5c842;
  clip-path: polygon(58% 0%, 100% 0%, 38% 50%, 100% 44%, 42% 100%, 0% 100%, 62% 50%, 0% 56%);
  margin-top: 3px;
  filter: drop-shadow(0 0 6px rgba(245, 200, 66, 0.8));
  animation: wi-bolt-flicker 3.5s steps(1) infinite;
}

@keyframes wi-bolt-flicker {
  0%, 87%, 100% { opacity: 1; }
  88%, 92%      { opacity: 0.06; }
  89%, 91%      { opacity: 1; }
  90%           { opacity: 0.35; }
}

/* ── Snowflakes ── */
.wi__flakes {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.wi__flakes i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c4e4f8;
  box-shadow: 0 0 4px rgba(196, 228, 248, 0.75);
  animation: wi-snow 2.1s ease-in-out infinite;
  font-style: normal;
}

.wi__flakes i:nth-child(2) { animation-delay: 0.7s; }
.wi__flakes i:nth-child(3) { animation-delay: 1.4s; }

@keyframes wi-snow {
  0%   { transform: translateY(0) rotate(0deg);    opacity: 1; }
  100% { transform: translateY(11px) rotate(90deg); opacity: 0; }
}

@media (max-width: 900px) {
  .weather-widget {
    display: none;
  }
}
