/* CSS Variables for Theme Switching */
:root {
  --primary-bg: #87CEEB;
  --secondary-bg: #E0F6FF;
  --text-color: #2C3E50;
  --neon-pink: #FF00FF;
  --neon-cyan: #00FFFF;
  --neon-yellow: #FFFF00;
  --neon-green: #00FF00;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

.night-mode {
  --primary-bg: #0F0F1B;
  --secondary-bg: #1A1A2E;
  --text-color: #FFFFFF;
  --glass-bg: rgba(0, 0, 0, 0.3);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
  transition: all 0.5s ease;
}

/* Background Container */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Stars Animation (Night Mode) */
.stars-container {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.night-mode .stars-container {
  opacity: 1;
}

.stars-container::before,
.stars-container::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite alternate;
}

.stars-container::before {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.stars-container::after {
  top: 60%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes twinkle {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.2); }
}

/* Generate multiple stars */
.stars-container {
  background-image: 
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 40px 70px, white, transparent),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(1px 1px at 130px 80px, white, transparent),
    radial-gradient(2px 2px at 160px 30px, white, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* Clouds Animation (Day Mode) */
.clouds-container {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.night-mode .clouds-container {
  opacity: 0;
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 50px;
  opacity: 0.8;
  animation: float 20s infinite linear;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50px;
}

.cloud1 {
  width: 80px;
  height: 40px;
  top: 20%;
  left: -100px;
  animation-duration: 25s;
}

.cloud1::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 10px;
}

.cloud1::after {
  width: 60px;
  height: 40px;
  top: -15px;
  right: 10px;
}

.cloud2 {
  width: 60px;
  height: 30px;
  top: 40%;
  left: -80px;
  animation-duration: 30s;
  animation-delay: -10s;
}

.cloud3 {
  width: 100px;
  height: 50px;
  top: 60%;
  left: -120px;
  animation-duration: 35s;
  animation-delay: -20s;
}

@keyframes float {
  0% { transform: translateX(-100px); }
  100% { transform: translateX(calc(100vw + 100px)); }
}

/* Birds Animation (Day Mode) */
.birds-container {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.night-mode .birds-container {
  opacity: 0;
}

.bird {
  position: absolute;
  font-size: 20px;
  animation: fly 15s infinite linear;
}

.bird1 {
  top: 25%;
  left: -50px;
  animation-duration: 18s;
}

.bird2 {
  top: 35%;
  left: -50px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.bird3 {
  top: 45%;
  left: -50px;
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes fly {
  0% { transform: translateX(-50px) translateY(0px); }
  25% { transform: translateX(25vw) translateY(-10px); }
  50% { transform: translateX(50vw) translateY(5px); }
  75% { transform: translateX(75vw) translateY(-5px); }
  100% { transform: translateX(calc(100vw + 50px)) translateY(0px); }
}

/* Sun Animation (Day Mode) */
.sun {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #FFD700, #FFA500);
  border-radius: 50%;
  opacity: 1;
  transition: opacity 0.5s ease;
  animation: pulse 3s infinite ease-in-out;
}

.night-mode .sun {
  opacity: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px #FFD700; }
  50% { transform: scale(1.1); box-shadow: 0 0 40px #FFD700; }
}

/* Sidebar Toggle Button */
.sidebar-toggle-main {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-color);
  font-family: 'Orbitron', monospace;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.sidebar-toggle-main:hover {
  background: var(--glass-border);
  transform: scale(1.05);
}

.hamburger {
  font-size: 18px;
}

.toggle-text {
  font-size: 12px;
  white-space: nowrap;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--glass-border);
}

.day-icon {
  display: block;
}

.night-icon {
  display: none;
}

.night-mode .day-icon {
  display: none;
}

.night-mode .night-icon {
  display: block;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border-right: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  overflow-y: auto;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 5px;
  transition: background 0.3s ease;
  min-height: 44px;
}

.sidebar-close:hover {
  background: var(--glass-border);
}

.close-text {
  font-size: 12px;
  font-family: 'Orbitron', monospace;
  font-weight: bold;
}

.sidebar-nav {
  margin-top: 60px;
}

.sidebar-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-family: 'Audiowide', cursive;
}

.nav-links,
.external-links {
  list-style: none;
  margin-bottom: 30px;
}

.nav-links li,
.external-links li {
  margin-bottom: 12px;
}

.nav-links a,
.external-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 5px;
  display: block;
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-links a:hover,
.external-links a:hover {
  background: var(--glass-border);
  transform: translateX(5px);
}

/* Main Content */
.main-content {
  margin-left: 0;
  padding: 20px;
  transition: margin-left 0.5s ease;
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: 'Audiowide', cursive;
  margin-bottom: 20px;
  animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--neon-cyan) 50%,
    transparent 100%
  );
  opacity: 0.3;
  transform: perspective(500px) rotateX(60deg);
}

.grid-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--neon-pink);
  animation: gridMove 3s linear infinite;
}

.grid-line:nth-child(1) { top: 20px; animation-delay: 0s; }
.grid-line:nth-child(2) { top: 40px; animation-delay: 1s; }
.grid-line:nth-child(3) { top: 60px; animation-delay: 2s; }

@keyframes gridMove {
  0% { transform: translateZ(0); opacity: 1; }
  100% { transform: translateZ(-200px); opacity: 0; }
}

/* Content Sections */
.content-section {
  margin: 60px 0;
  padding: 40px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-family: 'Audiowide', cursive;
  text-align: center;
  margin-bottom: 30px;
}

/* TV Grid */
.tv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.tv-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 20px;
  border: 3px solid var(--neon-cyan);
  position: relative;
  overflow: hidden;
}

.tv-screen {
  background: #000;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tv-screen h3 {
  color: var(--neon-green);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.tv-screen p {
  color: #ccc;
  margin-bottom: 20px;
}

/* Arcade Grid */
.arcade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.arcade-machine {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 15px;
  padding: 20px;
  border: 2px solid var(--neon-yellow);
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.3);
}

.arcade-screen {
  background: #000;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pixel-text {
  font-family: 'Courier New', monospace;
  color: var(--neon-yellow);
  font-size: 1rem;
  margin-bottom: 15px;
}

.game-preview {
  font-size: 3rem;
  margin: 15px 0;
}

/* Movie Grid */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.vhs-tape {
  background: linear-gradient(145deg, #4a4a4a, #2a2a2a);
  border-radius: 10px;
  padding: 20px;
  border: 2px solid var(--neon-pink);
  position: relative;
  overflow: hidden;
}

.vhs-tape::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 20px;
  width: 30px;
  height: 15px;
  background: #000;
  border-radius: 3px;
}

.vhs-tape::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 20px;
  width: 30px;
  height: 15px;
  background: #000;
  border-radius: 3px;
}

.vhs-label {
  margin-top: 20px;
  text-align: center;
}

.vhs-label h3 {
  color: var(--neon-pink);
  margin-bottom: 10px;
}

/* Toys Grid */
.toys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.toy-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  border: 2px solid var(--neon-green);
}

.rubiks-cube,
.cabbage-patch,
.slap-bracelet {
  margin-bottom: 15px;
}

.cube-face,
.doll-face,
.bracelet-design {
  font-size: 3rem;
  margin: 15px 0;
}

/* Music Player */
.music-player {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.cassette-player {
  background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
  border-radius: 15px;
  padding: 30px;
  border: 2px solid var(--neon-cyan);
}

.cassette-deck {
  background: #000;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.cassette-tape {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tape-reel {
  width: 40px;
  height: 40px;
  border: 3px solid var(--neon-cyan);
  border-radius: 50%;
  animation: spin 3s linear infinite;
}

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

.player-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.control-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: var(--glass-border);
  transform: scale(1.1);
}

.equalizer {
  display: flex;
  justify-content: center;
  gap: 5px;
  height: 40px;
  align-items: end;
}

.eq-bar {
  width: 8px;
  background: var(--neon-green);
  border-radius: 4px;
  animation: equalizer 1s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: 0.2s; }
.eq-bar:nth-child(3) { animation-delay: 0.4s; }
.eq-bar:nth-child(4) { animation-delay: 0.6s; }
.eq-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes equalizer {
  0% { height: 10px; }
  100% { height: 40px; }
}

.song-list {
  list-style: none;
}

.song-list li {
  padding: 10px;
  margin: 5px 0;
  background: var(--glass-bg);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.song-list li:hover {
  background: var(--glass-border);
  transform: translateX(5px);
}

/* Buttons */
.retro-button,
.pixel-button,
.arcade-button,
.rewind-btn,
.solve-btn,
.adopt-btn,
.print-btn,
.trivia-btn,
.random-episode-btn,
.glitter-button {
  background: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan));
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  color: white;
  font-family: 'Orbitron', monospace;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 44px;
  font-size: 14px;
}

.retro-button:hover,
.pixel-button:hover,
.arcade-button:hover,
.rewind-btn:hover,
.solve-btn:hover,
.adopt-btn:hover,
.print-btn:hover,
.trivia-btn:hover,
.random-episode-btn:hover,
.glitter-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.random-episode-btn,
.glitter-button {
  display: block;
  margin: 20px auto;
  font-size: 16px;
  padding: 15px 30px;
}

/* Text Effects */
.neon-text {
  text-shadow: 
    0 0 5px var(--neon-pink),
    0 0 10px var(--neon-cyan),
    0 0 15px var(--neon-yellow);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    text-shadow: 
      0 0 5px var(--neon-pink),
      0 0 10px var(--neon-cyan),
      0 0 15px var(--neon-yellow);
  }
  100% {
    text-shadow: 
      0 0 10px var(--neon-pink),
      0 0 20px var(--neon-cyan),
      0 0 30px var(--neon-yellow);
  }
}

.glowing-text {
  text-shadow: 0 0 10px currentColor;
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { text-shadow: 0 0 5px currentColor; }
  100% { text-shadow: 0 0 15px currentColor; }
}

.glitter-link {
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-yellow), var(--neon-pink));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glitter 1.5s linear infinite;
  text-decoration: none;
  transition: all 0.3s ease;
}

@keyframes glitter {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

.glitter-link:hover {
  animation-duration: 0.5s;
  transform: scale(1.05);
}

/* CRT Filter Effect */
.crt-filter {
  position: relative;
  overflow: hidden;
}

.crt-filter::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(2px); }
}

/* Footer */
.footer {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--glass-border);
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-family: 'Audiowide', cursive;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-link {
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-yellow), var(--neon-pink));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glitter 2s linear infinite;
}

.footer-link:hover {
  background: var(--glass-border);
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 20px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .sidebar {
    width: 280px;
  }
  
  .hero-section {
    padding: 60px 15px 40px;
  }
  
  .content-section {
    margin: 40px 0;
    padding: 30px 15px;
  }
  
  .tv-grid,
  .arcade-grid,
  .movie-grid,
  .toys-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .music-player {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .sidebar-toggle-main {
    padding: 10px 12px;
  }
  
  .toggle-text {
    font-size: 10px;
  }
  
  .theme-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .content-section {
    padding: 20px 10px;
  }
  
  .cassette-player {
    padding: 20px;
  }
  
  .footer-links {
    gap: 12px;
  }
  
  .footer-link {
    padding: 10px 12px;
    font-size: 12px;
  }
}

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

/* Focus styles for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(0, 0, 0, 0.8);
    --glass-border: rgba(255, 255, 255, 0.8);
  }
  
  .night-mode {
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.8);
  }
}


/* Extra Links Sections */
.arcade-extras,
.movie-extras,
.toys-extras,
.music-extras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.arcade-extras .glitter-button,
.movie-extras .glitter-button,
.toys-extras .glitter-button,
.music-extras .glitter-button {
  padding: 12px 20px;
  font-size: 14px;
  min-width: 200px;
  text-align: center;
}

/* Ensure anchor tags in buttons maintain styling */
a.retro-button,
a.pixel-button,
a.arcade-button,
a.rewind-btn,
a.solve-btn,
a.adopt-btn,
a.print-btn,
a.trivia-btn,
a.random-episode-btn,
a.glitter-button,
a.control-btn {
  text-decoration: none;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile optimization for extra sections */
@media (max-width: 768px) {
  .arcade-extras,
  .movie-extras,
  .toys-extras,
  .music-extras {
    flex-direction: column;
    align-items: center;
  }
  
  .arcade-extras .glitter-button,
  .movie-extras .glitter-button,
  .toys-extras .glitter-button,
  .music-extras .glitter-button {
    width: 100%;
    max-width: 280px;
  }
}


/* 80s Nostalgic Visual Elements */
.nostalgic-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.retro-element {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.retro-element.cassette {
  top: 15%;
  left: 10%;
  transform: rotate(-15deg);
}

.retro-element.vhs {
  top: 25%;
  right: 15%;
  transform: rotate(10deg);
}

.retro-element.computer {
  bottom: 30%;
  left: 5%;
  transform: rotate(-5deg);
}

.retro-element.phone {
  top: 40%;
  right: 8%;
  transform: rotate(20deg);
}

.retro-element.radio {
  bottom: 20%;
  right: 20%;
  transform: rotate(-10deg);
}

.retro-element.disco {
  top: 60%;
  left: 15%;
  transform: rotate(5deg);
}

/* Section Decorative Elements */
.section-decoration {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.2;
  pointer-events: none;
}

/* 80s Pattern Backgrounds */
.content-section {
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, transparent 40%, rgba(255, 0, 255, 0.1) 50%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(0, 255, 255, 0.1) 50%, transparent 60%);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* Mobile optimization for nostalgic elements */
@media (max-width: 768px) {
  .retro-element {
    font-size: 1.5rem;
    opacity: 0.2;
  }
  
  .nostalgic-elements {
    display: none; /* Hide on very small screens to avoid clutter */
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .retro-element {
    font-size: 1.8rem;
    opacity: 0.25;
  }
}

