/* ==============================================================================
   David Cossettini - Interactive Vinyl Player (Fedele all'Immagine 2)
   ============================================================================== */

.hero-showcase {
  padding: 2.5rem 0 5rem;
}

/* Card Contenitore Principale (Stile Immagine 2) */
.vinyl-container-card {
  position: relative;
  background-color: var(--color-cream-card);
  border: 10px solid var(--color-cream-surface);
  outline: 1.5px solid var(--color-garnet-border);
  border-radius: var(--radius-card);
  padding: 3.5rem 2.5rem 2.5rem;
  box-shadow: var(--shadow-warm);
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
}

/* Watermark Tipografico Sfondo Gigante (AMSTERDAM nel mock) */
.vinyl-bg-watermark {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(115, 22, 34, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Intestazione Album in alto a sinistra (Immagine 2) */
.album-header-meta {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.album-badge-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cream-surface);
  border: 1px solid var(--color-garnet-border);
  color: var(--color-garnet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(115, 22, 34, 0.08);
}

.album-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-garnet);
  margin-bottom: 0.4rem;
}

.album-pill-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  background: var(--color-cream-surface);
  border: 1px solid var(--color-garnet-border);
  border-radius: var(--radius-pill);
  color: var(--color-espresso);
}

/* --------------------------------------------------------------------------
   Giradischi / Vinile che fuoriesce dalla sleeve
   -------------------------------------------------------------------------- */
.vinyl-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Disco in vinile realistico */
.vinyl-disc {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #2b2b2b 0%, #151515 45%, #050505 100%);
  position: relative;
  box-shadow: var(--shadow-vinyl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -110px;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Scanalature solchi concentrici e riflesso di luce */
.vinyl-disc::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 2px,
    transparent 3px,
    transparent 6px
  );
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9);
}

/* Riflesso conico tipico del vinile */
.vinyl-disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 45deg,
    rgba(255, 255, 255, 0.12) 0deg,
    transparent 60deg,
    rgba(255, 255, 255, 0.12) 180deg,
    transparent 240deg,
    rgba(255, 255, 255, 0.12) 360deg
  );
  pointer-events: none;
}

/* Label centrale del vinile */
.vinyl-label {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-garnet);
  border: 4px solid #FDFBF7;
  position: relative;
  z-index: 3;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-spindle-hole {
  width: 14px;
  height: 14px;
  background: #FAF7F2;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

/* Rotazione continua quando in Play */
.vinyl-disc.playing {
  animation: spinVinyl 3.8s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Sleeve / Dock Inferiore con Controlli (Immagine 2)
   -------------------------------------------------------------------------- */
.vinyl-sleeve-dock {
  width: 100%;
  background: rgba(228, 220, 208, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 5rem 1.5rem 1.25rem;
  box-shadow: 0 16px 36px rgba(115, 22, 34, 0.08);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.track-playing-info {
  margin-bottom: 0.85rem;
  text-align: center;
}

.track-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-espresso);
}

.track-artist {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Barra controlli audio stile player Immagine 2 */
.vinyl-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.ctrl-btn {
  color: var(--color-espresso);
  font-size: 1.05rem;
  opacity: 0.75;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
}

.ctrl-btn:hover {
  opacity: 1;
  color: var(--color-garnet);
  transform: scale(1.15);
}

.ctrl-btn.active {
  opacity: 1;
  color: var(--color-garnet);
}

.ctrl-btn-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-garnet);
  color: var(--color-text-white) !important;
  opacity: 1 !important;
  box-shadow: 0 4px 14px rgba(115, 22, 34, 0.3);
}

.ctrl-btn-play:hover {
  background: var(--color-garnet-dark);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(115, 22, 34, 0.4);
}

/* --------------------------------------------------------------------------
   Streaming Platform Badges (Tre Tessere Inferiori Immagine 2)
   -------------------------------------------------------------------------- */
.streaming-hub-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.streaming-card {
  position: relative;
  background: #151314;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 2.2rem 1.5rem 1.4rem;
  text-align: center;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 140px;
}

.streaming-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.streaming-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: grayscale(40%);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.streaming-card:hover .streaming-card-bg {
  transform: scale(1.08);
  opacity: 0.55;
}

.streaming-badge-icon {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

.streaming-card:hover .streaming-badge-icon {
  transform: scale(1.1);
}

.streaming-card.spotify .streaming-badge-icon { color: var(--color-spotify); }
.streaming-card.youtube .streaming-badge-icon { color: var(--color-youtube); }
.streaming-card.deezer .streaming-badge-icon { color: var(--color-deezer); }
.streaming-card.apple .streaming-badge-icon { color: var(--color-apple); }

.streaming-action-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.streaming-action-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.streaming-card:hover .streaming-action-arrow {
  transform: translate(2px, -2px);
  background: #FFFFFF;
  color: #151314;
}

/* --------------------------------------------------------------------------
   Responsive Layout per Vinyl Player
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .vinyl-container-card {
    padding: 2rem 1.25rem 1.5rem;
    border-width: 6px;
  }
  .vinyl-disc {
    width: 210px;
    height: 210px;
    margin-bottom: -85px;
  }
  .vinyl-label {
    width: 72px;
    height: 72px;
  }
  .vinyl-sleeve-dock {
    padding: 4.2rem 0.85rem 1.25rem;
    border-radius: 20px;
  }
  .track-title {
    font-size: 0.95rem;
  }
  .vinyl-controls {
    gap: 0.75rem;
    padding: 0.4rem 0.85rem;
    width: 100%;
    max-width: 280px;
  }
  .ctrl-btn {
    font-size: 0.95rem;
  }
  .ctrl-btn-play {
    width: 38px;
    height: 38px;
  }
  .streaming-hub-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .streaming-card {
    min-height: 120px;
    padding: 1.5rem 1.25rem 1.2rem;
  }
}
