body {
  margin: 0;
  padding: 0;
  background: #000 url('../assets/xalpheric_glitch_bg.png') no-repeat center center fixed;
  background-size: cover;
  animation: glitchScroll 3s linear infinite;
  color: #e0e0e0;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  text-align: center;
}

/* Site Header and Top Navigation */
.site-header {
  width: 100%;
  background: rgba(17, 17, 17, 0.9);
  border-bottom: 2px solid #0ff;
  box-shadow: 0 2px 20px rgba(0, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  color: #0ff;
  border-color: #0ff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

.nav-link.active {
  color: #f0f;
  border-color: #f0f;
  background: rgba(255, 0, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-link:hover::before {
  left: 100%;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

@keyframes glitchScroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -100px;
  }
}

header {
  padding: 2rem;
}

.logo {
  height: 100px;
  filter: drop-shadow(0 0 10px #0ff);
}

h1 {
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 0 10px #f0f;
  margin: 0.5rem 0;
}

p {
  font-size: 1rem;
  color: #bbb;
}

.cover-art {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px #6f0fff;
  margin-bottom: 1rem;
}

audio {
  width: 100%;
  margin: 1rem 0;
  filter: drop-shadow(0 0 5px #0ff);
}

.download {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #0ff;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background 0.3s;
}

.download:hover {
  background: #f0f;
}


footer {
  margin-top: auto;
  padding: 2rem;
  font-size: 0.9rem;
  color: #555;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.coffee-link, .email-link {
  display: inline-block;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.coffee-link:hover, .email-link:hover {
  transform: scale(1.1);
}

.coffee-icon, .email-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 10px #0ff);
  transition: filter 0.3s ease;
  display: block;
  margin: 0 auto;
}

.coffee-icon:hover, .email-icon:hover {
  filter: drop-shadow(0 0 15px #f0f);
}

.coffee-text, .email-text {
  color: #e0e0e0;
  font-size: 0.9rem;
  margin: 0.5rem 0 0 0;
  font-family: 'Orbitron', sans-serif;
  transition: color 0.3s ease;
}

.coffee-link:hover .coffee-text, .email-link:hover .email-text {
  color: #0ff;
}

/* Navigation styles */
.main-nav, .back-nav {
  margin: 2rem 0;
}

.main-nav a, .back-nav a {
  margin: 0 1rem;
}

/* Release carousel styles */
.release-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
}

.release-viewer {
  background: #111;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 0 20px #0ff33a;
  max-width: 400px;
  width: 90%;
  margin-bottom: 1rem;
}

.carousel-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.nav {
  display: inline-block;
  margin: 0.5rem 0.5rem;
  padding: 0.5rem 1rem;
  background: #0ff;
  color: #000;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Orbitron', sans-serif;
}

.nav:hover {
  background: #f0f;
}

/* Musings and Notes styles */
.musings-container, .notes-container {
  background: #111;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 20px #0ff33a;
  max-width: 600px;
  width: 90%;
  margin: 2rem 0;
}

.musings-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.musings-list li {
  margin: 1rem 0;
  background: #222;
  border-radius: 8px;
  padding: 1rem;
  border-left: 4px solid #0ff;
}

.musings-list a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.musings-list a:hover {
  color: #0ff;
}

/* Notes styles */
.notes-content {
  margin-top: 1rem;
}

.note-entry {
  background: #222;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid #f0f;
  transition: transform 0.3s, box-shadow 0.3s;
}

.note-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.note-entry h3 {
  color: #fff;
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  text-shadow: 0 0 5px #f0f;
}

.note-content {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.note-timestamp {
  color: #888;
  font-size: 0.9rem;
  text-align: right;
  font-style: italic;
}

/* Links page styles */
.links-container {
  background: #111;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 20px #0ff33a;
  max-width: 800px;
  width: 90%;
  margin: 2rem 0;
}

.links-container h2 {
  color: #fff;
  text-shadow: 0 0 10px #0ff;
  border-bottom: 2px solid #0ff;
  padding-bottom: 0.5rem;
  margin: 2rem 0 1rem 0;
}

.links-container h2:first-of-type {
  margin-top: 0;
}

.links-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.link-card {
  background: #222;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #0ff;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
  border-left-color: #f0f;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0ff, #f0f, #0ff);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.link-card:hover::before {
  transform: translateX(0);
}

.link-card h3 {
  color: #fff;
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  text-shadow: 0 0 5px #0ff;
}

.link-card p {
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.link-card a {
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.link-card a:hover {
  color: #f0f;
  text-shadow: 0 0 5px #f0f;
}

.link-url {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Responsive design for links */
@media (max-width: 768px) {
  .links-section {
    grid-template-columns: 1fr;
  }
  
  .link-card {
    padding: 1rem;
  }
}
