:root {
  --pac-yellow: #ffcc00;
  --pac-yellow-glow: rgba(255, 204, 0, 0.4);
  --maze-blue: #2121de;
  --maze-blue-bright: #4d4dff;
  --maze-blue-glow: rgba(33, 33, 222, 0.5);
  --ghost-red: #ff0000;
  --ghost-pink: #ffb8ff;
  --ghost-cyan: #00ffde;
  --ghost-orange: #ffb852;
  --power-white: #ffffe0;
  --acid-green: #39ff14;
  --outrun-sky: #3ba3ff;
  --outrun-red: #ff2040;
  --void: #000000;
  --surface: #05050a;
  --surface-light: #0a0a14;
  --grid-color: rgba(33, 33, 222, 0.18);
}

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

body {
  background: var(--void);
  color: var(--power-white);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
}

/* CRT scanline overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* CRT vignette + slight screen curvature feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 9998;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--pac-yellow);
  outline-offset: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}
.sr-only-focusable:focus {
  position: fixed; top: 10px; left: 10px; z-index: 10000;
  width: auto; height: auto; padding: 12px 24px; margin: 0;
  clip: auto; overflow: visible;
  background: var(--pac-yellow); color: var(--void);
  font-family: 'Press Start 2P', monospace; font-size: 0.6rem;
  letter-spacing: 1px; text-decoration: none;
  box-shadow: 0 0 20px var(--pac-yellow-glow);
}

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

/* ── Navigation ── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 40px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--maze-blue);
  box-shadow: 0 2px 20px var(--maze-blue-glow);
}

.nav-logo {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 1.2rem;
  letter-spacing: 3px; color: var(--pac-yellow);
  text-shadow: 0 0 12px var(--pac-yellow-glow), 0 0 30px rgba(255, 204, 0, 0.15);
}
.nav-logo a { color: inherit; text-decoration: none; }

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.55rem;
  color: var(--maze-blue-bright); text-decoration: none; text-transform: uppercase;
  letter-spacing: 2px; transition: all 0.3s;
}
.nav-links a:hover {
  color: var(--pac-yellow);
  text-shadow: 0 0 10px var(--pac-yellow-glow);
}

.nav-cta {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.55rem;
  padding: 10px 20px; background: transparent; border: 2px solid var(--pac-yellow);
  color: var(--pac-yellow); text-transform: uppercase; letter-spacing: 2px;
  cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block;
}
.nav-cta:hover {
  background: var(--pac-yellow); color: var(--void);
  box-shadow: 0 0 25px var(--pac-yellow-glow);
}

/* ── Hero ── */

.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 120px 20px 60px; overflow: hidden;
  background: var(--void);
}

.grid-floor {
  position: absolute; bottom: -10%; left: -20%; right: -20%; height: 55%;
  background:
    linear-gradient(90deg, var(--maze-blue) 2px, transparent 2px),
    linear-gradient(0deg, var(--maze-blue) 2px, transparent 2px);
  background-size: 60px 60px;
  opacity: 0.15;
  transform: perspective(400px) rotateX(60deg); transform-origin: center bottom;
  animation: gridScroll 3s linear infinite;
}
@keyframes gridScroll { 0% { background-position: 0 0; } 100% { background-position: 0 60px; } }

.chrome-ring {
  position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px; border-radius: 50%;
  border: 3px solid rgba(33, 33, 222, 0.25);
  box-shadow: 0 0 80px var(--maze-blue-glow), inset 0 0 80px rgba(33, 33, 222, 0.08);
  animation: ringPulse 4s ease-in-out infinite;
}
.chrome-ring::before {
  content: ''; position: absolute; inset: 20px; border-radius: 50%;
  border: 2px solid rgba(33, 33, 222, 0.12);
}
.chrome-ring::after {
  content: ''; position: absolute; inset: 45px; border-radius: 50%;
  border: 1px solid rgba(255, 204, 0, 0.08);
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.05);
}
@keyframes ringPulse { 0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.02); } }

.skyline { position: absolute; bottom: 16%; left: -5%; right: -5%; height: 200px; z-index: 2; }
.skyline svg { width: 110%; height: 100%; position: absolute; bottom: -2px; }

.hero-badge {
  font-family: 'Press Start 2P', monospace; font-size: 0.6rem; color: var(--ghost-cyan);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 28px; z-index: 5;
  animation: flickerIn 0.8s ease-out both;
  text-shadow: 0 0 12px rgba(0, 255, 222, 0.6);
}

.hero h1 {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem); line-height: 0.95;
  text-transform: uppercase; letter-spacing: 6px; z-index: 5;
  animation: titleIn 1s ease-out 0.3s both;
}
.hero h1 .line1 {
  display: block; color: var(--pac-yellow);
  text-shadow:
    0 0 40px var(--pac-yellow-glow),
    0 0 80px rgba(255, 204, 0, 0.15),
    0 4px 0 #b38f00;
  -webkit-text-stroke: 1px rgba(255, 180, 0, 0.3);
}
.hero h1 .line2 {
  display: block; font-size: 0.45em; color: var(--maze-blue-bright);
  letter-spacing: 16px;
  text-shadow: 0 0 20px var(--maze-blue-glow);
}

.hero-sub {
  font-family: 'Press Start 2P', monospace;
  font-weight: 400; font-size: 0.65rem; color: rgba(255, 184, 255, 0.6);
  margin-top: 28px; letter-spacing: 4px; text-transform: uppercase;
  z-index: 5; animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero-buttons { display: flex; gap: 20px; margin-top: 44px; z-index: 5; animation: fadeUp 0.8s ease-out 0.8s both; }

.btn-primary {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.7rem;
  padding: 18px 36px; background: var(--pac-yellow); border: none; color: var(--void);
  text-transform: uppercase; letter-spacing: 2px; cursor: pointer;
  transition: all 0.3s; text-decoration: none; display: inline-block;
  box-shadow: 0 0 20px var(--pac-yellow-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 40px var(--pac-yellow-glow), 0 0 60px rgba(255, 204, 0, 0.2);
}

.btn-secondary {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.7rem;
  padding: 18px 36px; background: transparent; border: 2px solid var(--maze-blue-bright);
  color: var(--maze-blue-bright); text-transform: uppercase; letter-spacing: 2px; cursor: pointer;
  transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--ghost-pink); color: var(--ghost-pink);
  box-shadow: 0 0 25px rgba(255, 184, 255, 0.2);
  text-shadow: 0 0 8px rgba(255, 184, 255, 0.4);
}

/* ── Ticker ── */

.ticker-bar {
  background: var(--surface); padding: 14px 0;
  border-top: 2px solid var(--maze-blue);
  border-bottom: 2px solid var(--maze-blue);
  box-shadow: inset 0 0 30px rgba(33, 33, 222, 0.08);
  overflow: hidden; position: relative; z-index: 10;
}
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 22s linear infinite; }
.ticker-inner span {
  font-family: 'Press Start 2P', monospace; font-size: 0.5rem;
  color: var(--ghost-cyan); letter-spacing: 2px; padding: 0 40px; text-transform: uppercase;
}
.ticker-inner .highlight { color: var(--pac-yellow); text-shadow: 0 0 8px var(--pac-yellow-glow); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Sections ── */

section { position: relative; padding: 100px 40px; }

.section-label {
  font-family: 'Press Start 2P', monospace; font-size: 0.55rem;
  color: var(--pac-yellow); letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 8px var(--pac-yellow-glow);
}
.section-title {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 16px; color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
.section-desc {
  font-weight: 300; font-size: 1.15rem; color: rgba(140, 140, 255, 0.75);
  max-width: 550px; line-height: 1.6; letter-spacing: 0.5px;
}

/* ── Shop ── */

.shop-section {
  background: var(--surface);
  border-top: 1px solid rgba(33, 33, 222, 0.1);
}
.shop-header { text-align: center; margin-bottom: 60px; }
.shop-header .section-desc { margin: 0 auto; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }

.product-card {
  background: var(--surface-light); border: 2px solid rgba(33, 33, 222, 0.15);
  overflow: hidden; transition: all 0.4s; cursor: pointer;
  text-decoration: none; display: block;
}
.product-card:hover {
  border-color: var(--pac-yellow);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px var(--pac-yellow-glow), 0 0 60px rgba(255, 204, 0, 0.05);
}

.product-img {
  height: 320px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--void);
}
.product-card:nth-child(1) .product-img {
  background: linear-gradient(160deg, #000 30%, #0a0a2e 70%, #1a0a3e);
  box-shadow: inset 0 -40px 80px rgba(77, 109, 255, 0.06);
}
.product-card:nth-child(2) .product-img {
  background: linear-gradient(160deg, #000 30%, #1a0020 70%, #2a0040);
  box-shadow: inset 0 -40px 80px rgba(233, 48, 168, 0.06);
}
.product-card:nth-child(3) .product-img {
  background: linear-gradient(160deg, #000 30%, #001a10 70%, #002a18);
  box-shadow: inset 0 -40px 80px rgba(57, 255, 20, 0.04);
}
.product-card:nth-child(4) .product-img {
  background: linear-gradient(160deg, #000 30%, #1a1000 70%, #2a1a00);
  box-shadow: inset 0 -40px 80px rgba(255, 184, 82, 0.06);
}
.product-card:nth-child(5) .product-img {
  background: linear-gradient(160deg, #000 30%, #0e0020 70%, #1a0040);
  box-shadow: inset 0 -40px 80px rgba(255, 184, 255, 0.04);
}
.product-card:nth-child(6) .product-img {
  background: linear-gradient(160deg, #000 30%, #001a1a 70%, #002a2a);
  box-shadow: inset 0 -40px 80px rgba(0, 255, 222, 0.04);
}
.product-card:nth-child(7) .product-img {
  background: linear-gradient(160deg, #000 30%, #1a0a00 70%, #2a1500);
  box-shadow: inset 0 -40px 80px rgba(255, 204, 0, 0.06);
}
.product-card:nth-child(8) .product-img {
  background: linear-gradient(160deg, #000 30%, #00101a 70%, #001a2a);
  box-shadow: inset 0 -40px 80px rgba(77, 109, 255, 0.04);
}

.product-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 80%, rgba(33, 33, 222, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
}
.product-img .emoji-display { font-size: 6rem; z-index: 2; filter: drop-shadow(0 0 20px rgba(255,204,0,0.2)); }
.product-img .product-svg {
  width: 85%; height: 85%; object-fit: contain; z-index: 2;
  filter: drop-shadow(0 0 15px rgba(255,204,0,0.12));
  transition: transform 0.4s, filter 0.4s;
}
.product-card:hover .product-svg {
  transform: scale(1.05);
  filter: drop-shadow(0 0 25px rgba(255,204,0,0.2));
}

.product-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: 'Press Start 2P', monospace; font-size: 0.45rem;
  background: var(--ghost-red); color: #fff; padding: 6px 10px; letter-spacing: 1px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}
.product-info { padding: 20px; border-top: 1px solid rgba(33, 33, 222, 0.1); }
.product-name {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.65rem;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; color: #fff;
}
.product-desc { font-weight: 300; font-size: 0.9rem; color: rgba(140, 140, 255, 0.7); margin-bottom: 14px; }
.product-price {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.8rem;
  color: var(--pac-yellow);
  text-shadow: 0 0 8px var(--pac-yellow-glow);
}
.product-price .price-suffix { font-size: 0.7em; color: rgba(140, 140, 255, 0.6); text-shadow: none; }

/* ── Trivia ── */

.trivia-section { background: var(--void); text-align: center; }
.trivia-card {
  max-width: 700px; margin: 50px auto 0; background: var(--surface);
  border: 2px solid var(--maze-blue); padding: 50px 40px; position: relative;
  box-shadow: 0 0 40px rgba(33, 33, 222, 0.1);
}
.trivia-card::before {
  content: '?'; position: absolute; top: -30px; right: 30px;
  font-family: 'Press Start 2P', monospace; font-size: 4rem; font-weight: 400;
  color: rgba(255, 204, 0, 0.06);
}
.trivia-question {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.75rem;
  letter-spacing: 1px; line-height: 2.2; margin-bottom: 30px; color: #fff;
}

.trivia-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.trivia-btn {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.65rem;
  padding: 16px 20px; background: rgba(33, 33, 222, 0.06);
  border: 2px solid rgba(33, 33, 222, 0.25); color: var(--maze-blue-bright);
  cursor: pointer; letter-spacing: 1px; transition: all 0.3s;
}
.trivia-btn:hover {
  border-color: var(--pac-yellow); background: rgba(255, 204, 0, 0.06);
  color: var(--pac-yellow); text-shadow: 0 0 8px var(--pac-yellow-glow);
}
.trivia-btn.correct {
  border-color: var(--acid-green); background: rgba(57, 255, 20, 0.08);
  color: var(--acid-green); text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
}
.trivia-btn.wrong {
  border-color: var(--ghost-red); color: var(--ghost-red);
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}
.trivia-footer {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem; color: rgba(140, 140, 255, 0.6); letter-spacing: 1px;
}

/* ── Categories ── */

.categories-section {
  background: var(--surface);
  border-top: 1px solid rgba(33, 33, 222, 0.1);
}
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 1200px; margin: 50px auto 0; }
.cat-card {
  padding: 36px 28px; border: 2px solid rgba(33, 33, 222, 0.15);
  background: var(--surface-light); transition: all 0.4s; cursor: pointer;
  position: relative; overflow: hidden;
}
.cat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; transition: height 0.4s; }
.cat-card:nth-child(1)::before { background: var(--ghost-red); }
.cat-card:nth-child(2)::before { background: var(--ghost-pink); }
.cat-card:nth-child(3)::before { background: var(--ghost-cyan); }
.cat-card:nth-child(4)::before { background: var(--ghost-orange); }
.cat-card:nth-child(5)::before { background: var(--acid-green); }
.cat-card:hover::before { height: 100%; }

.cat-card:nth-child(1):hover { border-color: var(--ghost-red); box-shadow: 0 0 25px rgba(255, 0, 0, 0.15); }
.cat-card:nth-child(2):hover { border-color: var(--ghost-pink); box-shadow: 0 0 25px rgba(255, 184, 255, 0.15); }
.cat-card:nth-child(3):hover { border-color: var(--ghost-cyan); box-shadow: 0 0 25px rgba(0, 255, 222, 0.15); }
.cat-card:nth-child(4):hover { border-color: var(--ghost-orange); box-shadow: 0 0 25px rgba(255, 184, 82, 0.15); }
.cat-card:nth-child(5):hover { border-color: var(--acid-green); box-shadow: 0 0 25px rgba(57, 255, 20, 0.15); }

.cat-card:hover { transform: translateY(-3px); }
.cat-icon { font-size: 2.6rem; margin-bottom: 18px; display: block; }
.cat-name {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.65rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; color: #fff;
}
.cat-count { font-weight: 300; font-size: 0.85rem; color: rgba(140, 140, 255, 0.65); letter-spacing: 1px; }

/* ── CTA ── */

.cta-section {
  background: var(--void); text-align: center; padding: 120px 40px;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 33, 222, 0.06) 0%, transparent 70%);
}
.cta-section .section-title { position: relative; }
.cta-section .section-desc { margin: 0 auto 40px; position: relative; }

.email-form { display: flex; gap: 0; max-width: 500px; margin: 0 auto; position: relative; }
.email-form input {
  flex: 1; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 500;
  padding: 16px 20px; background: var(--surface);
  border: 2px solid rgba(33, 33, 222, 0.2); border-right: none;
  color: #fff; letter-spacing: 1px; outline: none; transition: border-color 0.3s;
}
.email-form input::placeholder { color: rgba(140, 140, 255, 0.5); }
.email-form input:focus {
  border-color: var(--pac-yellow);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.1);
}
.email-form button {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.55rem;
  padding: 16px 24px; background: var(--pac-yellow);
  border: 2px solid var(--pac-yellow); color: var(--void);
  text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.3s;
}
.email-form button:hover {
  box-shadow: 0 0 30px var(--pac-yellow-glow);
}

/* ── Footer ── */

footer {
  background: var(--void); padding: 60px 40px 30px;
  border-top: 2px solid var(--maze-blue);
  box-shadow: 0 -2px 20px rgba(33, 33, 222, 0.08);
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1200px; margin: 0 auto 40px; flex-wrap: wrap; gap: 40px; }
.footer-brand .nav-logo { margin-bottom: 12px; display: block; }
.footer-tagline { font-weight: 300; font-size: 0.9rem; color: rgba(140, 140, 255, 0.55); letter-spacing: 1px; }
.footer-links-group { display: flex; gap: 60px; }
.footer-col h4 {
  font-family: 'Press Start 2P', monospace; font-size: 0.5rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--pac-yellow);
  margin-bottom: 16px; text-shadow: 0 0 6px var(--pac-yellow-glow);
}
.footer-col a {
  display: block; font-weight: 400; font-size: 0.95rem;
  color: rgba(140, 140, 255, 0.6); text-decoration: none;
  margin-bottom: 10px; transition: color 0.3s; letter-spacing: 0.5px;
}
.footer-col a:hover { color: var(--ghost-cyan); text-shadow: 0 0 8px rgba(0, 255, 222, 0.3); }
.footer-bottom {
  text-align: center; padding-top: 30px;
  border-top: 1px solid rgba(33, 33, 222, 0.1);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem; color: rgba(140, 140, 255, 0.5); letter-spacing: 1px;
}

/* ── CRT Power-On Effect ── */

body.crt-boot {
  animation: crtPowerOn 1.2s ease-out both;
}

@keyframes crtPowerOn {
  0%   { filter: brightness(0); }
  5%   { filter: brightness(2) saturate(0); }
  10%  { filter: brightness(0.1); }
  15%  { filter: brightness(1.8) saturate(0); }
  20%  { filter: brightness(0.3); }
  30%  { filter: brightness(1.2) saturate(0.5); }
  50%  { filter: brightness(0.9) saturate(0.8); }
  70%  { filter: brightness(1.05) saturate(1); }
  100% { filter: brightness(1) saturate(1); }
}

/* ── Animations ── */

@keyframes flickerIn {
  0% { opacity: 0; }
  20% { opacity: 1; }
  22% { opacity: 0.2; }
  24% { opacity: 1; }
  40% { opacity: 1; }
  42% { opacity: 0.5; }
  44% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes titleIn { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Pac-Man pellet dots instead of stars */
.stars { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.star {
  position: absolute; background: var(--pac-yellow);
  border-radius: 50%; animation: pelletGlow 3s ease-in-out infinite;
}
@keyframes pelletGlow {
  0%, 100% { opacity: 0.12; box-shadow: none; }
  50% { opacity: 0.5; box-shadow: 0 0 6px var(--pac-yellow-glow); }
}

/* ── Product Detail Page ── */

.product-detail-section {
  background: var(--surface);
  min-height: calc(100vh - 72px);
  padding-top: 120px;
}

.product-detail {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-img {
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  border: 2px solid rgba(33, 33, 222, 0.2);
  position: relative;
  box-shadow: 0 0 40px rgba(33, 33, 222, 0.08);
}
.product-detail-img .emoji-display { font-size: 10rem; filter: drop-shadow(0 0 30px rgba(255,204,0,0.15)); }
.product-detail-img .product-svg-detail {
  width: 80%; height: 80%; object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255,204,0,0.15));
}
.product-detail-img .product-tag { position: absolute; top: 20px; left: 20px; }

.product-detail-info { padding-top: 20px; }

.product-detail-name {
  font-family: 'Press Start 2P', monospace; font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; margin-bottom: 16px; line-height: 1.8;
}

.product-detail-price {
  font-family: 'Press Start 2P', monospace; font-weight: 400;
  font-size: 1.3rem; color: var(--pac-yellow);
  margin-bottom: 28px;
  text-shadow: 0 0 12px var(--pac-yellow-glow);
}
.product-detail-price .price-suffix { font-size: 0.6em; color: rgba(140, 140, 255, 0.6); text-shadow: none; }

.product-detail-desc {
  font-weight: 300; font-size: 1.1rem;
  color: rgba(140, 140, 255, 0.75);
  line-height: 1.8; margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.product-features {
  list-style: none; margin-bottom: 40px;
}
.product-features li {
  font-weight: 400; font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 0;
  border-bottom: 1px solid rgba(33, 33, 222, 0.08);
  letter-spacing: 0.5px;
}
.product-features li::before {
  content: '\25CF  ';
  color: var(--pac-yellow);
  font-size: 0.5rem;
  margin-right: 8px;
  vertical-align: middle;
}

.product-detail-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn-add-cart {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.7rem;
  padding: 18px 40px; background: var(--pac-yellow); border: none; color: var(--void);
  text-transform: uppercase; letter-spacing: 2px; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px var(--pac-yellow-glow);
}
.btn-add-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 40px var(--pac-yellow-glow), 0 0 60px rgba(255, 204, 0, 0.15);
}

.btn-back {
  font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.6rem;
  color: var(--maze-blue-bright); text-decoration: none; letter-spacing: 2px;
  text-transform: uppercase; transition: all 0.3s; display: inline-block;
  padding: 18px 24px;
}
.btn-back:hover { color: var(--ghost-pink); text-shadow: 0 0 8px rgba(255, 184, 255, 0.4); }

/* ── Shop Page Header ── */

.shop-page-hero {
  background: var(--surface);
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-page-hero::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 33, 222, 0.06) 0%, transparent 70%);
}
.shop-page-hero .section-desc { margin: 0 auto; position: relative; }
.shop-page-hero .section-label { position: relative; }
.shop-page-hero .section-title { position: relative; }

.shop-page-grid {
  background: var(--surface);
  padding: 0 40px 100px;
}

/* ── Explore Pages ── */

.explore-hero {
  background: var(--surface);
  padding: 140px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.explore-hero::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 33, 222, 0.05) 0%, transparent 70%);
}
.explore-hero-icon {
  font-size: 4rem; margin-bottom: 16px; position: relative;
  filter: drop-shadow(0 0 20px rgba(255, 204, 0, 0.2));
}
.explore-tagline {
  font-family: 'Press Start 2P', monospace; font-size: 0.6rem;
  color: var(--ghost-cyan); letter-spacing: 3px;
  margin-bottom: 16px; position: relative;
  text-shadow: 0 0 8px rgba(0, 255, 222, 0.4);
}
.explore-hero .section-desc { position: relative; }
.explore-hero .section-label { position: relative; }
.explore-hero .section-title { position: relative; }

.explore-grid-section {
  background: var(--surface);
  padding: 0 40px 80px;
}
.explore-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.explore-card {
  background: var(--surface-light);
  border: 2px solid rgba(33, 33, 222, 0.12);
  padding: 28px; transition: all 0.4s;
}
.explore-card:hover {
  border-color: var(--pac-yellow);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(255, 204, 0, 0.08);
}
.explore-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px;
}
.explore-card-emoji { font-size: 2.4rem; filter: drop-shadow(0 0 10px rgba(255,204,0,0.15)); }
.explore-card-meta { display: flex; gap: 8px; align-items: center; }
.explore-card-year {
  font-family: 'Press Start 2P', monospace; font-size: 0.5rem;
  color: var(--maze-blue-bright); letter-spacing: 1px;
}
.explore-card-tag {
  font-family: 'Press Start 2P', monospace; font-size: 0.4rem;
  background: var(--ghost-red); color: #fff; padding: 4px 8px;
  letter-spacing: 1px; box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}
.explore-card-title {
  font-family: 'Press Start 2P', monospace; font-weight: 400;
  font-size: 0.7rem; color: #fff; margin-bottom: 10px;
  letter-spacing: 1px; line-height: 1.6;
}
.explore-card-desc {
  font-weight: 300; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65); line-height: 1.7;
}
.explore-back-bar {
  max-width: 1200px; margin: 40px auto 0;
}

/* ── Error Page ── */

.error-section {
  background: var(--surface);
  min-height: calc(100vh - 72px);
  padding: 140px 40px 100px;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
}
.error-content { max-width: 600px; }
.error-code {
  font-family: 'Press Start 2P', monospace; font-size: 5rem;
  color: var(--ghost-red); margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
  animation: flickerIn 1s ease-out both;
}
.error-actions {
  display: flex; gap: 16px; justify-content: center;
  margin-top: 40px; flex-wrap: wrap;
}

/* ── Contact Page ── */

.contact-section {
  background: var(--surface);
  min-height: calc(100vh - 72px);
  padding: 140px 40px 100px;
}
.contact-container {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: start;
}
.contact-info-col .section-desc { margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(33, 33, 222, 0.08);
}
.contact-detail-label {
  display: block; font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem; color: var(--pac-yellow); letter-spacing: 2px;
  margin-bottom: 6px; text-shadow: 0 0 6px var(--pac-yellow-glow);
}
.contact-detail-value {
  font-size: 1.05rem; color: rgba(255, 255, 255, 0.7);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: 'Press Start 2P', monospace; font-size: 0.5rem;
  color: var(--maze-blue-bright); letter-spacing: 2px;
}
.form-input {
  font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 500;
  padding: 14px 16px; background: var(--surface-light);
  border: 2px solid rgba(33, 33, 222, 0.15);
  color: #fff; letter-spacing: 0.5px; outline: none;
  transition: border-color 0.3s;
}
.form-input::placeholder { color: rgba(140, 140, 255, 0.5); }
.form-input:focus {
  border-color: var(--pac-yellow);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }

.contact-success {
  text-align: center; padding: 60px 30px;
  border: 2px solid var(--acid-green);
  background: rgba(57, 255, 20, 0.04);
}
.contact-success-icon {
  display: block; font-size: 3rem; color: var(--acid-green);
  margin-bottom: 16px; text-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}
.contact-success-title {
  font-family: 'Press Start 2P', monospace; font-size: 0.9rem;
  color: #fff; margin-bottom: 12px;
}
.contact-success-text {
  font-size: 1rem; color: rgba(255, 255, 255, 0.65); line-height: 1.7;
}

/* ── Shop Filters ── */

.shop-filters {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 30px; position: relative; flex-wrap: wrap;
}
.filter-btn {
  font-family: 'Press Start 2P', monospace; font-size: 0.5rem;
  padding: 10px 20px; background: transparent;
  border: 2px solid rgba(33, 33, 222, 0.2);
  color: var(--maze-blue-bright); cursor: pointer;
  letter-spacing: 1px; transition: all 0.3s;
}
.filter-btn:hover {
  border-color: var(--pac-yellow); color: var(--pac-yellow);
}
.filter-btn.active {
  background: var(--pac-yellow); color: var(--void);
  border-color: var(--pac-yellow);
  box-shadow: 0 0 15px var(--pac-yellow-glow);
}

/* ── Trivia Enhancements ── */

.trivia-explanation {
  font-size: 0.85rem; color: rgba(140, 140, 255, 0.7);
  margin-bottom: 16px; min-height: 24px; transition: opacity 0.3s;
  opacity: 0;
}
.trivia-explanation-visible { opacity: 1; }

.trivia-results { text-align: center; padding: 20px 0; }
.trivia-results-score {
  font-family: 'Press Start 2P', monospace; font-size: 2rem;
  color: var(--pac-yellow); margin-bottom: 12px;
  text-shadow: 0 0 20px var(--pac-yellow-glow);
}
.trivia-results-text {
  font-size: 1rem; color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}
.trivia-replay { margin-top: 8px; }

/* ── Newsletter Success ── */

.newsletter-success {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; max-width: 500px; margin: 0 auto;
  padding: 16px 24px; position: relative;
  border: 2px solid var(--acid-green);
  background: rgba(57, 255, 20, 0.04);
}
.newsletter-success-icon {
  font-size: 1.4rem; color: var(--acid-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}
.newsletter-success span:last-child {
  font-family: 'Press Start 2P', monospace; font-size: 0.55rem;
  color: var(--acid-green); letter-spacing: 1px;
}

/* ── Mobile Nav (Hamburger) ── */

.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 101;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--pac-yellow); margin: 5px 0;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.95); z-index: 99;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 30px;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  font-family: 'Press Start 2P', monospace; font-size: 0.8rem;
  color: var(--pac-yellow); letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s;
}
.nav-mobile-overlay a:hover {
  text-shadow: 0 0 15px var(--pac-yellow-glow);
}

/* ── Page Transitions ── */

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
main > section:first-child {
  animation: pageIn 0.4s ease-out both;
}

/* ── About Page ── */

.about-section {
  background: var(--surface);
  min-height: calc(100vh - 72px);
  padding: 140px 40px 100px;
}

.about-container {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: start;
}

.about-photo-frame {
  position: relative;
  border: 2px solid var(--maze-blue);
  box-shadow: 0 0 50px rgba(33, 33, 222, 0.12);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.about-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.9);
}
.about-photo-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
}
.about-photo-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem; color: var(--maze-blue-bright);
  letter-spacing: 3px; text-transform: uppercase;
  margin-top: 16px; text-align: center;
}

.about-text-col { padding-top: 10px; }

.about-body {
  margin-top: 8px; margin-bottom: 40px;
}
.about-body p {
  font-weight: 300; font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9; letter-spacing: 0.3px;
  margin-bottom: 20px;
}
.about-body .about-cta-line {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem; line-height: 2.2;
  color: var(--pac-yellow);
  text-shadow: 0 0 10px var(--pac-yellow-glow);
  margin-top: 32px; margin-bottom: 0;
  letter-spacing: 1px;
}

.about-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  section { padding: 70px 20px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .trivia-options { grid-template-columns: 1fr; }
  .footer-links-group { gap: 30px; }
  .email-form { flex-direction: column; }
  .email-form input { border-right: 2px solid rgba(33, 33, 222, 0.2); }
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .product-detail-img { height: 320px; }
  .shop-page-grid { padding: 0 20px 70px; }
  .about-container { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-frame { max-width: 320px; margin: 0 auto; }
  .about-section { padding: 120px 20px 70px; }
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .contact-section { padding: 120px 20px 70px; }
  .explore-hero { padding: 120px 20px 40px; }
  .explore-grid-section { padding: 0 20px 60px; }
  .explore-grid { grid-template-columns: 1fr; }
  .error-section { padding: 120px 20px 70px; }
  .shop-page-hero { padding-top: 100px; }
}
