:root {
  /*
   * PERSONNALISATION RAPIDE
   * Remplacez l'URL et les couleurs ci-dessous.
   */
  --background-image: url("medias/background.jpg");
  --overlay-color-start: rgba(10, 15, 30, 0.35);
  --overlay-color-end: rgba(10, 15, 30, 0.88);
  --background-blur: 8px;

  --text-color: #ffffff;
  --button-background: rgba(255, 255, 255, 0.14);
  --button-background-hover: rgba(255, 255, 255, 0.24);
  --button-border: rgba(255, 255, 255, 0.28);
  --button-radius: 16px;
  --content-width: 640px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text-color);
  font-family: "Figtree", sans-serif;
}

/* Photo d'arrière-plan */
body::before {
  position: fixed;
  z-index: -2;
  inset: calc(var(--background-blur) * -2);
  background-image: var(--background-image);
  background-position: center;
  background-size: cover;
  content: "";
}

/* Dégradé + flou appliqués devant la photo */
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--overlay-color-start) 0%,
    var(--overlay-color-end) 100%
  );
  -webkit-backdrop-filter: blur(var(--background-blur));
  backdrop-filter: blur(var(--background-blur));
  content: "";
}

.link-page {
  display: flex;
  width: min(100% - 32px, var(--content-width));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: clamp(40px, 8vh, 88px) 28px;
  flex-direction: column;
}

.profile {
  margin-bottom: 32px;
  text-align: center;
}

.profile__logo {
  display: block;
  width: auto;
  max-width: min(220px, 70vw);
  height: auto;
  max-height: 120px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.profile__title {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.profile__description {
  max-width: 480px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.link-list {
  display: grid;
  gap: 14px;
}

.link-button {
  display: grid;
  min-height: 64px;
  padding: 10px 18px;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  color: inherit;
  background: var(--button-background);
  border: 1px solid var(--button-border);
  border-radius: var(--button-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.link-button:hover {
  background: var(--button-background-hover);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.link-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.link-button__icon {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  place-items: center;
}

.link-button__label {
  padding-inline: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.link-button__arrow {
  justify-self: end;
  opacity: 0.55;
  font-size: 0.78rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.link-button:hover .link-button__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.footer {
  margin-top: auto;
  padding-top: 36px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .link-page {
    width: min(100% - 24px, var(--content-width));
  }

  .link-button {
    min-height: 60px;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
