/* ============================================================
   HOME — everything under the banner as a showroom (owner,
   2026-10-02: "banner — do not touch, the rest: do your best,
   we've got to be the best you've ever seen").
   Same rules as the rest of the site: blue panels, red only as a
   soft glow melting into the blue in the middle, blended buttons,
   no section titles, no hard stripes. Front page only; loaded last.
   The banner (.nw-hero …) is deliberately not touched here.
   ============================================================ */
:root {
  --sh-blue: linear-gradient(160deg, #3d7fc8 0%, #3371b5 45%, #234f8f 100%);
  --sh-glow: radial-gradient(circle at 50% 46%, rgba(var(--hue-hi-rgb), .55) 0%, rgba(var(--hue-rgb), .2) 38%, transparent 68%);
  --sh-gold-glow: radial-gradient(circle at 50% 46%, rgba(255, 196, 64, .6) 0%, rgba(var(--hue-rgb), .24) 40%, transparent 70%);
  --sh-dots: radial-gradient(rgba(255, 255, 255, .17) 1.1px, transparent 1.6px);
}

/* Rows sit closer now there are no titles */
.home .nw-section { padding: 28px 0; }
.home .nw-band-dark { padding: 46px 0; }

/* ── Every card in the home rows stands on its own lit display stand ── */
.home .nw-grid-front .nw-pcard { border-radius: 22px; box-shadow: 0 10px 26px rgba(35, 79, 143, .14), 0 2px 0 rgba(35, 79, 143, .12); }
.home .nw-grid-front .nw-pcard-stage {
  background: var(--sh-glow) 50% 50% / 100% 100% no-repeat, var(--sh-blue);
  transition: background-size .45s ease;
}
.home .nw-grid-front .nw-pcard.is-slab .nw-pcard-stage { background: var(--sh-gold-glow) 50% 50% / 100% 100% no-repeat, var(--sh-blue); }
.home .nw-grid-front .nw-pcard-stage::before {   /* comic dots, fading down the stand */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--sh-dots); background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.home .nw-grid-front .nw-pcard-stage::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); }
.home .nw-grid-front .nw-pcard-stage img { filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .42)); }
.home .nw-grid-front .nw-pcard:hover { transform: translateY(-8px); box-shadow: 0 24px 46px rgba(35, 79, 143, .3), 0 3px 0 rgba(35, 79, 143, .18); }
.home .nw-grid-front .nw-pcard:hover .nw-pcard-stage { background-size: 165% 165%, auto; }
/* The name plate: white, like the label on a display stand */
.home .nw-grid-front .nw-pcard-bar { background: #fff; box-shadow: 0 -6px 14px rgba(11, 34, 57, .1); }
.home .nw-grid-front .nw-pcard-bar > .nw-pcard-title { color: #0b2239; }
.home .nw-grid-front .nw-pcard-bar > .nw-pcard-title:hover { color: #3371b5; }

/* ── Graded showcase: a lit glass shelf under the slabs ── */
.home .nw-band-dark .nw-row { position: relative; }
.home .nw-band-dark .nw-row::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -22px; height: 16px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .42), transparent);
}
.home .nw-band-dark .nw-grid-front .nw-pcard { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 18px 34px rgba(0, 0, 0, .28); }

/* ── Top singles: a podium — gold, silver and bronze light around the first three ── */
.home .nw-row-ranked .nw-pcard:nth-child(1) { box-shadow: 0 0 0 3px #f5c400, 0 16px 40px rgba(245, 196, 0, .35); }
.home .nw-row-ranked .nw-pcard:nth-child(2) { box-shadow: 0 0 0 3px #c3ccd8, 0 14px 32px rgba(120, 140, 170, .3); }
.home .nw-row-ranked .nw-pcard:nth-child(3) { box-shadow: 0 0 0 3px #d79a63, 0 14px 32px rgba(215, 154, 99, .3); }
.home .nw-row-ranked .nw-pcard::before { top: -14px; padding: 4px 16px; font-size: .8rem; }

/* ── Categories: halftone on the stand, a blended frame when you point ── */
.home .nw-cat-card { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff) border-box; }
.home .nw-cat-card:hover { background: linear-gradient(#fff, #fff) padding-box, var(--mix-line) border-box; }
.home .nw-cat-card .nw-cat-fan::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--sh-dots); background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 65%); mask-image: linear-gradient(135deg, #000, transparent 65%);
}
.home .nw-cat-card .nw-fan-card { z-index: 1; }
.home .nw-cat-info b { font-size: 1.15rem; }

/* ── Popular sets: each set on a little stand; the card jumps out when you point ── */
.home .nw-set-grid { gap: 18px; }
.home .nw-set-card { padding: 0 0 14px; gap: 2px; overflow: visible; border: 0; border-radius: 20px; box-shadow: 0 10px 24px rgba(35, 79, 143, .13); }
.home .nw-set-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(35, 79, 143, .26); border: 0; }
.home .nw-set-card-pic {
  position: relative; height: 132px; margin: 0 0 10px; border-radius: 20px 20px 0 0; overflow: visible;
  background: var(--sh-glow), var(--sh-blue);
}
.home .nw-set-card-pic::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: var(--sh-dots); background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.home .nw-set-card-pic img {
  position: relative; height: 108px; transform: rotate(-7deg); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4));
  transition: transform .35s cubic-bezier(.2, .9, .25, 1.3);
}
.home .nw-set-card:hover .nw-set-card-pic img { transform: translateY(-30px) rotate(0deg) scale(1.16); }
.home .nw-set-card-name, .home .nw-set-card-count { padding: 0 14px; }
.home .nw-set-card-name { font-size: .95rem; }

/* ── Nerd Coins: a real 3D coin that turns and floats ── */
.home .nw-coins-art { perspective: 700px; }
.home .nw-coin3d {
  position: relative; display: block; width: 150px; height: 150px; transform-style: preserve-3d;
  animation: nwCoinTurn 5.5s ease-in-out infinite;
}
.home .nw-coin3d-back, .home .nw-coin3d-face { position: absolute; inset: 0; border-radius: 50%; }
.home .nw-coin3d-back { background: #9c6800; transform: translateZ(-10px); box-shadow: 0 26px 40px rgba(0, 0, 0, .35); }
.home .nw-coin3d-face {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 34% 28%, #fff7c9 0%, #ffd84d 26%, #f5b800 58%, #c98a00 100%);
  box-shadow: inset 0 0 0 9px #f7c21a, inset 0 0 0 12px #c48500, inset 0 -12px 22px rgba(140, 85, 0, .45);
}
.home .nw-coin3d-face svg { width: 56%; height: 56%; fill: #d99a00; filter: drop-shadow(0 2px 0 #fff3b0) drop-shadow(0 -1px 0 #9c6800); }
.home .nw-coin3d-face::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%);
  transform: translateX(-80%); animation: nwCoinShine 5.5s ease-in-out infinite;
}
@keyframes nwCoinTurn {
  0%, 100% { transform: rotateY(-32deg) rotateX(6deg) translateY(0); }
  50%      { transform: rotateY(32deg) rotateX(-4deg) translateY(-12px); }
}
@keyframes nwCoinShine { 0%, 40% { transform: translateX(-80%); } 70%, 100% { transform: translateX(80%); } }
.home .nw-coin-steps li { transition: transform .2s ease, box-shadow .2s ease; }
.home .nw-coin-steps li:hover { transform: translateX(-4px); box-shadow: 0 10px 22px rgba(11, 34, 57, .24); }

/* ── Visit us: the shop on a blue sign board, opening times beside it ── */
.home .nw-visit-band { gap: 18px; background: none; box-shadow: none; overflow: visible; border-radius: 0; }
.home .nw-visit-copy {
  position: relative; overflow: hidden; border-radius: 26px; color: #fff; padding: 40px 44px 44px;
  background: radial-gradient(300px circle at 84% 72%, rgba(var(--hue-hi-rgb), .75) 0%, rgba(var(--hue-rgb), .28) 45%, transparent 100%), var(--sh-blue);
  box-shadow: 0 16px 36px rgba(35, 79, 143, .26), 0 4px 0 #234f8f;
}
.home .nw-visit-copy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--sh-dots); background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(118deg, #000, transparent 55%); mask-image: linear-gradient(118deg, #000, transparent 55%);
}
.home .nw-visit-copy > * { position: relative; z-index: 1; }
.home .nw-visit-copy h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.5px; }
.home .nw-visit-copy p, .home .nw-visit-copy .nw-visit-line { color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.home .nw-visit-copy a:not(.nw-btn) { color: #fff; }
.home .nw-visit-chips { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; max-width: 360px; }
.home .nw-visit-chips li {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; font-weight: 800;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff;
}
.home .nw-visit-chips li span { font-size: 1.25rem; }
.home .nw-visit-art {
  position: absolute; right: 28px; bottom: 26px; z-index: 0; width: 170px; color: rgba(255, 255, 255, .9);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); animation: nwSignFloat 6s ease-in-out infinite;
}
.home .nw-visit-art svg { width: 100%; height: auto; display: block; }
@keyframes nwSignFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
.home .nw-hours-card {
  border-radius: 26px; background: #fff;
  border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--mix-line) border-box;
  box-shadow: 0 4px 0 rgba(11, 34, 57, .18), 0 16px 34px rgba(35, 79, 143, .14);
}
.home .nw-hours-list li { background: #f3f7fc; }
.home .nw-hours-list li.is-today { background: var(--mix-go); color: #fff; box-shadow: 0 4px 0 var(--mix-edge); }
.home .nw-hours-list li.is-today b { color: #fff; }
.home .nw-hours-list li em { background: #fff; color: #3371b5; }

/* ── Phones and small screens ── */
@media (max-width: 900px) {
  .home .nw-visit-band { grid-template-columns: 1fr; }
  .home .nw-visit-art { width: 110px; right: 18px; bottom: 18px; opacity: .55; }
  .home .nw-set-card-pic { height: 112px; }
  .home .nw-set-card-pic img { height: 92px; }
}
@media (max-width: 600px) {
  .home .nw-section { padding: 18px 0; }
  .home .nw-visit-copy { padding: 28px 22px 32px; }
  .home .nw-coin3d { width: 110px; height: 110px; }
}

/* ── Reduce motion: still, not spinning ── */
@media (prefers-reduced-motion: reduce) {
  .home .nw-coin3d, .home .nw-coin3d-face::after, .home .nw-visit-art { animation: none; }
  .home .nw-set-card-pic img, .home .nw-grid-front .nw-pcard-stage { transition: none; }
}

/* Shadows kept inside the scrolling rows (a big glow gets cut off by the row's edge) */
.home .nw-grid-front .nw-pcard { box-shadow: 0 8px 18px rgba(35, 79, 143, .14), 0 2px 0 rgba(35, 79, 143, .12); }
.home .nw-grid-front .nw-pcard:hover { box-shadow: 0 12px 18px rgba(35, 79, 143, .3), 0 3px 0 rgba(35, 79, 143, .18); }
.home .nw-band-dark .nw-grid-front .nw-pcard { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 12px 18px rgba(0, 0, 0, .25); }
.home .nw-row-ranked .nw-pcard:nth-child(1) { box-shadow: 0 0 0 3px #f5c400, 0 10px 16px rgba(245, 196, 0, .3); }
.home .nw-row-ranked .nw-pcard:nth-child(2) { box-shadow: 0 0 0 3px #c3ccd8, 0 10px 16px rgba(120, 140, 170, .25); }
.home .nw-row-ranked .nw-pcard:nth-child(3) { box-shadow: 0 0 0 3px #d79a63, 0 10px 16px rgba(215, 154, 99, .25); }

