/* Holo Drop: the site is the machine. Cabinet, LED frame, touchscreen, console and Push bin. */

:root {
  --ink: #12132e;
  --cab: #0d0e26;
  --navy: #151738;
  --purple: #6a5cff;
  --drop: #5d4ec9;
  --blue: #2f6bf2;
  --blue-deep: #1a2fb0;
  --buy: #1f7bf2;
  --yellow: #ffd23f;
  --screen: #e8eff6;
  --card: #ffffff;
  --line: #d3dce8;
  --muted: #5d6685;
  --good: #1fa96a;
  --bad: #d8364a;
  --rainbow: #ff4fd8, #b14bff, #5b6dff, #2fd7ff, #45f0a0, #ffe14b, #ff8a3d, #ff4fd8;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
}

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

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='22' cy='40' r='1.1' opacity='.8'/%3E%3Ccircle cx='140' cy='18' r='.8' opacity='.5'/%3E%3Ccircle cx='260' cy='90' r='1.3' opacity='.9'/%3E%3Ccircle cx='380' cy='30' r='.9' opacity='.6'/%3E%3Ccircle cx='80' cy='170' r='.7' opacity='.5'/%3E%3Ccircle cx='200' cy='220' r='1' opacity='.7'/%3E%3Ccircle cx='340' cy='200' r='.8' opacity='.5'/%3E%3Ccircle cx='30' cy='300' r='1.2' opacity='.8'/%3E%3Ccircle cx='160' cy='360' r='.8' opacity='.6'/%3E%3Ccircle cx='300' cy='320' r='1.1' opacity='.7'/%3E%3Ccircle cx='400' cy='400' r='.7' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(900px 520px at 12% 8%, rgba(120, 80, 255, 0.35), transparent 65%),
    radial-gradient(800px 520px at 88% 18%, rgba(47, 215, 255, 0.22), transparent 65%),
    radial-gradient(900px 600px at 80% 70%, rgba(255, 79, 216, 0.16), transparent 65%),
    radial-gradient(900px 600px at 10% 85%, rgba(255, 138, 61, 0.12), transparent 65%),
    linear-gradient(180deg, #0a0a24 0%, #120c33 55%, #07061a 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--buy); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.room {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 24px;
}

/* ─── Cabinet ─────────────────────────────────────────────────────────── */
.machine {
  position: relative;
  display: flex;
  width: min(1180px, calc(100% - 18px));
  margin-right: 18px;
  filter: drop-shadow(10px 34px 34px rgba(10, 12, 40, 0.4));
}
/* 3D: the cabinet's right and bottom sides show as a stacked edge, lit from the top left. */
.machine-front {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 34px;
  padding: 7px;
  background: var(--cab);
  box-shadow:
    1px 1px 0 #2a2d63, 2px 2px 0 #282b5f, 3px 3px 0 #26295a, 4px 4px 0 #242756,
    5px 5px 0 #222452, 6px 6px 0 #20224e, 7px 7px 0 #1e204a, 8px 8px 0 #1c1e46,
    9px 9px 0 #1a1c42, 10px 10px 0 #18193d, 11px 11px 0 #161739, 12px 12px 0 #141535,
    13px 13px 0 #121331, 14px 14px 0 #10112d, 15px 15px 0 #0e0f29, 16px 16px 0 #0c0d24;
}
/* The rainbow LED strip around the front. */
.led {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  padding: 7px;
  background: conic-gradient(from var(--spin), var(--rainbow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: led 6s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.led::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 40px;
  background: inherit;
  filter: blur(14px);
  opacity: 0.55;
  z-index: -1;
}
@keyframes led { to { --spin: 360deg; } }

.front-inner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 18px clamp(12px, 2.6vw, 34px) 28px;
  /* Bevel: lit top-left edge, shaded bottom-right. */
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.14), inset -3px -3px 0 rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 22%, transparent 40%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.3) 0%, transparent 28%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M300 0l-22 60 18 14-30 70 14 10-26 70' stroke='%23ff7a2e' stroke-opacity='.55' stroke-width='2'/%3E%3Cpath d='M278 60l-40 18M266 144l-36 4M240 224l-30 24' stroke='%23ffb04a' stroke-opacity='.45' stroke-width='1.4'/%3E%3Cpath d='M40 120l30 40-12 18 36 50-8 18 30 60' stroke='%237fa8ff' stroke-opacity='.5' stroke-width='1.6'/%3E%3Cpath d='M70 160l-40 10M94 228l-36 26' stroke='%23a9c3ff' stroke-opacity='.4' stroke-width='1.2'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.7'%3E%3Ccircle cx='30' cy='30' r='1.2'/%3E%3Ccircle cx='150' cy='70' r='1'/%3E%3Ccircle cx='210' cy='300' r='1.3'/%3E%3Ccircle cx='330' cy='200' r='1'/%3E%3Ccircle cx='120' cy='330' r='1.1'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(700px 520px at 0% 30%, rgba(60, 90, 255, 0.45), transparent 65%),
    radial-gradient(700px 600px at 100% 75%, rgba(255, 90, 30, 0.35), transparent 65%),
    linear-gradient(160deg, #10123a 0%, #0b0b22 55%, #1a0d14 100%);
}

.base {
  position: relative;
  width: min(1000px, 86%);
  height: 34px;
  margin-top: 8px;
  transform: translateX(8px);
  background: linear-gradient(180deg, #1a1b33, #0a0b18);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}
.ground {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 300px;
  padding-top: 40px;
}
.floor {
  position: absolute;
  left: 50%;
  top: -18px;
  bottom: -24px;
  width: max(2400px, 100vw);
  transform: translateX(-50%);
  background:
    radial-gradient(46% 38% at 50% 0%, rgba(140, 110, 255, 0.45), transparent 70%),
    radial-gradient(30% 22% at 50% 0%, rgba(255, 79, 216, 0.3), transparent 70%),
    url("assets/floor.svg") center top / max(2400px, 100vw) auto no-repeat,
    linear-gradient(180deg, #160d3a, #07061a 80%);
  -webkit-mask: linear-gradient(180deg, #000 55%, transparent), linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(180deg, #000 55%, transparent), linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-composite: intersect;
  border-top: 2px solid rgba(180, 160, 255, 0.5);
  box-shadow: 0 -10px 40px rgba(140, 110, 255, 0.35);
  pointer-events: none;
  z-index: -1;
}

/* ─── Marquee: the lit Holo Drop sign across the top ──────────────────── */
.marquee { display: flex; justify-content: center; margin-bottom: 14px; }
.sign {
  display: block;
  line-height: 0;
  filter: drop-shadow(0 0 18px rgba(170, 150, 255, 0.55)) drop-shadow(0 4px 0 rgba(0, 0, 0, 0.45));
  transition: transform 0.2s;
}
.sign:hover { transform: scale(1.03); }
.sign img { display: block; height: clamp(110px, 15vw, 176px); width: auto; }

/* ─── Screen ──────────────────────────────────────────────────────────── */
/* The screen is a fixed size on every page, so the machine never changes shape; longer pages scroll inside it. */
.screen {
  display: flex;
  flex-direction: column;
  height: 800px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--screen);
  box-shadow: 0 0 0 6px #050512, 0 0 0 8px rgba(255, 255, 255, 0.06), 0 0 40px rgba(80, 140, 255, 0.35);
  scroll-margin-top: 16px;
}
/* Banner: dark holo foil, like the cabinet, with a rainbow LED strip along the bottom. */
.screen-banner {
  position: relative;
  flex: none;
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 130% at 50% 125%, rgba(150, 110, 255, 0.55), transparent 70%),
    radial-gradient(40% 90% at 0% 0%, rgba(47, 215, 255, 0.22), transparent 70%),
    radial-gradient(40% 90% at 100% 0%, rgba(255, 79, 216, 0.22), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px),
    linear-gradient(120deg, #1b1152, #110b36 50%, #1f0f48);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--rainbow)) 1;
}
/* Foil shine sweeping across, like tilting a holo card. */
.screen-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 79, 216, 0.18) 40%, rgba(47, 215, 255, 0.22) 48%, rgba(69, 240, 160, 0.16) 56%, transparent 66%);
  background-size: 260% 100%;
  animation: foil 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes foil { 0% { background-position: 110% 0; } 50% { background-position: -10% 0; } 100% { background-position: 110% 0; } }
.bcard { position: absolute; width: 64px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(190, 160, 255, 0.45)); animation: float 4.5s ease-in-out infinite; }
.bcard-l { left: 8%; top: 40px; --r: -14deg; transform: rotate(var(--r)); }
.bcard-r { right: 8%; top: 52px; --r: 12deg; transform: rotate(var(--r)); animation-delay: -2.2s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(var(--r)); } }
.star { position: absolute; color: #fff; text-shadow: 0 0 10px rgba(180, 160, 255, 0.9); animation: twinkle 2.6s ease-in-out infinite; }
.s1 { left: 24%; top: 22px; font-size: 22px; color: #ffe9a8; }
.s2 { right: 27%; top: 18px; font-size: 16px; color: #bfe6ff; animation-delay: 0.6s; }
.s3 { right: 19%; bottom: 22px; font-size: 20px; color: #ffc2ec; animation-delay: 1.2s; }
.s4 { left: 29%; bottom: 26px; font-size: 13px; animation-delay: 1.8s; }
@keyframes twinkle { 50% { transform: scale(0.6) rotate(20deg); opacity: 0.5; } }
.banner-copy { position: relative; padding: 26px 20px; }
.banner-kicker {
  margin: 0 0 4px;
  color: #c9c2ff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.banner-title {
  margin: 0;
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 6vw, 58px);
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 4px 0 #2a1670, 0 0 26px rgba(180, 150, 255, 0.75);
}

.screen-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(16px, 3vw, 30px);
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
.screen-body::-webkit-scrollbar { width: 10px; }
.screen-body::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 10px; border: 2px solid var(--screen); }
.screen-body::-webkit-scrollbar-track { background: transparent; }
.screen-body[data-route='home'] { display: flex; flex-direction: column; }
.screen-body[data-route='home'] .tiles { flex: 1; min-height: 0; }
.screen-body.boot { animation: boot 0.35s ease-out; }
@keyframes boot { from { opacity: 0; transform: translateY(8px); filter: brightness(1.6); } }

.lede { font-size: 1.2rem; font-weight: 700; margin: 0 0 18px; }
.section-h { font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 1.6rem; margin: 30px 0 12px; color: var(--navy); }

/* ─── Menu tiles (the machine's product grid) ─────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 22px);
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--card);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(20, 30, 70, 0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}
.tile:hover, .tile:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--buy), 0 14px 28px rgba(20, 30, 70, 0.18); outline: none; }
.tile-art {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 150px;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 40%, #fff, #dfe8f4);
}
.tile-art svg { width: 82%; height: 82%; max-height: 240px; }
.tile-name { font-size: 1.3rem; line-height: 1.2; }
.tile-stock { color: var(--buy); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.tile-blurb { color: var(--muted); font-size: 0.98rem; line-height: 1.35; min-height: 2.7em; }
.tile-price { color: #e0802a; font-weight: 800; font-size: 1rem; }
.tile-buy, .btn-buy {
  display: inline-block;
  text-align: center;
  background: var(--buy);
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 6px;
  padding: 7px 12px;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 3px 0 #1257b3;
}
.tile-buy { margin-top: 6px; padding: 11px 12px; font-size: 1.05rem; border-radius: 8px; }
.btn-buy:hover { filter: brightness(1.08); }
.btn-buy:active { transform: translateY(2px); box-shadow: 0 1px 0 #1257b3; }
.btn-buy:disabled { opacity: 0.6; cursor: default; }
.btn-buy.big { padding: 13px 24px; font-size: 1.05rem; border-radius: 10px; }
.btn-ghost {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  border: 2px solid var(--line);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
}

.screen-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.btn-back { font-weight: 800; text-decoration: none; color: var(--navy); background: #fff; border-radius: 999px; padding: 6px 14px; box-shadow: 0 1px 0 var(--line); }
.btn-back:hover { color: var(--buy); }

/* ─── Pitch ───────────────────────────────────────────────────────────── */
.pitch-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; }
.pitch-hero p { line-height: 1.6; }
.pitch-photo { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 20, 60, 0.25); aspect-ratio: 3 / 4; }
.pitch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cta-row.center { justify-content: center; margin-top: 26px; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.perk { background: #fff; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 0 var(--line); }
.perk span:last-child { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.perk-icon { font-size: 1.6rem; }
.needs { display: flex; flex-wrap: wrap; gap: 10px; }
.needs span { background: var(--navy); color: #fff; font-weight: 800; padding: 10px 16px; border-radius: 999px; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.size { background: #fff; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 1px 0 var(--line); }
.size b { font-size: 1.25rem; }
.size-tag { align-self: flex-start; background: #e7e4ff; color: var(--drop); font-weight: 800; font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; }
.size-tag.big { background: #ffe8d6; color: #c8611d; }
.note { margin: 12px 0 0; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li { background: #fff; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 0 var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--buy); color: #fff; font-weight: 800; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 0.9rem; }

/* ─── Forms ───────────────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 16px; }
.form fieldset { border: 0; margin: 0; padding: 18px; background: #fff; border-radius: 12px; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 12px; }
.form legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: 'Lilita One', sans-serif; font-size: 1.25rem; color: var(--navy); }
.form .btn-buy { align-self: flex-start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 0.9rem; }
.field.wide { grid-column: 1 / -1; }
.field em { color: var(--bad); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: #f7f9fc;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--buy); background: #fff; }
.invalid input, .invalid select, .invalid textarea { border-color: var(--bad); background: #fff5f6; }
.chips.invalid .chip span { border-color: var(--bad); }
.check.invalid { color: var(--bad); }
.hint { margin: 0; color: var(--muted); font-size: 0.88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); font-weight: 800; cursor: pointer; background: #f7f9fc; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--buy); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.92rem; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--buy); }
.form-error { background: #fde3e6; color: var(--bad); font-weight: 800; padding: 10px 14px; border-radius: 8px; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-box { display: grid; place-items: center; min-height: 170px; border: 2px dashed var(--line); border-radius: 10px; background: #f7f9fc; cursor: pointer; color: var(--muted); font-weight: 800; overflow: hidden; }
.upload:focus-within .upload-box { border-color: var(--buy); }
.upload-box img { max-height: 300px; max-width: 100%; display: block; }

/* ─── Pull Wall ───────────────────────────────────────────────────────── */
.notice { background: #fff6d6; border: 2px solid #ffe08a; color: #7a5a00; font-weight: 800; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pull { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.pull-img { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.pull.placeholder .pull-img {
  background:
    linear-gradient(135deg, rgba(143, 211, 255, 0.55), rgba(216, 168, 255, 0.55), rgba(255, 179, 209, 0.55), rgba(200, 255, 158, 0.55)),
    repeating-linear-gradient(45deg, #fff 0 10px, #f2f5fa 10px 20px);
  color: rgba(18, 19, 46, 0.55);
  font-family: 'Lilita One', sans-serif;
  font-size: 1.1rem;
}
.pull-meta { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }

/* ─── Confirmation ────────────────────────────────────────────────────── */
.done { text-align: center; padding: 20px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.done h2 { font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 2rem; margin: 10px 0 0; color: var(--navy); }
.done p { max-width: 520px; line-height: 1.55; margin: 6px 0; }
.done .btn-buy { margin-top: 14px; }
.done-card {
  width: 150px;
  aspect-ratio: 5 / 7;
  border-radius: 12px;
  border: 3px solid var(--navy);
  background: linear-gradient(135deg, #8fd3ff, #d8a8ff, #ffb3d1, #fff3a6, #c8ff9e);
  background-size: 300% 300%;
  animation: holo 3s ease infinite, pop 0.5s cubic-bezier(0.2, 1.6, 0.4, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(20, 20, 60, 0.25);
  transform: rotate(-6deg);
}
.done-card span { font-family: 'Lilita One', sans-serif; text-transform: uppercase; font-size: 0.9rem; color: var(--navy); }
.done-card b { background: var(--navy); color: #fff; padding: 4px 8px; border-radius: 6px; font-size: 0.85rem; }
@keyframes holo { 50% { background-position: 100% 100%; } }
@keyframes pop { from { transform: rotate(-6deg) scale(0.4); opacity: 0; } }

/* ─── Console: logo plate, card reader, Push bin ──────────────────────── */
.console {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 28px 0 22px;
}
.plate {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: 'Lilita One', sans-serif;
  font-size: clamp(22px, 3.4vw, 34px);
  text-transform: uppercase;
}
.plate img { width: 46px; height: 46px; border-radius: 10px; transform: rotate(-6deg); }
.plate b { font-weight: 400; color: #a9a3ff; }
.reader {
  grid-column: 3;
  justify-self: end;
  margin-right: clamp(0px, 2vw, 24px);
  width: 92px;
  height: 92px;
  border-radius: 14px;
  background: linear-gradient(160deg, #26283a, #0e0f18);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px #34364a, 0 6px 14px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
.reader-screen {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #0b0c12;
  color: #ffd23f;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: inset 0 0 0 1px #2a2c3c;
}
.reader-icon { color: #6fe0ff; letter-spacing: -2px; transform: rotate(-90deg); font-size: 0.75rem; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.reader:hover .reader-screen { box-shadow: inset 0 0 0 2px #6fe0ff; }

.push {
  position: relative;
  width: min(260px, 70%);
  height: 110px;
  margin: 0 auto;
  border-radius: 12px;
  background: #020208;
  box-shadow: 0 0 0 4px #04040f, 0 0 26px rgba(60, 90, 255, 0.45);
  perspective: 520px;
  overflow: hidden;
}
/* Inside the bin: dark, lit from below when the flap opens. */
.push-slot {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 120%, #9fb4ff 0%, #4157ff 25%, #10155a 60%, #020208 100%);
  opacity: 0.25;
  transition: opacity 0.4s;
}
.push.open .push-slot { opacity: 1; animation: slotglow 1.2s ease-in-out infinite alternate; }
@keyframes slotglow { to { filter: brightness(1.35); } }
/* The flap is hinged at the top and swings in, like pushing a real vending door. */
.push-flap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 120%, #3150ff 0%, #10155a 55%, #060823 100%);
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.7);
  transform-origin: 50% 0;
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1), filter 0.5s;
}
.push.open .push-flap { transform: rotateX(78deg); filter: brightness(0.6); }
.push-label {
  font-family: 'Lilita One', sans-serif;
  font-size: 40px;
  color: #c8c4ff;
  -webkit-text-stroke: 1.5px #0b0b2a;
  text-shadow: 0 3px 0 #0b0b2a;
}

/* The machine rattles as it vends. */
@keyframes vendshake {
  0%, 100% { transform: none; }
  10% { transform: translate(-5px, 1px) rotate(-0.6deg); }
  22% { transform: translate(5px, -1px) rotate(0.6deg); }
  34% { transform: translate(-4px, 1px) rotate(-0.45deg); }
  46% { transform: translate(4px, 0) rotate(0.4deg); }
  58% { transform: translate(-3px, 1px) rotate(-0.25deg); }
  70% { transform: translate(2px, 0) rotate(0.15deg); }
  84% { transform: translate(-1px, 0); }
}
.machine.shake { animation: vendshake 0.6s ease-in-out; }

/* The confirmation card that comes out of the bin. */
.vend-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: radial-gradient(circle at 50% 50%, rgba(40, 60, 200, 0.35), rgba(5, 6, 20, 0.78));
  backdrop-filter: blur(3px);
  opacity: 0;
}
.vend-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 41;
  width: min(380px, 88vw);
  max-height: 92vh;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(135deg, #8fd3ff, #d8a8ff 30%, #ffb3d1 55%, #fff3a6 75%, #c8ff9e);
  background-size: 300% 300%;
  animation: holo 4s ease infinite;
  box-shadow: 0 0 0 3px #12132e, 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(160, 140, 255, 0.55);
  transform: translate(-50%, -50%);
  will-change: transform;
}
/* Foil shine sweeping across once the card lands. */
.vend-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.75) 45%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.vend-card.landed::after { animation: shine 1.4s ease-out 0.1s; }
@keyframes shine { to { background-position: -60% 0; } }
.vc-frame {
  position: relative;
  border-radius: 14px;
  background: #fffdf6;
  border: 3px solid #12132e;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
  max-height: calc(92vh - 20px);
}
.vc-head { display: flex; align-items: center; gap: 8px; font-family: 'Lilita One', sans-serif; font-size: 1.1rem; text-transform: uppercase; color: var(--navy); }
.vc-head img { width: 28px; height: 28px; border-radius: 7px; }
.vc-hp { margin-left: auto; color: var(--good); font-size: 0.95rem; }
.vc-art {
  position: relative;
  height: 130px;
  border-radius: 10px;
  border: 2px solid #12132e;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.16) 0deg 8deg, transparent 8deg 18deg),
    radial-gradient(circle, #6fb0ff 0%, var(--blue) 45%, var(--blue-deep) 100%);
}
.vc-check {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #12132e;
  font-size: 44px;
  font-weight: 800;
  box-shadow: 0 4px 0 #a87400, 0 0 30px rgba(255, 220, 90, 0.8);
}
.vend-card.landed .vc-check { animation: stamp 0.45s cubic-bezier(0.2, 1.8, 0.4, 1); }
@keyframes stamp { from { transform: scale(0.3) rotate(-30deg); } }
.vc-spark { position: absolute; color: var(--yellow); font-size: 20px; animation: twinkle 1.8s ease-in-out infinite; }
.s-a { left: 18%; top: 20%; } .s-b { right: 16%; top: 30%; animation-delay: 0.5s; } .s-c { left: 30%; bottom: 14%; font-size: 14px; animation-delay: 1s; }
.vc-type { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--drop); margin-top: 4px; }
.vend-card h2 { margin: 0; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 1.9rem; color: var(--navy); line-height: 1.05; }
.vend-card p { margin: 0; line-height: 1.45; font-size: 0.95rem; overflow-wrap: anywhere; }
.vc-eta { background: #eef3ff; border-radius: 8px; padding: 8px 10px; }
.vc-foot { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 800; color: var(--muted); border-top: 1px solid #e6e2d6; padding-top: 6px; margin-top: 2px; }
.vc-done { width: 100%; padding: 11px; margin-top: 4px; font-size: 1rem; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.site-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: 0.85rem;
  color: #e6e3ff;
  font-weight: 700;
  position: relative;
}
.site-foot a { color: #fff; }
.site-foot .muted { color: #a9a6d0; font-weight: 600; font-size: 0.75rem; }

/* ─── Narrow screens ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-body[data-route='home'] { display: block; }
  .bcard { width: 38px; }
  .bcard-l { left: 2.5%; top: 14px; }
  .bcard-r { right: 2.5%; top: auto; bottom: 14px; }
  .tile-art { flex: none; aspect-ratio: 1; min-height: 0; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .room { padding: 10px 8px 20px; }
  .machine { width: calc(100% - 10px); margin-right: 10px; }
  .machine-front { box-shadow: 1px 1px 0 #2a2d63, 2px 2px 0 #26295a, 3px 3px 0 #222452, 4px 4px 0 #1e204a, 5px 5px 0 #1a1c42, 6px 6px 0 #161739, 7px 7px 0 #121331, 8px 8px 0 #0c0d24; }
  .plate { font-size: 20px; }
  .plate img { width: 36px; height: 36px; }
  .machine-front, .led { border-radius: 24px; }
  .front-inner { border-radius: 19px; padding: 16px 10px 22px; }
  .screen { height: min(640px, calc(100svh - 60px)); }
  .screen-banner { min-height: 110px; }
  .banner-title { font-size: 30px; }
  .bcard { width: 30px; opacity: 0.9; }
  .bcard-l { left: 3%; top: 12px; }
  .bcard-r { right: 3%; top: auto; bottom: 12px; }
  .s1 { left: 14%; }
  .s4 { left: 18%; }
  .banner-copy { padding: 14px 34px; }
  .pitch-hero, .sizes { grid-template-columns: 1fr; }
  .tile { padding: 10px; }
  .tile-name { font-size: 1.05rem; }
  .tile-blurb { font-size: 0.85rem; }
  .tile-buy { font-size: 0.95rem; padding: 9px; }
  .pitch-photo { aspect-ratio: 4 / 3; }
  .perks { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .form fieldset { padding: 14px; }
  .console { gap: 8px; }
  .reader { width: 70px; height: 70px; }
  .reader-screen { width: 46px; height: 46px; }
  .push { height: 84px; }
  .push-label { font-size: 30px; }
  .vc-art { height: 100px; }
  .vend-card h2 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
