:root {
  --accent-world: #b4d9b2;
  --fond-showreel: #10150f;
  --secondaire-showreel: #bbc4b8;
}

/* IDENTITÉ WORLD */

.page-world {
  background:
    radial-gradient(
      ellipse at 80% 15%,
      rgba(126, 168, 112, 0.09),
      transparent 45%
    ),
    var(--fond-showreel);
}

.page-world :focus-visible {
  outline-color: var(--accent-world);
}

.page-world .surtitre-showreel,
.page-world .texte-hero-showreel .surtitre-showreel,
.page-world .entete-creations-showreel h2 {
  color: var(--accent-world);
}

.page-world .entete-showreel {
  background: rgba(20, 27, 20, 0.73);
}

.page-world .navigation-showreel a[aria-current="page"] {
  color: var(--accent-world);
  border-color: rgba(180, 217, 178, 0.28);
  background: rgba(180, 217, 178, 0.12);
}

.page-world .bouton-accent-world {
  background: var(--accent-world);
  color: #172116;
}

.page-world .bouton-accent-world:hover {
  background: #d1e8cc;
  color: #172116;
}

.page-world .editeur-media-showreel {
  background: rgba(19, 25, 20, 0.98);
}

.page-world .editeur-media-showreel input,
.page-world .editeur-media-showreel textarea {
  background: #252d25;
}

/* OUVERTURE */

.ouverture-world {
  position: relative;
  isolation: isolate;

  min-height: 100vh;
  min-height: 100svh;

  overflow: hidden;
}

.couverture-world {
  position: absolute;
  inset: 0;
  z-index: -2;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.ouverture-world::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    180deg,
    rgba(6, 13, 6, 0.22),
    transparent 38%,
    rgba(8, 15, 8, 0.4) 65%,
    var(--fond-showreel)
  );
}

.ouverture-world h1 {
  margin: 0;
}

.descendre-world {
  position: absolute;
  right: var(--marge-showreel);
  bottom: 45px;

  width: 62px;
  height: 62px;

  border-color: rgba(180, 217, 178, 0.55);
  color: var(--accent-world);

  text-decoration: none;
}

/* COLLECTION */

.univers-world {
  padding-top: clamp(80px, 9vw, 150px);
  scroll-margin-top: 125px;
}

.entete-world {
  margin-right: var(--marge-showreel);
  margin-left: var(--marge-showreel);
}

.outils-world {
  margin: 0 var(--marge-showreel) 28px;
}

#mode-world {
  color: var(--secondaire-showreel);
  font-size: 12px;
}

.etat-world,
.vide-world {
  margin: 0 var(--marge-showreel) 32px;

  color: var(--secondaire-showreel);
  font-size: 12px;
  line-height: 1.6;
}

.etat-world:empty {
  display: none;
}

.liste-world {
  display: flex;
  flex-direction: column;

  gap: clamp(35px, 5vw, 80px);
  padding: 0 clamp(18px, 2vw, 44px);
}

/* SECTIONS INSPIRÉES DE ROLE PLAY */

.carte-univers-world {
  position: relative;
  isolation: isolate;

  width: 100%;
  min-height: clamp(520px, 82svh, 900px);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;

  background: #1b2419;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.25);
}

.image-univers-world {
  position: absolute;
  inset: 0;
  z-index: -2;

  width: 100%;
  height: 100%;

  object-fit: cover;
  transition: transform 0.8s ease;
}

.carte-univers-world::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(4, 10, 4, 0.88),
      rgba(4, 10, 4, 0.56) 45%,
      rgba(4, 10, 4, 0.08)
    ),
    linear-gradient(
      0deg,
      rgba(4, 10, 4, 0.25),
      transparent 50%
    );
}

.carte-univers-world:hover .image-univers-world {
  transform: scale(1.035);
}

.contenu-univers-world {
  position: relative;
  min-height: inherit;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  padding: 100px clamp(28px, 5vw, 90px) 70px;
}

.numero-univers-world {
  position: absolute;
  top: 36px;
  left: clamp(28px, 5vw, 90px);

  margin: 0;

  color: var(--accent-world);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.titre-univers-world {
  max-width: 1000px;
  margin: 0 0 24px;

  font-size: clamp(40px, 5.5vw, 100px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;

  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.description-univers-world {
  max-width: 500px;
  margin: 0;

  white-space: pre-wrap;
  overflow-wrap: anywhere;

  color: #e0e5dd;
  font-size: 16px;
  line-height: 1.8;
}

.acces-univers-world {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-top: 32px;
}

.fleche-univers-world {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 84px;
  height: 84px;

  border: 1px solid rgba(180, 217, 178, 0.5);
  border-radius: 50%;

  background: rgba(14, 23, 14, 0.62);

  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);

  color: white;
  font-size: 40px;
  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

a.fleche-univers-world:hover {
  background: rgba(116, 155, 106, 0.3);
  transform: scale(1.06);
}

.fleche-univers-world.en-attente-world {
  opacity: 0.45;
}

.mention-univers-world {
  color: #c6cec1;
  font-size: 12px;
}

.modifier-univers-world {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;

  display: none;
  cursor: pointer;
}

.edition-world .modifier-univers-world {
  display: inline-flex;
}

/* MOBILE */

@media (max-width: 720px) {
  .descendre-world {
    width: 50px;
    height: 50px;
    bottom: 32px;
  }

  .carte-univers-world {
    min-height: 560px;
    border-radius: 24px;
  }

  .contenu-univers-world {
    padding: 100px 28px 44px;
  }

  .numero-univers-world {
    top: 32px;
    left: 28px;
    font-size: 10px;
  }

  .titre-univers-world {
    font-size: clamp(32px, 9vw, 54px);
  }

  .description-univers-world {
    font-size: 14px;
  }

  .fleche-univers-world {
    width: 62px;
    height: 62px;
    font-size: 30px;
  }

  .modifier-univers-world {
    top: 20px;
    right: 18px;
    padding: 12px 16px;
    font-size: 12px;
  }

  .edition-world .numero-univers-world {
    top: 76px;
  }

  .edition-world .contenu-univers-world {
    padding-top: 125px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-univers-world,
  .fleche-univers-world {
    transition: none;
  }

  .carte-univers-world:hover .image-univers-world,
  a.fleche-univers-world:hover {
    transform: none;
  }
}