/* ============================================================
   RGBYOO — Pre-Launch Waitlist Styles
   Aesthetics: Dark toy workshop + game console + creative software
   ============================================================ */

@import url('fonts.css');

@property --h1   { syntax: '<color>'; inherits: true; initial-value: #3b3f4e; }
@property --h2   { syntax: '<color>'; inherits: true; initial-value: #15171d; }
@property --h3   { syntax: '<color>'; inherits: true; initial-value: #040405; }
@property --eye  { syntax: '<color>'; inherits: true; initial-value: #ff3b4e; }
@property --rimL { syntax: '<color>'; inherits: true; initial-value: #ff4052; }
@property --rimR { syntax: '<color>'; inherits: true; initial-value: #3869ff; }

:root {
  --bg: #050608;
  --elev: #0d0f13;
  --panel: #15171d;
  --panel-hi: #1f232d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-glass: rgba(255, 255, 255, 0.22);
  
  /* Character defaults */
  --h1: #3b3f4e;
  --h2: #15171d;
  --h3: #040405;
  --eye: #ff3b4e;
  --rimL: #ff4052;
  --rimR: #3869ff;
  --c1: #ff4052;
  --c2: #8f1020;
  
  /* Signature RGB accents */
  --red: #ff4052;
  --red-deep: #8f1020;
  --red-glow: rgba(255, 64, 82, 0.4);
  --green: #35f35a;
  --green-glow: rgba(53, 243, 90, 0.35);
  --blue: #3869ff;
  --blue-glow: rgba(56, 105, 255, 0.4);
  --gold: #ffc83d;
  --gold-glow: rgba(255, 200, 61, 0.35);
  --cyan: #00e5ff;
  
  /* Text */
  --text: #f4f6fb;
  --text-dim: #cfd5e3;
  --muted: #8b92a6;
  --ink: #7fb2ff;
  
  /* Typography */
  --display: 'Chango', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, Roboto, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  
  /* Animation curves */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ui);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 650px at 15% -5%, rgba(255, 64, 82, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 85% 15%, rgba(56, 105, 255, 0.13), transparent 60%),
    radial-gradient(900px 500px at 50% 60%, rgba(53, 243, 90, 0.06), transparent 60%),
    linear-gradient(rgba(127, 178, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 178, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, auto, 40px 40px, 40px 40px;
  background-attachment: fixed;
}

/* Accessible utility */
.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;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, ul, ol {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 12px;
}

/* Layout container */
.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, 1200px);
  }
}

.section {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
}

/* Typography styles */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.hand {
  font-family: var(--hand);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.eyebrow-dot.red { background: var(--red); box-shadow: 0 0 10px var(--red); }
.eyebrow-dot.blue { background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.red { color: var(--red); }
.green { color: var(--green); }
.blue { color: var(--blue); }
.gold { color: var(--gold); }

/* Handwritten annotation notes */
.note {
  display: inline-block;
  font-size: clamp(20px, 2.2vw, 30px);
  transform: rotate(-4deg);
}

.arrow {
  display: inline-block;
  width: 70px;
  height: 48px;
  color: var(--ink);
  overflow: visible;
  vertical-align: middle;
}

.arrow.tiny {
  width: 36px;
  height: 24px;
}

/* ------------------------------------------------------------- BUTTONS */
.btn {
  --press: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-family: var(--ui);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  user-select: none;
  transition: transform 0.16s var(--spring), box-shadow 0.16s, filter 0.2s, background 0.2s;
}

.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 13.5px;
  border-radius: 13px;
  --press: 3px;
}

.btn-lg {
  height: 58px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: 18px;
  --press: 5px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff7480 0%, #ff4052 46%, #e22a3f 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 0 rgba(110, 0, 20, 0.4),
    0 var(--press) 0 #8f1020,
    0 14px 34px rgba(255, 64, 82, 0.35);
  text-shadow: 0 1px 1px rgba(100, 0, 20, 0.6);
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.btn-primary:active {
  transform: translateY(var(--press));
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(110, 0, 20, 0.4),
    0 0 0 #8f1020,
    0 6px 16px rgba(255, 64, 82, 0.3);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(180deg, rgba(40, 44, 56, 0.85), rgba(14, 16, 21, 0.94));
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5),
    0 var(--press) 0 #05060a,
    0 10px 24px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:active {
  transform: translateY(var(--press));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 0 #05060a;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(40, 44, 56, 0.85), rgba(14, 16, 21, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 0 #05060a;
  color: #fff;
  transition: transform 0.16s var(--spring), border-color 0.2s, background 0.2s;
}

.icon-btn.sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.icon-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

.snd-off { display: none; }
[data-muted] .snd-on { display: none; }
[data-muted] .snd-off { display: inline; }

/* ------------------------------------------------------------- PANELS */
.panel {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(180deg, #181b22 0%, #0e1014 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 14px rgba(0, 0, 0, 0.5),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.panel.rim::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 64, 82, 0.75), rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.04) 70%, rgba(56, 105, 255, 0.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* -------------------------------------------------------------- NAV */
.wl-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}

.wl-nav.scrolled {
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}

.wl-nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wl-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wl-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s var(--spring);
}

.wl-logo:hover .wl-logo-img {
  transform: scale(1.08) rotate(-3deg);
}

.wl-logo-text {
  font-size: 24px;
  text-shadow: 0 2px 0 #aab1c2, 0 0 16px rgba(255, 255, 255, 0.3);
}

.wl-nav-center {
  display: flex;
  align-items: center;
}

.wl-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(21, 23, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.wl-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.wl-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ------------------------------------------------------------- HERO */
.wl-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

.wl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.wl-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/stage_room.jpg') center 65% / cover no-repeat;
  opacity: 0.16;
  filter: saturate(1.2) contrast(1.1);
}

.wl-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, transparent 20%, #050608 90%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.4) 0%, #050608 100%);
}

.wl-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

@media (max-width: 960px) {
  .wl-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
}

.wl-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .wl-hero-copy {
    align-items: center;
  }
}

.wl-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(35, 38, 48, 0.85), rgba(15, 17, 22, 0.95));
  border: 1px solid rgba(255, 64, 82, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 20px rgba(255, 64, 82, 0.2);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
}

.wl-badge-star {
  color: var(--red);
  font-size: 14px;
}

.wl-badge-sub {
  color: var(--muted);
  font-weight: 700;
}

.wl-badge-note {
  font-size: 22px;
  transform: rotate(-3deg);
  color: var(--ink);
}

@media (max-width: 640px) {
  .wl-badge-note { display: none; }
}

.wl-hero-headline {
  margin: 0;
  line-height: 0.95;
}

.wl-hero-title-img {
  width: min(520px, 92vw);
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.8));
}

@media (max-width: 960px) {
  .wl-hero-title-img {
    margin-inline: auto;
  }
}

.wl-hero-sub {
  font-size: clamp(22px, 3.2vw, 36px);
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wl-hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  max-width: 580px;
  line-height: 1.6;
}

/* Waitlist Form Styling */
.wl-form-container {
  width: 100%;
  max-width: 540px;
  margin-top: 8px;
}

.wl-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 15, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 7px;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.wl-form:focus-within {
  border-color: rgba(255, 64, 82, 0.6);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(255, 64, 82, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.45);
}

.wl-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.wl-input-icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}

.wl-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 46px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15.5px;
  outline: none;
}

.wl-input::placeholder {
  color: #717789;
  font-weight: 500;
}

.wl-form .btn {
  flex: none;
}

@media (max-width: 600px) {
  .wl-form {
    flex-direction: column;
    padding: 10px;
    border-radius: 18px;
  }
  .wl-input-wrap {
    width: 100%;
  }
  .wl-form .btn {
    width: 100%;
    height: 52px;
  }
}

.wl-form-fine {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: #8b92a6;
}

@media (max-width: 960px) {
  .wl-form-fine {
    justify-content: center;
  }
}

.wl-form-fine .hand {
  font-size: 18px;
  color: var(--ink);
}

/* Success Confirmation State */
.wl-success-card {
  display: none;
  background: linear-gradient(180deg, #181d28 0%, #0f1219 100%);
  border: 1px solid rgba(53, 243, 90, 0.5);
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 30px rgba(53, 243, 90, 0.22),
    0 16px 40px rgba(0, 0, 0, 0.5);
  animation: pop-in 0.45s var(--spring) forwards;
}

.wl-success-card.is-active {
  display: block;
}

@keyframes pop-in {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.wl-success-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.wl-success-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #53ff74, #26cf46);
  color: #05260b;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(53, 243, 90, 0.6);
}

.wl-success-title {
  font-size: clamp(22px, 3vw, 28px);
  color: #fff;
  letter-spacing: 0.02em;
}

.wl-success-msg {
  font-size: 16px;
  color: #dfe5f2;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}

.wl-ticket-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: monospace;
  font-size: 13.5px;
}

.wl-ticket-label {
  color: var(--muted);
}

.wl-ticket-code {
  color: var(--green);
  font-weight: 700;
}

.wl-ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 12px;
}

.wl-ticket-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Hero Mascot / Character Stage */
.wl-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wl-hero-podium {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wl-podium-ring {
  position: absolute;
  width: 90%;
  height: 40%;
  bottom: 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 105, 255, 0.25) 0%, transparent 72%);
  border: 2px solid rgba(0, 229, 255, 0.45);
  box-shadow:
    0 0 40px rgba(0, 229, 255, 0.45),
    inset 0 0 20px rgba(56, 105, 255, 0.3);
  transform: perspective(600px) rotateX(66deg);
  pointer-events: none;
}

.wl-podium-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 64, 82, 0.5);
  animation: spin-slow 24s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.wl-mascots-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2;
  transition: transform 0.3s var(--spring);
}

.wl-mascots-img {
  width: min(380px, 86%);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
  animation: hero-float 5s ease-in-out infinite alternate;
}

@keyframes hero-float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.6deg); }
  100% { transform: translateY(2px) rotate(-0.6deg); }
}

.wl-mascots-btn:hover {
  transform: scale(1.05) translateY(-6px);
}

.wl-mascot-speech {
  position: absolute;
  top: 10%;
  right: 6%;
  background: linear-gradient(180deg, #fff, #dfe5f2);
  color: #0b0c10;
  padding: 6px 14px;
  border-radius: 18px 18px 18px 4px;
  font-family: var(--hand);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: rotate(6deg);
  pointer-events: none;
  transition: transform 0.25s var(--spring);
}

.wl-mascots-btn:hover .wl-mascot-speech {
  transform: scale(1.15) rotate(9deg);
}

.wl-hero-hand-note {
  position: absolute;
  left: -20px;
  bottom: 12%;
  font-size: clamp(22px, 2.4vw, 30px);
  transform: rotate(-8deg);
  color: var(--ink);
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 960px) {
  .wl-hero-hand-note { display: none; }
}

.wl-build-tag {
  position: absolute;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(13, 15, 19, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: monospace;
}

/* -------------------------------------------------------- PRODUCT TEASE */
.wl-tease {
  padding-top: 40px;
}

.wl-sec-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.wl-sec-title {
  font-size: clamp(28px, 4.5vw, 48px);
  color: #fff;
  margin-bottom: 14px;
}

.wl-sec-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  line-height: 1.6;
}

/* Deck of overlapping preview frames */
.wl-deck {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
  padding: 20px 0;
  perspective: 1200px;
}

@media (max-width: 860px) {
  .wl-deck {
    flex-direction: column;
    gap: 24px;
    min-height: auto;
  }
}

.wl-deck-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.4s var(--ease), z-index 0.4s, box-shadow 0.4s, border-color 0.4s;
  cursor: pointer;
}

/* Desktop layered overlap */
@media (min-width: 861px) {
  .wl-deck-card.card-left {
    position: absolute;
    left: calc(50% - 440px);
    width: 360px;
    z-index: 1;
    transform: rotate(-5deg) translateY(18px);
    opacity: 0.88;
  }

  .wl-deck-card.card-center {
    position: relative;
    width: 580px;
    z-index: 3;
    transform: translateY(0);
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.85),
      0 0 35px rgba(56, 105, 255, 0.2);
  }

  .wl-deck-card.card-right {
    position: absolute;
    right: calc(50% - 440px);
    width: 360px;
    z-index: 2;
    transform: rotate(5deg) translateY(18px);
    opacity: 0.88;
  }

  .wl-deck-card:hover {
    z-index: 10;
    transform: scale(1.04) translateY(-8px) rotate(0deg) !important;
    opacity: 1 !important;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
      0 34px 90px rgba(0, 0, 0, 0.9),
      0 0 45px rgba(255, 64, 82, 0.3);
  }
}

@media (max-width: 860px) {
  .wl-deck-card {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* Card Header (console window title bar) */
.wl-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(180deg, #181b24, #12141a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wl-window-dots {
  display: flex;
  gap: 6px;
}

.wl-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3f4e;
}

.wl-window-dots span:nth-child(1) { background: #ff5f56; }
.wl-window-dots span:nth-child(2) { background: #ffbd2e; }
.wl-window-dots span:nth-child(3) { background: #27c93f; }

.wl-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: monospace;
}

.wl-card-stamp {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 64, 82, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 64, 82, 0.3);
  letter-spacing: 0.08em;
}

.wl-card-stamp.green {
  background: rgba(53, 243, 90, 0.15);
  color: var(--green);
  border-color: rgba(53, 243, 90, 0.3);
}

.wl-card-stamp.blue {
  background: rgba(56, 105, 255, 0.15);
  color: var(--blue);
  border-color: rgba(56, 105, 255, 0.3);
}

/* Card Viewport / Screenshot Frame */
.wl-card-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #08090d;
}

.wl-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  filter: contrast(1.05);
}

.wl-deck-card:hover .wl-card-img {
  transform: scale(1.05);
}

/* Partial reveal frosted edge */
.wl-card-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(5, 6, 8, 0.55) 100%);
  pointer-events: none;
}

/* Card Footer / Build Note */
.wl-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0c0e12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wl-card-meta {
  font-size: 11.5px;
  color: #8c93a5;
  font-weight: 600;
}

.wl-card-hand {
  font-size: 16px;
  color: var(--ink);
}

/* --------------------------------------------------------- CORE PROMISE */
.wl-promise {
  padding-top: 50px;
}

.wl-promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .wl-promise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .wl-promise-grid {
    grid-template-columns: 1fr;
  }
}

.wl-promise-card {
  position: relative;
  padding: 30px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #151821 0%, #0d0f14 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s var(--spring), border-color 0.22s, box-shadow 0.22s;
}

.wl-promise-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 22px 48px rgba(0, 0, 0, 0.6);
}

.wl-promise-card.card-1:hover { border-color: rgba(255, 64, 82, 0.5); box-shadow: 0 0 25px rgba(255, 64, 82, 0.2); }
.wl-promise-card.card-2:hover { border-color: rgba(53, 243, 90, 0.5); box-shadow: 0 0 25px rgba(53, 243, 90, 0.2); }
.wl-promise-card.card-3:hover { border-color: rgba(56, 105, 255, 0.5); box-shadow: 0 0 25px rgba(56, 105, 255, 0.2); }
.wl-promise-card.card-4:hover { border-color: rgba(255, 200, 61, 0.5); box-shadow: 0 0 25px rgba(255, 200, 61, 0.2); }

.wl-promise-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wl-promise-num {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

.wl-promise-card.card-1 .wl-promise-num { color: var(--red); }
.wl-promise-card.card-2 .wl-promise-num { color: var(--green); }
.wl-promise-card.card-3 .wl-promise-num { color: var(--blue); }
.wl-promise-card.card-4 .wl-promise-num { color: var(--gold); }

.wl-promise-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wl-promise-title {
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.wl-promise-copy {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* -------------------------------------- PERSONALITY / INTERACTIVE MOMENT */
.wl-lab {
  padding-top: 50px;
}

.wl-lab-box {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, #151821 0%, #0c0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.wl-lab-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}

@media (max-width: 900px) {
  .wl-lab-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.wl-lab-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 900px) {
  .wl-lab-copy {
    align-items: center;
  }
}

.wl-lab-title {
  font-size: clamp(26px, 3.8vw, 42px);
  color: #fff;
}

.wl-lab-desc {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 480px;
}

/* Controls list */
.wl-lab-triggers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .wl-lab-triggers {
    justify-content: center;
  }
}

.wl-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(35, 39, 50, 0.9), rgba(16, 18, 24, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 3px 0 #050608;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.14s var(--spring), border-color 0.2s, box-shadow 0.14s;
}

.wl-trigger-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
}

.wl-trigger-btn:active, .wl-trigger-btn.is-active {
  transform: translateY(2px);
  box-shadow: none;
  border-color: var(--red);
}

.wl-trigger-btn.btn-hype { --trig-c: var(--green); }
.wl-trigger-btn.btn-love { --trig-c: var(--red); }
.wl-trigger-btn.btn-goblin { --trig-c: var(--red); }
.wl-trigger-btn.btn-crown { --trig-c: var(--gold); }
.wl-trigger-btn.btn-voice { --trig-c: var(--blue); }

.wl-trigger-btn.is-active {
  border-color: var(--trig-c, var(--red));
  box-shadow: 0 0 16px var(--trig-c, var(--red));
}

.wl-trigger-icon {
  font-size: 16px;
}

/* Gamepad status indicator */
.wl-pad-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--muted);
  width: fit-content;
}

.wl-pad-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555b6c;
}

.wl-pad-status.is-connected .wl-pad-led {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.wl-pad-status.is-connected {
  border-color: rgba(53, 243, 90, 0.3);
  color: #fff;
}

/* Interactive Character Stage Container */
.wl-stage-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wl-toy-pod {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1 / 1.15;
  background: radial-gradient(circle at 50% 60%, rgba(20, 24, 34, 0.9) 0%, rgba(8, 10, 14, 0.95) 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 40px rgba(0, 0, 0, 0.8),
    0 16px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.wl-stage-ring {
  position: absolute;
  width: 78%;
  height: 28%;
  bottom: 8%;
  border-radius: 50%;
  border: 2px solid var(--red);
  box-shadow:
    0 0 25px var(--red),
    inset 0 0 15px var(--red-glow);
  transform: perspective(400px) rotateX(60deg);
  pointer-events: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Host container for the Yoo engine character */
.yoo-char {
  position: relative;
  width: 280px;
  height: 360px;
  z-index: 2;
  pointer-events: auto;
  cursor: grab;
}

.yoo-char:active {
  cursor: grabbing;
}

.yoo-char svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

canvas.yoo-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.wl-toy-hint {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 18px;
  transform: rotate(5deg);
  color: var(--ink);
  pointer-events: none;
}

.wl-reaction-toast {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 4;
}

.wl-reaction-toast.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* --------------------------------------------------- FINAL WAITLIST CTA */
.wl-final {
  padding-top: 40px;
}

.wl-final-card {
  position: relative;
  border-radius: 32px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 60px);
  background: linear-gradient(180deg, #161922 0%, #0d0f14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 24px 70px rgba(0, 0, 0, 0.7);
  text-align: center;
  overflow: hidden;
}

.wl-final-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 64, 82, 0.7), rgba(53, 243, 90, 0.5) 50%, rgba(56, 105, 255, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.wl-final-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 64, 82, 0.12), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(56, 105, 255, 0.14), transparent 45%);
  pointer-events: none;
}

.wl-final-in {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.wl-final-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #fff;
  line-height: 1.05;
}

.wl-final-copy {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-dim);
  line-height: 1.55;
}

.wl-final-form-wrap {
  width: 100%;
  max-width: 520px;
  margin-top: 6px;
}

.wl-final-note {
  font-size: 22px;
  transform: rotate(-3deg);
  color: var(--ink);
}

/* ------------------------------------------------------- MINIMAL FOOTER */
.wl-foot {
  padding: 50px 0 40px;
  border-top: 1px solid var(--line);
}

.wl-foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .wl-foot-in {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

.wl-foot-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wl-foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 720px) {
  .wl-foot-logo {
    justify-content: center;
  }
}

.wl-foot-logo img {
  width: 34px;
  height: 34px;
}

.wl-foot-logo-text {
  font-size: 20px;
}

.wl-foot-tag {
  font-size: 13px;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.45;
}

.wl-foot-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wl-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(21, 24, 31, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #d2d6e3;
  transition: transform 0.16s var(--spring), border-color 0.2s, color 0.2s;
}

.wl-social-btn svg {
  width: 19px;
  height: 19px;
}

.wl-social-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.wl-foot-copy {
  font-size: 12.5px;
  color: #6d7385;
}

/* ---- Character SVG expressions & items ---- */
.yoo-svg { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.yoo-svg [data-ref="body"] { pointer-events: visiblePainted; }
.yoo-svg .ex, .yoo-svg .mo { display: none; }
.yoo-svg[data-expr="idle"] .ex-idle,
.yoo-svg[data-expr="happy"] .ex-happy,
.yoo-svg[data-expr="shock"] .ex-shock,
.yoo-svg[data-expr="smug"] .ex-smug,
.yoo-svg[data-expr="heart"] .ex-heart { display: inline; }
.yoo-svg[data-expr="wink"] .eyeL .ex-idle,
.yoo-svg[data-expr="wink"] .eyeR .ex-happy { display: inline; }
.yoo-svg[data-expr="happy"] .mo-happy,
.yoo-svg[data-expr="shock"] .mo-shock,
.yoo-svg[data-expr="smug"] .mo-smug,
.yoo-svg[data-expr="wink"] .mo-smug,
.yoo-svg[data-expr="heart"] .mo-heart { display: inline; }
.yoo-svg [data-talk] .mo { display: none !important; }
.yoo-svg .slot { cursor: pointer; }
.c1 { fill: var(--c1); }
.c2 { fill: var(--c2); }
.glowy { filter: drop-shadow(0 0 6px var(--c1)); }

/* ---- Form error shake animation ---- */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.shake {
  animation: shake 0.45s ease-in-out;
  border-color: var(--red) !important;
  box-shadow: 0 0 20px rgba(255, 64, 82, 0.45) !important;
}

/* Confetti canvas for waitlist unlock celebration */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}
