/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #8A2BE2;     /* Purple accent */
  --secondary: #FF6B6B;   /* Coral accent */
  --dark: #1A1A2E;        /* Deep blue */
  --light: #F8F9FA;       /* Light background */
  --text: #333333;        /* Main text */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><rect width="100" height="100" fill="none" stroke="black" stroke-width="2"/><path d="M20,20 L80,80 M80,20 L20,80" stroke="black"/></svg>');
}

/* ===== HEADER & NAV ===== */
header {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
  
  /* ===== 404 PAGE STYLES ===== */
.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
  color: #F8F9FA;
}

.error-container {
  max-width: 600px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  margin-bottom: -1rem;
  color: #FF6B6B;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.error-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #8A2BE2;
}

.error-message {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.home-link {
  display: inline-block;
  padding: 12px 30px;
  background: #8A2BE2;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.home-link:hover {
  background: transparent;
  border-color: #8A2BE2;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.music-note {
  display: inline-block;
  font-size: 2rem;
  margin: 0 5px;
  animation: float 3s ease-in-out infinite;
}

.music-note:nth-child(1) { animation-delay: 0s; color: #FF6B6B; }
.music-note:nth-child(2) { animation-delay: 0.5s; color: #8A2BE2; }
.music-note:nth-child(3) { animation-delay: 1s; color: #4CC9F0; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .error-code { font-size: 6rem; }
  .error-title { font-size: 2rem; }
  .error-container { padding: 2rem 1.5rem; }
}