/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-black: #050505;
  --color-black-soft: #0E0E0E;
  --color-white: #F5F2EA;
  --color-gray-light: #B8B3A7;
  --color-gray-dark: #2A2A2A;
  --color-gold: #B88746;
  --color-gold-hover: #D0A15F;
  --color-copper: #7A4A28;
  
  --font-title: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Film Grain Noise */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  content: "";
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Header Styles */
.main-header {
  padding-top: 40px;
  padding-bottom: 20px;
  z-index: 100;
  position: relative;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.brand-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-white);
  cursor: default;
  position: relative;
}

/* Shiny Gold Text Effect */
.animated-shiny-text {
  background: linear-gradient(to right, #ffffff 20%, var(--color-gold) 40%, var(--color-gold-hover) 60%, #ffffff 80%);
  background-size: 200% auto;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 6s linear infinite;
  text-shadow: 0 0 40px rgba(184, 135, 70, 0.1);
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-light);
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold);
}

/* Music Hero Section */
.music-hero {
  position: relative;
  height: 45vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.music-hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.music-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.4) contrast(1.05);
}

.music-hero-overlay-radial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, var(--color-black) 90%);
}

.music-hero-overlay-linear {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--color-black), transparent);
}

.music-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.music-hero-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 75px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.music-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-gray-light);
  margin-top: 10px;
}

/* Main Content Area */
.music-main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Listening Room / Lecteur Premium Section */
.listening-room-section {
  margin-bottom: 120px;
}

.listening-room-main-title {
  font-family: var(--font-title);
  font-size: 26px;
  letter-spacing: 0.15em;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 8px;
}

.listening-room-main-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--color-gray-light);
  margin-bottom: 50px;
  text-transform: uppercase;
}

.listening-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

/* Column 1: Lecteur Premium */
.listening-player-block {
  display: flex;
  flex-direction: column;
}

.premium-player-glass {
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  gap: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  height: 100%;
}

.player-cover-area {
  position: relative;
  flex: 0 0 240px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(184, 135, 70, 0.05);
}

.player-cover-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
}

.player-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(184,135,70,0.1), transparent 60%);
  pointer-events: none;
}

.player-info-area {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.player-meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 6px;
  display: block;
}

.player-track-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.player-track-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-gray-light);
  margin-top: 2px;
  margin-bottom: 16px;
  display: block;
}

.player-track-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-gray-light);
  margin-bottom: 24px;
}

/* Decorative CSS Audio Waveform */
.player-waveform-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-bottom: 24px;
  padding: 4px 0;
}

.waveform-bar {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  transition: height 0.3s ease;
}

/* Custom heights to simulate waveform */
.bar-1 { height: 10%; }
.bar-2 { height: 25%; }
.bar-3 { height: 45%; }
.bar-4 { height: 15%; }
.bar-5 { height: 35%; }
.bar-6 { height: 75%; }
.bar-7 { height: 60%; }
.bar-8 { height: 90%; }
.bar-9 { height: 40%; }
.bar-10 { height: 20%; }
.bar-11 { height: 55%; }
.bar-12 { height: 80%; }
.bar-13 { height: 30%; }
.bar-14 { height: 70%; }
.bar-15 { height: 95%; }
.bar-16 { height: 60%; }
.bar-17 { height: 25%; }
.bar-18 { height: 40%; }
.bar-19 { height: 85%; }
.bar-20 { height: 50%; }
.bar-21 { height: 15%; }
.bar-22 { height: 65%; }
.bar-23 { height: 80%; }
.bar-24 { height: 35%; }
.bar-25 { height: 50%; }
.bar-26 { height: 75%; }
.bar-27 { height: 20%; }
.bar-28 { height: 45%; }
.bar-29 { height: 30%; }
.bar-30 { height: 10%; }

.player-controls-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.player-play-btn {
  background-color: var(--color-gold);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-black);
  box-shadow: 0 4px 15px rgba(184, 135, 70, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.player-play-btn:hover {
  background-color: var(--color-gold-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(184, 135, 70, 0.4);
}

.play-svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.player-time-display {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-gray-light);
}

.time-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}

.player-action-row {
  display: flex;
  gap: 16px;
}

.player-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 12px 12px;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 45px;
}

.player-btn-primary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-gold);
}

.player-btn-primary:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 4px 15px rgba(184, 135, 70, 0.2);
}

.player-btn-secondary {
  background-color: transparent;
  color: var(--color-gray-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

/* Column 2: Playlist / Titres à découvrir */
.listening-playlist-block {
  display: flex;
  flex-direction: column;
}

.playlist-wrapper {
  background: rgba(14, 14, 14, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}

.playlist-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.playlist-tracklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.01);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.playlist-track-row:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.track-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.track-thumb-frame {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.track-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-names {
  display: flex;
  flex-direction: column;
}

.track-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white);
}

.track-tag {
  font-size: 10px;
  font-weight: 400;
  color: var(--color-gray-light);
  margin-top: 1px;
}

.track-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.track-duration {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
}

.track-row-play-btn {
  background: transparent;
  border: none;
  color: var(--color-gray-light);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.playlist-track-row:hover .track-row-play-btn {
  opacity: 1;
  color: var(--color-gold);
  transform: scale(1.1);
}

.track-row-play-btn svg {
  width: 12px;
  height: 12px;
}

/* Section: Discographie Grid */
.discography-section {
  margin-bottom: 120px;
}

.discography-title {
  font-family: var(--font-title);
  font-size: 26px;
  letter-spacing: 0.15em;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 8px;
}

.discography-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--color-gray-light);
  margin-bottom: 50px;
  text-transform: uppercase;
}

.music-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
}

.catalog-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  background-color: var(--color-black-soft);
}

.catalog-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.90) contrast(1.03); /* Rest state darkening filter */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

/* Specific cover adjustments for rest states */
.catalog-img[src*="hello-cover"] {
  filter: brightness(0.86) contrast(1.04);
}

.catalog-img[src*="Music-Etincelles-cover"] {
  filter: brightness(0.84) contrast(1.04);
}

.catalog-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.catalog-hover-btn {
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-black);
  background-color: var(--color-white);
  padding: 12px 24px;
  border-radius: 4px;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-card:hover .catalog-image-overlay {
  opacity: 1;
}

.catalog-card:hover .catalog-hover-btn {
  transform: translateY(0);
  background-color: var(--color-gold);
}

.catalog-card:hover .catalog-img {
  transform: scale(1.03);
  filter: brightness(1) contrast(1); /* Full brightness on hover */
}

.catalog-info {
  padding-top: 16px;
  text-align: center;
}

.catalog-track-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 4px;
}

.catalog-track-meta {
  font-size: 11px;
  color: var(--color-gray-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Section: Streaming Platforms */
.streaming-platforms-section {
  margin-bottom: 100px;
}

.platforms-title {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 8px;
}

.platforms-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--color-gray-light);
  margin-bottom: 45px;
}

.platforms-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.platform-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: rgba(14, 14, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 130px;
  text-align: center;
}

.platform-link-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.platform-logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.platform-svg {
  width: 26px;
  height: 26px;
  color: var(--color-gray-light);
  transition: color 0.3s ease;
}

.platform-link-card:hover .platform-svg {
  color: var(--color-gold);
}

.platform-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.platform-cta {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  opacity: 0.8;
  margin-top: 16px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.platform-link-card:hover .platform-cta {
  opacity: 1;
  color: var(--color-white);
}

/* Footer Section */
.main-footer {
  background-color: var(--color-black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding: 60px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-social-row {
  display: flex;
  gap: 24px;
}

.social-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-gray-light);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link-btn:hover {
  background-color: rgba(184, 135, 70, 0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.social-link-btn svg {
  width: 16px;
  height: 16px;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-email {
  font-size: 13px;
  color: var(--color-gray-light);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: var(--color-gold);
}

.footer-copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
}

/* RESPONSIVE DESIGN */

/* Tablet viewports */
@media (max-width: 992px) {
  .listening-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .music-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .platforms-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

/* Mobile viewports */
@media (max-width: 768px) {
  .main-header {
    padding-top: 30px;
  }

  .main-nav ul {
    gap: 20px;
  }
  
  .main-nav a {
    font-size: 12px;
  }

  .premium-player-glass {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  .player-cover-area {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .player-track-title {
    font-size: 24px;
  }
  
  .player-track-desc {
    margin-bottom: 20px;
  }

  .player-waveform-container {
    height: 30px;
    margin-bottom: 20px;
  }
  
  .player-action-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .player-action-btn {
    width: 100%;
  }
  
  .playlist-wrapper {
    padding: 20px;
  }
  
  .music-catalog-grid {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    gap: 30px;
  }

  .catalog-card {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .catalog-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    overflow: hidden;
  }

  .catalog-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .catalog-card:hover .catalog-img {
    transform: none;
  }

  .platforms-container {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  
  .platform-link-card {
    min-height: auto;
    padding: 16px 20px;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .platform-logo-title {
    flex-direction: row;
    gap: 16px;
  }
  
  .platform-cta {
    margin-top: 0;
  }

  .footer-social-row {
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
}
