/*
Theme Name: Dial-Up Dream
Theme URI: https://static-curations.com/dial-up-dream
Author: Antigravity AI
Author URI: https://google.com
Description: A high-fidelity, 90s-inspired dark mode theme with Nickelodeon aesthetics and CRT effects.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dial-up-dream
*/

:root {
  /* Deep Obsidian Palette from Retro Aggregator */
  --surface: #f0f0f0;
  --surface-container: #f5f5f7;
  --surface-container-high: #ebebed;
  --surface-container-highest: #e1e1e3;

  --primary-fixed: #0095b6;
  /* Nerds Cyan */
  --primary-container: #0095b6;
  --on-primary-container: #ffffff;
  --on-primary-fixed: #ffffff;

  --secondary-container: #ffff00;
  /* Neon Yellow */
  --secondary-fixed-dim: #f0f000;

  --tertiary: #ff00ff;
  /* Neon Magenta */
  --on-tertiary-container: #ffffff;
  --tertiary-container: #ff00ff;

  --accent-orange: #ff8c00;
  /* Nerds Orange Bolt */

  --on-surface: #1a1a1f;
  --on-surface-variant: #4a4d45;
  --on-background: #1a1a1f;

  --rounded: 0.75rem;
  --rounded-lg: 1.5rem;
  --rounded-xl: 2.5rem;
  --rounded-full: 9999px;

  --font-headline: 'Fredoka One', cursive;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Fonts from Website Design */
  --font-retro: 'Bangers', display;
  --font-creepy: 'Creepster', display;
  --font-outfit: 'Outfit', sans-serif;

  /* Colors from Website Design (for specific highlights) */
  --nick-orange: #FF6600;
  --nick-slime: #39FF14;
  --nick-purple: #8A2BE2;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s var(--ease-out-expo);
  --transition-fast: all 0.2s var(--ease-out-expo);

  --header-height: 6rem;
}

/* Responsive Main Spacing - Increased for Breakout Logo */
main.container,
.cyberspace-container {
  padding-top: calc(var(--header-height) + 60px);
  /* Extra room for the logo breakout */
}

/* ==========================================================================
   GLOBAL BRANDING FORCE (Ensures consistency on Video Play pages)
   ========================================================================== */

.header {
  height: var(--header-height) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  border-bottom: 4px solid var(--primary-fixed) !important;
}

.logo-group,
.logo-container {
  overflow: visible !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.site-logo-img {
  height: 160px !important;
  width: auto !important;
  transform: translateY(40px) !important;
  display: block !important;
  z-index: 101 !important;
}

.nav-links a {
  font-family: var(--font-retro) !important;
  font-size: 1.8rem !important;
}

.mobile-only-link {
  display: none;
}

.mobile-only-link {
  display: none !important;
}

@media (max-width: 1024px) {
  .mobile-only-link {
    display: block !important;
  }
}

.nav-links li:nth-child(1) a { background: #39FF14 !important; }
.nav-links li:nth-child(2) a { background: var(--primary-fixed) !important; }
.nav-links li:nth-child(3) a { background: #ffff00 !important; }
.nav-links li:nth-child(4) a { background: var(--tertiary) !important; }


@media (max-width: 1024px) {

  main.container,
  .cyberspace-container {
    padding-top: 125px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--surface);
  background-image: radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--on-background);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Material Icons */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  line-height: 1;
}

.icon-filled {
  font-variation-settings: 'FILL' 1;
}

/* Typography */
.headline-xl {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 8vw, 4rem);
  text-transform: uppercase;
}

.headline-lg {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  text-transform: uppercase;
}

.label-sm {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mono-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.vt-font-creepy {
  font-family: var(--font-creepy);
  letter-spacing: 2px;
}

.text-primary {
  color: var(--primary-fixed);
}

.text-orange {
  color: var(--secondary-container);
}

.text-white {
  color: var(--tertiary);
}

.text-outline {
  -webkit-text-stroke: 1.5px #000;
  color: #fff;
}

.text-on-surface-variant {
  color: var(--on-surface-variant);
}

/* Logo Layout */
.logo-group {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
  overflow: visible;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
}

/* Neon Nerds Coded Logo */
.extreme-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.3s var(--ease-out-expo);
  text-decoration: none;
  cursor: pointer;
  transform: rotate(-4deg) translateY(10px);
}

.word-dialup {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: #ffff00;
  /* Neon Yellow */
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -1px;
  -webkit-text-stroke: 1.5px #0095b6;
  /* Cyan Outline */
  text-shadow:
    0 0 10px rgba(255, 255, 0, 0.5),
    3px 3px 0px #000;
  transform: rotate(-2deg) translateX(-10px);
  /* Aligned with DREAM */
  z-index: 2;
  text-transform: none;
  /* Keep "Dial-Up" case */
}

.word-dream {
  font-family: 'Fredoka One', cursive;
  font-size: 3.2rem;
  color: #0095b6;
  /* Nerds Cyan */
  font-weight: 900;
  line-height: 0.8;
  background: #fff;
  padding: 0.2rem 1.2rem;
  border: 6px solid #0095b6;
  border-radius: 12px;
  box-shadow: 6px 6px 0px #000;
  transform: rotate(-2deg) skew(-5deg);
  margin-top: -8px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #000;
  /* Added black outline */
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.extreme-logo::after {
  content: 'SURF NOSTALGIA';
  position: absolute;
  bottom: -32px;
  /* Tightened up further */
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  /* Opposes DREAM's -2deg tilt */
  background: #000;
  color: #fff;
  padding: 2px 15px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
  box-shadow: 4px 4px 0px var(--tertiary);
  /* Neon Pink Shadow */
  border-radius: 2px;
}

.extreme-logo:hover {
  transform: rotate(0deg) scale(1.1) translateY(10px);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 4px solid var(--primary-fixed);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Hamburger Toggle (Hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  transition: transform 0.3s var(--ease-out-expo);
}

.menu-toggle .bar {
  width: 100%;
  height: 6px;
  background: var(--primary-fixed);
  border: 2px solid #000;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0 #000;
}

/* Hamburger Animation */
.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


/* Navigation Links (Match static site colors) */
.nav-links {
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none !important;
  display: block;
  position: relative;
}

/* Hard-remove any dots/bullets/separators from WordPress menus */
.nav-links,
.nav-links * {
  list-style: none !important;
  list-style-type: none !important;
}

.nav-links *::before,
.nav-links *::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.nav-links a {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  text-decoration: none;
  font-family: var(--font-retro);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  color: #fff !important;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  display: inline-block;
  transform: rotate(-2deg);
  -webkit-text-stroke: 1px #000;
  text-shadow: 2px 2px 0 #000;
}

/* Colors are defined at the top of the stylesheet via nth-child rules */

.nav-links a:hover {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 6px 6px 0 var(--accent-orange);
  filter: brightness(1.1);
}

.nav-links .current-menu-item a,
.nav-links .current_page_item a,
.nav-links a.text-primary {
  /* Removed border-bottom to match other navigation items */
}


/* Section Titles (from Website Design) */
.section-header-wrapper {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-family: var(--font-retro);
  color: #fff;
  background: var(--primary-fixed);
  /* Cyan */
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 8px 25px;
  text-transform: uppercase;
  display: inline-block;
  transform: rotate(-2deg);
  -webkit-text-stroke: 1px #000;
  text-shadow: 2px 2px 0 #000;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-title:hover {
  transform: rotate(0deg) scale(1.05);
  background: var(--nick-slime);
  color: #000;
  box-shadow: 0 0 15px var(--nick-slime);
}

/* Section-Specific Title Colors */
#podcasts .section-title {
  background: var(--secondary-container) !important;
  /* Yellow */
  color: #fff !important;
  /* White text as requested */
  border-color: #000 !important;
}

#blogs .section-title {
  background: var(--tertiary) !important;
  /* Pink */
  color: #fff !important;
  border-color: #000 !important;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

main {
  padding-bottom: 5rem;
}

.hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 6rem;
  min-height: 50vh;
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: #1a1a2e;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  border: 4px solid var(--tertiary);
  border-radius: 40px;
  padding: 4rem;
  box-sizing: border-box;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 0, 255, 0.1);
  z-index: 2;
}

.hero-text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.imac-tv-container { flex: 1; display: flex; justify-content: center; }

@media (min-width: 1024px) {
  .hero-section {
    flex-direction: row;
    width: 100%;
    padding: 0 4rem;
    /* Aligns with the inner padding of content-containers */
  }
}

.hero-text {
  flex: 1;
  max-width: 550px;
  position: relative;
  z-index: 2;
}

.hero-title-wrapper h1,
.hero-title-wrapper h2 {
  font-size: 3.5rem;
  font-family: 'Fredoka One', cursive;
  margin-bottom: 2rem;
  color: var(--primary-fixed);
  /* Cyan */
  background: #fff;
  padding: 0.5rem 1.5rem;
  border: 8px solid var(--primary-fixed);
  border-radius: 16px;
  box-shadow: 10px 10px 0px #000;
  display: inline-block;
  transform: rotate(-4deg) skew(-5deg);
  -webkit-text-stroke: 2px #000;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}


.content-section {
  padding: 1rem 1.5rem;
  max-width: 1400px;
}

.g3-btn {
  background: var(--tertiary);
  /* Magenta */
  color: #fff;
  padding: 10px 25px;
  font-size: 1.5rem;
  font-weight: 900;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  font-family: var(--font-retro);
  text-transform: uppercase;
  display: inline-block;
  transform: rotate(-2deg);
  -webkit-text-stroke: 1px #000;
  /* Added thin black outline */
  transition: all 0.1s;
}

.g3-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #000;
}

/* iMAC G3 TV CSS (Ported from Website Design) */
.imac-tv-container {
  perspective: 1200px;
  width: 100%;
  max-width: 100%;
}

.imac-bezel {
  width: 100%;
  max-width: 550px;
  background: linear-gradient(135deg, rgba(82, 19, 128, 0.9) 0%, rgba(138, 43, 226, 0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 30px 30px 60px 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.2);
  position: relative;
}

.imac-screen {
  background: #0a0a0a;
  border-radius: 25px;
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
  border: 8px solid rgba(20, 20, 20, 0.8);
}

.imac-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1));
  background-size: 100% 4px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.5;
}

.glare {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 11;
  pointer-events: none;
  border-radius: 25px;
  transform: rotate(15deg);
}

.imac-chin {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 50px;
}

.speaker-grill {
  width: 80px;
  height: 35px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 2px, transparent 2.5px);
  background-size: 8px 8px;
  border-radius: 15px;
  opacity: 0.7;
}

.power-button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(57, 255, 20, 0.9), rgba(40, 200, 10, 0.9));
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CRT TV Styles (from Retro Aggregator) */
.crt-housing {
  background: linear-gradient(145deg, #2c2c2e 0%, #1a1a1c 100%);
  border: 4px solid #111;
  box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.05), inset -2px -2px 10px rgba(0, 0, 0, 0.5), 0 30px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  border-radius: 40px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 60rem;
  width: 95%;
  margin: 0 auto;
}

.crt-bezel {
  background: #111;
  border-radius: 24px;
  padding: 12px;
  box-shadow: inset 0 0 20px #000;
  width: 100%;
}

.crt-screen-container {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 1);
  aspect-ratio: 16 / 9;
}

.crt-screen-curved {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  transform: scale(1.03);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.crt-scanlines {
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%);
  background-size: 100% 4px;
  z-index: 5;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.vhs-overlay {
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 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% 2px, 3px 100%;
  pointer-events: none;
}

.crt-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3a3a3c, #1a1a1c);
  border: 1px solid #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crt-dial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #444, #111);
  border: 2px solid #000;
  position: relative;
  cursor: pointer;
}

.crt-dial::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 8px;
  background: var(--primary-fixed);
  transform: translateX(-50%);
}

/* Stretched Link (Makes whole card clickable) */
.stretched-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20; /* Increased to stay on top of everything */
  cursor: pointer;
}

.media-card,
.pod-card,
.article-card {
  position: relative;
  /* Required for stretched-link */
  transition: var(--transition-smooth);
}

.media-card {
  background: #ffffff;
  border-radius: var(--rounded);
  padding: 1.25rem;
  border: 4px solid var(--tertiary);
  position: relative;
  overflow: hidden;
  box-shadow: 8px 8px 0px #000;
}

.media-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-fixed);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(151, 252, 0, 0.2);
}

.media-thumb {
  aspect-ratio: 16/9;
  border-radius: calc(var(--rounded) / 2);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  background: #000;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.8s var(--ease-out-expo);
}

.media-card:hover .media-thumb img {
  transform: scale(1.1);
  opacity: 1;
}

.time-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--primary-fixed);
  border: 1px solid rgba(151, 252, 0, 0.3);
}

.content-container {
  background-color: #1a1a2e;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  border: 4px solid var(--tertiary);
  border-radius: 40px;
  padding: 2.5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

#podcasts .content-container {
  border-color: #ffff00; /* Yellow to match title */
}

/* Retro Videos Specific Cyan Theme */
#videos .content-container {
  border-color: var(--primary-fixed) !important;
}

#videos .media-card {
  border-color: var(--primary-fixed) !important;
}

#videos .media-card h3,
#videos .media-card .text-white {
  color: var(--primary-fixed) !important;
}

.pod-card {
  background: #ffffff;
  border-radius: var(--rounded);
  padding: 1.25rem;
  border: 4px solid var(--secondary-container);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  box-shadow: 8px 8px 0px #000;
}

.pod-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary-container);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.pod-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.pod-thumb::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 6%, transparent 8%),
    linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.1) 100%);
  border-left: 2px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: inset 10px 0 10px rgba(0,0,0,0.6);
  pointer-events: none;
  z-index: 2;
}

.pod-thumb img {
  width: 92%;
  height: 100%;
  margin-left: 8%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   BACK OF CD CASE LAYOUT
   ========================================================================== */

/* ==========================================================================
   OPENED CD CASE LAYOUT
   ========================================================================== */

.podcast-single-frame {
  background: #ffffff;
  border: 4px solid var(--secondary-container); /* Yellow retro accent border */
  border-radius: var(--rounded-lg);
  padding: 2.5rem;
  box-shadow: 12px 12px 0px #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.podcast-frame-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-retro); /* Bangers */
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: #111111;
  border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 0.75rem;
}

.podcast-frame-header .header-icon {
  color: var(--nick-orange); /* Splat attack orange */
  font-size: 1.5rem;
}

.podcast-episode-title {
  font-family: var(--font-headline); /* Fredoka One */
  color: #111111;
  font-size: 2rem;
  margin: 0;
  line-height: 1.3;
}

.podcast-player-wrapper {
  width: 100%;
}

/* Ensure the player plugin styling fits perfectly inside our container */
.podcast-player-wrapper .pp-podcast {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.podcast-player-wrapper .pp-podcast__wrapper {
  background: #ffffff !important;
  border: none !important;
}

.podcast-player-wrapper .ppjs__list-reveal .ppjs__button button,
.podcast-player-wrapper .ppjs__list-reveal .pp-list-btn,
.podcast-player-wrapper .pp-prev-btn,
.podcast-player-wrapper .pp-next-btn {
  background: var(--nick-orange) !important;
  border: 3px solid #000000 !important;
  border-radius: 8px !important;
  box-shadow: 4px 4px 0px #000000 !important;
  color: #ffffff !important;
  font-family: var(--font-headline) !important;
  transition: var(--transition-fast) !important;
}

.podcast-player-wrapper .ppjs__list-reveal .ppjs__button button:hover,
.podcast-player-wrapper .ppjs__list-reveal .pp-list-btn:hover,
.podcast-player-wrapper .pp-prev-btn:hover,
.podcast-player-wrapper .pp-next-btn:hover {
  background: var(--nick-slime) !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 6px 6px 0px #000000 !important;
}

.podcast-player-wrapper .ppjs__list-reveal .ppjs__button button:active,
.podcast-player-wrapper .ppjs__list-reveal .pp-list-btn:active,
.podcast-player-wrapper .pp-prev-btn:active,
.podcast-player-wrapper .pp-next-btn:active {
  transform: translateY(2px) !important;
  box-shadow: 2px 2px 0px #000000 !important;
}

.podcast-player-wrapper .episode-list__load-more {
  background: var(--nick-orange) !important;
  border: 3px solid #000000 !important;
  border-radius: 8px !important;
  box-shadow: 4px 4px 0px #000000 !important;
  color: #ffffff !important;
  font-family: var(--font-headline) !important;
  padding: 0.75rem 1.5rem !important;
  transition: var(--transition-fast) !important;
}

.podcast-player-wrapper .episode-list__load-more:hover {
  background: var(--nick-slime) !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 6px 6px 0px #000000 !important;
}

.podcast-player-wrapper .episode-list__load-more:active {
  transform: translateY(2px) !important;
  box-shadow: 2px 2px 0px #000000 !important;
}

.podcast-player-wrapper .episode-list__search input {
  border: 3px solid #000000 !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-family: var(--font-body) !important;
  box-shadow: inset 2px 2px 0px rgba(0,0,0,0.1) !important;
}

.podcast-player-wrapper .episode-list__search input:focus {
  outline: none !important;
  border-color: var(--primary-fixed) !important;
}

.podcast-player-wrapper .episode-list__filter-select {
  border: 3px solid #000000 !important;
  border-radius: 8px !important;
  padding: 0.5rem !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-family: var(--font-body) !important;
}

.podcast-player-wrapper .episode-list__entry {
  background: #fbfbfb !important;
  border: 3px solid #000000 !important;
  border-radius: 12px !important;
  margin-bottom: 1.25rem !important;
  padding: 1rem !important;
  box-shadow: 6px 6px 0px #000000 !important;
  transition: var(--transition-fast) !important;
}

.podcast-player-wrapper .episode-list__entry:hover {
  border-color: var(--primary-fixed) !important;
  transform: translateY(-4px) !important;
  box-shadow: 10px 10px 0px #000000 !important;
  background: #ffffff !important;
}

.podcast-player-wrapper .pod-entry__title a {
  color: #111111 !important;
  font-family: var(--font-headline) !important;
  font-size: 1.15rem !important;
  text-decoration: none !important;
  transition: var(--transition-fast) !important;
}

.podcast-player-wrapper .pod-entry__title a:hover {
  color: var(--nick-orange) !important;
}

.podcast-player-wrapper .pod-entry__date {
  font-family: var(--font-mono) !important;
  font-size: 0.8rem !important;
  color: #666666 !important;
  margin-top: 0.25rem;
}

.podcast-player-wrapper .pod-entry__author {
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  color: #444444 !important;
}

.podcast-player-wrapper .pod-items__title {
  font-family: var(--font-headline) !important;
  color: #111111 !important;
  font-size: 1.5rem !important;
}

.podcast-player-wrapper .pod-items__desc {
  font-family: var(--font-body) !important;
  color: #333333 !important;
}

/* Mobile Responsiveness for Podcast Frame */
@media (max-width: 600px) {
  .podcast-single-frame {
    padding: 1.5rem;
    border-radius: var(--rounded);
    box-shadow: 8px 8px 0px #000000;
  }
  .podcast-episode-title {
    font-size: 1.5rem;
  }
}

.pod-card:hover .pod-thumb img {
  transform: scale(1.1);
}

.article-card {
  background: #ffffff;
  border-radius: var(--rounded);
  border: 4px solid var(--tertiary);
  /* Pink Outline */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: 8px 8px 0px #000;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-fixed);
  z-index: 5;
}

.article-card .article-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: calc(var(--rounded) / 2);
  overflow: hidden;
  border: 2px solid #000;
  margin-bottom: 1rem;
}

.article-card .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tactile-btn {
  box-shadow: 0 4px 0 0 #521900;
  transition: all 0.1s ease-in-out;
  cursor: pointer;
  border: none;
}

.tactile-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 #521900;
}

/* Interactive Elements */
.icon-btn {
  background: transparent;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: relative;
  z-index: 11;
  /* Sit above the stretched-link overlay */
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--secondary-container);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--secondary-container);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--secondary-container);
  color: black;
  box-shadow: 0 0 15px var(--secondary-container);
}

/* Footer */
footer {
  background: #000;
  border-top: 4px solid var(--primary-fixed);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* Mobile Enhancements */
@media (max-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-section {
    padding: 2rem 1rem;
  }

  .content-container {
    padding: 1.5rem;
  }

  .section-header-wrapper {
    display: block !important;
    margin-bottom: 2rem;
    text-align: center;
  }

  .desktop-only-btn {
    display: none !important;
  }

  .see-more-wrapper.mobile-only-btn {
    display: flex !important;
    justify-content: center;
    margin-top: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
    padding: 6px 15px;
  }
}

/* Tablet & Mobile Navigation Menu Collapsing (Pixel Tablet & iPad Breakpoint) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    /* Solid retro black */
    padding: 10rem 2rem 5rem 2rem;
    z-index: 1000;
    gap: 3rem !important;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 10px solid var(--nick-slime);
    overflow-y: auto;
  }

  .nav-links.is-active {
    display: flex !important;
  }

  .nav-links a {
    font-size: 2.5rem !important;
    text-shadow: 4px 4px 0 #000;
  }

  .menu-toggle {
    display: flex;
  }

  .header {
    padding: 0 1.5rem;
    height: 5.5rem;
  }

  .logo-container {
    transform: scale(0.7);
    transform-origin: left center;
  }

  main {
    padding-top: 125px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    margin-top: 0;
    min-height: auto;
    justify-content: flex-start;
  }

  .hero-text {
    margin: 0 auto;
    text-align: center;
  }

  .hero-text h1,
  .hero-text h2 {
    font-size: 2.2rem;
  }

  footer {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
    padding: 3rem 1rem;
  }

  footer .logo-container {
    align-items: center !important;
    transform: scale(0.6) !important;
    margin: 0 auto;
    transform-origin: center center;
  }

  .media-card,
  .pod-card,
  .article-card {
    padding: 1rem;
  }

  .headline-lg {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   REFINEMENTS - MAY 2026 (Options 2 & 3)
   To revert: Remove or comment out the section below.
   ========================================================================== */

/* Option 2: iMac G3 "Power On" Animation */
.imac-screen {
  animation: crt-power-on 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  background: #000;
  overflow: hidden;
  position: relative;
}

@keyframes crt-power-on {
  0% {
    transform: scaleY(0.005) scaleX(0);
    filter: brightness(5);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  40% {
    transform: scaleY(0.005) scaleX(1.1);
    filter: brightness(2);
  }

  100% {
    transform: scaleY(1) scaleX(1);
    filter: brightness(1);
    opacity: 1;
  }
}

/* Add a brief white "flash" overlay */
.imac-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  animation: crt-flash 1.2s ease-out forwards;
  z-index: 5;
}

@keyframes crt-flash {
  0% {
    opacity: 0;
  }

  45% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  60% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hover-slime {
  transition: color 0.2s ease;
  text-decoration: none;
}

.hover-slime:hover {
  color: var(--nick-slime) !important;
}

.media-thumb {
  position: relative;
  overflow: hidden;
  border: 4px solid #000;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.media-thumb .scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1));
  background-size: 100% 4px;
  z-index: 5;
  pointer-events: none;
}

/* Option 3: Tactile Card Hover Effects */
.media-card,
.pod-card,
.article-card {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.media-card:hover,
.pod-card:hover,
.article-card:hover {
  transform: translateY(-8px) scale(1.03) rotate(1deg);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.6), 0 0 50px rgba(57, 255, 20, 0.3);
  z-index: 10;
}

.crt-housing {
  background: linear-gradient(135deg, rgba(82, 19, 128, 0.95) 0%, rgba(138, 43, 226, 0.8) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative;
}

.crt-bezel {
  background: rgba(10, 10, 10, 0.8);
  border-radius: 30px;
  padding: 10px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 1);
}

.crt-screen-container {
  position: relative;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 1);
}

.noise-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  background: #1a1a1a;
  /* Deep grey for better static contrast */
}

.noise-overlay::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.45;
  /* Significantly boosted for more "Grain" visibility */
  animation: noise-move 0.2s infinite;
  pointer-events: none;
}

@keyframes noise-move {
  0% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -5%);
  }

  20% {
    transform: translate(-10%, 5%);
  }

  30% {
    transform: translate(5%, -10%);
  }

  40% {
    transform: translate(-5%, 15%);
  }

  50% {
    transform: translate(-10%, 5%);
  }

  60% {
    transform: translate(15%, 0);
  }

  70% {
    transform: translate(0, 10%);
  }

  80% {
    transform: translate(-15%, 0);
  }

  90% {
    transform: translate(10%, 5%);
  }

  100% {
    transform: translate(5%, 0);
  }
}

/* Hero Signal Cables */

/* ==========================================================================
   PODCAST PLAYER STYLING
   ========================================================================== */

.pod-player-wrapper {
  margin-top: 2rem;
  background: #000;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.2);
}

.retro-neon-border {
  border: 4px solid var(--secondary-container);
  /* Neon Yellow */
  position: relative;
  overflow: hidden;
}

.retro-neon-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 1;
}

/* Custom overrides for the Podcast Player plugin if needed */
.pod-player-wrapper .pp-podcast {
  border: none !important;
  background: transparent !important;
}

@media (max-width: 1024px) {
  .pod-player-wrapper {
    padding: 0.5rem;
  }
}

/* ==========================================================================
   WIN95 EXPLORER BLOG STYLES (Time Capsule)
   ========================================================================== */

.win95-window {
  background: #c0c0c0; /* Classic Win95 Grey */
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 15px 15px 40px rgba(0,0,0,0.4);
  max-width: 900px;
  margin: 0 auto 4rem auto;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  display: block !important;
}

.win95-title-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.win95-title-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.win95-controls {
  display: flex;
  gap: 2px;
}

.win95-btn {
  width: 18px;
  height: 16px;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  font-size: 10px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.win95-content {
  background: white;
  margin: 4px;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 3rem;
  color: #1a1a1f;
}

.win95-article h1 {
  font-family: var(--font-headline);
  color: var(--tertiary); /* Neon Pink Title */
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-transform: none !important;
}

@media (max-width: 1024px) {
  .win95-article h1 {
    font-size: 1.8rem !important;
  }
}

.win95-article .article-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #808080;
  border-bottom: 1px solid #c0c0c0;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.win95-article p {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #1a1a1f !important;
}

.win95-article ul,
.win95-article ol {
  margin-bottom: 1.5rem !important;
  padding-left: 2rem !important;
  list-style-type: square !important;
}

.win95-article li {
  font-family: 'Georgia', serif !important;
  font-size: 1.25rem !important;
  line-height: 1.8 !important;
  color: #1a1a1f !important;
  margin-bottom: 0.5rem !important;
}

.polaroid-frame {
  background: white;
  padding: 12px 12px 40px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #eee;
  transform: rotate(-1deg);
  margin: 2rem 0;
  max-width: 100%;
}

.polaroid-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.win95-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #c0c0c0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  filter: grayscale(1);
  opacity: 0.5;
  color: #1a1a1f !important;
}

/* FINAL MOBILE OVERRIDES */
@media (max-width: 1024px) {
  .hero-section {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
    padding: 2.5rem 1.5rem !important;
  }
  
  .hero-text-column {
    display: contents !important;
  }

  .hero-title-wrapper { order: 1 !important; }
  .imac-tv-container { order: 2 !important; width: 100% !important; margin: 0 auto !important; }
  .hero-cta-wrapper   { order: 3 !important; }

  .hero-title-wrapper h1,
  .hero-title-wrapper h2 {
    font-size: 2.2rem !important;
    padding: 0.5rem 1rem !important;
    border-width: 4px !important;
    margin: 0 auto !important;
    transform: rotate(-1deg) !important;
  }

  .imac-tv-container {
    max-width: 100% !important;
    transform: none !important;
    margin: 0 auto !important;
  }
  .imac-bezel {
    padding: 6px 6px 55px 6px !important; /* Expanded chin for button fit */
    border-radius: 22px !important;
    aspect-ratio: 1 / 1.1 !important; /* Adjusted for the taller chin */
    display: flex !important;
    flex-direction: column !important;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1) !important;
  }
  .imac-screen {
    height: 100% !important;
    width: 100% !important;
    border-width: 4px !important; /* Balanced inner border */
    aspect-ratio: unset !important;
  }
  .imac-chin {
    display: flex !important;
    padding: 0 15px !important;
    bottom: 15px !important; /* Centered in the expanded space */
  }
  .speaker-grill {
    width: 40px !important;
    height: 15px !important;
    display: block !important;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 1px, transparent 1.2px) !important;
    background-size: 4px 4px !important; /* Denser dots for mobile */
  }
}

/* Bold Retro See More Button */
.see-more-btn {
  font-family: var(--font-outfit), sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  border: 2px solid #000;
  background: #000;
  color: #fff !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  margin-bottom: 4px;
  display: inline-block;
}

.see-more-btn:hover {
  color: #000 !important;
  box-shadow: 3px 3px 0 #000;
  transform: translateY(-2px);
}

.see-more-btn.videos-theme:hover { background: var(--primary-fixed) !important; }
.see-more-btn.podcasts-theme:hover { background: var(--secondary-container) !important; }
.see-more-btn.blogs-theme:hover { background: var(--tertiary) !important; }

/* Hide mobile-only see-more wrapper on desktop */
.see-more-wrapper {
  display: none;
}
/* ==========================================================================
   VCR FILTER CONSOLE (Retro Wrestling Archives)
   ========================================================================== */
.vcr-console {
  position: relative;
  background: #151520;
  border: 4px solid var(--primary-fixed);
  border-radius: 12px;
  box-shadow: 6px 6px 0 #000, 0 0 20px rgba(0, 149, 182, 0.25);
  padding: 1.75rem 1.5rem;
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.vcr-deck-label {
  position: absolute;
  top: -14px;
  left: 20px;
  background: #000;
  color: var(--primary-fixed); /* Cyan blue text */
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  border: 2px solid var(--primary-fixed); /* Cyan blue border */
  letter-spacing: 1px;
}

.vcr-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vcr-btn {
  font-family: var(--font-retro);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
  background: #252630;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.1s ease;
  transform: translate(0, 0);
  -webkit-text-stroke: 0.5px #000;
}

.vcr-btn:hover:not(.active) {
  color: #fff;
  background: #2e2f3d;
  box-shadow: 4px 4px 0 #000;
  transform: translate(-1px, -1px);
}

.vcr-btn.active {
  color: #000;
  background: var(--primary-fixed); /* Glow active Cyan Blue */
  border-color: #000;
  box-shadow: 1px 1px 0 #000;
  transform: translate(2px, 2px);
  text-shadow: none;
}

.vcr-screen {
  flex: 1;
  min-width: 280px;
}

.vcr-search-input {
  width: 100%;
  background: #0d0d18;
  border: 3px solid #000;
  border-radius: 6px;
  padding: 14px 20px;
  font-family: var(--font-outfit), var(--font-body), sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #39FF14; /* Slime green glow text */
  text-shadow: 0 0 5px rgba(57, 255, 20, 0.4);
  outline: none;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.8), 0 0 10px rgba(57, 255, 20, 0.1);
}

.vcr-search-input::placeholder {
  color: #7a7d97;
  text-shadow: none;
}

.vcr-select-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.vcr-select {
  background: #252630;
  color: #fff;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  border-radius: 6px;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 12px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vcr-select:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--tertiary); /* Magenta shadow on hover */
}

/* Hidden elements class */
.media-card.vcr-hidden {
  display: none !important;
}

/* Responsive adjustment for VCR Console */
@media (max-width: 1024px) {
  .vcr-console {
    flex-direction: column;
    align-items: stretch;
  }
  .vcr-controls {
    justify-content: center;
  }
  .vcr-select-group {
    justify-content: center;
  }
}

/* Videos Theme Overrides for Category Archive Pages */
.videos-theme .content-container {
  border-color: var(--primary-fixed) !important;
}
.videos-theme .media-card {
  border-color: var(--primary-fixed) !important;
}
.videos-theme .media-card h3 a,
.videos-theme .media-card .text-white {
  color: var(--primary-fixed) !important;
}

/* Autocomplete Dropdown Styles */
.vcr-autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #090910;
  border: 3px solid #000;
  border-radius: 6px;
  box-shadow: 6px 6px 0 #000;
  max-height: 250px;
  overflow-y: auto;
  z-index: 100;
  display: none; /* Controlled by JS */
}

.vcr-suggestion-item {
  padding: 8px 14px;
  font-family: var(--font-outfit), var(--font-body), sans-serif;
  font-size: 0.95rem;
  color: #39FF14; /* Slime green text */
  cursor: pointer;
  border-bottom: 1px solid #1c1d2e;
  transition: all 0.1s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.vcr-suggestion-item:last-child {
  border-bottom: none;
}

.vcr-suggestion-item.highlighted,
.vcr-suggestion-item:hover {
  background: var(--primary-fixed) !important; /* Tactile cyan highlight */
  color: #000 !important;
}

.vcr-suggestion-header {
  background: #040408;
  color: #555;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-bottom: 1px solid #1c1d2e;
  pointer-events: none;
  text-transform: uppercase;
  text-align: left;
}

/* Hide mobile-only see-more wrapper on desktop */
.see-more-wrapper {
  display: none;
}

/* Single Video View Bezel Mobile Adjustments */
@media (max-width: 1024px) {
  .single-video-container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .single-video-container .content-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
  }

  .crt-housing {
    padding: 12px 12px 18px 12px !important;
    border-radius: 20px !important;
  }

  .crt-bezel {
    padding: 6px !important;
    border-radius: 14px !important;
  }

  .crt-screen-container {
    border-radius: 10px !important;
  }

  .crt-status-bar {
    margin-top: 0.75rem !important;
    padding: 0 0.5rem !important;
    font-size: 0.9rem !important;
  }

  .crt-status-bar span {
    font-size: 16px !important;
  }

  .article-text {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

/* ==========================================================================
   Retro Search Portal Styles (AltaVista / Yahoo! '98 Theme)
   ========================================================================== */

.retro-search-input:focus {
  outline: none;
  border-color: var(--secondary-container) !important;
  box-shadow: 0 0 12px var(--secondary-container);
}

.retro-search-button:hover {
  background: var(--primary-fixed) !important;
  color: #000 !important;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px var(--tertiary) !important;
}

.retro-search-button:active {
  border-style: inset !important;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px rgba(0,0,0,0.5) !important;
}

.directory-map {
  background: #110c1c;
  border: 4px double var(--secondary-container);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
  margin-bottom: 4rem;
}

.directory-map a {
  transition: color 0.15s ease-in-out;
}

.directory-map a:hover {
  color: var(--primary-fixed) !important;
  text-shadow: 0 0 8px rgba(151, 252, 0, 0.4);
}

.retro-error-container {
  text-align: center;
  margin: 4rem auto;
  max-width: 600px;
  padding: 2rem;
  background: #000;
  border: 4px solid var(--secondary-container);
  box-shadow: 8px 8px 0 var(--tertiary);
  position: relative;
  overflow: hidden;
}

@keyframes pulse {
  from { opacity: 0.6; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}

/* Responsive grid overrides for search */
@media (max-width: 1024px) {
  .directory-map .grid-cols-3 {
    grid-template-cols: 1fr;
    gap: 2rem;
  }
  .directory-map div {
    border-right: none !important;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-right: 0 !important;
    padding-bottom: 1.5rem;
  }
  .directory-map div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Header Navigation Search Button Fix */
.nav-links a.nav-search {
  background: var(--nick-orange) !important;
}

.nav-links a.nav-search:hover {
  background: var(--nick-slime) !important;
  color: #000 !important;
  box-shadow: 6px 6px 0 var(--nick-purple) !important;
}

/* Placeholder contrast styling */
.retro-search-input::placeholder {
  color: #777777 !important;
  opacity: 1 !important;
}

#search-portal .section-title {
  transform: none !important;
  cursor: default !important;
  color: #fff !important;
}

#search-portal .section-title:hover {
  transform: none !important;
  box-shadow: 6px 6px 0 #000 !important;
  background: var(--primary-fixed) !important;
  color: #fff !important;
}

/* Floating Retro Search Assistant (FAB) */
.retro-search-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.retro-search-fab .fab-icon-container {
  width: 60px;
  height: 60px;
  background: var(--secondary-container); /* Neon Yellow */
  border: 4px solid #000;
  border-radius: 50%;
  box-shadow: 6px 6px 0px #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.retro-search-fab .fab-icon-container span {
  font-size: 28px;
  color: #000;
  font-weight: bold;
}

/* Tooltip speech bubble styled like BonziBuddy/Win95 help assistant bubble */
.retro-search-fab .fab-bubble {
  background: #ffffcc; /* Soft cream yellow */
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.15);
  margin-bottom: 8px;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out-expo);
  pointer-events: none;
  white-space: nowrap;
}

/* Speech bubble arrow */
.retro-search-fab .fab-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ffffcc transparent;
  display: block;
  width: 0;
}

.retro-search-fab .fab-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #000 transparent;
  display: block;
  width: 0;
  z-index: -1;
}

/* Hover effects */
.retro-search-fab:hover .fab-icon-container {
  transform: scale(1.1) rotate(15deg);
  background: var(--nick-slime) !important; /* Slime Green */
  box-shadow: 8px 8px 0px var(--tertiary) !important; /* Pink Shadow */
}

.retro-search-fab:hover .fab-bubble {
  opacity: 1;
  transform: translateY(0);
}



