/* ==========================================================================
   ★ PONDS // HYPERPOP & POKÉMON SCRAPBOOK THEME (NEOCITIES) ★
   Palette: Deep Pitch Black, Electric Purple, Neon Magenta, Glitch Cyan
   ========================================================================== */

:root {
  --bg-deep: #08040d;
  --bg-surface: rgba(19, 9, 31, 0.88);
  --bg-card: rgba(28, 12, 48, 0.92);
  --bg-card-hover: rgba(38, 16, 65, 0.96);
  
  --neon-purple: #9d4edd;
  --neon-purple-glow: rgba(157, 78, 221, 0.6);
  --neon-pink: #ff007f;
  --neon-pink-glow: rgba(255, 0, 127, 0.6);
  --neon-cyan: #00f5d4;
  --neon-cyan-glow: rgba(0, 245, 212, 0.5);
  --neon-yellow: #fee440;
  
  --text-main: #f3e8ff;
  --text-muted: #bda3db;
  --text-glow: #ffffff;
  
  --border-neon: 2px solid var(--neon-purple);
  --border-pink: 2px solid var(--neon-pink);
  
  --font-pixel: 'Press Start 2P', monospace;
  --font-silk: 'Silkscreen', cursive;
  --font-terminal: 'VT323', monospace;
  --font-body: 'Space Grotesk', sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  cursor: crosshair;
}

/* --------------------------------------------------------------------------
   CRT SCANLINE & VIGNETTE LAYER
   -------------------------------------------------------------------------- */
.crt-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.crt-layer.active {
  opacity: 1;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.3) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.03)
  );
  background-size: 100% 3px, 6px 100%;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85);
}

/* --------------------------------------------------------------------------
   CANVAS BACKGROUND (STARS & NEON GRID)
   -------------------------------------------------------------------------- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   TOP NAVIGATION & RETRO CONTROL BAR
   -------------------------------------------------------------------------- */
.top-nav-bar {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(14, 5, 24, 0.95);
  border-bottom: 2px solid var(--neon-purple);
  padding: 8px 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--neon-purple-glow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--neon-pink);
  white-space: nowrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  background: rgba(8, 2, 14, 0.8);
  border: 1px dashed var(--neon-purple);
  padding: 4px 10px;
  border-radius: 4px;
}

.marquee-content {
  display: inline-block;
  font-family: var(--font-silk);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.nav-controls {
  display: flex;
  gap: 8px;
}

.control-btn {
  background: #190a2b;
  color: var(--text-main);
  border: 1px solid var(--neon-purple);
  padding: 6px 10px;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.control-btn:hover {
  background: var(--neon-pink);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 12px var(--neon-pink);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   DRAGGABLE STICKER PLAYGROUND
   -------------------------------------------------------------------------- */
.sticker-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 400;
}

.draggable-item {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  transition: transform 0.1s ease, filter 0.2s ease;
}

.draggable-item:active {
  cursor: grabbing;
  z-index: 450 !important;
  filter: brightness(1.2) drop-shadow(0 0 15px var(--neon-pink));
}

.tape-strip {
  background: rgba(255, 0, 127, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.8);
  color: #ffffff;
  font-family: var(--font-silk);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 18px;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.5);
  letter-spacing: 2px;
  backdrop-filter: blur(4px);
}

.pixel-badge-sticker, .pin-sticker {
  background: rgba(18, 5, 32, 0.9);
  border: 2px solid var(--neon-purple);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.7), 0 0 10px var(--neon-purple-glow);
}

.sticker-img {
  width: 58px;
  height: 58px;
  image-rendering: pixelated;
}

.sticker-caption, .sticker-sub {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--neon-cyan);
  margin-top: 4px;
}

.warning-badge {
  background: #ffe600;
  color: #000;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  font-weight: bold;
  padding: 6px 12px;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #ff007f;
}

.holo-heart {
  background: linear-gradient(135deg, #9d4edd, #ff007f, #00f5d4);
  color: #fff;
  font-family: var(--font-silk);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 0 15px var(--neon-pink-glow);
  border: 1px solid rgba(255,255,255,0.7);
}

/* --------------------------------------------------------------------------
   SCRAPBOOK MAIN CONTAINER & CARDS
   -------------------------------------------------------------------------- */
.scrapbook-layout {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scrap-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--neon-purple);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--neon-purple-glow);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.scrap-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 25px var(--neon-pink-glow);
}

/* Card Pins & Washi Tapes */
.card-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #9d4edd 70%, #4a0072);
  box-shadow: 0 2px 6px rgba(0,0,0,0.8);
  z-index: 5;
}
.card-pin.top-left { top: -6px; left: -6px; }
.card-pin.top-right { top: -6px; right: -6px; }

.washi-tape {
  position: absolute;
  top: -12px;
  left: 32px;
  padding: 3px 18px;
  font-family: var(--font-silk);
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
  border: 1px dashed rgba(255,255,255,0.7);
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 5;
}
.purple-tape { background: rgba(157, 78, 221, 0.85); transform: rotate(-2deg); }
.pink-tape { background: rgba(255, 0, 127, 0.85); transform: rotate(2deg); }
.cyan-tape { background: rgba(0, 245, 212, 0.85); color: #000; transform: rotate(-1deg); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px dashed rgba(157, 78, 221, 0.4);
  padding-bottom: 8px;
}

.card-title {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--neon-pink);
  text-shadow: 0 0 8px var(--neon-pink);
}

/* --------------------------------------------------------------------------
   HERO CARD (PROFILE & BIO)
   -------------------------------------------------------------------------- */
.hero-card {
  background: linear-gradient(135deg, rgba(28, 12, 48, 0.95), rgba(16, 5, 28, 0.95));
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.avatar-box {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.avatar-glow {
  position: absolute;
  inset: -6px;
  background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple), var(--neon-cyan));
  border-radius: 16px;
  filter: blur(8px);
  animation: glow-spin 4s linear infinite;
}

@keyframes glow-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.avatar-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #090312;
  border: 2px solid var(--neon-cyan);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-sprite {
  width: 90px;
  height: 90px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px var(--neon-purple));
  transition: transform 0.3s ease;
}

.avatar-frame:hover .avatar-sprite {
  transform: scale(1.15) rotate(-5deg);
}

.badge-online {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: var(--neon-pink);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid #fff;
  box-shadow: 0 0 8px var(--neon-pink);
}

.hero-details {
  flex: 1;
  min-width: 280px;
}

.title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.glitch-text {
  font-family: var(--font-pixel);
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 2px 2px 0 var(--neon-pink), -2px -2px 0 var(--neon-cyan);
  position: relative;
}

.tag-handle {
  font-family: var(--font-terminal);
  font-size: 1.5rem;
  color: var(--neon-cyan);
}

.hero-subtitle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.accent-pill {
  font-family: var(--font-silk);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
}
.accent-pill.purple { background: rgba(157, 78, 221, 0.25); border: 1px solid var(--neon-purple); color: #d8b4fe; }
.accent-pill.pink { background: rgba(255, 0, 127, 0.25); border: 1px solid var(--neon-pink); color: #ffa6cf; }
.accent-pill.cyan { background: rgba(0, 245, 212, 0.25); border: 1px solid var(--neon-cyan); color: #99f6e4; }

.hero-bio {
  color: var(--text-main);
  font-size: 0.95rem;
  max-width: 750px;
}

/* --------------------------------------------------------------------------
   COLUMNS GRID
   -------------------------------------------------------------------------- */
.scrap-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.column-left, .column-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   CARD: HYPERPOP CD MUSIC PLAYER
   -------------------------------------------------------------------------- */
.cd-player-body {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cd-visual-container {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-disc {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, #25123d 0%, #150924 45%, #3d1b63 70%, #0d0417 100%);
  border: 2px solid rgba(255,255,255,0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.8), inset 0 0 15px rgba(255,0,127,0.4);
}

.cd-disc.spinning {
  animation: spin-cd 3s linear infinite;
}

@keyframes spin-cd {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cd-iridescent-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 45deg,
    rgba(255, 0, 127, 0.4),
    rgba(0, 245, 212, 0.4),
    rgba(157, 78, 221, 0.4),
    rgba(254, 228, 64, 0.4),
    rgba(255, 0, 127, 0.4)
  );
  opacity: 0.6;
  mix-blend-mode: color-dodge;
  pointer-events: none;
}

.cd-label {
  width: 55px;
  height: 55px;
  background: #ff007f;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.cd-album-title {
  font-family: var(--font-pixel);
  font-size: 0.35rem;
  color: #fff;
  font-weight: bold;
}
.cd-album-artist {
  font-family: var(--font-silk);
  font-size: 0.35rem;
  color: #ffe600;
}

.cd-center-hole {
  width: 14px;
  height: 14px;
  background: var(--bg-card);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  margin-top: 2px;
}

.track-info-panel {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-label {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--neon-cyan);
}

.track-title {
  font-family: var(--font-silk);
  font-size: 1.1rem;
  color: #fff;
  margin-top: 2px;
}

.track-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.track-tags {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.bpm-tag, .genre-tag {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  padding: 2px 6px;
  border-radius: 3px;
}
.bpm-tag { background: var(--neon-pink); color: #fff; }
.genre-tag { background: #2b1245; color: var(--neon-cyan); border: 1px solid var(--neon-purple); }

/* Real Audio Scrubber & Timeline */
.track-progress-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.time-display {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--neon-cyan);
  min-width: 32px;
}

.progress-bar-track {
  flex: 1;
  height: 8px;
  background: #0d0417;
  border: 1px solid var(--neon-purple);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.progress-bar-track:hover {
  border-color: var(--neon-pink);
}

.progress-bar-current {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink), var(--neon-cyan));
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* Equalizer Bars */
.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  background: rgba(10, 4, 18, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--neon-purple);
}

.equalizer-bars .bar {
  flex: 1;
  background: linear-gradient(to top, var(--neon-purple), var(--neon-pink), var(--neon-cyan));
  height: 20%;
  border-radius: 1px;
  transition: height 0.1s ease;
}

.equalizer-bars.playing .bar:nth-child(2n) { animation: eq-bounce 0.4s infinite alternate ease-in-out; }
.equalizer-bars.playing .bar:nth-child(2n+1) { animation: eq-bounce 0.6s infinite alternate ease-in-out; }
.equalizer-bars.playing .bar:nth-child(3n) { animation: eq-bounce 0.3s infinite alternate ease-in-out; }

@keyframes eq-bounce {
  0% { height: 15%; }
  100% { height: 95%; }
}

/* Music Controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.music-btn {
  background: #25103d;
  color: #fff;
  border: 1px solid var(--neon-purple);
  padding: 6px 12px;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.music-btn:hover {
  background: var(--neon-purple);
  box-shadow: 0 0 10px var(--neon-purple-glow);
}

.music-btn.play-btn {
  background: var(--neon-pink);
  border-color: #fff;
}
.music-btn.play-btn:hover {
  background: #ff3399;
  box-shadow: 0 0 12px var(--neon-pink);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.vol-icon { font-size: 0.9rem; }

.neon-slider {
  accent-color: var(--neon-pink);
  cursor: pointer;
  width: 75px;
}

.artist-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-top: 1px dashed rgba(157, 78, 221, 0.3);
  padding-top: 12px;
}

.cloud-title {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--neon-yellow);
  margin-right: 4px;
}

.artist-tag {
  font-family: var(--font-silk);
  font-size: 0.7rem;
  background: rgba(37, 16, 61, 0.7);
  border: 1px solid var(--neon-purple);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.artist-tag:hover {
  background: var(--neon-pink);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   CARD: STATUS & MOOD WIDGET
   -------------------------------------------------------------------------- */
.live-clock {
  font-family: var(--font-terminal);
  font-size: 1.4rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px var(--neon-cyan);
}

.status-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-label {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--neon-purple);
}

.status-value {
  font-family: var(--font-silk);
  font-size: 0.95rem;
}

.glow-pink { color: #ff80bf; text-shadow: 0 0 6px var(--neon-pink); }
.glow-purple { color: #d8b4fe; text-shadow: 0 0 6px var(--neon-purple); }

.progress-bar-container {
  background: #120621;
  border: 1px solid var(--neon-purple);
  border-radius: 4px;
  overflow: hidden;
  height: 22px;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
  height: 100%;
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  padding-left: 8px;
  box-shadow: 0 0 10px var(--neon-pink);
}

.quote-box {
  background: rgba(14, 5, 24, 0.7);
  border: 1px dashed var(--neon-cyan);
  padding: 12px;
  border-radius: 6px;
}

.quote-text {
  font-style: italic;
  font-size: 0.9rem;
  color: #e0f2fe;
  margin-bottom: 8px;
}

.glitch-button-sm {
  align-self: flex-start;
  background: #190a2b;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  padding: 4px 8px;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.glitch-button-sm:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* --------------------------------------------------------------------------
   CARD: POKÉMON PARTY ROSTER & INSPECTOR
   -------------------------------------------------------------------------- */
.pkmn-sub {
  font-family: var(--font-silk);
  font-size: 0.7rem;
  color: var(--neon-cyan);
}

.pokemon-party-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.pokemon-slot {
  background: #190a2b;
  border: 2px solid var(--neon-purple);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pokemon-slot:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.6), 0 0 12px var(--neon-cyan-glow);
}

.pokemon-slot.active {
  border-color: var(--neon-pink);
  background: #2a0f44;
  box-shadow: 0 0 15px var(--neon-pink);
}

.sprite-holder {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.party-sprite {
  max-width: 58px;
  max-height: 58px;
  image-rendering: pixelated;
}

.slot-name {
  font-family: var(--font-silk);
  font-size: 0.75rem;
  color: #fff;
  margin-top: 4px;
}

.slot-type {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
  font-weight: bold;
}
.ghost-type { background: #705898; color: #fff; }
.fairy-type { background: #ee99ac; color: #000; }
.psychic-type { background: #f85888; color: #fff; }
.dark-type { background: #705848; color: #fff; }
.fire-type { background: #f08030; color: #fff; }
.steel-type { background: #b8b8d0; color: #000; }
.dragon-type { background: #7038f8; color: #fff; }
.fighting-type { background: #c03028; color: #fff; }

/* Inspector Box */
.pokemon-inspector-box {
  background: rgba(14, 5, 24, 0.95);
  border: 2px solid var(--neon-pink);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 0 15px var(--neon-pink-glow);
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 0, 127, 0.4);
  padding-bottom: 6px;
}

.inspector-title-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dex-tag {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: var(--neon-cyan);
}

.insp-name {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: #fff;
}

.insp-types {
  font-family: var(--font-silk);
  font-size: 0.75rem;
  color: var(--neon-pink);
}

.shiny-toggle-btn {
  background: #ffe600;
  color: #000;
  border: 1px solid #fff;
  padding: 4px 8px;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.shiny-toggle-btn.active {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.inspector-body {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.inspector-sprite-frame {
  width: 100px;
  height: 100px;
  background: #090312;
  border: 1px solid var(--neon-purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inspector-sprite-frame img {
  width: 80px;
  height: 80px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px var(--neon-purple));
}

.inspector-stats {
  flex: 1;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inspector-stats strong {
  color: var(--neon-cyan);
  font-family: var(--font-silk);
  font-size: 0.75rem;
}

.move-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.move-pill {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  background: #25103d;
  border: 1px solid var(--neon-purple);
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   CARD: 88x31 WEB BUTTONS & BLINKIES
   -------------------------------------------------------------------------- */
.badge-count {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--neon-yellow);
}

.button-wall-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

.web-button-badge {
  width: 88px;
  height: 31px;
  border: 2px outset #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  cursor: pointer;
  user-select: none;
  box-shadow: 2px 2px 0 #000;
  transition: transform 0.1s ease;
}

.web-button-badge:active {
  border-style: inset;
  transform: translate(2px, 2px);
}

.btn-text-top { font-size: 0.4rem; font-weight: bold; }
.btn-text-bot { font-size: 0.35rem; }

.button-pokemon { background: #705898; color: #ffe600; border-color: #9d4edd; }
.button-hyperpop { background: #ff007f; color: #fff; border-color: #00f5d4; }
.button-neocities { background: #000; color: #00f5d4; border-color: #00f5d4; }
.button-gengar { background: #230838; color: #ff007f; border-color: #ff007f; }
.button-webcore { background: #110626; color: #fff; border-color: #fff; }
.button-y2k { background: #fee440; color: #000; border-color: #ff007f; }

.blinkies-strip {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blinkie-box {
  background: #000;
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  padding: 4px 8px;
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 6px var(--neon-pink);
}

.blink-fast { animation: blink-anim 0.5s infinite; }
.blink-slow { animation: blink-anim 1.2s infinite; }
.blink-alt { animation: blink-anim 0.8s infinite; color: var(--neon-cyan); border-color: var(--neon-cyan); }

@keyframes blink-anim {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.2; }
}

.site-link-code-box {
  background: rgba(14, 5, 24, 0.8);
  border: 1px solid var(--neon-purple);
  padding: 10px;
  border-radius: 6px;
}

.code-label {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--neon-cyan);
  display: block;
  margin-bottom: 6px;
}

.code-copy-row {
  display: flex;
  gap: 8px;
}

.code-input {
  flex: 1;
  background: #090312;
  color: var(--text-muted);
  border: 1px solid var(--neon-purple);
  padding: 6px;
  font-family: var(--font-terminal);
  font-size: 1rem;
  border-radius: 4px;
}

.copy-btn {
  background: var(--neon-purple);
  color: #fff;
  border: none;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
}

/* --------------------------------------------------------------------------
   CARD: SOCIAL LINKS & PORTALS
   -------------------------------------------------------------------------- */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.neon-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #190a2b;
  border: 2px solid var(--neon-purple);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-silk);
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.neon-link-btn:hover {
  transform: translateY(-3px);
  border-color: var(--neon-cyan);
  box-shadow: 0 6px 15px rgba(0,0,0,0.6), 0 0 12px var(--neon-cyan);
  color: var(--neon-cyan);
}

.strawpage-btn:hover { border-color: var(--neon-pink); color: var(--neon-pink); box-shadow: 0 0 12px var(--neon-pink); }
.spotify-btn:hover { border-color: #1db954; color: #1db954; box-shadow: 0 0 12px #1db954; }
.discord-btn:hover { border-color: #5865f2; color: #5865f2; box-shadow: 0 0 12px #5865f2; }
.instagram-btn:hover { border-color: #e1306c; color: #e1306c; box-shadow: 0 0 12px #e1306c; }
.steam-btn:hover { border-color: #66c0f4; color: #66c0f4; box-shadow: 0 0 12px #66c0f4; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.scrap-footer {
  text-align: center;
  padding: 24px 0 40px;
  border-top: 1px dashed rgba(157, 78, 221, 0.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--neon-purple);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN FOR MOBILE & SMALL SCREENS
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .scrap-columns {
    grid-template-columns: 1fr;
  }
  
  .glitch-text {
    font-size: 1.8rem;
  }
  
  .pokemon-party-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .top-nav-bar {
    flex-wrap: wrap;
  }
  
  .marquee-wrapper {
    order: 3;
    width: 100%;
  }
  
  .pokemon-party-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .social-links-grid {
    grid-template-columns: 1fr;
  }
  
  .cd-player-body {
    flex-direction: column;
    text-align: center;
  }
  
  .player-controls {
    justify-content: center;
  }
  
  .volume-container {
    margin-left: 0;
  }
}

/* ==========================================================================
   SITE CUSTOMIZER MODAL & TERMINAL CONTROLS
   ========================================================================== */
.customizer-btn {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.25), rgba(0, 245, 212, 0.25)) !important;
  border: 1px solid var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
  box-shadow: 0 0 10px var(--neon-cyan-glow);
  font-weight: bold;
}

.customizer-btn:hover {
  background: var(--neon-cyan) !important;
  color: #000 !important;
  box-shadow: 0 0 16px var(--neon-cyan);
}

.creator-hidden {
  display: none !important;
}

.creator-unlocked {
  display: flex !important;
  animation: pulse-creator-glow 1.5s infinite;
}

@keyframes pulse-creator-glow {
  0%, 100% { box-shadow: 0 0 10px var(--neon-cyan-glow); }
  50% { box-shadow: 0 0 20px var(--neon-pink-glow), 0 0 10px var(--neon-cyan); }
}

/* Secret Creator Toast Notification */
.creator-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #180629, #33084a);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 0 25px var(--neon-cyan-glow), 0 10px 30px rgba(0,0,0,0.95);
  z-index: 99999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.creator-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Overlay Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 1, 10, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Customizer Dialog Window */
.customizer-window {
  background: var(--bg-surface);
  border: 2px solid var(--neon-cyan);
  border-radius: 12px;
  box-shadow: 0 0 35px var(--neon-cyan-glow), 0 20px 60px rgba(0,0,0,0.95);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: modal-appear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-appear {
  0% { transform: scale(0.92) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(18, 5, 32, 0.95);
  border-bottom: 1px solid var(--neon-purple);
}

.modal-title {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--neon-pink);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 8px var(--neon-pink-glow);
}

.modal-close-btn {
  background: #250b38;
  border: 1px solid var(--neon-purple);
  color: var(--text-main);
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--neon-pink);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 8px var(--neon-pink);
}

/* Modal Tabs Navigation */
.modal-tabs {
  display: flex;
  background: rgba(10, 2, 18, 0.95);
  border-bottom: 1px solid rgba(157, 78, 221, 0.4);
  overflow-x: auto;
  scrollbar-width: none;
}

.modal-tabs::-webkit-scrollbar {
  display: none;
}

.modal-tab-btn {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-silk);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.modal-tab-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.modal-tab-btn.active {
  color: var(--neon-cyan);
  border-bottom-color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.08);
  font-weight: bold;
}

/* Modal Body */
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-purple) rgba(10, 2, 18, 0.6);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--neon-purple);
  border-radius: 4px;
}

.tab-pane {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.tab-pane.active {
  display: flex;
}

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  font-family: var(--font-silk);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.highlight-val {
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 0.7rem;
}

.form-input, .form-textarea, .form-select {
  background: #090312;
  border: 1px solid var(--neon-purple);
  border-radius: 6px;
  color: var(--text-main);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink-glow);
  background: #10051e;
}

.form-textarea {
  resize: vertical;
  line-height: 1.45;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -2px;
}

/* Avatar Presets & Row */
.avatar-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cfg-avatar-preview {
  width: 48px;
  height: 48px;
  background: #000;
  border: 1px solid var(--neon-cyan);
  border-radius: 8px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.avatar-presets-label {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--neon-purple);
  margin-top: 4px;
}

.avatar-presets-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.avatar-preset-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: #130623;
  border: 1px solid var(--neon-purple);
  border-radius: 6px;
  color: var(--text-main);
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.avatar-preset-btn:hover {
  border-color: var(--neon-pink);
  background: #230b3e;
  transform: translateY(-2px);
}

.avatar-preset-btn img {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
}

/* Dynamic Item Lists (Tags, Quotes, Socials) */
.tag-manager-list, .quote-manager-list, .socials-manager-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-edit-row, .quote-edit-row, .social-edit-row {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(18, 5, 32, 0.7);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(157, 78, 221, 0.35);
}

.social-edit-row {
  display: grid;
  grid-template-columns: 46px 130px 1fr 40px;
  gap: 8px;
  align-items: center;
}

.social-icon-input {
  text-align: center;
  padding: 6px !important;
}

.btn-delete-row {
  background: #3b0a1d;
  border: 1px solid #ff0055;
  color: #ff80aa;
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-row:hover {
  background: #ff0055;
  color: #fff;
  box-shadow: 0 0 8px #ff0055;
}

.btn-secondary-sm {
  align-self: flex-start;
  background: #1d0b33;
  color: var(--neon-cyan);
  border: 1px dashed var(--neon-cyan);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-sm:hover {
  background: var(--neon-cyan);
  color: #000;
  border-style: solid;
}

.add-social-bar {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.add-social-bar .form-select {
  flex: 1;
}

.btn-neon-action {
  background: var(--neon-purple);
  color: #fff;
  border: none;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-neon-action:hover {
  background: var(--neon-pink);
  box-shadow: 0 0 12px var(--neon-pink-glow);
}

.socials-intro-box, .export-guide-card {
  background: rgba(14, 4, 25, 0.85);
  border: 1px dashed var(--neon-purple);
  border-radius: 8px;
  padding: 14px;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
}

.export-guide-card h3 {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--neon-pink);
  margin-bottom: 8px;
}

.export-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.export-big-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #140726;
  border: 2px solid var(--neon-purple);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.export-big-btn:hover {
  transform: translateY(-2px);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.export-big-btn .big-icon {
  font-size: 1.6rem;
}

.export-big-btn .btn-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.export-big-btn .btn-main-text {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: #fff;
}

.export-big-btn .btn-sub-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.download-btn {
  border-color: var(--neon-cyan);
}
.download-btn:hover {
  background: #002b28;
}

.copy-btn-export {
  border-color: var(--neon-pink);
}
.copy-btn-export:hover {
  background: #33001a;
}

.reset-section {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  border-top: 1px dashed rgba(157, 78, 221, 0.4);
}

.btn-danger-sm {
  background: transparent;
  color: #ff6699;
  border: 1px solid #ff0055;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger-sm:hover {
  background: #ff0055;
  color: #fff;
  box-shadow: 0 0 10px #ff0055;
}

/* Modal Footer */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(14, 4, 25, 0.95);
  border-top: 1px solid rgba(157, 78, 221, 0.4);
}

.btn-modal-primary {
  background: var(--neon-pink);
  color: #fff;
  border: none;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 14px var(--neon-pink-glow);
  transition: all 0.2s ease;
}

.btn-modal-primary:hover {
  background: #ff3399;
  box-shadow: 0 0 20px var(--neon-pink);
  transform: translateY(-1px);
}

.btn-modal-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-secondary:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 700px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .export-actions-grid {
    grid-template-columns: 1fr;
  }
  .social-edit-row {
    grid-template-columns: 40px 1fr 36px;
  }
  .social-edit-row .social-url-input {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   PHOTO POLAROIDS GALLERY & LIGHTBOX
   ========================================================================== */
.polaroids-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 8px 0;
}

.polaroid-card {
  background: #ffffff;
  padding: 10px 10px 16px 10px;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75), 0 0 10px rgba(157, 78, 221, 0.3);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  color: #111;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.polaroid-card:hover {
  transform: scale(1.06) rotate(0deg) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 20px var(--neon-pink-glow);
  z-index: 20;
}

.polaroid-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 14px;
  background: rgba(255, 0, 127, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 2;
}

.polaroid-img-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #180927;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.06);
}

.polaroid-caption-area {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.polaroid-title {
  font-family: var(--font-silk);
  font-size: 0.75rem;
  color: #1a082e;
  font-weight: bold;
}

.polaroid-date {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: #7209b7;
}

/* ==========================================================================
   POKÉMON TCG HOLOGRAPHIC BINDER & 3D FOIL
   ========================================================================== */
.tcg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 10px 0;
}

.tcg-card-item {
  perspective: 800px;
  cursor: pointer;
}

.tcg-card-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5 / 3.5;
  border-radius: 10px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 10px var(--neon-purple-glow);
  background: #110520;
}

.tcg-card-item:hover .tcg-card-wrapper {
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.95), 0 0 25px var(--neon-cyan-glow);
}

.tcg-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Holographic Foil Layer */
.tcg-holo-foil {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 0, 127, 0.35) 25%,
    rgba(0, 245, 212, 0.4) 45%,
    rgba(254, 228, 64, 0.45) 60%,
    rgba(157, 78, 221, 0.35) 75%,
    transparent 100%
  );
  background-size: 200% 200%;
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tcg-card-item:hover .tcg-holo-foil {
  opacity: 0.95;
  animation: holo-shimmer 3s ease infinite;
}

@keyframes holo-shimmer {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.tcg-card-meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.tcg-card-name {
  font-family: var(--font-silk);
  font-size: 0.72rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tcg-rarity-badge {
  font-family: var(--font-pixel);
  font-size: 0.48rem;
  color: var(--neon-cyan);
  padding: 2px 4px;
  background: rgba(0, 245, 212, 0.12);
  border-radius: 3px;
  border: 1px solid rgba(0, 245, 212, 0.3);
  display: inline-block;
  margin: 0 auto;
}

/* Lightbox Modal (for both Photos & TCG inspection) */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 1, 9, 0.92);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  background: var(--bg-surface);
  border: 2px solid var(--neon-pink);
  border-radius: 12px;
  box-shadow: 0 0 40px var(--neon-pink-glow), 0 25px 70px rgba(0,0,0,0.95);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  position: relative;
  animation: modal-appear 0.25s ease;
}

.lightbox-img-wrapper {
  max-height: 65vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.lightbox-img {
  max-height: 62vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.8);
}

.lightbox-info {
  margin-top: 14px;
  text-align: center;
  width: 100%;
}

.lightbox-title {
  font-family: var(--font-silk);
  font-size: 1.1rem;
  color: var(--neon-cyan);
}

.lightbox-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #250b38;
  border: 1px solid var(--neon-purple);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
}

@media (max-width: 768px) {
  .tcg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

