@font-face {
  font-family: "Bebas Neue Book";
  src: url("../font/BebasNeueBook.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap
}
@font-face {
  font-family: "Manrope";
  src: url("../font/Manrope.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../font/BebasNeue.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../font/CormorantGaramond.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap
}


/* ================= RESET ================= */

html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  background: #1c1a2b;
}

html {
  scroll-behavior: smooth;
}


/* ================= SECTION ================= */

.release {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.release-header h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 100;
  letter-spacing: 2px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: rgba(255,255,255,0.8) !important;
  margin-top: 18px;
}

.release-header p {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6) !important;
}

.release-line span {
  opacity: 0.95;
}

.release-line {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  text-decoration: none;
  color: rgba(255,255,255,0.95);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  min-height: 56px; /* taille tactile Apple / Google */
  -webkit-tap-highlight-color: transparent;
}

/* ================= BACKGROUND ================= */

.release-bg {
  position: absolute;
  inset: 0;
  background: url('../../assets/images/cover-un-mec-normal.png') center/cover no-repeat;
  filter: blur(25px) brightness(0.5);
  transform: scale(1.1);
  animation: moveBg 6s ease-in-out infinite;
  z-index: 0;
  transition: transform 2s ease;
}

@keyframes floatCover {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.3deg);
  }
}

@keyframes moveBg {
  0%, 100% {
    transform: scale(1.15) translateY(0px);
  }
  50% {
    transform: scale(1.15) translateY(-20px);
  }
}

/* overlay propre */
.release::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, #4a4a68, #1c1a2b);
  z-index: 1;
  opacity: 0.4;
}

/* ================= HEADER ================= */

.release-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 30px;
}

.release-cover {
  width: 300px;
  max-width: 300px;
  height: auto;
  animation:  floatCover 6s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@keyframes floatCover {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}


.release-header a {
  display: inline-block;
}

.release-header h1 {
  margin: 15px 0 5px;
  font-size: 20px;
  color: #222;
}

.release-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* ================= CARD ================= */

.release-card {
  position: relative;
  z-index: 2;
  width: min(90vw, 420px);
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.8),
    0 0 20px rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
}

/* ================= LISTE ================= */

.release-links {
  display: flex;
  flex-direction: column;
}

.release-line:last-child {
  border-bottom: none;
}

.release-line:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(6px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.3);
}

.release-links:hover .release-line:not(:hover) {
  opacity: 0.5;
}

/* gauche */
.release-line .left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.release-line img {
  width: 22px;
  height: 22px;
}

/* bouton droite */
.release-line .right {
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.3);
  color: #000;
  font-weight: 500;
}

.release-line:hover .right {
  transform: scale(1.08);
  background: white;
}

.release-line:active .right {
  transform: scale(0.95);
}

.release-line:active {
  transform: scale(0.98);
}

.release-line:first-child {
  border: 2px solid rgba(0,0,0,0.05);
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset;

}

.icon {
  width: clamp(22px, 3vw, 26px);
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.release-line:hover .icon {
  transform: scale(1.15);
  filter: brightness(1.3);
}

.release-line.recommended {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.4);
  transform: scale(1.02);
}

.release-line.recommended .right {
  background: #1DB954;
  color: white;
  font-weight: 600;
}



/* Spotify */
.release-line[data-platform="spotify"] .icon {
  color: #1DB954;
}

/* Apple Music */
.release-line[data-platform="apple"] .icon {
  color: #FA243C;
}

/* Deezer */
.release-line[data-platform="deezer"] .icon {
  color: #A238FF;
}

/* Amazon Music */
.release-line[data-platform="amazon"] .icon {
  color: #00A8E1;
}

/* Tidal */
.release-line[data-platform="tidal"] .icon {
  color: #FFFFFF; /* blanc, car logo souvent prévu pour fond noir */
}

/* YouTube */
.release-line[data-platform="youtube"] .icon {
  color: #FF0000;
}

/* délai progressif */
.release-line:nth-child(1) { animation-delay: 0.08s; }
.release-line:nth-child(2) { animation-delay: 0.16s; }
.release-line:nth-child(3) { animation-delay: 0.24s; }
.release-line:nth-child(4) { animation-delay: 0.32s; }
.release-line:nth-child(5) { animation-delay: 0.4s; }
.release-line:nth-child(6) { animation-delay: 0.48s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.release-cover {
  animation: floatCover 6s ease-in-out infinite;
}

.release-header a:hover .release-cover {
  transform: scale(1.05);
}

/* ================= MOBILE FINAL ================= */

@media (max-width: 768px) {

  /* container */
  .release {
    padding: 20px 16px;
  }

  /* ================= COVER ================= */

  .release-cover {
    width: 70vw;
    max-width: 240px;
  }

  /* ================= HEADER ================= */

  .release-header {
    margin-bottom: 30px;
  }

  .release-header h1 {
    font-size: 8vw; /* adaptatif */
    letter-spacing: 2px;
  }

  .release-header p {
    font-size: 13px;
    opacity: 0.7;
  }

  /* ================= CARD ================= */

  .release-card {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
  }

  /* ================= LIGNES ================= */

  .release-line {
    padding: 16px;
  }

  /* ================= ICONES ================= */

  .icon {
    width: 24px;
  }

  /* ================= TEXTE ================= */

  .release-line span {
    font-size: 14px;
  }

  /* ================= BOUTON ================= */

  .release-line .right {
    font-size: 11px;
    padding: 6px 10px;
  }

}


@media (max-height: 500px) and (orientation: landscape) {

  .release {
    flex-direction: row;
    align-items: center;
    justify-content: center;

    padding: 20px;
  }

  /* HEADER à gauche */
  .release-header {
    width: 40%;
    text-align: left;
    margin-bottom: 0;
  }

  .release-cover {
    width: 180px;
  }

  /* TEXTE */
  .release-header h1 {
    font-size: 1.6rem;
  }

  .release-header p {
    font-size: 12px;
  }

  /* CARD à droite */
  .release-card {
    width: 50%;
    max-height: 80vh;

    overflow-y: auto;
  }

}
 
/* ================= SÉPARATEUR ================= */
 
.release-separator {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 4px 20px;
}
 
/* ================= BOUTON ACHETER ================= */
 
.release-buy {
  background: rgba(255,255,255,0.06);
}
 
.release-buy .left span {
  font-weight: 600;
  letter-spacing: 0.5px;
}
 
.release-buy .buy-price {
  background: white;
  color: #1c1a2b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.25s ease;
}
 
.release-buy:hover .buy-price {
  transform: scale(1.08);
  background: #f0f0f0;
  box-shadow: 0 4px 14px rgba(255,255,255,0.25);
}
 
.release-buy .icon {
  color: rgba(255,255,255,0.9);
}
 
/* ================= MENTION RGPD ================= */
 
.release-legal {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.8;
}
 
.release-legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}
 
.release-legal a:hover {
  color: rgba(255,255,255,0.7);
}
 
/* délai animation bouton acheter */
.release-buy { animation-delay: 0.56s; }