/* Secret Neko - Storefront Style Rules */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Default variables (Vault theme values) */
  --bg-primary: #0E1518;
  --bg-surface: #15201F;
  --bg-elevated: #1A2826;
  --accent-brass: #C9A24B;
  --accent-contrast: #C9A24B;
  --accent-soft: rgba(201, 162, 75, 0.14);
  --text-primary: #EDE7D8;
  --text-secondary: #8A9A93;
  --border-color: rgba(201, 162, 75, 0.16);
  --shelf-base: #0A0F11;
  --noise-op: 0.05;
  --box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);

  --font-sans: 'Hanken Grotesk', system-ui, sans-serif;
  --font-serif: 'Newsreader', serif;
  --font-mono: 'Space Mono', monospace;
}

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(201, 162, 75, 0.3);
}

/* Scrollbar styling */
.sn-scroll::-webkit-scrollbar,
.shelf-container::-webkit-scrollbar {
  height: 0;
  width: 0;
}

/* Paper Noise Texture Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: var(--noise-op);
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
  transition: opacity 0.4s ease;
}

/* ============ KEYFRAME ANIMATIONS ============ */
@keyframes vaultRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vaultGlow {

  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes boxFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes packLift {
  from {
    transform: translateY(60px) scale(0.85);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes cardUp {
  from {
    transform: translateY(80px) scale(0.9);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes shimmerPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes btnPulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(201, 162, 75, 0.2);
  }

  50% {
    box-shadow: 0 0 25px rgba(201, 162, 75, 0.5);
  }
}

/* ============ STYLING UTILITIES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-solid {
  background-color: var(--accent-brass);
  color: #10100c;
  box-shadow: 0 6px 20px var(--accent-soft);
}

.btn-solid:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 162, 75, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-brass);
  transform: translateY(-2px);
  color: var(--accent-brass);
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-pulse {
  animation: btnPulse 2s infinite ease-in-out;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s;
}

.icon-btn:hover {
  border-color: var(--accent-brass);
}

/* ============ HEADER ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg-primary) 72%, transparent);
  border-bottom: 1px solid var(--border-color);
  transition: border-bottom 0.4s, background-color 0.4s;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-badge {
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent-brass), color-mix(in srgb, var(--accent-brass) 50%, #fff));
  border-radius: 7px;
  box-shadow: 0 0 22px var(--accent-soft);
}

.brand-logo-png {
  width: 25px;
  height: 35px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 12px var(--accent-soft);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
  display: block;
}

.brand-logo-png:hover {
  transform: scale(1.1) rotate(-3deg);
  border-color: var(--accent-brass);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: 'Newsreader', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.brand-subtitle {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 3px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--accent-brass);
  color: #10100c;
  font-weight: 700;
}

/* ============ HERO SECTION ============ */
.hero-section {
  position: relative;
  padding: clamp(56px, 9vw, 96px) clamp(16px, 5vw, 40px) 70px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: vaultGlow 7s ease-in-out infinite;
}

.hero-container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.hero-details {
  animation: vaultRise 0.8s ease both;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent-contrast);
  margin-bottom: 26px;
}

.tag-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ec98a;
  box-shadow: 0 0 9px #3ec98a;
}

.hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(40px, 8.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -1.2px;
  margin: 0 0 22px;
}

.hero-italic {
  font-style: italic;
  color: var(--accent-brass);
  text-shadow: 0 0 20px rgba(201, 162, 75, 0.15);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 0 24px; /* Slightly reduced margin to account for badge spacing */
}

.research-disclosure-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 75, 0.05);
  border: 1px solid rgba(201, 162, 75, 0.12);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  line-height: 1.3;
  color: var(--accent-contrast);
  letter-spacing: 0.03em;
  margin: 0 0 28px;
  max-width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--text-secondary);
}

.hero-spotlight {
  position: relative;
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-shadow {
  position: absolute;
  bottom: 30px;
  width: 280px;
  height: 46px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(8px);
}

.spotlight-line {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 170px;
  background: linear-gradient(var(--accent-brass), transparent);
  opacity: 0.4;
}

/* ============ DRAGGABLE SHELF RAIL ============ */
.shelves-section {
  position: relative;
  padding: 40px 0 70px;
}

.section-header {
  max-width: 1180px;
  margin: 0 auto 26px;
  padding: 0 clamp(16px, 5vw, 40px);
}

.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--accent-brass);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(26px, 5vw, 38px);
  letter-spacing: -0.5px;
  margin: 0;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 580px;
  margin-top: 10px;
}

.shelf-container {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.shelf-container.grabbing {
  cursor: grabbing;
}

.shelf-rail {
  display: flex;
  gap: clamp(20px, 4vw, 36px);
  padding-top: 30px;
  padding-bottom: 0;
  padding-left: max(clamp(16px, 5vw, 40px), calc((100vw - 1180px) / 2 + clamp(16px, 5vw, 40px)));
  padding-right: max(clamp(16px, 5vw, 40px), calc((100vw - 1180px) / 2 + clamp(16px, 5vw, 40px)));
  width: max-content;
  align-items: flex-end;
  min-width: 100%;
}

.shelf-pad {
  width: calc(50vw - 620px);
  min-width: 8px;
  flex-shrink: 0;
}

.shelf-item-wrapper {
  scroll-snap-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============ BOOSTER BOX CARDS (3D STYLING) ============ */
.box-card {
  position: relative;
  width: 200px;
  height: 300px;
  border-radius: 0;
  transform-style: preserve-3d;
  transition: transform var(--tilt-easing, 0.15s) ease, box-shadow 0.25s ease;
  box-shadow: var(--box-shadow);
  transform: perspective(var(--perspective, 1000px)) rotateX(var(--rx, 3deg)) rotateY(var(--ry, -4deg)) translateY(var(--ty, 0px));
}

.box-card:hover {
  --ty: -8px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.95);
}

.box-card.ghost-card {
  opacity: 0.62;
  cursor: default;
}

.box-card-face {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  border: none;
}

.box-card-art {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center;
}

.box-card-overlay {
  display: none;
}

.box-card-top {
  position: absolute;
  top: 18px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.box-code {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.box-category {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.box-card-middle {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 54px;
  z-index: 2;
}

.box-name {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 23px;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.box-card-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 2;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.ghost-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bg-primary) 55%, transparent);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 9px 15px;
  border: 1px dashed var(--accent-brass);
  border-radius: 8px;
  color: var(--accent-brass);
}

.shelf-plinth {
  width: 200px;
  height: 14px;
  margin-top: 10px;
  background: linear-gradient(var(--shelf-base), color-mix(in srgb, var(--shelf-base) 70%, #000));
  border-radius: 2px;
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, 0.6);
}

.shelf-card-details {
  margin-top: 18px;
  text-align: left;
  width: 200px;
}

.shelf-card-title {
  font-family: 'Newsreader', serif;
  font-size: 15px;
}

.shelf-card-demand {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 7px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-secondary);
}

.show-interest-meter .shelf-card-demand {
  display: flex;
}

.demand-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-brass);
}

.demand-indicator-dot.ghost {
  background: var(--text-secondary);
  opacity: 0.25;
}

.vignette {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 11vw, 130px);
  pointer-events: none;
}

.vignette-left {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.vignette-right {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary), transparent);
}

/* ============ HOLOGRAPHIC FOIL & METAL SPECTRAL GLARE ============ */
.holographic-pack {
  position: relative;
  width: 218px;
  height: 330px;
  border-radius: 0;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(4deg) rotateY(-10deg);
  transition: transform 0.25s ease;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.holographic-pack:hover {
  transform: perspective(900px) rotateX(10deg) rotateY(-18deg) translateY(-5px);
}

.pack-face {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(165deg, #1a2b3a, #0c1622);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.pack-shimmer {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.04) 0 14px, transparent 14px 30px);
}

.pack-brand {
  position: absolute;
  top: 20px;
  left: 18px;
  right: 18px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
}

.pack-title {
  position: absolute;
  bottom: 22px;
  left: 18px;
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 30px;
  color: #fff;
  line-height: 1.05;
}

.pack-count {
  position: absolute;
  bottom: 22px;
  right: 18px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent-brass);
}



.spotlight-hint {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
  animation: pulse-opacity 2.5s infinite ease-in-out;
}

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.hero-spotlight:hover .spotlight-hint {
  color: var(--accent-brass);
  animation-play-state: paused;
  opacity: 1;
}

/* ============ CHASE WALL STYLING ============ */
.chase-section {
  position: relative;
  padding: clamp(40px, 7vw, 50px) clamp(16px, 5vw, 40px) 40px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.chase-container {
  max-width: 1180px;
  margin: 0 auto;
}

.chase-selector-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 30px 0 26px;
}

.set-tabs-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.set-tab-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  padding: 8px 16px 8px 8px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-primary);
  transition: background-color 0.25s;
}

.set-tab-btn.active {
  background: var(--accent-brass);
  color: #10100c;
}

.set-tab-thumb {
  width: 36px;
  height: 50px;
  border-radius: 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.set-tab-btn.active .set-tab-thumb {
  border-color: rgba(16, 16, 12, 0.35);
}

.set-tab-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.set-tab-code {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  opacity: 0.7;
}

.set-tab-name {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.05;
  text-align: left;
}

.chase-status-text {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-brass);
}

.chase-grid {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 75, 0.3) transparent;
}

.chase-grid::-webkit-scrollbar {
  height: 6px;
}

.chase-grid::-webkit-scrollbar-track {
  background: transparent;
}

.chase-grid::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 75, 0.25);
  border-radius: 4px;
}

.chase-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 162, 75, 0.4);
}

.chase-grid .chase-card-wrapper {
  flex-shrink: 0;
  width: 195px;
}

.chase-card {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 5/7;
  border-radius: 11px;
  transform-style: preserve-3d;
  transform: perspective(var(--perspective, 900px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform var(--tilt-easing, 0.15s) ease;
  cursor: zoom-in;
  box-shadow: var(--box-shadow);
}

.chase-card-face {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  overflow: hidden;
  border: none;
  display: flex;
  flex-direction: column;
}

.chase-card-header {
  position: absolute;
  top: 10px;
  left: 11px;
  right: 11px;
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.65);
}

.chase-card-art {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 30px;
  bottom: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 7px, transparent 7px 14px);
}

.chase-card-art-full {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.chase-card-art-overlay {
  display: none;
}

.chase-card-art-placeholder {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.chase-card-name {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 10px;
  font-family: 'Newsreader', serif;
  font-size: 13px;
  color: #fff;
  line-height: 1.1;
  text-align: left;
}

/* Metal cards spotlight section */
.metal-spotlight-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--border-color);
}

.metal-header {
  margin-bottom: 24px;
}

.metal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 22px;
}

.metal-rarity-badge {
  background: var(--accent-brass);
  color: #10100c;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 7.5px;
}

.metal-card-spotlight {
  border: none !important;
}

/* Also on the shelf Catalog Strip */
.catalog-strip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 46px 0 18px;
}

.catalog-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.catalog-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.catalog-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  transform-style: preserve-3d;
  transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.1s ease, border-color 0.3s;
}

.catalog-card:hover {
  border-color: var(--accent-brass);
}

.catalog-thumb {
  width: 65px;
  height: 85px;
  border-radius: 0;
  flex-shrink: 0;
  background-color: transparent;
  border: none;
  position: relative;
  overflow: hidden;
}

.catalog-thumb-mesh {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 6px, transparent 6px 12px);
}

.catalog-info {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.catalog-code {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--accent-brass);
  margin-bottom: 3px;
}

.catalog-title {
  font-family: 'Newsreader', serif;
  font-size: 15px;
  line-height: 1.1;
}

.catalog-type {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ============ BOTTOM CALLOUT ============ */
.callout-section {
  padding: clamp(48px, 8vw, 74px) clamp(16px, 5vw, 40px);
}

.callout-card {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.callout-glow {
  position: absolute;
  top: -60px;
  right: -30px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
}

.callout-content {
  position: relative;
  text-align: left;
}

.callout-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(24px, 4.5vw, 34px);
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.callout-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 520px;
}

/* ============ FOOTER ============ */
.footer {
  padding: 34px clamp(16px, 5vw, 40px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy,
.footer-badge {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

/* ============ GLASSMORPHIC MODAL INTERFACES ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 7, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
}

.modal-container {
  position: relative;
  width: 480px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(22px, 5vw, 34px);
  border-radius: 22px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9);
  animation: cardUp 0.4s ease both;
  text-align: left;
}

.modal-container-transparent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.pack-details-instructions-wrapper,
.reveal-details-instructions-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (min-width: 601px) {
  .pack-details-instructions-wrapper,
  .reveal-details-instructions-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 320px;
    pointer-events: none;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.modal-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-brass);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 17px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  border-color: var(--accent-brass);
  color: var(--accent-brass);
}

.modal-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 27px;
  margin: 0 0 22px;
  line-height: 1.2;
}

.modal-group {
  margin-bottom: 18px;
}

.modal-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.modal-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: 'Hanken Grotesk', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus {
  border-color: var(--accent-brass);
  box-shadow: 0 0 12px rgba(201, 162, 75, 0.2);
}

.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.qty-counter {
  display: flex;
  align-items: center;
  border-radius: 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.qty-btn {
  width: 42px;
  height: 46px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.qty-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.qty-btn:active {
  transform: scale(0.9);
}

.qty-val {
  flex: 1;
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 15px;
}

.lang-selector {
  display: flex;
  gap: 6px;
}

.lang-btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s;
}

.lang-btn.active {
  border-color: var(--accent-brass);
  background: var(--accent-brass);
  color: #10100c;
  font-weight: 700;
}

.price-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-opt-btn {
  flex: 1 1 84px;
  padding: 11px 0;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  font-size: 11.5px;
  font-family: 'Space Mono', monospace;
  transition: all 0.3s;
}

.price-opt-btn.active {
  border-color: var(--accent-brass);
  background: var(--accent-soft);
  color: var(--accent-brass);
  font-weight: 700;
}

.modal-error {
  height: 16px;
  font-size: 12px;
  color: #e07a5f;
  margin-top: 4px;
}

.btn-full {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
}

.modal-footer-note {
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  color: var(--text-secondary);
  margin-top: 14px;
}

/* Successpane styling */
.success-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent-brass);
}

.success-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 12px;
  text-align: center;
}

.success-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 0 26px;
  text-align: center;
}

/* ============ PACK OPENING STATE VISUALS ============ */
.particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.modal-close-round {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #EDE7D8;
  font-size: 20px;
  cursor: pointer;
  z-index: 995;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.modal-close-round:hover {
  background-color: rgba(255, 255, 255, 0.16);
}


.pack-step-label {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #8A9A93;
  z-index: 992;
}

.pack-container {
  position: relative;
  width: min(260px, 82vw);
  height: min(392px, 123vw);
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(6deg) rotateY(-8deg);
  transition: transform 0.15s ease;
  z-index: 3;
  animation: packLift 0.7s cubic-bezier(.2, .8, .2, 1) both;
}

.pack-tear-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(19.6% - 4px);
  width: 8px;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  z-index: 4;
}

.pack-tear-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--accent-brass), color-mix(in srgb, var(--accent-brass) 50%, #fff));
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0.9;
  transition: transform 0.05s linear;
}

.pack-body {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #1a2b3a, #0c1622);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.95);
}

.pack-decor-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.04) 0 16px, transparent 16px 34px);
}

.pack-radial-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(201, 162, 75, 0.12), transparent 60%);
}

.pack-header-code {
  position: absolute;
  top: 54px;
  left: 22px;
  right: 22px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.pack-headline {
  position: absolute;
  bottom: 74px;
  left: 22px;
  right: 22px;
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 34px;
  color: #fff;
  line-height: 1.05;
  text-align: left;
}

.pack-meta-desc {
  position: absolute;
  bottom: 30px;
  left: 22px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent-brass);
}

.pack-tear-dotted {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 19.6%;
  width: 0;
  border-left: 2px dashed rgba(255, 255, 255, 0.4);
  z-index: 5;
}

.pack-tear-tab {
  position: absolute;
  top: 26px;
  right: calc(19.6% - 27px);
  z-index: 6;
  width: 54px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-brass);
  color: #10100c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  font-weight: 700;
  user-select: none;
  -webkit-user-select: none;
}

.pack-instruction-block {
  margin-top: 28px;
  text-align: center;
  z-index: 3;
}

.pack-instruction-title {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 21px;
  margin-bottom: 6px;
  color: #EDE7D8;
}

.pack-instruction-hint {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #8A9A93;
}

.pack-disclaimer {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: rgba(138, 154, 147, 0.65);
  margin-top: 10px;
  max-width: 280px;
  line-height: 1.35;
  text-align: center;
}

/* Phase B: Reveal Grid */
.pack-reveal-title {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 24px;
  margin-bottom: 8px;
  z-index: 3;
  color: #EDE7D8;
}

.pack-reveal-desc {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #8A9A93;
  margin-bottom: 26px;
  z-index: 3;
}

.pack-cards-grid {
  position: relative;
  width: calc(min(260px, 82vw) * 0.9);
  height: calc(min(260px, 82vw) * 0.9 * 1.4);
  margin: 0 auto;
  perspective: 1500px;
  z-index: 3;
  touch-action: none;
}

.reveal-card-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
  touch-action: none;
}

.reveal-card-wrapper:active {
  cursor: grabbing;
}

.reveal-card-wrapper.active-card {
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 50px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg)) !important;
}

.reveal-card-wrapper.swiped-away {
  opacity: 0 !important;
  pointer-events: none !important;
}

.reveal-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.reveal-card-back,
.reveal-card-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.65);
}

.reveal-card-back {
  background: linear-gradient(160deg, #1a2b3a, #0c1622);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-back-badge {
  width: 26px;
  height: 26px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent-brass), rgba(255, 255, 255, 0.2));
  border-radius: 5px;
}

.reveal-card-front {
  transform: rotateY(0deg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.reveal-card-header {
  position: absolute;
  top: 10px;
  left: 11px;
  right: 11px;
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.65);
  z-index: 2;
}

.reveal-card-art {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 30px;
  bottom: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 7px, transparent 7px 14px);
}

.reveal-card-art-full {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.reveal-card-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
}

.reveal-card-art-placeholder {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.reveal-card-name {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 10px;
  font-family: 'Newsreader', serif;
  font-size: 13px;
  color: #fff;
  line-height: 1.1;
  text-align: left;
}

.chase-glow-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 24px 3px var(--accent-brass);
  animation: shimmerPulse 1.4s ease-in-out infinite;
  z-index: 2;
}

/* Phase C: End Summary */
.modal-summary-pane {
  z-index: 5;
  animation: cardUp 0.5s ease both;
}

.summary-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-brass);
  margin-bottom: 8px;
}

.summary-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 22px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}

.summary-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 11px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.summary-row:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-brass);
}

.summary-row:active {
  transform: scale(0.98);
}

.summary-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.summary-code {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-secondary);
  width: 78px;
  text-align: left;
}

.summary-name {
  font-family: 'Newsreader', serif;
  font-size: 16px;
  flex: 1;
  text-align: left;
}

.summary-rarity {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
}

.summary-actions {
  display: flex;
  gap: 12px;
}

.summary-actions .btn {
  flex: 1;
  padding: 15px;
  border-radius: 12px;
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  
  .navbar #nav-waitlist-btn {
    display: none !important; /* Hide redundant CTA on mobile */
  }
  
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 16px;
    align-items: center;
  }
  
  .nav-brand {
    width: auto;
    justify-content: flex-start;
  }
  
  .nav-actions {
    width: auto;
    margin-top: 0;
    gap: 12px;
  }
  
  .hero-section {
    padding: 36px 16px 48px;
  }
  
  .hero-details {
    text-align: center;
  }
  
  .hero-title {
    text-align: center;
    line-height: 1.1;
  }
  
  .hero-desc {
    text-align: center;
    margin: 0 auto 26px;
    font-size: 16px;
  }
  
  .hero-actions {
    justify-content: center;
    gap: 10px;
  }
  
  .hero-meta {
    justify-content: center;
    margin-top: 24px;
    text-align: center;
  }
  
  .hero-spotlight {
    height: 360px;
    margin-top: 20px;
  }
  
  .holographic-pack {
    width: 180px;
    height: 270px;
  }
  
  .spotlight-hint {
    font-size: 9.5px;
  }
  
  .section-header {
    text-align: center;
    padding: 0 16px;
  }
  
  /* Chase Wall Mobile Styles */
  .chase-selector-block {
    align-items: stretch; /* Stretch selector rail full-width on mobile */
    width: 100%;
  }
  
  .set-tabs-rail {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    flex-wrap: nowrap !important; /* Prevent wrapping so it stays on one line */
    overflow-x: auto; /* Swipeable */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px;
    scrollbar-width: none;
    width: 100%;
  }
  .set-tabs-rail::-webkit-scrollbar {
    display: none;
  }
  .set-tab-btn {
    flex-shrink: 0;
    width: auto;
    scroll-snap-align: start;
    padding: 10px 16px;
  }
  
  .chase-status-text {
    justify-content: center;
    margin-top: 6px;
  }
  
  .chase-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 24px !important;
    padding: 30px calc(50vw - 100px) 40px !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    scrollbar-width: none !important;
  }
  .chase-grid::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
  .chase-grid .chase-card-wrapper {
    scroll-snap-align: center !important;
    flex-shrink: 0 !important;
    width: 200px !important;
  }
  
  .chase-card-name {
    font-size: 11.5px;
  }
  
  .metal-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
    width: 100%;
    overflow: hidden;
  }
  
  .metal-card-spotlight .chase-card-name {
    font-size: 11.5px;
  }
  
  .callout-card {
    padding: 24px 16px;
    text-align: center;
    grid-template-columns: 1fr;
  }
  
  .callout-content {
    text-align: center;
  }
  
  .callout-title {
    font-size: 24px;
  }
  
  .callout-desc {
    font-size: 15px;
  }
  
  .footer {
    padding: 24px 16px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .modal-overlay {
    padding: 0 !important;
  }

  .modal-container {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 20px 16px;
  }
  
  .modal-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .price-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .price-opt-btn {
    flex: none;
    width: 100%;
  }

  .reveal-card-name {
    font-size: 11px;
  }
}

/* Poke Holo controls by Rarity */
[data-rarity="SEC"] {
  --rarity-holo-op: var(--holo-op-sec, 1.0);
  --rarity-radial-intensity: var(--radial-intensity-sec, 1.0);
  --rarity-linear-intensity: var(--linear-intensity-sec, 1.0);
  --rarity-holo-tint: var(--holo-tint-sec, none);
  --rarity-gradient-color1: var(--grad1-sec, rgba(0, 240, 255, 0.45));
  --rarity-gradient-color2: var(--grad2-sec, rgba(255, 0, 127, 0.45));
  --rarity-gradient-color3: var(--grad3-sec, rgba(255, 188, 0, 0.45));
}
[data-rarity="SR"] {
  --rarity-holo-op: var(--holo-op-sr, 1.0);
  --rarity-radial-intensity: var(--radial-intensity-sr, 0.8);
  --rarity-linear-intensity: var(--linear-intensity-sr, 0.8);
  --rarity-holo-tint: var(--holo-tint-sr, none);
  --rarity-gradient-color1: var(--grad1-sr, rgba(0, 240, 255, 0.45));
  --rarity-gradient-color2: var(--grad2-sr, rgba(255, 0, 127, 0.45));
  --rarity-gradient-color3: var(--grad3-sr, rgba(255, 188, 0, 0.45));
}
[data-rarity="L"] {
  --rarity-holo-op: var(--holo-op-l, 1.0);
  --rarity-radial-intensity: var(--radial-intensity-l, 1.2);
  --rarity-linear-intensity: var(--linear-intensity-l, 0.5);
  --rarity-holo-tint: var(--holo-tint-l, hue-rotate(45deg));
  --rarity-gradient-color1: var(--grad1-l, rgba(0, 240, 255, 0.45));
  --rarity-gradient-color2: var(--grad2-l, rgba(255, 0, 127, 0.45));
  --rarity-gradient-color3: var(--grad3-l, rgba(255, 188, 0, 0.45));
}
/* Default for other rarities (C, UC, R, or others) */
.chase-card, .reveal-card-front, .catalog-card, .box-card, .preview-card, [data-rarity] {
  --rarity-holo-op: var(--holo-op-others, 0.5);
  --rarity-radial-intensity: var(--radial-intensity-others, 0.5);
  --rarity-linear-intensity: var(--linear-intensity-others, 0.5);
  --rarity-holo-tint: var(--holo-tint-others, none);
  --rarity-gradient-color1: var(--grad1-others, rgba(0, 240, 255, 0.45));
  --rarity-gradient-color2: var(--grad2-others, rgba(255, 0, 127, 0.45));
  --rarity-gradient-color3: var(--grad3-others, rgba(255, 188, 0, 0.45));
}

/* Chase Wall Details Wrapper styles */
.chase-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  cursor: zoom-in;
}
.chase-card-details {
  text-align: center;
  margin-top: 4px;
  width: 100%;
}
.chase-card-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chase-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Plinth label details styles */
.shelf-card-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent-brass);
  margin-bottom: 3px;
  text-transform: uppercase;
}

/* Dynamic reveal active card details block */
.reveal-active-details {
  margin-top: 25px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 250px;
  box-shadow: var(--box-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}
.reveal-active-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-brass);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}
.reveal-active-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: var(--text-primary);
}

.pack-reveal-instructions {
  text-align: center;
  margin-top: 25px;
  z-index: 3;
}

.pack-reveal-instructions .pack-reveal-desc {
  margin-bottom: 0;
}

/* Click and hold full-screen preview overlay */
#card-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: none;
}

#card-preview-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.preview-card-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  gap: 40px;
}

.preview-card {
  position: relative;
  width: min(450px, 85vw);
  aspect-ratio: 5/7;
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: scale(0.95) perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 162, 75, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

#card-preview-overlay.active .preview-card {
  transform: scale(1) perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

#card-preview-overlay:not(.active) .preview-card {
  transform: scale(0.95);
}

.preview-card #card-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Conditionally show/hide glares on preview card depending on metal kind */
.preview-card:not([data-kind="metal"]) .metal-glare-linear {
  display: none !important;
}
.preview-card[data-kind="metal"] .holo-glare-radial,
.preview-card[data-kind="metal"] .holo-glare-linear {
  display: none !important;
}

.summary-subtitle {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  margin-top: -12px;
  margin-bottom: 22px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.8px;
}

/* Plinth Info & Text below cards/packs */
.shelf-card-tooltip-under {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-brass);
  margin-bottom: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.shelf-ghost-badge-under {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 5px;
}

/* Opening Pack Info Block Under */
.pack-info-block-under {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 15px;
}
.pack-info-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-brass);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pack-info-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: var(--text-primary);
}

/* Daylight mode inactive set selector tab styling override */
.theme-daylight .set-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.theme-daylight .set-tab-btn.active {
  background: var(--accent-brass);
  color: #10100c;
  border-color: transparent;
}

/* ============ DYNAMIC DEMAND METER & SMALL REQUEST BUTTONS ============ */
.btn-request-small {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-shelf-request {
  width: 100%;
}
.btn-catalog-request {
  align-self: flex-start;
}
.demand-indicator-dot.active.high {
  background-color: var(--accent-brass) !important;
  box-shadow: 0 0 8px var(--accent-brass);
}
.demand-indicator-dot.active.very-high {
  background-color: #ff9f43 !important;
  box-shadow: 0 0 8px #ff9f43;
}
.demand-indicator-dot.active.critical {
  background-color: #ff4d4d !important;
  box-shadow: 0 0 8px #ff4d4d;
}

/* ================================================================
   TCG CARD FOIL SYSTEM — Poke-Holo Inspired
   Based on simeydotme/pokemon-cards-css techniques.

   HOW IT WORKS:
   1. .holo-glare-radial  = foil/shine layer (like card__shine)
      - Sunpillar rainbow (6 hsl, repeating-linear-gradient)
        at 200% × 700%, scrolling with --background-y
      - Layered with fine diffraction-grating bars (133°, 300%)
      - background-blend-mode: hue, hard-light per layer
      - mix-blend-mode: color-dodge + filter: brightness(.85) contrast(2.75) saturate(.65)

   2. .holo-glare-linear  = glare/glass layer (like card__glare)
      - radial white-center, dark edges (farthest-corner)
      - mix-blend-mode: overlay (glass, not light-bulb)
      - filter: brightness(.8) contrast(1.5)
      - opacity driven by --pointer-from-center (strongest at edges)

   VARIABLES (all set by Holo.js):
   --background-x/y        cursor %, fed into background-position
   --pointer-from-center   0→1, 0=cursor at center, 1=corner
   --pointer-from-left/top raw 0→1 cursor fractions
   --op                    0 or 1, mouse presence gate
   ================================================================ */

/* Sunpillar color tokens */
.holo-glare-radial,
.holo-glare-radial::before,
.holo-glare-radial::after {
  --sp1: hsl(  2, 90%, 60%);
  --sp2: hsl( 53, 90%, 60%);
  --sp3: hsl(123, 90%, 48%);
  --sp4: hsl(176, 90%, 52%);
  --sp5: hsl(228, 90%, 68%);
  --sp6: hsl(283, 90%, 62%);
  --bars: 5%;
}

/* ── LAYER 1 — HOLOGRAPHIC FOIL / SHINE ─────────────────────────── */
.holo-glare-radial {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(var(--op, 0) * var(--rarity-holo-op, 1.0));
  mix-blend-mode: color-dodge;
  filter: var(--rarity-holo-tint, none)
          brightness(.85)
          contrast(2.75)
          saturate(.65);

  /* Sunpillar rainbow scrolling at 200% × 700% */
  background-image:
    repeating-linear-gradient(
      0deg,
      var(--sp1) calc(var(--bars)*1),
      var(--sp2) calc(var(--bars)*2),
      var(--sp3) calc(var(--bars)*3),
      var(--sp4) calc(var(--bars)*4),
      var(--sp5) calc(var(--bars)*5),
      var(--sp6) calc(var(--bars)*6),
      var(--sp1) calc(var(--bars)*7)
    ),
    /* Fine diffraction grating */
    repeating-linear-gradient(
      133deg,
      #0e152e          0%,
      hsl(180,10%,60%) 3.8%,
      hsl(180,29%,66%) 4.5%,
      hsl(180,10%,60%) 5.2%,
      #0e152e         10%,
      #0e152e         12%
    );

  background-blend-mode: hue, hard-light;
  background-size: 200% 700%, 300% 100%;
  background-position:
    0% var(--background-y, 50%),
    var(--background-x, 50%) var(--background-y, 50%);

  transition: opacity 0.3s ease, background-position 0.08s linear;
}

/* Foil style overrides — each changes sunpillar colors + filter */
[data-foil-style="etched"] .holo-glare-radial {
  --bars: 3.5%;
  filter: var(--rarity-holo-tint, none) brightness(.75) contrast(3.5) saturate(.5);
  background-size: 200% 500%, 200% 100%;
}

[data-foil-style="manga"] .holo-glare-radial {
  --sp1: hsl(210, 15%, 88%);
  --sp2: hsl(220, 20%, 72%);
  --sp3: hsl(200, 25%, 92%);
  --sp4: hsl(215, 18%, 60%);
  --sp5: hsl(205, 22%, 82%);
  --sp6: hsl(218, 12%, 70%);
  --bars: 8%;
  filter: brightness(.9) contrast(3) saturate(0);
  background-blend-mode: soft-light, hard-light;
  background-size: 200% 400%, 200% 100%;
}

[data-foil-style="manga"] .chase-card-art-full,
[data-foil-style="manga"] .reveal-card-front,
[data-foil-style="manga"] .pack-face-preview,
[data-foil-style="manga"] .pack-face,
[data-foil-style="manga"] .box-card-art,
[data-foil-style="manga"] .pack-body {
  filter: grayscale(1) contrast(1.4) brightness(1.08) !important;
}

[data-foil-style="gold"] .holo-glare-radial {
  --sp1: hsl( 45, 95%, 62%);
  --sp2: hsl( 36, 90%, 52%);
  --sp3: hsl( 52, 100%,72%);
  --sp4: hsl( 38, 85%, 45%);
  --sp5: hsl( 48, 100%,65%);
  --sp6: hsl( 30, 80%, 50%);
  --bars: 6%;
  filter: brightness(.9) contrast(2.5) saturate(1.4) sepia(.5);
  background-blend-mode: overlay, hard-light;
  background-size: 200% 600%, 300% 100%;
}

[data-foil-style="gold"] .reveal-card-front,
[data-foil-style="gold"] .chase-card-face,
[data-foil-style="gold"] .pack-face,
[data-foil-style="gold"] .pack-face-preview {
  box-shadow:
    inset 0 0 0 3px rgba(255, 215, 60, 0.90),
    inset 0 0 12px rgba(255, 200, 40, 0.40),
    0 0 20px rgba(255, 195, 30, 0.30) !important;
}

[data-foil-style="cosmic"] .holo-glare-radial {
  --sp1: hsl(240, 90%, 58%);
  --sp2: hsl(280, 95%, 62%);
  --sp3: hsl(190, 95%, 60%);
  --sp4: hsl(155, 90%, 52%);
  --sp5: hsl(270, 90%, 65%);
  --sp6: hsl(200, 100%,65%);
  --bars: 6%;
  filter: brightness(.7) contrast(3.5) saturate(1.6);
  background-size: 200% 900%, 300% 100%;
}

[data-foil-style="metal"] .holo-glare-radial {
  filter: brightness(.8) contrast(2.5) saturate(0.1);
  background-image:
    linear-gradient(
      180deg,
      transparent                    calc(var(--background-y, 50%) - 22%),
      rgba(210, 220, 230, 0.25)      calc(var(--background-y, 50%) - 16%),
      rgba(240, 248, 255, 0.95)      calc(var(--background-y, 50%) -  3%),
      rgba(255, 255, 255, 1.00)      var(--background-y, 50%),
      rgba(240, 248, 255, 0.95)      calc(var(--background-y, 50%) +  3%),
      rgba(210, 220, 230, 0.25)      calc(var(--background-y, 50%) + 16%),
      transparent                    calc(var(--background-y, 50%) + 22%)
    ),
    repeating-linear-gradient(
      88deg,
      transparent                   0px,
      rgba(255, 255, 255, 0.05)     1px,
      transparent                   2px,
      transparent                   6px
    );
  background-blend-mode: normal, screen;
  background-size: 100% 100%, 100% 100%;
  background-position: center center;
  mix-blend-mode: screen;
  filter: blur(1.5px);
}

/* ── LAYER 2 — GLASS GLARE ──────────────────────────────────────── */
.holo-glare-linear {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(
    var(--op, 0)
    * var(--rarity-linear-intensity, 1.0)
    * (0.25 + var(--pointer-from-center, 0) * 0.75)
  );
  mix-blend-mode: overlay;
  filter: brightness(.8) contrast(1.5) blur(var(--rarity-light-blur, 4px));
  background-image: radial-gradient(
    farthest-corner circle at var(--x, 50%) var(--y, 50%),
    hsla(0, 0%, 100%, 0.8)  5%,
    hsla(0, 0%, 100%, 0.35) 25%,
    hsla(0, 0%, 0%, 0.5)    90%
  );
  transition: opacity 0.2s ease;
}

[data-light-shape="dual"] .holo-glare-linear {
  background-image:
    radial-gradient(
      farthest-corner circle at calc(var(--x, 50%) - 15%) var(--y, 50%),
      hsla(0, 0%, 100%, 0.7)  5%,
      hsla(0, 0%, 100%, 0.2) 30%,
      hsla(0, 0%, 0%, 0.4)   90%
    ),
    radial-gradient(
      farthest-corner circle at calc(var(--x, 50%) + 15%) var(--y, 50%),
      hsla(0, 0%, 100%, 0.7)  5%,
      hsla(0, 0%, 100%, 0.2) 30%,
      hsla(0, 0%, 0%, 0.4)   90%
    );
}

[data-light-shape="crimped"] .holo-glare-linear {
  background-image: repeating-linear-gradient(
    calc(var(--rarity-light-skew, 0deg) + 108deg),
    transparent                            0%,
    rgba(255,255,255,0.10) calc(var(--rarity-light-width, 30%) * 0.15),
    rgba(255,255,255,0.65) calc(var(--rarity-light-width, 30%) * 0.45),
    rgba(255,255,255,0.10) calc(var(--rarity-light-width, 30%) * 0.75),
    transparent                             var(--rarity-light-width, 30%),
    transparent           calc(var(--rarity-light-width, 30%) * 1.6)
  );
  background-position: calc(var(--background-x, 50%) - 50%) calc(var(--background-y, 50%) - 50%);
  background-size: 200% 200%;
  filter: brightness(.9) contrast(1.5) blur(var(--rarity-light-blur, 3px));
}

[data-light-shape="skewed"] .holo-glare-linear {
  background-image: linear-gradient(
    calc(var(--rarity-light-skew, 25deg) + 90deg),
    transparent              0%,
    transparent             22%,
    hsla(0,0%,100%,0.08)   30%,
    hsla(0,0%,100%,0.75)   46%,
    hsla(0,0%,100%,0.95)   50%,
    hsla(0,0%,100%,0.75)   54%,
    hsla(0,0%,100%,0.08)   62%,
    transparent             70%,
    transparent            100%
  );
  background-position: calc((var(--background-x, 50%) - 50%) * 1.2) 0;
  background-size: 200% 100%;
  filter: brightness(.9) contrast(1.5) blur(var(--rarity-light-blur, 4px));
}

/* ── SPECIALTY LAYERS ─────────────────────────────────────────────── */

.etched-texture {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(var(--op, 0) * var(--rarity-holo-op, 1.0) * 0.45);
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(
       45deg,
       rgba(255,255,255,0.55) 0px,
       rgba(255,255,255,0.55) 0.6px,
       transparent             0.6px,
       transparent             3px
    ),
    repeating-linear-gradient(
      -45deg,
       rgba(255,255,255,0.20) 0px,
       rgba(255,255,255,0.20) 0.6px,
       transparent             0.6px,
       transparent             3px
    );
  background-size: 5px 5px;
  filter: blur(0.3px);
}

.manga-chrome-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(var(--op, 0) * var(--rarity-holo-op, 1.0)
          * (.35 + var(--pointer-from-center, 0) * .65));
  mix-blend-mode: hard-light;
  background-image:
    radial-gradient(
      farthest-corner circle at var(--x, 50%) var(--y, 50%),
      hsla(220, 5%, 90%, 0.6)   0%,
      hsla(220, 5%, 40%, 0.2)  55%,
      hsla(220, 5%, 10%, 0.0) 100%
    );
  filter: brightness(.8) contrast(1.5) blur(2px);
}

.gold-alt-art-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(var(--op, 0) * var(--rarity-holo-op, 1.0)
          * (0.4 + var(--pointer-from-center, 0) * 0.6));
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(
      farthest-corner circle at var(--x, 50%) var(--y, 50%),
      hsl(48,  100%, 92%)  5%,
      hsl(38,  80%,  60%) 45%,
      hsl(0, 0%, 0%)      110%
    );
  filter: brightness(.65) contrast(2.5) saturate(2) blur(2px);
}

.cosmic-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(var(--op, 0) * var(--rarity-holo-op, 1.0)
          * (0.25 + var(--pointer-from-center, 0)));
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(
      farthest-corner circle at var(--x, 50%) var(--y, 50%),
      hsl(204, 100%, 96%)  5%,
      hsl(250,  15%,  20%) 150%
    );
  filter: brightness(.75) contrast(2) saturate(2) blur(3px);
}

.metal-glare-linear {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(var(--op, 0) * var(--rarity-linear-intensity, 1.0)
          * (0.2 + var(--pointer-from-center, 0) * 0.8));
  mix-blend-mode: hard-light;
  background-image: radial-gradient(
    farthest-corner circle at var(--x, 50%) var(--y, 50%),
    hsla(210, 20%, 95%, 0.8)  0%,
    hsla(200, 10%, 70%, 0.3) 40%,
    hsla(0,    0%,  0%, 0.0) 90%
  );
  filter: brightness(1) contrast(1.5) blur(4px);
}

/* ================================================================
   NAVBAR LINKS
   ================================================================ */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-link:hover {
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .nav-links {
    display: none; /* Hide on mobile to keep navbar clean */
  }
}

/* ================================================================
   SUGGEST ANOTHER PRODUCT
   ================================================================ */
.suggest-product-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  margin-top: -20px;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.suggest-lead-text {
  font-family: 'Newsreader', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ================================================================
   HOW IT WORKS SECTION
   ================================================================ */
.how-it-works-section {
  padding: 80px 24px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}
.how-container {
  max-width: 1100px;
  margin: 0 auto;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.how-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.how-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-brass);
}
.how-number {
  font-family: 'Space Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-brass);
  opacity: 0.3;
  margin-bottom: 16px;
}
.how-card-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.how-card-desc {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.how-disclosure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  padding: 16px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}
.disclosure-icon {
  color: var(--accent-brass);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-section {
  padding: 80px 24px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}
.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px 30px;
}
.faq-question {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.faq-answer {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ================================================================
   3-STAGE WAITLIST MODAL UPDATES
   ================================================================ */
.intent-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 16px;
}
.btn-intent-option {
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
  width: 100%;
  justify-content: flex-start;
  transition: all 0.2s ease;
}
.btn-intent-option:hover {
  background-color: var(--accent-soft);
  border-color: var(--accent-brass);
  color: var(--text-primary);
}
.success-mark-small {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent-brass);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 20px;
}
.modal-subtitle-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-family: 'Hanken Grotesk', sans-serif;
}
.notify-prompt-text {
  text-align: center;
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.select-dropdown {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A24B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}
.price-input-row select {
  width: 100%;
}

/* ================================================================
   CARD PREVIEW OVERLAY CTA
   ================================================================ */
.preview-cta-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-sizing: border-box;
}
.preview-cta-text {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .preview-card-wrapper {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 40px 20px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
  }
  .preview-card {
    width: min(320px, 75vw) !important;
    flex-shrink: 0 !important;
  }
  .preview-cta-pane {
    margin-top: 0 !important;
    width: 90% !important;
    max-width: 320px !important;
    flex-shrink: 0 !important;
  }
}

/* ================================================================
   MODAL BACK BUTTON & MOBILE NAV DRAWER STYLING
   ================================================================ */
.modal-back-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  margin-right: auto;
  transition: color 0.2s ease;
  border-radius: 4px;
}
.modal-back-btn:hover {
  color: var(--accent-contrast);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2100;
  margin-left: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 65px;
  right: 0;
  width: min(280px, 80vw);
  height: calc(100vh - 65px);
  z-index: 2050;
  background: rgba(14, 21, 24, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-color);
  padding: 40px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.theme-daylight .mobile-drawer {
  background: rgba(255, 255, 255, 0.96);
}
.mobile-drawer.active {
  transform: translateX(0);
}
.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-drawer-link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-drawer-link:hover {
  color: var(--accent-contrast);
  padding-left: 4px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* Visually hidden screen-reader accessibility and SEO text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}






