@import '_base.css';
@import '_effects.css';

/* ============================================================
   Torzon Portal — Board Game Playground
   cssPrefix: npq25 — playful, light-cool
   All colors via CSS variables. No hardcoded hsl outside :root.
   ============================================================ */

:root {
  --board-ink: hsl(222 47% 11%);
  --board-paper: hsl(210 20% 99%);
  --board-rail: hsl(215 20% 85%);
  --board-dot: hsl(221 83% 53% / 0.35);
  --board-shadow-low: hsl(222 47% 11% / 0.08);
  --board-shadow-mid: hsl(222 47% 11% / 0.14);
  --board-shadow-high: hsl(222 47% 11% / 0.22);
  --board-glow: hsl(221 83% 53% / 0.25);
  --board-accent-2: hsl(28 92% 62%);
  --board-accent-2-soft: hsl(28 92% 62% / 0.18);
  --board-success: hsl(145 62% 43%);
  --board-success-soft: hsl(145 62% 43% / 0.14);
  --board-warn: hsl(40 92% 52%);
  --board-overlay-dark: hsl(222 47% 11% / 0.62);
  --board-card-face: hsl(0 0% 100%);
  --board-card-face-2: var(--hsl-210-7);
  --board-card-back: hsl(221 35% 18%);
  --board-banner-start: hsl(221 83% 53%);
  --board-banner-end: hsl(251 79% 60%);
  --board-chest-wood: hsl(28 45% 30%);
  --board-chest-wood-dark: hsl(28 45% 22%);
  --board-chest-gold: hsl(45 88% 62%);
  --board-chest-gold-dark: hsl(40 88% 48%);
  --board-chest-gold-soft: hsl(45 88% 62% / 0.28);
  --board-chest-highlight: hsl(45 100% 82%);
  --board-header-glass: hsl(0 0% 100% / 0.82);
  --board-overlay-glass: hsl(0 0% 100% / 0.97);
  --board-ribbon-star: hsl(45 100% 88%);
  --board-card-back-deep: var(--hsl-221-0);
  --board-card-back-text: var(--hsl-210-1);
  --board-gallery-border: var(--hsl-210-2);
  --board-chest-inset: var(--hsl-28-3);
  --board-chest-shadow-a: var(--hsl-40-4-a50);
  --board-chest-shadow-b: var(--hsl-40-5-a40);
  --board-chest-shadow-c: var(--hsl-40-6);
  --board-chest-row-bg: var(--hsl-210-7);
  --board-chest-row-shadow: var(--hsl-28-8-a30);
  --board-chest-note-fg: var(--hsl-45-9);
  --board-cta-deep: var(--hsl-221-10);
  --board-text-shadow-deep: var(--hsl-222-11-a50);
  --board-cta-p-fg: var(--hsl-210-12);
  --board-cta-code-bg: var(--hsl-222-13-a60);
  --board-cta-badge-bg: var(--hsl-210-14-a12);
  --board-footer-end: var(--hsl-222-15);
  --board-footer-fg: var(--hsl-210-16);
  --board-footer-muted: var(--hsl-210-17);
  --board-footer-line: var(--hsl-210-2);
  --board-footer-link: var(--hsl-210-18);
  --board-footer-base-line: var(--hsl-210-19);
  --board-footer-base-bg: var(--hsl-222-20);
  --board-footer-base-small: var(--hsl-210-21);

  --hsl-221-0: hsl(221 35% 14%);
  --hsl-210-1: hsl(210 20% 88%);
  --hsl-210-2: hsl(210 20% 82%);
  --hsl-28-3: hsl(28 50% 22%);
  --hsl-40-4-a50: hsl(40 88% 48% / 0.50);
  --hsl-40-5-a40: hsl(40 80% 45% / 0.40);
  --hsl-40-6: hsl(40 75% 40%);
  --hsl-210-7: hsl(210 20% 96%);
  --hsl-28-8-a30: hsl(28 45% 20% / 0.30);
  --hsl-45-9: hsl(45 80% 62%);
  --hsl-221-10: hsl(221 40% 18%);
  --hsl-222-11-a50: hsl(222 47% 11% / 0.50);
  --hsl-210-12: hsl(210 20% 84%);
  --hsl-222-13-a60: hsl(222 47% 11% / 0.60);
  --hsl-210-14-a12: hsl(210 20% 99% / 0.12);
  --hsl-222-15: hsl(222 47% 8%);
  --hsl-210-16: hsl(210 20% 75%);
  --hsl-210-17: hsl(210 15% 55%);
  --hsl-210-18: hsl(210 20% 82%);
  --hsl-210-19: hsl(210 20% 25%);
  --hsl-222-20: hsl(222 47% 7%);
  --hsl-210-21: hsl(210 15% 50%);
}

/* ============================================================
   Layout primitives
   ============================================================ */

.npq25-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.npq25-body {
  background:
    radial-gradient(circle at 10% 0%, var(--accent-subtle), transparent 45%),
    radial-gradient(circle at 90% 20%, var(--board-accent-2-soft), transparent 40%),
    var(--board-paper);
  color: var(--board-ink);
  overflow-x: hidden;
}

/* dotted board-path background strip */
.npq25-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--board-dot) 1.2px, transparent 1.6px);
  background-size: 34px 34px;
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}

.npq25-section-head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.npq25-section-num {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1.5px dashed var(--accent);
  margin-bottom: 1.5rem;
}
.npq25-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--font-size-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--board-ink);
  margin-bottom: 1rem;
}
.npq25-section-sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0 auto;
}

/* ============================================================
   Header / Nav
   ============================================================ */

.npq25-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--board-header-glass);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid var(--board-rail);
  box-shadow: 0 1px 0 var(--board-shadow-low);
}
.npq25-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}
.npq25-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--board-ink);
}
.npq25-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--board-banner-start), var(--board-banner-end));
  color: var(--board-paper);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 18px var(--board-glow), inset 0 -3px 0 var(--board-shadow-high);
  transform: rotate(-6deg);
}
.npq25-brand-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--fg-3);
}
.npq25-header-meta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-2);
}
.npq25-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--board-success);
  box-shadow: 0 0 0 4px var(--board-success-soft);
  animation: npq25-pulse 2.4s ease-in-out infinite;
}
@keyframes npq25-pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--board-success-soft); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.npq25-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--board-rail);
  border-radius: 12px;
  background: var(--board-card-face);
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 11px 10px;
  cursor: pointer;
  transition: var(--transition);
}
.npq25-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--board-ink);
  transition: transform 0.3s var(--ease-out-3), opacity 0.2s;
}
.npq25-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.npq25-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.npq25-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.npq25-nav-overlay {
  position: fixed;
  inset: 68px 0 auto 0;
  background: var(--board-overlay-glass);
  backdrop-filter: blur(20px);
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease-out-4);
  border-bottom: 1px solid var(--board-rail);
  box-shadow: 0 14px 36px var(--board-shadow-low);
  z-index: 55;
}
.npq25-nav-overlay.is-open { transform: translateY(0); }
.npq25-nav-overlay ul {
  list-style: none;
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem);
  display: grid;
  gap: 0.25rem;
}
.npq25-nav-overlay a {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--board-ink);
  transition: var(--transition);
}
.npq25-nav-overlay a:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  transform: translateX(6px);
}

@media (min-width: 860px) {
  .npq25-header-inner {
    justify-content: flex-start;
  }
  .npq25-header-meta { display: inline-flex; margin-left: auto; }
  .npq25-burger { display: none; }
  .npq25-nav-overlay {
    position: static;
    transform: none;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 68px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    inset: auto;
    z-index: auto;
  }
  .npq25-nav-overlay ul {
    display: flex;
    gap: 0.25rem;
    padding: 0;
  }
  .npq25-nav-overlay a {
    font-size: 0.94rem;
    padding: 0.5rem 0.85rem;
    font-weight: 600;
    transform: none;
  }
  .npq25-nav-overlay a:hover {
    transform: none;
  }
}

/* ============================================================
   Hero — board game box cover
   ============================================================ */

.npq25-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.npq25-hero-ribbon {
  position: absolute;
  top: clamp(2rem, 6vw, 3.5rem);
  left: -4rem;
  z-index: 2;
  background: linear-gradient(135deg, var(--board-banner-start), var(--board-banner-end));
  color: var(--board-paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.55rem 5.5rem;
  transform: rotate(-22deg);
  box-shadow: 0 10px 30px var(--board-glow), inset 0 -3px 0 var(--board-shadow-high);
  text-shadow: 0 1px 2px var(--board-shadow-high);
}
.npq25-hero-ribbon span::before,
.npq25-hero-ribbon span::after {
  content: '★';
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--board-ribbon-star);
}

.npq25-hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .npq25-hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.npq25-hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.npq25-tag {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  background: var(--board-ink);
  color: var(--board-paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.npq25-tag-sub {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.npq25-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--board-ink);
  margin-bottom: 1.25rem;
}
.npq25-h1-line { display: block; }
.npq25-h1-accent {
  background: linear-gradient(100deg, var(--board-banner-start), var(--board-banner-end) 60%, var(--board-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.3rem;
  position: relative;
}
.npq25-h1-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 10px;
  background: var(--board-accent-2-soft);
  z-index: -1;
  border-radius: 99px;
  transform: skewY(-2deg);
}

.npq25-lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 58ch;
  margin-bottom: 2rem;
}

.npq25-hero-cta {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.npq25-hero-link {
  position: relative;
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 22px;
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.6rem;
  box-shadow: 6px 6px 0 var(--board-ink), 0 14px 28px var(--board-shadow-mid);
  transition: var(--transition);
}
.npq25-hero-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--board-ink), 0 22px 36px var(--board-shadow-mid);
}
.npq25-hero-link-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.npq25-hero-link-code {
  font-family: 'Courier New', monospace;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  word-break: break-all;
  color: var(--board-ink);
  background: var(--board-card-face-2);
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed var(--board-rail);
}
.npq25-btn-copy {
  cursor: pointer;
  border: none;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--board-banner-start), var(--board-banner-end));
  color: var(--board-paper);
  box-shadow: 0 10px 24px var(--board-glow), inset 0 -3px 0 var(--board-shadow-high);
  transition: transform 0.2s var(--ease-elastic), box-shadow 0.25s;
  letter-spacing: 0.02em;
}
.npq25-btn-copy:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px var(--board-glow), inset 0 -3px 0 var(--board-shadow-high);
}
.npq25-btn-copy:active {
  transform: translateY(0) scale(0.98);
}
.npq25-btn-copy:focus-visible {
  outline: 3px solid var(--board-accent-2);
  outline-offset: 3px;
}
.npq25-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: start;
  padding: 0.65rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--board-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  transition: color 0.25s, text-decoration-color 0.25s;
}
.npq25-btn-ghost:hover {
  color: var(--accent);
  text-decoration-color: var(--board-ink);
}

.npq25-trust-bar {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0;
}
@media (min-width: 640px) {
  .npq25-trust-bar { grid-template-columns: repeat(4, 1fr); }
}
.npq25-trust-bar li {
  background: var(--board-card-face);
  border: 1px solid var(--board-rail);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.2rem;
  box-shadow: 0 4px 14px var(--board-shadow-low);
}
.npq25-trust-bar strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--board-ink);
  letter-spacing: -0.02em;
}
.npq25-trust-bar span {
  font-size: 0.78rem;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero visual — game box cover */
.npq25-hero-visual {
  position: relative;
  transform: rotate(2deg);
  transition: transform 0.5s var(--ease-elastic);
}
.npq25-hero-visual:hover { transform: rotate(0) scale(1.01); }
.npq25-hero-card {
  position: relative;
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 14px 14px 0 var(--board-ink), 0 30px 70px var(--board-shadow-high);
  z-index: 2;
  overflow: hidden;
}
.npq25-hero-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.npq25-hero-card-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--board-accent-2), var(--board-chest-gold-dark));
  color: var(--board-paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px var(--board-shadow-high);
  border: 3px solid var(--board-card-face);
}
.npq25-hero-card-caption {
  padding: 0.9rem 0.4rem 0.2rem;
  display: grid;
  gap: 0.2rem;
}
.npq25-hero-card-caption span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 700;
}
.npq25-hero-card-caption strong {
  font-size: 0.95rem;
  color: var(--board-ink);
  font-weight: 600;
}
.npq25-hero-card-shadow {
  position: absolute;
  inset: 18px -10px -10px 18px;
  background: var(--board-ink);
  border-radius: 28px;
  z-index: 1;
  opacity: 0.08;
}

.npq25-hero-dice {
  position: absolute;
  right: -28px;
  bottom: -32px;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  pointer-events: none;
}
.npq25-die {
  width: 76px;
  height: 76px;
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  padding: 14px;
  box-shadow: 0 14px 28px var(--board-shadow-mid);
  transform: rotate(-10deg);
  animation: npq25-die-roll 8s ease-in-out infinite;
}
.npq25-die-sm {
  width: 54px;
  height: 54px;
  padding: 10px;
  transform: rotate(14deg);
  animation-delay: -2s;
  animation-duration: 10s;
  background: var(--board-ink);
}
.npq25-die-sm i { background: var(--board-paper); }
.npq25-die i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--board-ink);
}
.npq25-die-sm i { width: 8px; height: 8px; }
/* dot positions for 6 */
.npq25-die i:nth-child(1) { grid-area: 1 / 1; }
.npq25-die i:nth-child(2) { grid-area: 1 / 3; }
.npq25-die i:nth-child(3) { grid-area: 2 / 1; }
.npq25-die i:nth-child(4) { grid-area: 2 / 3; }
.npq25-die i:nth-child(5) { grid-area: 3 / 1; }
.npq25-die i:nth-child(6) { grid-area: 3 / 3; }
/* 4 dots */
.npq25-die-sm i:nth-child(1) { grid-area: 1 / 1; }
.npq25-die-sm i:nth-child(2) { grid-area: 1 / 3; }
.npq25-die-sm i:nth-child(3) { grid-area: 3 / 1; }
.npq25-die-sm i:nth-child(4) { grid-area: 3 / 3; }

@keyframes npq25-die-roll {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  25% { transform: rotate(18deg) translateY(-6px); }
  50% { transform: rotate(-14deg) translateY(-2px); }
  75% { transform: rotate(8deg) translateY(-8px); }
}

.npq25-path-svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   Testimonials
   ============================================================ */

.npq25-testimonials {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
}
.npq25-testi-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .npq25-testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .npq25-testi-grid { grid-template-columns: repeat(4, 1fr); } }

.npq25-testi {
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 22px;
  padding: 1.5rem 1.4rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  box-shadow: 4px 4px 0 var(--board-ink), 0 10px 22px var(--board-shadow-low);
  transition: transform 0.4s var(--ease-elastic), box-shadow 0.3s;
  margin: 0;
  position: relative;
  transform: rotate(-0.6deg);
}
.npq25-testi:nth-child(2n) { transform: rotate(0.9deg); }
.npq25-testi:nth-child(3n) { transform: rotate(-1.2deg); }
.npq25-testi:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: 6px 6px 0 var(--board-ink), 0 18px 36px var(--board-shadow-mid);
}
.npq25-testi p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-1);
  font-style: italic;
}
.npq25-testi footer {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--board-rail);
}
.npq25-testi-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--board-ink);
}
.npq25-testi-meta {
  font-size: 0.78rem;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

.npq25-stars {
  display: inline-flex;
  gap: 3px;
}
.npq25-star {
  width: 18px;
  height: 18px;
  background: var(--board-chest-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
  position: relative;
}
.npq25-star-7::after,
.npq25-star-8::after,
.npq25-star-9::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  background: var(--board-rail);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.npq25-star-7::after { left: 70%; }
.npq25-star-8::after { left: 80%; }
.npq25-star-9::after { left: 90%; }

.npq25-mini-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--fg-3);
  font-size: 0.94rem;
}

/* about-strip under testimonials */
.npq25-about-strip {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 2rem;
  border: 2px dashed var(--board-rail);
  border-radius: 24px;
  background: var(--board-card-face-2);
}
@media (min-width: 780px) {
  .npq25-about-strip { grid-template-columns: 0.7fr 1fr; }
}
.npq25-about-fig img {
  border-radius: 18px;
  border: 2px solid var(--board-ink);
  box-shadow: 4px 4px 0 var(--board-ink);
  width: 100%;
  height: auto;
  aspect-ratio: 612/329;
  object-fit: cover;
}
.npq25-about-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 0.6rem;
}
.npq25-about-text p {
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 0.8rem;
  max-width: 64ch;
}

/* ============================================================
   Features — game tile grid with 3D flip
   ============================================================ */

.npq25-features {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
}
.npq25-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--board-card-face-2) 50%, transparent);
  z-index: -1;
  pointer-events: none;
}
.npq25-tile-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  perspective: 1400px;
}
@media (min-width: 700px) {
  .npq25-tile-grid { grid-template-columns: repeat(2, 1fr); }
  .npq25-tile-grid .npq25-tile:nth-child(7) { grid-column: 1 / -1; max-width: 580px; margin: 0 auto; }
}
@media (min-width: 1080px) {
  .npq25-tile-grid { grid-template-columns: repeat(3, 1fr); }
  .npq25-tile-grid .npq25-tile:nth-child(7) { grid-column: 2 / 3; }
}

.npq25-tile {
  position: relative;
  min-height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-out-4);
  cursor: pointer;
}
.npq25-tile.is-flipped { transform: rotateY(180deg); }
.npq25-tile-front,
.npq25-tile-back {
  position: absolute;
  inset: 0;
  padding: 1.75rem;
  border-radius: 22px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: grid;
  align-content: space-between;
  gap: 0.75rem;
}
.npq25-tile-front {
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  box-shadow: 4px 4px 0 var(--board-ink), 0 14px 32px var(--board-shadow-low);
}
.npq25-tile-back {
  background: linear-gradient(160deg, var(--board-card-back), var(--hsl-221-0));
  color: var(--board-paper);
  transform: rotateY(180deg);
  border: 2px solid var(--board-ink);
  box-shadow: 4px 4px 0 var(--board-ink), 0 14px 32px var(--board-shadow-mid);
}
.npq25-tile-back h4 {
  color: var(--board-paper);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--board-chest-gold);
  margin-bottom: 0.5rem;
}
.npq25-tile-back p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--hsl-210-1);
  max-width: 50ch;
}
.npq25-tile-back a {
  color: var(--board-chest-gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  justify-self: start;
}
.npq25-tile-back a:hover { color: var(--board-chest-highlight); }

.npq25-tile-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--accent);
  opacity: 0.92;
  letter-spacing: -0.04em;
  text-shadow: 2px 2px 0 var(--accent-subtle);
}
.npq25-tile-front h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--board-ink);
  max-width: 80%;
  margin-top: 2.5rem;
}
.npq25-tile-front p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 50ch;
}
.npq25-flip-hint {
  justify-self: end;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 700;
}

/* Feature gallery */
.npq25-feature-gallery {
  margin-top: 3.5rem;
  display: grid;
  gap: 1rem;
}
.npq25-gallery-shell {
  position: relative;
  background: var(--board-ink);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 20px 50px var(--board-shadow-high);
  overflow: hidden;
}
.npq25-gallery-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.npq25-gallery-track::-webkit-scrollbar { display: none; }
.npq25-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  gap: 0.75rem;
  margin: 0;
}
@media (min-width: 760px) { .npq25-gallery-slide { flex: 0 0 62%; } }
.npq25-gallery-slide img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  aspect-ratio: 16/10;
  border: 1px solid var(--hsl-210-2);
}
.npq25-gallery-slide figcaption {
  color: var(--board-paper);
  font-size: 0.9rem;
  padding: 0 0.4rem 0.4rem;
}
.npq25-gallery-prev,
.npq25-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--board-paper);
  color: var(--board-ink);
  font-size: 1.6rem;
  line-height: 44px;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 8px 20px var(--board-shadow-high);
  transition: transform 0.25s;
}
.npq25-gallery-prev:hover,
.npq25-gallery-next:hover { transform: translateY(-50%) scale(1.1); }
.npq25-gallery-prev { left: 22px; }
.npq25-gallery-next { right: 22px; }

.npq25-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.npq25-gallery-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--board-rail);
  cursor: pointer;
  transition: var(--transition);
}
.npq25-gallery-dots button[aria-current="true"] {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

/* ============================================================
   Stats — scoreboard
   ============================================================ */

.npq25-stats {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, transparent, var(--accent-subtle), transparent);
}
.npq25-score-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .npq25-score-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .npq25-score-grid { grid-template-columns: repeat(4, 1fr); } }

.npq25-score-cell {
  position: relative;
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 24px;
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  display: grid;
  gap: 0.5rem;
  box-shadow: 4px 4px 0 var(--board-ink), 0 14px 30px var(--board-shadow-low);
  transition: transform 0.4s var(--ease-elastic);
}
.npq25-score-cell:hover {
  transform: translateY(-8px) rotate(-1deg);
}
.npq25-score-cell strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 3px 3px 0 var(--accent-subtle);
}
.npq25-score-cell span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--board-ink);
  letter-spacing: 0.02em;
}
.npq25-score-cell small {
  font-size: 0.82rem;
  color: var(--fg-3);
  line-height: 1.5;
  margin-top: 0.3rem;
}
.npq25-score-star {
  width: 32px;
  height: 32px;
  background: var(--board-chest-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  margin: 0 auto 0.4rem;
  filter: drop-shadow(0 4px 6px var(--board-chest-gold-soft));
}
.npq25-score-cell::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px dashed var(--board-rail);
  border-radius: 28px;
  z-index: -1;
  pointer-events: none;
}

.npq25-stats-figure {
  margin: 3rem 0 0;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--board-ink);
  box-shadow: 4px 4px 0 var(--board-ink);
}
.npq25-stats-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1280/400;
  object-fit: cover;
}
.npq25-stats-figure figcaption {
  padding: 1rem;
  background: var(--board-ink);
  color: var(--board-paper);
  font-size: 0.9rem;
  text-align: center;
}

.npq25-editorial {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .npq25-editorial { grid-template-columns: 1fr 1fr; } }
.npq25-editorial-col h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}
.npq25-editorial-col p {
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 0.8rem;
  max-width: 58ch;
}
.npq25-editorial-quote {
  margin: 0 0 1rem;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: var(--board-ink);
  color: var(--board-paper);
  border-radius: 20px;
  border-left: 6px solid var(--board-chest-gold);
  font-family: var(--font-display);
  box-shadow: 0 14px 32px var(--board-shadow-high);
  transform: rotate(-1deg);
}
.npq25-editorial-quote p {
  color: var(--board-paper);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 0.6rem;
  max-width: none;
}
.npq25-editorial-quote cite {
  font-size: 0.85rem;
  color: var(--board-chest-gold);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ============================================================
   How-to — dice-numbered steps
   ============================================================ */

.npq25-howto {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.npq25-steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2rem;
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.npq25-steps::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background-image: linear-gradient(180deg, var(--accent) 50%, transparent 50%);
  background-size: 3px 16px;
  opacity: 0.4;
  z-index: 0;
}
.npq25-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.npq25-die-marker {
  width: 80px;
  height: 80px;
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: 4px 4px 0 var(--board-ink), 0 10px 22px var(--board-shadow-low);
  transition: transform 0.4s var(--ease-elastic);
}
.npq25-step:hover .npq25-die-marker {
  transform: rotate(-8deg) scale(1.04);
}
.npq25-die-marker span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--accent);
  letter-spacing: -0.05em;
}
.npq25-step-body {
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 22px;
  padding: 1.5rem 1.75rem;
  box-shadow: 4px 4px 0 var(--board-ink), 0 10px 22px var(--board-shadow-low);
}
.npq25-step-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  margin-bottom: 0.8rem;
  color: var(--board-ink);
}
.npq25-step-body p {
  margin-bottom: 0.7rem;
  color: var(--fg-2);
  line-height: 1.7;
}
.npq25-step-body p:last-child { margin-bottom: 0; }

.npq25-howto-figure {
  margin: 3rem auto 0;
  max-width: 660px;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--board-ink);
  box-shadow: 6px 6px 0 var(--board-ink);
}
.npq25-howto-figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
.npq25-howto-figure figcaption {
  padding: 1rem;
  background: var(--board-card-face-2);
  color: var(--fg-2);
  font-size: 0.9rem;
  text-align: center;
}

/* safety aside */
.npq25-safety {
  margin: 3.5rem auto 0;
  max-width: 960px;
  padding: 2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent-subtle), var(--board-card-face-2));
  border: 2px solid var(--board-ink);
  box-shadow: 4px 4px 0 var(--board-ink);
}
.npq25-safety-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}
.npq25-safety-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--board-accent-2);
  color: var(--board-paper);
  font-size: 1.2rem;
  box-shadow: 0 6px 16px var(--board-accent-2-soft);
}
.npq25-safety-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.npq25-safety-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .npq25-safety-grid { grid-template-columns: 1fr 1fr; } }
.npq25-safety-grid li {
  padding: 1rem 1.1rem;
  background: var(--board-card-face);
  border-radius: 14px;
  border: 1px solid var(--board-rail);
  color: var(--fg-2);
  font-size: 0.95rem;
  line-height: 1.55;
}
.npq25-safety-grid strong {
  display: block;
  color: var(--board-ink);
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}
.npq25-safety-footnote {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--fg-2);
}

/* ============================================================
   FAQ
   ============================================================ */

.npq25-faq {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.npq25-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.npq25-faq-item {
  background: var(--board-card-face);
  border: 2px solid var(--board-ink);
  border-radius: 18px;
  box-shadow: 3px 3px 0 var(--board-ink);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-3);
}
.npq25-faq-item:hover { transform: translateY(-2px); }
.npq25-faq-item summary {
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--board-ink);
  font-size: 1.05rem;
}
.npq25-faq-item summary::-webkit-details-marker { display: none; }
.npq25-faq-q { flex: 1; }
.npq25-faq-chev {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
  transition: transform 0.35s var(--ease-elastic), background 0.2s;
  flex-shrink: 0;
}
.npq25-faq-item[open] .npq25-faq-chev {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--board-paper);
}
.npq25-faq-a {
  padding: 0 1.4rem 1.4rem;
  color: var(--fg-2);
  line-height: 1.7;
  border-top: 1px dashed var(--board-rail);
  margin-top: 0;
  animation: npq25-faq-open 0.4s var(--ease-out-3);
}
.npq25-faq-a p { padding-top: 1rem; max-width: 66ch; }
@keyframes npq25-faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Mirrors — treasure chest
   ============================================================ */

.npq25-mirrors {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
}

.npq25-chest {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, var(--board-chest-wood) 0%, var(--board-chest-wood-dark) 100%);
  border: 3px solid var(--board-chest-wood-dark);
  border-radius: 28px;
  padding: 2.25rem 1.5rem 2rem;
  box-shadow:
    inset 0 4px 12px var(--hsl-28-3),
    0 24px 60px var(--board-shadow-high),
    0 0 0 2px var(--board-chest-gold) inset;
}
.npq25-chest::before,
.npq25-chest::after {
  content: '';
  position: absolute;
  background: linear-gradient(180deg, var(--board-chest-gold) 0%, var(--board-chest-gold-dark) 100%);
  box-shadow: 0 2px 6px var(--hsl-40-4-a50);
}
.npq25-chest::before {
  top: 20px; left: 20px;
  width: 40px; height: 40px;
  border-radius: 10px;
}
.npq25-chest::after {
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 10px;
}

.npq25-chest-clasp {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.npq25-chest-clasp span:first-child {
  width: 90px;
  height: 30px;
  background: linear-gradient(180deg, var(--board-chest-gold), var(--board-chest-gold-dark));
  border-radius: 8px 8px 2px 2px;
  box-shadow: 0 4px 10px var(--hsl-40-5-a40);
}
.npq25-chest-clasp span:last-child {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--board-chest-gold-dark);
  border-radius: 50%;
  top: 14px;
  box-shadow: inset 0 2px 4px var(--hsl-40-6);
}

.npq25-chest-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.npq25-chest-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--hsl-210-7);
  border-radius: 16px;
  border: 2px solid var(--board-chest-gold);
  box-shadow: 0 4px 12px var(--hsl-28-8-a30);
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s;
}
.npq25-chest-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--board-chest-gold-soft);
}
.npq25-chest-idx {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--board-ink);
  color: var(--board-chest-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}
.npq25-chest-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.npq25-chest-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.npq25-chest-body code {
  font-family: 'Courier New', monospace;
  font-size: clamp(0.72rem, 1.8vw, 0.86rem);
  word-break: break-all;
  color: var(--board-ink);
  line-height: 1.4;
}
.npq25-btn-copy-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  border-radius: 10px;
}
.npq25-chest-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px dashed var(--board-chest-gold);
  color: var(--hsl-45-9);
  font-size: 0.9rem;
  line-height: 1.6;
}

.npq25-mirror-flank {
  margin: 3rem auto 0;
  max-width: 1020px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 780px) {
  .npq25-mirror-flank { grid-template-columns: 0.9fr 1fr; gap: 2rem; }
}
.npq25-mirror-flank img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid var(--board-ink);
  box-shadow: 4px 4px 0 var(--board-ink);
}
.npq25-mirror-flank h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 0.8rem;
}
.npq25-mirror-flank p {
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 0.8rem;
  max-width: 58ch;
}

/* ============================================================
   CTA
   ============================================================ */

.npq25-cta {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.npq25-cta-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--board-ink), var(--hsl-221-10));
  color: var(--board-paper);
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px var(--board-shadow-high);
  border: 2px solid var(--board-ink);
}
.npq25-cta-card::before {
  content: '';
  position: absolute;
  inset: -4px;
  background:
    radial-gradient(circle at 10% 10%, var(--board-banner-end), transparent 40%),
    radial-gradient(circle at 90% 90%, var(--board-chest-gold), transparent 40%);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
  animation: npq25-cta-glow 14s ease-in-out infinite;
}
@keyframes npq25-cta-glow {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.34; }
}
.npq25-cta-card > * { position: relative; z-index: 1; }
.npq25-cta-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  background: var(--board-chest-gold);
  color: var(--board-ink);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.npq25-cta-card .npq25-h2 {
  color: var(--board-paper);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px var(--hsl-222-11-a50);
}
.npq25-cta-card p {
  color: var(--hsl-210-12);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}
.npq25-cta-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  max-width: 620px;
  margin: 0 auto 1.5rem;
}
@media (min-width: 640px) {
  .npq25-cta-row { grid-template-columns: 1fr auto; align-items: stretch; }
}
.npq25-cta-code {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--hsl-222-13-a60);
  color: var(--board-chest-highlight);
  font-family: 'Courier New', monospace;
  font-size: clamp(0.74rem, 1.8vw, 0.9rem);
  word-break: break-all;
  border: 1px dashed var(--board-chest-gold);
  text-align: left;
}
.npq25-btn-copy-primary {
  font-size: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 12px 30px var(--board-glow), inset 0 -3px 0 var(--board-shadow-high);
}
.npq25-cta-badges {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.npq25-cta-badges li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  background: var(--hsl-210-14-a12);
  color: var(--board-paper);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

/* ============================================================
   Footer
   ============================================================ */

.npq25-footer {
  background: linear-gradient(180deg, var(--board-ink), var(--hsl-222-15));
  color: var(--hsl-210-16);
  padding-top: clamp(3rem, 7vw, 5rem);
  margin-top: 3rem;
}
.npq25-footer-inner {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .npq25-footer-inner { grid-template-columns: 1.1fr 2fr; }
}
.npq25-footer-brand {
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 320px;
}
.npq25-footer-brand .npq25-brand-text { color: var(--board-paper); }
.npq25-footer-brand .npq25-brand-text em { color: var(--board-chest-gold); }
.npq25-footer-brand p {
  color: var(--hsl-210-17);
  line-height: 1.65;
  font-size: 0.94rem;
}
.npq25-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
  .npq25-footer-grid { grid-template-columns: 1fr 1fr; }
}
.npq25-footer-grid h4 {
  font-family: var(--font-display);
  color: var(--board-paper);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--hsl-210-2);
}
.npq25-footer-grid ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.npq25-footer-grid a {
  color: var(--hsl-210-18);
  font-size: 0.94rem;
  transition: color 0.2s, transform 0.25s;
  display: inline-block;
}
.npq25-footer-grid a:hover {
  color: var(--board-chest-gold);
  transform: translateX(4px);
}
.npq25-footer-base {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hsl-210-19);
  background: var(--hsl-222-20);
}
.npq25-footer-base-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.npq25-footer-base small {
  color: var(--hsl-210-21);
  font-size: 0.82rem;
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .npq25-die { animation: none; }
}

/* ============================================================
   CSS scroll-driven animations (progressive enhancement)
   ============================================================ */
@supports (animation-timeline: view()) {
  .npq25-score-cell {
    animation: npq25-scroll-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
  @keyframes npq25-scroll-in {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

