/* RESET */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: black;
  color: #e7decd;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("assets/img/galaxy.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 20, 0.65);
}

.content {
  position: relative;
}
h1 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

background: linear-gradient(
  90deg,
  #ffffff,
  #dfe9ff,
  #a8c8ff,
  #ffffff
);

background-clip: text;
-webkit-background-clip: text;

color: transparent;
-webkit-text-fill-color: transparent;

  text-shadow:
    0 0 12px rgba(180,210,255,0.6),
    0 0 30px rgba(120,190,255,0.4);

  animation:
    fadeInTitle 1.5s ease forwards,
    floatGlow 4s ease-in-out infinite 1.5s;
}
h1 {
  animation:
    fadeInTitle 2s ease forwards,
    floatGlow 4s ease-in-out infinite 1.5s;
  opacity: 0;
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatGlow {
  0% {
    transform: translateY(0);
    text-shadow:
      0 0 10px rgba(180,210,255,0.8),
      0 0 20px rgba(120,190,255,0.6),
      0 0 40px rgba(80,140,255,0.4);
  }
    

  50% {
    transform: translateY(-8px);
    text-shadow:
      0 0 14px rgba(220,240,255,1),
      0 0 30px rgba(160,210,255,0.8),
      0 0 60px rgba(120,180,255,0.6);
  }

  100% {
    transform: translateY(0);
  }
    
}

p {
  color: #dfe9ff;
}

/* MUSIC SECTION */
.music {
  padding: 80px 20px;
  text-align: center;
  background: #050714;
}

/* GRID */
#trackGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto 0;
}

/* CARD */
.track-card {
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.track-card:hover {
  transform: translateY(-5px);
}

/* COVER IMAGE */
.track-cover {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* TITLE */
.track-title {
  margin-top: 12px;
  font-size: 1rem;
  color: #e4e1d5;
}

/* DETAILS (HIDDEN BY DEFAULT) */
.track-details {
  display: none;
  margin-top: 10px;
  padding: 0 10px;
  animation: fadeIn 0.3s ease;
}

/* WHEN OPEN */
.track-card.open .track-details {
  display: block;
}

/* AUDIO */
.track-details audio {
  width: 100%;
  margin: 10px 0;
}

/* TEXT */
.artist {
  font-size: 0.9rem;
  color: #ccc;
}

.date {
  font-size: 0.85rem;
  color: #888;
}

.description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e6dec8;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  #trackGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  #trackGrid {
    grid-template-columns: 1fr;
  }
}
.site-footer {
  padding: 40px 20px;
  text-align: center;
  background: #02030a;
  color: #cfd8ff;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.site-footer p {
  margin: 8px 0;
}

.site-footer a {
  color: #dfe9ff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.visitor-counter {
  margin-top: 16px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
#visitorCount {
  display: inline-block;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(120,190,255,0.6);
  transition: transform 0.3s ease;
}

#visitorCount.bump {
  transform: scale(1.1);
}
/* ARTIST FLIP CARDS */
.artists {
  padding: 80px 20px;
  background: #03040d;
  text-align: center;
}

.artist-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.artist-card {
  width: 230px;
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
}

.artist-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.artist-card.flipped .artist-inner {
  transform: rotateY(180deg);
}

.artist-front,
.artist-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 28px rgba(120,190,255,0.22);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.artist-front img {
  width: 145px;
  height: 145px;
  max-width: 145px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255,255,255,0.45);
  box-shadow: 0 0 24px rgba(120,190,255,0.5);
}

.artist-front h3,
.artist-back h3 {
  color: white;
  margin: 16px 0 8px;
  font-size: 1.05rem;
  text-align: center;
}

.artist-back {
  transform: rotateY(180deg);
}

.artist-back p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #cfd8ff;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}

/* TOP NAVIGATION */
.top-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 10, 24, 0.38);
  border: 1px solid rgba(230, 240, 255, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 28px rgba(210, 225, 255, 0.28);
}

.top-nav a {
  color: #f4f7ff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(160,180,220,0.08));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.12),
    0 0 18px rgba(180,210,255,0.22);
}

.top-nav a:hover {
  box-shadow:
    inset 0 0 14px rgba(255,255,255,0.22),
    0 0 26px rgba(220,235,255,0.55);
  transform: translateY(-1px);
}

/* BACK TO TOP STAR */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(180,205,255,0.35), rgba(20,25,55,0.8));
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(220,235,255,0.7),
    0 0 38px rgba(120,190,255,0.35);
}

.back-to-top:hover {
  transform: scale(1.08) rotate(12deg);
  box-shadow:
    0 0 26px rgba(255,255,255,0.95),
    0 0 55px rgba(160,205,255,0.65);
}
.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 520px) {
  .top-nav {
    top: 14px;
    gap: 8px;
    padding: 8px;
  }

  .top-nav a {
    font-size: 0.72rem;
    padding: 8px 10px;
  }
}