@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  --r: 0deg;
  --s: 1;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b0b0b;
  color: #fff;
  overflow-x: hidden;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 6rem;
  color: #ff2b2b;
  text-shadow: 0 0 20px rgba(255,0,0,0.8);
  z-index: 10;
}

/* Floating covers */
.album-wrap {
  position: absolute;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.album-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}
.album-img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  will-change: transform;
  animation: float 12s ease-in-out infinite;
  transform: translateY(0) rotate(var(--r)) scale(var(--s));
}
@keyframes float {
  0%   { transform: translateY(0) rotate(var(--r)) scale(var(--s)); }
  50%  { transform: translateY(-25px) rotate(var(--r)) scale(calc(var(--s) * 1.05)); }
  100% { transform: translateY(0) rotate(var(--r)) scale(var(--s)); }
}

/* Catalog */
.catalog {
  padding: 4rem 2rem;
  background: #111;
}
.catalog h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ff2b2b;
  text-shadow: 0 0 10px rgba(255,0,0,0.5);
}
.catalog {
  padding: 4rem 2rem;
  background: #111;
}

.catalog-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ff2b2b;
  text-shadow: 0 0 10px rgba(255,0,0,0.5);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 25px;
}


@media (min-width: 1024px) {
  .catalog {
    grid-template-columns: repeat(3, 1fr); /* lock 3 across desktops */
  }
}

.album-card {
  background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(15,15,15,0.95));
  border: 1px solid rgba(255,43,43,0.3);
}
.album-card:hover {
  transform: translateY(-6px);
}
.album-card:hover {
  box-shadow: 0 0 25px rgba(255,43,43,0.7), 0 0 10px rgba(255,43,43,0.4);
}

.album-card h3 {
  margin: 0 0 10px;
  color: #fff;
}
.album-card p {
  margin: 5px 0;
}
details summary {
  cursor: pointer;
  margin-top: 10px;
  color: #ff4d4d;
}
.catalog-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 10px auto;
  background: #ff2b2b;
  box-shadow: 0 0 10px rgba(255,0,0,0.6);
}
.play-btn {
  background: #ff2b2b;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 10px 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 43, 43, 0.6);
}
.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 43, 43, 0.9);
}
.album-card {
  background: #111; /* dark background */
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 15px rgba(255, 43, 43, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 43, 43, 0.6);
}

.album-art {
  width: 100%;
  margin-bottom: 12px;
}

.album-art img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
