/* Needoh Drop Shop — squish/glow palette · mobile-first · accessible · age-appropriate */

:root {
  --bg-0: #1a0930;
  --bg-1: #221140;
  --bg-2: #2c1654;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink-0: #fefcff;
  --ink-1: #efe5ff;
  --ink-2: #c7b9e4;
  --ink-3: #9686b8;
  --ink-4: #6e5d92;

  --pink: #ff7eb6;
  --pink-deep: #ff5b8a;
  --citrus: #ffd84a;
  --mint: #8cff9d;
  --aqua: #4fe7ff;
  --violet: #9d6bff;
  --orange: #ffb04a;

  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.10);

  --radius-1: 6px;
  --radius-2: 10px;
  --radius-3: 18px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 36px -22px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-pop:  0 24px 56px -28px rgba(255, 126, 182, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.10);

  --t-fast: 140ms;
  --t-base: 220ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(60% 60% at 80% -10%, rgba(255, 126, 182, 0.18), transparent 70%),
    radial-gradient(60% 60% at -10% 30%, rgba(79, 231, 255, 0.16), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(255, 216, 74, 0.12), transparent 70%),
    var(--bg-0);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a { color: var(--aqua); text-decoration: none; }
a:hover { color: var(--ink-0); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--citrus); outline-offset: 2px; border-radius: 4px;
}

.skiplink { position: absolute; left: -10000px; top: 0; background: var(--citrus); color: #1a0930; padding: 6px 10px; font-weight: 700; }
.skiplink:focus { left: 8px; top: 8px; }

.muted { color: var(--ink-3); }

/* ── pricebar ─────────────────────────────────────────────────── */

.pricebar {
  position: sticky; top: 0; z-index: 30;
  padding: 8px 14px;
  background: linear-gradient(90deg, rgba(255, 126, 182, 0.92), rgba(157, 107, 255, 0.92) 50%, rgba(79, 231, 255, 0.92));
  color: #1a0930;
  border-bottom: 1px solid rgba(0,0,0,0.18);
}
.pricebar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline;
  font-size: 13px; font-weight: 600;
}
.pricebar-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase;
  background: rgba(0,0,0,0.18); color: #fff;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.pricebar-tier strong { font-size: 16px; }
.pricebar-arrow { opacity: 0.6; }
.pricebar-meta { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; opacity: 0.85; }

/* ── topbar ───────────────────────────────────────────────────── */

.topbar {
  position: sticky; top: 36px; z-index: 25;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px; align-items: center;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(34, 17, 64, 0.92), rgba(34, 17, 64, 0.72));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 200deg, var(--pink), var(--citrus), var(--aqua), var(--violet), var(--pink));
  box-shadow: 0 0 0 2px rgba(255,255,255,0.14), 0 8px 16px -8px rgba(255, 126, 182, 0.6);
  flex-shrink: 0;
}
.brand-name { font-weight: 800; font-size: 16px; color: var(--ink-0); letter-spacing: -0.01em; }
.brand-tagline { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }
.topnav { display: flex; gap: 6px; }
.topnav a {
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 13px; color: var(--ink-1);
  background: var(--glass);
}
.topnav a:hover { color: var(--ink-0); background: var(--glass-strong); text-decoration: none; }
.cart-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--citrus); color: #1a0930;
  border: none; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 18px -10px rgba(255, 216, 74, 0.6);
  transition: transform var(--t-fast) var(--ease);
}
.cart-pill:hover { transform: translateY(-1px); }
.cart-pill[data-count="0"] { opacity: 0.7; }

/* ── hero ─────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden;
  margin: 18px;
  padding: 36px 28px 32px;
  border-radius: var(--radius-3);
  background: linear-gradient(180deg, rgba(44, 22, 84, 0.85), rgba(26, 9, 48, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.5; pointer-events: none; }
.hero-blob-1 { width: 280px; height: 280px; background: var(--pink); top: -80px; right: -60px; }
.hero-blob-2 { width: 220px; height: 220px; background: var(--aqua); bottom: -60px; left: -40px; opacity: 0.45; }
.hero-blob-3 { width: 180px; height: 180px; background: var(--citrus); top: 40%; right: 30%; opacity: 0.32; }
.hero-inner { position: relative; max-width: 920px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--citrus);
  background: rgba(0,0,0,0.32);
  padding: 5px 11px; border-radius: var(--radius-pill);
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.06; letter-spacing: -0.02em;
  color: var(--ink-0); margin: 14px 0 12px;
  font-weight: 800;
}
.hero-sub { font-size: 16px; color: var(--ink-1); max-width: 600px; margin: 0 0 18px; }
.hero-sub strong { color: var(--citrus); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cell {
  display: inline-flex; flex-direction: column;
  padding: 8px 14px; min-width: 110px;
  background: rgba(0,0,0,0.30); border: 1px solid var(--line);
  border-radius: var(--radius-2);
}
.hero-cell .k { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.hero-cell .v { font-weight: 700; font-size: 16px; color: var(--ink-0); }

/* ── buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn-primary {
  color: #1a0930;
  background: linear-gradient(135deg, var(--citrus), var(--pink));
  box-shadow: 0 12px 24px -14px rgba(255, 126, 182, 0.7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 28px -14px rgba(255, 126, 182, 0.85); }
.btn-primary:disabled { background: var(--ink-4); color: var(--ink-2); cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost {
  color: var(--ink-0); background: var(--glass); border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--glass-strong); }
.btn-lg { padding: 13px 22px; font-size: 15px; }

/* ── shop ──────────────────────────────────────────────────────── */

.shop { max-width: 1180px; margin: 0 auto; padding: 6px 18px 32px; }
.section-head { padding: 24px 0 12px; }
.section-head h2, .section-h {
  font-size: clamp(20px, 2.6vw, 26px); font-weight: 800;
  margin: 0 0 4px; color: var(--ink-0); letter-spacing: -0.01em;
}

.filterbar {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.filterchip {
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--glass); border: 1px solid var(--line);
  color: var(--ink-1); font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: lowercase;
  cursor: pointer; transition: background var(--t-fast) var(--ease);
}
.filterchip:hover { background: var(--glass-strong); color: var(--ink-0); }
.filterchip.active { background: var(--citrus); color: #1a0930; border-color: transparent; }

.grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.product-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--radius-3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.product-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-pop);
}
.product-card[data-rarity="drop_pick"] { border-color: rgba(255, 216, 74, 0.42); }
.product-card[data-rarity="hard_to_find"] { border-color: rgba(255, 126, 182, 0.42); }
.product-card[data-out-of-stock="true"] { opacity: 0.55; }

/* ── package box ───────────────────────────────────────────────── */
/* Each product sits inside a bright "drop box" — gradient panel,
   dashed inner stroke, glossy window holding a package photo,
   sticker rarity + stock badges, and a label-tape strip across the bottom. */
.product-box {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 14px 14px 30px;
  background:
    linear-gradient(155deg,
      color-mix(in srgb, var(--card-bg, var(--pink)) 88%, white 12%) 0%,
      color-mix(in srgb, var(--card-bg, var(--pink)) 60%, #1a0930 40%) 100%);
  overflow: hidden;
}
.product-box::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.30);
  border-radius: 14px;
  pointer-events: none;
}
.product-box::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 45% at 30% 18%, rgba(255,255,255,0.40), transparent 65%),
    radial-gradient(50% 30% at 80% 90%, rgba(0,0,0,0.20), transparent 55%);
  pointer-events: none;
}
.product-window {
  position: relative;
  height: 100%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 6px 14px -6px rgba(0, 0, 0, 0.35);
}
.product-photo {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.32));
  transition: transform var(--t-base) var(--ease);
  position: relative;
  z-index: 2;
}
.product-card:hover .product-photo {
  transform: translateY(-4px) scale(1.06) rotate(-1.5deg);
}
@keyframes ndo-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.product-photo { animation: ndo-drift 5s ease-in-out infinite; }
.product-card:hover .product-photo { animation: none; }
@keyframes ndo-shine {
  0%   { transform: translateX(-40px) rotate(20deg); opacity: 0; }
  20%  { opacity: 0.6; }
  100% { transform: translateX(140px) rotate(20deg); opacity: 0; }
}
@keyframes ndo-twinkle {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1.0; }
}

/* Corner notches — printed-package feel */
.product-window::before, .product-window::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.product-window::before {
  top: -1px; left: -1px;
  border-right: 0; border-bottom: 0;
  border-top-left-radius: 12px;
}
.product-window::after {
  bottom: -1px; right: -1px;
  border-left: 0; border-top: 0;
  border-bottom-right-radius: 12px;
}

.product-tape {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px;
  color: #fff;
  letter-spacing: 0.10em;
  backdrop-filter: blur(8px);
  z-index: 4;
}
.product-tape .tape-mark { color: var(--citrus); font-size: 11px; }
.product-tape .tape-name {
  text-transform: uppercase; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 70%;
}

.product-box .rarity-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: #1a0930;
  background: var(--citrus);
  box-shadow:
    0 4px 10px -4px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10);
  transform: rotate(-3deg);
  z-index: 5;
}
.product-box .rarity-badge[data-r="hard_to_find"] { background: var(--pink); }
.product-box .rarity-badge[data-r="drop_pick"]    { background: linear-gradient(135deg, var(--citrus), var(--pink)); }
.product-box .rarity-badge[data-r="limited"]      { background: var(--aqua); }
.product-box .rarity-badge[data-r="common"]       { background: rgba(255,255,255,0.92); }

.product-box .stock-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.10em;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  transform: rotate(2deg);
  z-index: 5;
}
.product-box .stock-badge.low {
  background: var(--pink-deep); color: #fff; font-weight: 700;
  box-shadow: 0 0 14px -2px rgba(255, 91, 138, 0.6);
}

.product-body { padding: 14px 14px 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-name { font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--ink-0); }
.product-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: lowercase; color: var(--ink-3); }
.product-desc { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin: 0; }
.product-vibes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.product-vibe {
  font-family: var(--font-mono); font-size: 9.5px;
  padding: 2px 7px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.07); color: var(--ink-2);
  letter-spacing: 0.06em; text-transform: lowercase;
}

.product-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 14px 14px;
}
.qty {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,0.30);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.qty button {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.08); color: var(--ink-0);
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 18px; line-height: 1;
}
.qty button:hover { background: rgba(255,255,255,0.16); }
.qty button:disabled { background: rgba(255,255,255,0.04); color: var(--ink-4); cursor: not-allowed; }
.qty-val { min-width: 24px; text-align: center; font-weight: 700; font-family: var(--font-mono); font-size: 13px; color: var(--ink-0); }
.add-btn {
  flex: 1;
  padding: 8px 12px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--aqua), var(--violet));
  color: #1a0930; border: none; font-weight: 700; font-size: 13px; cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
}
.add-btn:hover { transform: translateY(-1px); }
.add-btn[aria-pressed="true"] { background: linear-gradient(135deg, var(--citrus), var(--pink)); }
.add-btn:disabled { background: rgba(255,255,255,0.08); color: var(--ink-3); cursor: not-allowed; transform: none; }

/* ── rules ─────────────────────────────────────────────────────── */

.rules { max-width: 920px; margin: 12px auto 0; padding: 0 18px 32px; }
.rules-list {
  list-style: none; padding: 0; margin: 14px 0 12px;
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.rules-list li {
  padding: 14px 16px; border-radius: var(--radius-2);
  background: var(--glass); border: 1px solid var(--line);
  font-size: 14px;
}
.rules-list li strong { color: var(--ink-0); }
.rules-disclaimer { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }

/* ── cart drawer ───────────────────────────────────────────────── */

.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(34,17,64,0.97), rgba(26,9,48,0.99));
  border-left: 1px solid var(--line-strong);
  box-shadow: -24px 0 48px -24px rgba(0,0,0,0.5);
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease);
  display: flex; flex-direction: column;
}
.cart[aria-hidden="false"] { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--ink-0);
  border: none; cursor: pointer; font-size: 22px;
}
.cart-body { padding: 16px 18px; overflow-y: auto; flex: 1; }
.cart-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cart-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-2);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  align-items: center;
}
.cart-row .swatch {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--card-bg, var(--pink));
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.cart-row .name { font-weight: 600; font-size: 13px; color: var(--ink-0); }
.cart-row .meta { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }
.cart-row .remove {
  background: rgba(255,255,255,0.06); border: none; color: var(--ink-2);
  border-radius: 50%; width: 28px; height: 28px; cursor: pointer; font-size: 14px;
}
.cart-empty {
  padding: 18px 14px; text-align: center; color: var(--ink-3);
  background: rgba(255,255,255,0.04); border-radius: var(--radius-2);
  font-size: 13px;
}
.cart-bundle {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255, 126, 182, 0.18), rgba(157, 107, 255, 0.18));
  border: 1px solid var(--line-strong); border-radius: var(--radius-2);
}
.bundle-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--citrus); }
.bundle-tier { font-size: 13px; color: var(--ink-1); }
.bundle-total { font-size: 22px; font-weight: 800; color: var(--ink-0); margin-left: auto; }
.cart-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); margin: 12px 0 0; }

.reserve-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  padding: 10px 12px; border-radius: var(--radius-2);
  background: rgba(0,0,0,0.30); color: var(--ink-0);
  border: 1px solid var(--line);
  font: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--citrus); }
.field-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-1); }
.field-check input[type="checkbox"] { margin-top: 4px; transform: scale(1.15); accent-color: var(--citrus); }
.form-meta { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); margin: 0; }
.form-error { font-size: 12px; color: var(--pink); margin: 0; min-height: 1em; }

/* ── confirmation modal ────────────────────────────────────────── */

.confirm {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center;
  background: rgba(10, 5, 25, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.confirm[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.confirm-card {
  width: min(440px, 92%); padding: 26px 24px;
  border-radius: var(--radius-3);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
}
.confirm h2 { margin: 0 0 6px; font-size: 22px; color: var(--ink-0); }
.confirm-list { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 14px 0; font-size: 13px; }
.confirm-list dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3); align-self: center; }
.confirm-list dd { margin: 0; color: var(--ink-1); }
.confirm-list ul { padding-left: 18px; margin: 0; }
.confirm-meta { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }

/* ── footer ────────────────────────────────────────────────────── */

.ndo-footer {
  text-align: center; padding: 32px 18px 40px;
  font-size: 13px; color: var(--ink-2);
}
.ndo-footer p { margin: 4px 0; }

/* ── reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition: none !important; }
}

/* ── small screens ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .pricebar { font-size: 12px; }
  .pricebar-meta { width: 100%; margin: 0; text-align: left; }
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { display: none; }
  .hero { margin: 12px; padding: 26px 18px 22px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .product-name { font-size: 14px; }
  .product-art { font-size: 44px; }
}

/* ─────────────────────────────────────────────────────────────────
   v2: shop toolbar (search + sort), result count, featured spotlight,
   cart pill pulse on add. Additive — older selectors unchanged.
   ───────────────────────────────────────────────────────────────── */

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 10px;
  flex-wrap: wrap;
}
.search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,126,182,0.28);
  border-radius: 999px;
  flex: 1 1 280px;
  min-width: 0;
  transition: border-color 160ms ease, background 160ms ease;
}
.search:focus-within {
  border-color: rgba(255,126,182,0.65);
  background: rgba(255,126,182,0.06);
  box-shadow: 0 0 0 3px rgba(255,126,182,0.18);
}
.search-icon { font-size: 13px; opacity: 0.85; }
.search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink-0);
  font: inherit;
  font-size: 14px;
}
.search input::placeholder { color: var(--ink-2); }
.sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(125,249,255,0.22);
  border-radius: 12px;
}
.sort-label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.sort select {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink-0);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.sort select option { background: #1a0930; color: var(--ink-0); }
.result-count {
  margin: 6px 0 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: var(--ink-2);
}
.grid-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--ink-2);
  font-size: 13px;
  border: 1px dashed rgba(255,255,255,0.10);
  border-radius: 10px;
  margin: 12px 0;
}

/* Featured spotlight */
.spotlight {
  margin: 14px 0;
  position: relative;
}
.spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 22px 22px 18px;
  border-radius: 16px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(255,255,255,0.07), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--card-bg) 35%, #1a0930), #0d0420 90%);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--card-bg) 70%, transparent);
}
.spotlight-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-bg) 80%, transparent), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.spotlight-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a0930;
  background: linear-gradient(90deg, #ffd84a, #ffae42);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 18px -6px rgba(255,216,74,0.55);
}
.spotlight-art {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(70% 70% at 30% 25%, rgba(255,255,255,0.18), transparent 60%),
    color-mix(in srgb, var(--card-bg) 35%, #0d0420);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.spotlight-art > .product-photo { width: 82%; height: 82%; max-width: 360px; max-height: 360px; }
.spotlight-body { display: flex; flex-direction: column; gap: 8px; }
.spotlight-eyebrow {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd84a;
}
.spotlight-name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.spotlight-desc {
  margin: 0;
  color: var(--ink-1);
  font-size: 14px;
  line-height: 1.45;
  max-width: 56ch;
}
.spotlight-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2px;
}
.spotlight-stock {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding: 2px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
}
.spotlight-actions { margin-top: 8px; }

/* Cart pill pulse on add */
.cart-pill[data-pulse="1"] {
  animation: ndo-cart-pulse 480ms cubic-bezier(.2,.7,.2,1.4);
}
@keyframes ndo-cart-pulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255,126,182,0.55); }
  50%  { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(255,126,182,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255,126,182,0); }
}

/* Spotlight — small screens */
@media (max-width: 720px) {
  .spotlight-card { grid-template-columns: 1fr; padding: 18px; }
  .spotlight-ribbon { top: 10px; right: 10px; }
  .spotlight-name { font-size: 22px; }
}

/* ─────────────────────────────────────────────────────────────────
   v3: quick-view modal, confetti layer, compact hero on shorter
   viewports, click-affordance on product boxes.
   ───────────────────────────────────────────────────────────────── */

/* Click-affordance for product boxes (hover lift + cursor) */
.product-box:hover { transform: translateY(-2px); transition: transform 200ms ease; }
.product-box:focus-visible { outline: 2px solid #ffd84a; outline-offset: 4px; }

/* When a modal is open, lock body scroll */
body.ndo-modal-open { overflow: hidden; }

/* Quick-view modal */
.quickview {
  position: fixed;
  inset: 0;
  background: rgba(2,3,12,0.78);
  backdrop-filter: blur(6px);
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.quickview[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.quickview-card {
  position: relative;
  width: min(880px, 100%);
  max-height: min(86vh, 720px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #1a0930 0%, #0a0420 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 60px 120px -30px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(8px) scale(0.98);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1.4);
}
.quickview[aria-hidden="false"] .quickview-card {
  transform: translateY(0) scale(1);
}
.quickview-art {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 70% at 30% 25%, rgba(255,255,255,0.18), transparent 60%),
    color-mix(in srgb, var(--card-bg, #ff7eb6) 38%, #0d0420);
  min-height: 320px;
  padding: 28px;
}
.quickview-art > .product-photo { width: 86%; height: 86%; max-width: 460px; max-height: 460px; }
.quickview-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  overflow: auto;
}
.quickview-eyebrow {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.quickview-name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.quickview-desc {
  margin: 0;
  color: var(--ink-1);
  font-size: 14.5px;
  line-height: 1.55;
}
.quickview-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.quickview-stock {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding: 2px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
}
.quickview-vibes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.quickview-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}
.quickview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--ink-0);
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 140ms ease, transform 140ms ease;
}
.quickview-close:hover { background: rgba(255,126,182,0.18); transform: rotate(90deg); }
.quickview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(2,3,12,0.55);
  color: var(--ink-0);
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  transition: background 140ms ease, transform 140ms ease;
}
.quickview-nav:hover { background: rgba(255,126,182,0.22); transform: translateY(-50%) scale(1.06); }
.quickview-prev { left: 10px; }
.quickview-next { right: 10px; }

/* Quick view — narrow viewports collapse to a single column */
@media (max-width: 720px) {
  .quickview-card { grid-template-columns: 1fr; max-height: 92vh; }
  .quickview-art { min-height: 220px; }
  .quickview-name { font-size: 22px; }
  .quickview-prev { left: 8px; }
  .quickview-next { right: 8px; }
}

/* Confetti layer on reserve confirmation */
.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 200;
}
.confetti-piece {
  position: absolute;
  top: -10vh;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0.9;
  animation-name: ndo-confetti-fall;
  animation-timing-function: cubic-bezier(.2,.55,.4,1);
  animation-fill-mode: forwards;
}
@keyframes ndo-confetti-fall {
  0%   { transform: translateY(0) rotate(0deg);    opacity: 1; }
  60%  { opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* Compact hero on shorter viewports — keeps the grid above the fold. */
@media (max-height: 760px) {
  .hero { padding: 22px 26px 20px; }
  .hero h1 { font-size: 30px; line-height: 1.1; margin: 6px 0 8px; }
  .hero-sub { font-size: 13.5px; line-height: 1.45; }
  .hero-strip { gap: 10px; }
}

/* ─────────────────────────────────────────────────────────────────
   v4 polish — high-end professional, 13y/o-friendly graphic styling.
   Synth-pop palette accents, neon hover glow, animated hero canvas,
   subtle sparkle particles on the spotlight, smoother modal motion,
   punchier hero typography. All additive.
   ───────────────────────────────────────────────────────────────── */

/* Animated hero gradient — slow-shifting magenta/cyan/violet wash */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(255,126,182,0.40), transparent 60%),
    radial-gradient(40% 60% at 75% 60%, rgba(125,249,255,0.32), transparent 60%),
    radial-gradient(40% 60% at 55% 110%, rgba(157,107,255,0.36), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  animation: ndo-hero-orbit 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
@keyframes ndo-hero-orbit {
  0%   { transform: rotate(0deg)   scale(1.0);  }
  50%  { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1.0);  }
}

/* Punchier hero headline — bigger, gradient text, tighter tracking */
.hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  background: linear-gradient(92deg, #ffffff 10%, #ff7eb6 45%, #7df9ff 75%, #ffd84a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(255,126,182,0.25));
}
.hero .eyebrow {
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffd84a;
  text-shadow: 0 0 12px rgba(255,216,74,0.45);
}

/* Glowy primary CTA */
.btn.btn-primary {
  background: linear-gradient(96deg, #ff7eb6 0%, #ffae42 60%, #ffd84a 100%);
  color: #1a0930;
  border: 0;
  box-shadow:
    0 6px 18px -4px rgba(255,126,182,0.55),
    0 0 0 1px rgba(255,255,255,0.18) inset;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 160ms cubic-bezier(.2,.7,.2,1.4), box-shadow 200ms ease, filter 160ms ease;
}
.btn.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.06);
  box-shadow:
    0 12px 28px -8px rgba(255,126,182,0.7),
    0 0 0 1px rgba(255,255,255,0.22) inset,
    0 0 32px -4px rgba(255,216,74,0.35);
}
.btn.btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

/* Product card — neon hover glow that picks up --card-bg */
.product-card {
  position: relative;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1.4);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--card-bg, #ff7eb6) 65%, transparent),
    transparent 55%,
    color-mix(in srgb, var(--card-bg, #ff7eb6) 35%, transparent));
  opacity: 0;
  filter: blur(8px);
  z-index: -1;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.product-card:hover { transform: translateY(-3px); }
.product-card:hover::before { opacity: 0.85; }
.product-card:hover .product-box { box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--card-bg, #ff7eb6) 80%, transparent); }

/* Tighten product title hierarchy */
.product-name { font-weight: 700; letter-spacing: -0.005em; }
.product-cat {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Vibe pills — softer, punchier */
.product-vibe {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,126,182,0.08);
  border: 1px solid rgba(255,126,182,0.22);
  color: #ffb6d9;
  transition: background 160ms ease, border-color 160ms ease;
}
.product-vibe:hover { background: rgba(255,126,182,0.16); border-color: rgba(255,126,182,0.45); }

/* Spotlight — floating motion + sparkles */
.spotlight-card {
  animation: ndo-spotlight-float 6s ease-in-out infinite alternate;
}
@keyframes ndo-spotlight-float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}
.spotlight-art {
  position: relative;
}
.spotlight-art::before,
.spotlight-art::after {
  content: "✦";
  position: absolute;
  font-size: 14px;
  color: #ffd84a;
  text-shadow: 0 0 8px rgba(255,216,74,0.7);
  opacity: 0;
  animation: ndo-sparkle 3.2s ease-in-out infinite;
  pointer-events: none;
}
.spotlight-art::before { top: 16%; left: 14%; animation-delay: 0.2s; }
.spotlight-art::after  { bottom: 18%; right: 18%; font-size: 10px; animation-delay: 1.4s; }
@keyframes ndo-sparkle {
  0%, 100% { opacity: 0; transform: scale(0.6) rotate(0deg); }
  40%      { opacity: 1; transform: scale(1.0) rotate(120deg); }
  70%      { opacity: 0.8; transform: scale(0.85) rotate(220deg); }
}

/* Cart pill — punchier accent badge */
.cart-pill {
  background: linear-gradient(96deg, #1a0930 0%, #2a1450 100%);
  border: 1px solid rgba(255,126,182,0.35);
  color: #ffd6ec;
  box-shadow: 0 8px 24px -10px rgba(255,126,182,0.45);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
}
.cart-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255,126,182,0.7);
  box-shadow: 0 12px 30px -12px rgba(255,126,182,0.65);
}
#cart-count {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: linear-gradient(96deg, #ff7eb6, #ffae42);
  color: #1a0930;
  font-weight: 800;
  font-size: 11px;
  margin: 0 2px 0 4px;
  box-shadow: 0 0 12px -2px rgba(255,126,182,0.6);
}

/* Filter chips + sort — match the new accent system */
.filterchip {
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,126,182,0.20);
  color: var(--ink-2);
  transition: all 160ms ease;
}
.filterchip:hover { border-color: rgba(255,126,182,0.55); color: #ffd6ec; }
.filterchip.active {
  background: linear-gradient(96deg, rgba(255,126,182,0.20), rgba(125,249,255,0.20));
  border-color: rgba(255,126,182,0.65);
  color: #ffffff;
  box-shadow: 0 0 18px -6px rgba(255,126,182,0.55);
}

/* Modal entry — smoother + a touch of bounce */
.quickview-card { transition: transform 260ms cubic-bezier(.2,.85,.2,1.6), opacity 200ms ease; }

/* Pricebar — make those tier numbers pop */
.pricebar-tier strong {
  background: linear-gradient(96deg, #ffd84a, #ff7eb6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Subtle scroll-glow on the section heading */
.section-h, .shop h2, .rules h2 {
  background: linear-gradient(92deg, #ffffff 10%, #ffd6ec 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reduced motion: disable heavy animations */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .spotlight-card,
  .spotlight-art::before,
  .spotlight-art::after,
  .product-card:hover { animation: none !important; transform: none !important; }
}

/* ─────────────────────────────────────────────────────────────────
   v5 creative pass — full-bleed 4K grid, animated aurora background,
   dramatic spotlight, brand-mark-only header, kid-aimed-but-premium
   styling. Lot of layered work; each block is a distinct concept.
   ───────────────────────────────────────────────────────────────── */

/* Brand-mark-only header */
.brand-mark-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 4px;
}
.brand-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background:
    conic-gradient(from 210deg at 50% 50%,
      #ff7eb6 0deg, #ffd84a 90deg, #7df9ff 180deg, #9d6bff 270deg, #ff7eb6 360deg);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 8px 22px -8px rgba(157,107,255,0.55);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 6px;
  background: #1a0930;
}

/* Bigger, more candy-like animated body background — full-page aurora */
body {
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(255,126,182,0.32), transparent 60%),
    radial-gradient(34% 30% at 82% 28%, rgba(125,249,255,0.30), transparent 60%),
    radial-gradient(34% 28% at 28% 72%, rgba(255,216,74,0.22), transparent 60%),
    radial-gradient(36% 30% at 78% 78%, rgba(157,107,255,0.32), transparent 60%);
  filter: blur(60px) saturate(1.05);
  animation: ndo-aurora 22s ease-in-out infinite alternate;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.05) 0.5px, transparent 1px),
    radial-gradient(circle at 78% 62%, rgba(255,255,255,0.04) 0.5px, transparent 1px),
    radial-gradient(circle at 32% 82%, rgba(255,255,255,0.05) 0.5px, transparent 1px),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.04) 0.5px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.6;
  mix-blend-mode: screen;
}
@keyframes ndo-aurora {
  0%   { transform: rotate(0deg)   scale(1.0)  translate(0, 0); }
  50%  { transform: rotate(80deg)  scale(1.08) translate(2vw, -1vh); }
  100% { transform: rotate(180deg) scale(1.0)  translate(-1vw, 1vh); }
}

/* Full-bleed grid for 4K — keep cards reasonable, just remove the cap */
.shop {
  max-width: none;
  padding: 6px clamp(18px, 3vw, 64px) 48px;
}
.grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
}
@media (min-width: 1600px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (min-width: 2400px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

/* Hero + spotlight + rules also stretch wider but keep readable inner */
.hero {
  max-width: none;
  padding: clamp(28px, 4vw, 64px) clamp(22px, 4vw, 80px);
  border-radius: 18px;
  margin: clamp(12px, 2vw, 28px);
}
.hero-inner { max-width: min(1080px, 92vw); }
.spotlight { padding: 0 clamp(18px, 3vw, 64px); margin: 18px 0 22px; }
.spotlight-card { width: 100%; max-width: 1480px; margin: 0 auto; }
.rules { max-width: min(960px, 92vw); }
.section-head h2 { font-size: clamp(22px, 2vw, 32px); }
#shop-h::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  margin-left: 12px;
  border-radius: 999px;
  background: linear-gradient(96deg, #ff7eb6, #ffd84a);
  box-shadow: 0 0 14px rgba(255,126,182,0.7);
  animation: ndo-pulse 1.6s ease-in-out infinite;
}
@keyframes ndo-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}

/* Pricebar — softer candy with extra glow, less harsh edges */
.pricebar {
  background:
    linear-gradient(90deg,
      rgba(255,126,182,0.96) 0%,
      rgba(157,107,255,0.96) 38%,
      rgba(125,249,255,0.96) 72%,
      rgba(255,216,74,0.96) 100%);
  box-shadow: 0 6px 22px -8px rgba(0,0,0,0.5);
}
.pricebar-inner {
  max-width: min(1480px, 96vw);
  margin: 0 auto;
}

/* Topbar — compact glassy on full-bleed */
.topbar {
  max-width: none;
  padding: 10px clamp(14px, 2vw, 32px);
  background: rgba(10, 4, 24, 0.45);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Topnav — gentler chips */
.topnav a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-1);
  transition: all 160ms ease;
}
.topnav a:hover {
  border-color: rgba(255,126,182,0.55);
  background: rgba(255,126,182,0.08);
  color: #ffd6ec;
  text-decoration: none;
}

/* Spotlight DRAMATIC — bigger, taller, halo around the art */
.spotlight-card {
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  padding: 0;
  min-height: 280px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--card-bg) 45%, #1a0930), #0c0420 95%);
}
.spotlight-art {
  min-height: 280px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.spotlight-art::before,
.spotlight-art::after {
  z-index: 3;
}
.spotlight-art > img {
  width: 80%;
  height: 80%;
  max-width: 320px;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
  position: relative;
  z-index: 2;
  animation: ndo-spot-bob 4.4s ease-in-out infinite alternate;
}
@keyframes ndo-spot-bob {
  0%   { transform: translateY(0)    rotate(-1deg); }
  100% { transform: translateY(-6px) rotate(1deg); }
}
.spotlight-card::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 50%;
  width: 60%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-bg) 70%, transparent), transparent 65%);
  filter: blur(60px);
  z-index: 1;
  animation: ndo-spot-halo 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ndo-spot-halo {
  0%   { transform: translateY(-50%) scale(1.0); opacity: 0.85; }
  100% { transform: translateY(-50%) scale(1.15); opacity: 1.0;  }
}
.spotlight-body { padding: 32px 36px; gap: 12px; }
.spotlight-name { font-size: clamp(28px, 2.6vw, 38px); }
.spotlight-desc { font-size: clamp(14px, 1.05vw, 17px); }
.spotlight-eyebrow {
  background: linear-gradient(96deg, #ffd84a, #ff7eb6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
}
.spotlight-ribbon {
  top: 18px;
  right: 18px;
  font-size: 11px;
  padding: 5px 12px;
}

/* Product card — premium with gradient inner border */
.product-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.product-box {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.product-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 35%);
  pointer-events: none;
}
.product-window {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(255,255,255,0.18), transparent 60%),
    color-mix(in srgb, var(--card-bg, #ff7eb6) 28%, #0c0420);
  border-radius: 10px;
}
.product-window > img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.35));
}

/* Footer — push bottom + neat */
.ndo-footer {
  margin-top: 40px;
  padding: 28px clamp(18px, 3vw, 64px);
  background: linear-gradient(180deg, transparent, rgba(2,1,12,0.45));
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Reduced-motion: disable all the new animations */
@media (prefers-reduced-motion: reduce) {
  body::before, .spotlight-art > img,
  #shop-h::after, .spotlight-card::before { animation: none !important; }
}

/* v6: real package photos only */
.product-box .product-window.has-product-photo {
  height: 100%;
  min-height: 190px;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06) 38%, rgba(6,2,22,0.18)),
    radial-gradient(90% 70% at 50% 18%, color-mix(in srgb, var(--card-bg, #ff7eb6) 38%, white), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.36),
    inset 0 -24px 42px rgba(5,2,18,0.18),
    0 18px 28px -18px rgba(0,0,0,0.56);
}
.product-window.has-product-photo::before {
  inset: 9px;
  width: auto;
  height: auto;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  background:
    linear-gradient(115deg, transparent 8%, rgba(255,255,255,0.34) 18%, transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 46%);
  z-index: 3;
}
.product-window.has-product-photo::after {
  left: 18%;
  right: 18%;
  bottom: 12px;
  width: auto;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.24);
  filter: blur(10px);
  z-index: 1;
}
.product-window.has-product-photo .product-photo {
  width: min(94%, 250px);
  height: min(94%, 250px);
  object-fit: contain;
  filter:
    drop-shadow(0 18px 26px rgba(0,0,0,0.42))
    drop-shadow(0 0 18px color-mix(in srgb, var(--card-bg, #ff7eb6) 30%, transparent));
}
.product-card:hover .product-window.has-product-photo .product-photo {
  transform: translateY(-6px) scale(1.07) rotate(-1.5deg);
  filter:
    drop-shadow(0 24px 34px rgba(0,0,0,0.46))
    drop-shadow(0 0 24px color-mix(in srgb, var(--card-bg, #ff7eb6) 42%, transparent));
}
.spotlight-art.has-product-photo,
.quickview-art.has-product-photo {
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04) 38%, rgba(4,2,20,0.20)),
    radial-gradient(90% 72% at 44% 32%, color-mix(in srgb, var(--card-bg, #ff7eb6) 46%, white), transparent 65%),
    linear-gradient(180deg, rgba(12,4,32,0.18), rgba(12,4,32,0.44));
}
.spotlight-art.has-product-photo::before,
.spotlight-art.has-product-photo::after {
  z-index: 4;
}
.spotlight-art.has-product-photo .product-photo {
  width: min(84%, 430px);
  height: min(84%, 430px);
  max-width: none;
  max-height: none;
  filter:
    drop-shadow(0 30px 42px rgba(0,0,0,0.50))
    drop-shadow(0 0 34px color-mix(in srgb, var(--card-bg, #ff7eb6) 38%, transparent));
  animation: ndo-spot-bob 4.4s ease-in-out infinite alternate;
}
.quickview-art.has-product-photo .product-photo {
  width: min(88%, 520px);
  height: min(88%, 520px);
  max-width: none;
  max-height: none;
  filter:
    drop-shadow(0 34px 52px rgba(0,0,0,0.52))
    drop-shadow(0 0 30px color-mix(in srgb, var(--card-bg, #ff7eb6) 34%, transparent));
}
.missing-product-photo {
  font-family: var(--font-mono, ui-monospace, monospace);
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cart-thumb {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background:
    radial-gradient(80% 70% at 45% 24%, rgba(255,255,255,0.30), transparent 64%),
    color-mix(in srgb, var(--card-bg, #ff7eb6) 42%, #10062a);
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
}
.cart-thumb img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,0.36));
}
@media (max-width: 720px) {
  .product-box .product-window.has-product-photo { min-height: 170px; }
  .spotlight-art.has-product-photo .product-photo,
  .quickview-art.has-product-photo .product-photo {
    width: min(88%, 340px);
    height: min(88%, 340px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-photo,
  .spotlight-art.has-product-photo .product-photo,
  .quickview-art.has-product-photo .product-photo {
    animation: none !important;
    transition: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────────
   v6: rich placeholder card for missing product photos.
   ───────────────────────────────────────────────────────────────── */

.product-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 30% 25%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--card-bg, #ff7eb6) 45%, #1a0930),
      color-mix(in srgb, var(--card-bg, #ff7eb6) 12%, #0a0420) 90%);
  border: 1px solid rgba(255,255,255,0.06);
  isolation: isolate;
}
/* Soft pulsing halo behind the silhouette */
.product-placeholder-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 50% 55%,
      color-mix(in srgb, var(--card-bg, #ff7eb6) 70%, transparent),
      transparent 70%);
  filter: blur(28px);
  opacity: 0.55;
  z-index: 0;
  animation: ndo-placeholder-pulse 4.4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ndo-placeholder-pulse {
  0%   { transform: scale(1.0);  opacity: 0.45; }
  100% { transform: scale(1.12); opacity: 0.65; }
}
/* Diagonal sheen sweep for movement */
.product-placeholder-sheen {
  position: absolute;
  inset: -20%;
  z-index: 1;
  background: linear-gradient(120deg,
    transparent 35%,
    rgba(255,255,255,0.14) 50%,
    transparent 65%);
  animation: ndo-placeholder-sheen 5.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ndo-placeholder-sheen {
  0%   { transform: translateX(-40%) rotate(0deg); }
  100% { transform: translateX(60%) rotate(0deg); }
}
/* Stage holds the SVG silhouette at slight scale + low opacity */
.product-placeholder-stage {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  display: grid;
  place-items: center;
}
.product-placeholder-stage > svg {
  width: 100%;
  height: 100%;
  opacity: 0.86;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,0.45));
}
/* Top-right preview pill */
.product-placeholder-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #1a0930;
  background: linear-gradient(96deg, #ffd84a, #ffae42);
  box-shadow: 0 4px 14px -4px rgba(255,216,74,0.55);
}
/* Bottom strip with the product name */
.product-placeholder-strip {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10px;
  z-index: 3;
  text-align: center;
  font-family: var(--font-sans, system-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  padding: 4px 10px;
  background: rgba(2,2,12,0.42);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .product-placeholder-glow,
  .product-placeholder-sheen { animation: none !important; }
}

/* ─────────────────────────────────────────────────────────────────
   v7: rich placeholder for missing product photos. Replaces the bare
   `placeholder_glyph` textContent fallback in appendProductPhoto with
   a layered "preview pending" card. .product-window.missing-product-photo
   wins specificity over .has-product-photo (which is also present on
   the container in the missing case).
   ───────────────────────────────────────────────────────────────── */

.product-window.missing-product-photo {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 30% 25%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--card-bg, #ff7eb6) 48%, #1a0930),
      color-mix(in srgb, var(--card-bg, #ff7eb6) 14%, #0a0420) 92%);
  border: 1px solid rgba(255,255,255,0.10);
  /* Wipe out the heavy v6 glassy effects from .has-product-photo */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 14px 24px -16px rgba(0,0,0,0.50);
  font-size: 0; /* eliminate residual text-only fallback artifacts */
}
/* Disable the v6 photo-frame ::before / ::after glass strips for this state */
.product-window.missing-product-photo::before,
.product-window.missing-product-photo::after { content: none; }

.product-window.missing-product-photo .ph-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 50% at 50% 55%,
    color-mix(in srgb, var(--card-bg, #ff7eb6) 78%, transparent),
    transparent 70%);
  filter: blur(28px);
  opacity: 0.6;
  z-index: 0;
  animation: ndo-ph-pulse 4.4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ndo-ph-pulse {
  0%   { transform: scale(1.0);  opacity: 0.45; }
  100% { transform: scale(1.14); opacity: 0.70; }
}

.product-window.missing-product-photo .ph-sheen {
  position: absolute;
  inset: -20%;
  z-index: 1;
  background: linear-gradient(120deg,
    transparent 35%,
    rgba(255,255,255,0.16) 50%,
    transparent 65%);
  animation: ndo-ph-sheen 5.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ndo-ph-sheen {
  0%   { transform: translateX(-40%); }
  100% { transform: translateX(60%);  }
}

.product-window.missing-product-photo .ph-glyph {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78%;
  height: 78%;
  font-size: clamp(72px, 8vw, 112px);
  line-height: 1;
  color: color-mix(in srgb, var(--card-bg, #ff7eb6) 75%, white);
  text-shadow:
    0 14px 22px rgba(0,0,0,0.45),
    0 0 24px color-mix(in srgb, var(--card-bg, #ff7eb6) 60%, transparent);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--card-bg, #ff7eb6) 40%, transparent));
  font-weight: 700;
  font-family: var(--font-sans, system-ui);
}

.product-window.missing-product-photo .ph-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #1a0930;
  background: linear-gradient(96deg, #ffd84a, #ffae42);
  box-shadow: 0 4px 14px -4px rgba(255,216,74,0.55);
}

.product-window.missing-product-photo .ph-name {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10px;
  z-index: 3;
  text-align: center;
  font-family: var(--font-sans, system-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  padding: 4px 10px;
  background: rgba(2,2,12,0.42);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .product-window.missing-product-photo .ph-glow,
  .product-window.missing-product-photo .ph-sheen { animation: none !important; }
}
