:root {
  --black: #080b0b;
  --night-blue: #1b2945;
  --off-white: #f2eee8;
  --copper: #d67a38;
  --grey: #7a7a7a;
  --card: rgba(18, 23, 28, 0.88);
  --card-light: rgba(255, 255, 255, 0.06);
  --border: rgba(242, 238, 232, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(27, 41, 69, 0.55), transparent 42%),
    linear-gradient(180deg, #0a0d10 0%, var(--black) 100%);
  color: var(--off-white);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.background-glow {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.17;
  pointer-events: none;
}

.background-glow--one {
  top: 8%;
  left: -180px;
  background: var(--copper);
}

.background-glow--two {
  right: -190px;
  bottom: 4%;
  background: #31568f;
}

.page-shell {
  width: min(100% - 28px, 760px);
  margin: 0 auto;
  padding: 26px 0 42px;
}

.profile-card,
.link-section,
.contact-card {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.profile-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.profile-cover {
  position: relative;
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(27, 41, 69, 0.8), rgba(214, 122, 56, 0.28)),
    url("../assets/cover.jpg") center/cover no-repeat;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 25%, rgba(8, 11, 11, 0.92) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 5px
    );
}

.profile-avatar {
  position: absolute;
  bottom: -56px;
  left: 28px;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(242, 238, 232, 0.82);
  border-radius: 50%;
  background:
    linear-gradient(145deg, var(--copper), #63351b);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.58), 0 0 0 5px rgba(8, 11, 11, 0.78);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

.profile-avatar.has-image {
  background-color: var(--black);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.profile-avatar.has-image span {
  display: none;
}

.profile-content {
  padding: 78px 28px 28px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 8vw, 3.35rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  letter-spacing: -0.035em;
}

.tagline {
  max-width: 560px;
  margin-bottom: 24px;
  color: rgba(242, 238, 232, 0.72);
  line-height: 1.65;
}

.featured-release {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(214, 122, 56, 0.35);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(214, 122, 56, 0.18), rgba(27, 41, 69, 0.38));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.featured-release:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 122, 56, 0.72);
  background:
    linear-gradient(135deg, rgba(214, 122, 56, 0.26), rgba(27, 41, 69, 0.52));
}

.featured-release__badge {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--copper);
  color: #100b07;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.featured-release__content {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.featured-release__content strong,
.featured-release__content small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-release__content small {
  color: rgba(242, 238, 232, 0.62);
}

.featured-release__arrow {
  margin-left: auto;
  font-size: 1.5rem;
}

.link-section {
  margin-top: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.links-grid {
  display: grid;
  gap: 12px;
}

.platform-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 15px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-light);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.platform-link:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 122, 56, 0.52);
  background: rgba(255, 255, 255, 0.09);
}

.platform-link__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--platform-color, var(--night-blue));
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}


.platform-link__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.platform-link__icon--light {
  background: #ffffff;
}

.platform-link__text {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.platform-link__text strong {
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-link__text small {
  overflow: hidden;
  color: rgba(242, 238, 232, 0.58);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-link__button {
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid rgba(242, 238, 232, 0.18);
  border-radius: 999px;
  background: rgba(8, 11, 11, 0.46);
  color: var(--off-white);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.contact-card p:not(.section-kicker) {
  max-width: 460px;
  margin: 10px 0 0;
  color: rgba(242, 238, 232, 0.66);
  line-height: 1.55;
}

.contact-button {
  flex: 0 0 auto;
  padding: 13px 17px;
  border-radius: 999px;
  background: var(--copper);
  color: #100b07;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 8px 0;
  color: rgba(242, 238, 232, 0.43);
  font-size: 0.76rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (min-width: 620px) {
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 18px, 760px);
    padding-top: 9px;
  }

  .profile-card,
  .link-section,
  .contact-card {
    border-radius: 24px;
  }

  .profile-cover {
    min-height: 185px;
  }

  .profile-avatar {
    bottom: -50px;
    left: 20px;
    width: 104px;
    height: 104px;
  }

  .profile-content {
    padding: 72px 20px 22px;
  }

  .link-section {
    padding: 20px;
  }

  .contact-card {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .contact-button {
    text-align: center;
  }

  .platform-link__button {
    padding-inline: 11px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   CARTE AVANT-PREMIÈRE — ANIMATION PREMIUM + VISUALISEUR
   ========================================================= */

/* La zone de texte prend tout l'espace disponible. */
.featured-release__content {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

/* Animation douce du titre uniquement. */
.featured-release__content strong {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  animation: featured-title-premium 6s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes featured-title-premium {
  0% {
    opacity: 0;
    transform: translateX(12px);
  }

  12% {
    opacity: 1;
    transform: translateX(0);
  }

  46% {
    opacity: 1;
    transform: translateX(0);
  }

  68% {
    opacity: 1;
    transform: translateX(-12px);
  }

  88% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(8px);
  }
}

/* Petit visualiseur audio créé uniquement en CSS. */
.featured-release::after {
  content: "";
  width: 4px;
  height: 17px;
  flex: 0 0 4px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--copper);
  box-shadow:
    7px -4px 0 rgba(214, 122, 56, 0.78),
    14px 2px 0 rgba(214, 122, 56, 0.58),
    21px -2px 0 rgba(214, 122, 56, 0.88);
  transform-origin: center;
  animation: featured-audio-bars 1.15s ease-in-out infinite alternate;
}

@keyframes featured-audio-bars {
  0% {
    transform: scaleY(0.58);
    opacity: 0.62;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(0.76);
    opacity: 0.82;
  }
}

/* Ajustement mobile pour conserver une carte bien équilibrée. */
@media (max-width: 560px) {
  .featured-release {
    gap: 12px;
  }

  .featured-release::after {
    margin-right: 21px;
  }

  .featured-release__content strong {
    font-size: 0.9rem;
  }
}

/* Respecte les préférences d'accessibilité du visiteur. */
@media (prefers-reduced-motion: reduce) {
  .featured-release__content strong,
  .featured-release::after {
    animation: none;
  }

  .featured-release__content strong {
    opacity: 1;
    transform: none;
  }
}
