/* ===================================================================
   GLOBAL STYLES
   =================================================================== */

body {
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

a {
  color: #c299ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */

nav {
  background-color: #000000;
  padding: 20px;
  text-align: center;
  font-size: 20px;
}

nav a {
  margin: 0 14px;
}

/* ===================================================================
   HERO SECTIONS
   =================================================================== */

.artist-hero,
.index-hero {
  position: relative;
  width: 100%;
  height: 45vh; /* INDEX HERO HEIGHT */
  background-size: cover;
  background-position: center;
}

/* HERO SECTIONS */
.artist-hero {
  position: relative;
  width: 100%;
  height: 30vh; /* adjust if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Centered text inside hero */
.hero-text {
  text-align: center;
  color: white;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-text .subtitle {
  font-size: 20px;
  margin-top: 0;
}

/* Artist hero text overlay */
.artist-hero {
  position: relative;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
  width: 90%; /* NEW */
  max-width: 1200px; /* NEW */
}

.hero-text h1 {
  margin-bottom: 10px;
}

/* ===================================================================
   MINI PLAYER — INDEX PAGE ONLY
   =================================================================== */

.mini-player {
  position: absolute;
  bottom: 215px; /* MOVE UPWARD */
  right: 20px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 18px 22px;
  width: 240px;
  border-radius: 16px;
  z-index: 20;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.mini-player h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  text-align: center;
}

.vinyl-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  transition: 0.25s ease;
}
.mini-player:hover .vinyl-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Hide mini-player on small screens */
@media (max-width: 900px) {
  .mini-player {
    display: none;
  }
}

/* ===================================================================
   ARTIST ICON GRID — INDEX PAGE
   =================================================================== */

.artist-section {
  margin-top: 50px;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 45px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.artist-card {
  text-align: center;
}

.artist-icon {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  object-fit: cover;
  transition: 0.25s ease;
}

.artist-card:hover .artist-icon {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
  transform: scale(1.08);
}

.artist-card p {
  margin-top: 12px;
  font-size: 18px;
}

/* ===================================================================
   ALBUM CARDS — ARTIST PAGES
   =================================================================== */

.album-section {
  margin-top: 40px;
}

.album-card {
  background: rgba(0, 0, 0, 0.35);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 40px;
  text-align: center;
}

.album-cover {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 0 auto 12px;
}

.album-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.album-description {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 15px;
}

.preview-label {
  font-size: 0.9rem;
  opacity: 0.65;
}

/* ===================================================================
   AUDIO PLAYER
   =================================================================== */

audio {
  width: 100%;
  margin-top: 10px;
}
/* ===================================================================
   BUTTONS — For Spotify links on album cards
   =================================================================== */

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 12px;
  background: #c299ff;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn:hover {
  background: #e2c9ff;
  transform: scale(1.05);
}
