/* Global back button (reuse across pages) */
.back_button {
  position: fixed;
  top: 30px;
  left: 80px;
  z-index: 11000;
  display: flex;
  align-items: center;
}
.back_button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--primary-color);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  backdrop-filter: blur(6px);
  transition: none;
}
.back_button a:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

@media (max-width: 800px) {
  .back_button {
    top: 20px;
    left: 70px;
  }
  .back_button a {
    padding: 8px 14px;
    font-size: 13px;
  }
}
/*  ██████╗  ██╗       ██████╗  ██████╗   █████╗  ██╗      */
/* ██╔════╝  ██║      ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██║      */
/* ██║  ███╗ ██║      ██║   ██║ ██████╔╝ ███████║ ██║      */
/* ██║   ██║ ██║      ██║   ██║ ██╔══██╗ ██╔══██║ ██║      */
/* ╚██████╔╝ ███████╗ ╚██████╔╝ ██████╔╝ ██║  ██║ ███████╗ */
/*  ╚═════╝  ╚══════╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ */

:root {
  --background-color: #1e1e1e;
  --text-color: #ebe4d6;
  --primary-color: #ebaf78;
  --secondary-color: #a47764;
  --tertiary-color: #be795c;
  --border-color: #d9d9d9;
  --border-radius: 50px;
  --blur-color: #00000078;
  --blur-size: 20px;
  --bubble-color: #f8b8843e;
  --gradient-color: rgb(233, 171, 113);
  --footer-height: 200px;
  --glass-bg: rgba(0, 0, 0, 0.47);
}

/* ███  LÉGAL PAGES (Mentions légales / Politique de confidentialité)  ███ */
.title.legal {
  position: relative;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  height: auto;
  padding: 0 10px;
  margin-bottom: 300px;
}
.title.legal .big_title {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1;
}
.title.legal .small_title {
  position: relative;
  top: auto;
  right: auto;
  margin-top: 80px;
  font-size: clamp(16px, 2.5vw, 24px);
  padding: 90px;
  margin-bottom: -150px;
}

.legal-section {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.47);
  mix-blend-mode: screen;
  filter: contrast(1.05);
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 40px rgba(215, 141, 102, 0.22);
  backdrop-filter: blur(8px);
  border-radius: 18px;
}
.legal-section h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--primary-color);
}
.legal-section p,
.legal-section li {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.legal-section a {
  color: var(--text-color);
  font-style: italic;
  text-decoration: none;
}
.legal-section a:hover::after {
  width: 100%;
}

/* Contact form (reuses legal page container) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-size: 14px;
  opacity: 0.9;
}
.contact-form input,
.contact-form textarea {
  background: var(--glass-bg);
  color: var(--text-color);
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 40px rgba(215, 141, 102, 0.22);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(235, 228, 214, 0.6);
}
.contact-form .form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.btn-primary {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--primary-color);
  background: rgba(0,0,0,0.4);
  color: var(--text-color);
  font-size: 14px;
}
.btn-primary:hover {
  background: rgba(0,0,0,0.45);
}

@media (max-width: 800px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Spacer to ensure footer sits after content on legal pages */
main .legal-spacer {
  height: 120px;
}

/* Footer position on simple content pages (legal) */
@media (max-width: 800px) {
  .title.legal {
    top: 90px;
    width: 92%;
    margin-bottom: 220px;
    margin-left: 20px;
  }
  .legal-section {
    padding: 16px 18px;
  }
}

/* Layout adjustments for legal pages */
.legal-page main {
  padding-bottom: 60px;
  min-height: calc(100vh - 200px);
}
.legal-page footer {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  transform: translateY(0%);
  margin-top: 30px;
}

body {
  background-color: var(--tertiary-color);
  color: var(--text-color);
  font-family: "all-round-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.background_color {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 200vh;
  z-index: -1;
  background-color: var(--background-color);
}

.noise::before {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  content: "";
  opacity: 0.025;
  z-index: 10000;
  pointer-events: none;
  background: url(../assets/img/noise.gif);
}

.contrast_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  mix-blend-mode: overlay;
  background-color: #000000;
  opacity: 0.2;
  pointer-events: none;
}

html::-webkit-scrollbar {
  width: 12px;
  background: var(--background-color);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 8px;
  border: 2px solid var(--background-color);
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--primary-color) 20%,
    var(--tertiary-color) 100%
  );
}

html::-webkit-scrollbar-track {
  background: var(--background-color);
  border-radius: 8px;
}

/* Pour Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--background-color);
}


/* █▀▀ █ █ █▀█ █▀ █▀█ █▀█ */
/* █▄▄ █▄█ █▀▄ ▄█ █▄█ █▀▄ */

.cursor {
  pointer-events: none;
  position: fixed;
  display: none;
  border-radius: 0;
  mix-blend-mode: normal;
  z-index: 99999;
  mix-blend-mode: screen;
  width: 30px;
  height: 30px;
  top: 0;
  left: 0;
  scale: 0.905;
}

.circle {
  pointer-events: none;
  transition: none;
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 20px !important;
  background-color: var(--primary-color) !important;
}
.scaled {
  transform: scale(1.5) !important;
}
*::hover {
  cursor: none !important;
}

::selection {
  background-color: var(--primary-color);
  color: var(--background-color);
}


/* ██╗       ██████╗   █████╗  ██████╗  ███████╗ ██████╗  */
/* ██║      ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ */
/* ██║      ██║   ██║ ███████║ ██║  ██║ █████╗   ██████╔╝ */
/* ██║      ██║   ██║ ██╔══██║ ██║  ██║ ██╔══╝   ██╔══██╗ */
/* ███████╗ ╚██████╔╝ ██║  ██║ ██████╔╝ ███████╗ ██║  ██║ */
/* ╚══════╝  ╚═════╝  ╚═╝  ╚═╝ ╚═════╝  ╚══════╝ ╚═╝  ╚═╝ */

.loadeur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120vh;
  background-color: var(--background-color);
  z-index: 100000;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.loadeur_content_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.loadeur_content_text h1 {
  font-size: 90px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.loadeur_logo {
  position: relative;
  max-width: 220px;
  aspect-ratio: 1/1;
  width: calc(100vw - 250px);
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 20px var(--primary-color));
  }

  to {
    filter: drop-shadow(0 0 40px var(--primary-color));
  }
}

.loadeur_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.open_loadeur {
  transform: translateY(-100%);
}

/* ██╗  ██╗ ███████╗  █████╗  ██████╗  ███████╗ ██████╗  */
/* ██║  ██║ ██╔════╝ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ */
/* ███████║ █████╗   ███████║ ██║  ██║ █████╗   ██████╔╝ */
/* ██╔══██║ ██╔══╝   ██╔══██║ ██║  ██║ ██╔══╝   ██╔══██╗ */
/* ██║  ██║ ███████╗ ██║  ██║ ██████╔╝ ███████╗ ██║  ██║ */
/* ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ ╚═════╝  ╚══════╝ ╚═╝  ╚═╝ */

.logo_head {
  width: 50px;
  height: 50px;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  filter: drop-shadow(0 0 20px var(--primary-color));
  cursor: pointer;
}

.nametag {
  position: absolute;
  top: 10px;
  right: 38px;
  z-index: 1000;
  font-size: 23px;
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nametag .firstball,
.nametag .secondball {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  position: absolute;
  aspect-ratio: 1/1;
  z-index: 1000;
}

.nametag .firstball {
  left: 12px;
}
.nametag .secondball {
  right: 12px;
}

.nametag p {
  z-index: 1000;
}

/* ███╗   ███╗  █████╗  ██╗ ███╗   ██╗ */
/* ████╗ ████║ ██╔══██╗ ██║ ████╗  ██║ */
/* ██╔████╔██║ ███████║ ██║ ██╔██╗ ██║ */
/* ██║╚██╔╝██║ ██╔══██║ ██║ ██║╚██╗██║ */
/* ██║ ╚═╝ ██║ ██║  ██║ ██║ ██║ ╚████║ */
/* ╚═╝     ╚═╝ ╚═╝  ╚═╝ ╚═╝ ╚═╝  ╚═══╝ */

/* ▀█▀ █ ▀█▀ █   █▀▀ */
/*  █  █  █  █▄▄ ██▄ */

.title {
  height: 210px;
  width: 480px;
  position: absolute;
  top: 25vh;
  left: 25%;
  transform: translate(-50%, -50%);
}
.title .big_title {
  font-size: 180px;
  font-weight: 600;
  line-height: 0.8;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 0;
}
/* 
.title .big_title::after {
  content: "TM";
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  font-size: 10px;
  font-weight: 600;
  color: var(--background-color);
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
} */
.title .small_title {
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
  margin: 0;
  position: absolute;
  top: 150px;
  right: 0;
}

/* █▀ ▄▀█ █▄ █ █▀▄ */
/* ▄█ █▀█ █ ▀█ █▄▀ */

.sand_part {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100% + 360px);
  z-index: -1;
  overflow: hidden;
}

.sand_part .sand_svg {
  position: absolute;
  top: -100px;
  left: 0px;
  height: calc(100vh + 500px);
  width: 100vw;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  mask: linear-gradient(
    to bottom,
    black 0%,
    black 50%,
    rgba(0, 0, 0, 0.8) 60%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0.05) 90%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(
    to bottom,
    black 0%,
    black 50%,
    rgba(0, 0, 0, 0.8) 60%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0.05) 90%,
    transparent 100%
  );
  filter: blur(0px);
}

.sand_part .sand_svg_blur {
  position: absolute;
  top: -100px;
  left: 0px;
  height: calc(100vh + 400px);
  width: 100vw;
  z-index: 0;
  overflow: visible;
  filter: blur(2px);
  opacity: 0.3;
  mask: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.6) 80%,
    rgba(0, 0, 0, 0.9) 90%,
    black 100%
  );
  -webkit-mask: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.6) 80%,
    rgba(0, 0, 0, 0.9) 90%,
    black 100%
  );
}

.sand_part .sand_svg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.8) 80%,
    rgba(0, 0, 0, 1) 100%
  );
  backdrop-filter: blur(0px);
  z-index: 2;
  pointer-events: none;
}

.sand_part .sand_svg::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.05) 20%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.5) 80%,
    rgba(0, 0, 0, 0.8) 100%
  );
  backdrop-filter: blur(0px);
  z-index: 1;
  pointer-events: none;
}

/* █▄▄ █ █ █▄▄ █▄▄ █   █▀▀ */
/* █▄█ █▄█ █▄█ █▄█ █▄▄ ██▄ */

.glass {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  aspect-ratio: 1;
  cursor: pointer;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background-color: var(--bubble-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.244), 0 0 20px rgba(0, 0, 0, 0.139);
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
  z-index: 1000;
  position: relative;
  pointer-events: auto;
}

.glass::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  backdrop-filter: blur(5px);
  filter: url(#glass-distortion) blur(4px) contrast(1.3);
  overflow: hidden;
  isolation: isolate;
}

.glass::after {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.1),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.16);
}

.glass .glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 192, 119, 0.452) 0%,
    rgba(255, 209, 129, 0.265) 20%,
    transparent 50%
  );
}

.glass:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.2);
}

.glass:hover::before {
  backdrop-filter: blur(2px);
}

.glass:hover .glow {
  opacity: 1;
}

.glass:active {
  cursor: pointer;
  transition: none;
  transform: scale(0.95);
}

.glass_container span {
  position: relative;
  bottom: 10px;
  z-index: 1200;
  font-size: 24px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.ix-container span {
  position: relative;
  bottom: 10px;
}

.ix-container .glass {
  filter: saturate(0.6) brightness(0.9);
}

.ix-container .glass .glow {
  filter: saturate(0.6);
}

.collectible-text {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  z-index: 1201;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0.8;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.glass_container {
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

/* █▄▄ █ █ █▄▄ █▄▄ █   █▀▀   █▀█ █   ▄▀█ █▀▀ █▀▀ █▀▄▀█ █▀▀ █▄ █ ▀█▀ */
/* █▄█ █▄█ █▄█ █▄█ █▄▄ ██▄   █▀▀ █▄▄ █▀█ █▄▄ ██▄ █ ▀ █ ██▄ █ ▀█  █  */

.parent {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  grid-template-rows: repeat(5, 90px);
  max-width: 70vw;
  max-height: 80vh;
  height: 40vw;
  width: 150vh;
  gap: 50px;
  position: absolute;
  top: calc(55% - 250px);
  right: calc(10vw / -1 + 150px);
  z-index: 1000;
  transform: translate(0, -50%);
  justify-content: center;
  align-items: center;
  justify-items: center;
  align-content: center;
}

.glass_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0); /* Commence à scale 0 */
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.glass_container:nth-child(1) {
  grid-column-start: 4;
}

.glass_container:nth-child(2) {
  grid-column-start: 5;
  grid-row-start: 2;
}

.glass_container:nth-child(3) {
  grid-column-start: 3;
  grid-row-start: 2;
}

.glass_container:nth-child(4) {
  grid-column-start: 4;
  grid-row-start: 3;
}

.glass_container:nth-child(5) {
  grid-column-start: 2;
  grid-row-start: 3;
}

.glass_container:nth-child(6) {
  grid-column-start: 3;
  grid-row-start: 4;
}

.glass_container:nth-child(7) {
  grid-column-start: 4;
  grid-row-start: 5;
}

.glass_container:nth-child(8) {
  grid-column-start: 1;
  grid-row-start: 4;
}

.glass_container:nth-child(9) {
  grid-column-start: 2;
  grid-row-start: 5;
}

/* Application de l'animation aux bulles/glass */
/* L'animation float est désactivée pour permettre l'animation de scale via JavaScript */
/* .glass_container {
  animation: float 12s ease-in-out infinite;
} */

/* █▄▄ █ █ █▄▄ █▄▄ █   █▀▀   ▄▀█ █▄ █ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄ █ */
/* █▄█ █▄█ █▄█ █▄█ █▄▄ ██▄   █▀█ █ ▀█ █ █ ▀ █ █▀█  █  █ █▄█ █ ▀█ */

/* Délais différents pour chaque bulle pour un effet naturel */
.glass_container:nth-child(1) {
  animation-delay: 0s;
}

.glass_container:nth-child(2) {
  animation-delay: 05s;
}

.glass_container:nth-child(3) {
  animation-delay: 1s;
}

.glass_container:nth-child(4) {
  animation-delay: 1.5s;
}

.glass_container:nth-child(5) {
  animation-delay: 2s;
}

.glass_container:nth-child(6) {
  animation-delay: 2.5s;
}

.glass_container:nth-child(7) {
  animation-delay: 3s;
}

.glass_container:nth-child(8) {
  animation-delay: 3.5s;
}

.glass_container:nth-child(9) {
  animation-delay: 4s;
}

/* █▀ █▀▀ █▀█ █▀█ █   █   */
/* ▄█ █▄▄ █▀▄ █▄█ █▄▄ █▄▄ */

.scoll {
  position: absolute;
  bottom: 20px;
  left: 15%;
  transform: translateX(-50%);
  z-index: 1000;
  height: 150px;
}
.scoll h4 a {
  position: absolute !important;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  text-decoration: none;
}

.scoll svg {
  position: absolute !important;
  bottom: 0;
  left: 50%;
  height: 90px;
  transform: translateX(-50%);
  z-index: 1000;
  animation: shake 2s ease-in-out infinite;
}

/* █▀▀ █▀█ ▄▀█ █▀▄ █ █▀▀ █▄ █ ▀█▀ */
/* █▄█ █▀▄ █▀█ █▄▀ █ ██▄ █ ▀█  █  */

.gradient {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 50px;
}

/* █▀ █▀▀ █▀▀ █▀█ █▄ █ █▀▄ */
/* ▄█ ██▄ █▄▄ █▄█ █ ▀█ █▄▀ */

.second_part {
  position: absolute;
  top: calc(100vh - 200px + var(--footer-height));
  left: 0;
  width: 100%;
  height: calc(100vh + 50px);
  z-index: 1000;
  overflow: hidden;
}

.big_shadow:not(.ios-shadow) {
  width: 60vw;
  min-width: 70vh !important;
  height: 100vh;
  min-height: 40vw;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  bottom: calc(-60vh + var(--footer-height));
  z-index: 0 !important;
  border-radius: 50%;
  /* Utilisation du filtre SVG à la place de blur(1000px) */
  filter: url(#big_blur_filter) brightness(1.1);
  -webkit-filter: url(#big_blur_filter) brightness(1.1);
  will-change: opacity, transform;
}

.ios-shadow {
  width: 100vw;
  height: 60vh;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  bottom: calc(-60vh + var(--footer-height));
  z-index: 0 !important;
  border-radius: 50%;
  /* Utilisation du filtre SVG à la place de blur(1000px) */
  filter: blur(100px) brightness(1.1);
  -webkit-filter: blur(100px) brightness(1.1);
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
}

/* █▀▀ ▄▀█ █▀█ █▀▄ */
/* █▄▄ █▀█ █▀▄ █▄▀ */

.second_part .card {
  position: absolute;
  background: rgba(0, 0, 0, 0.47);
  mix-blend-mode: screen;
  filter: contrast(1.1);
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 59.1px rgba(215, 141, 102, 0.32);
  backdrop-filter: blur(10px);
}

.main_card {
  position: absolute;
  width: 70%;
  height: 50%;
  left: 10px;
  bottom: calc(20px + var(--footer-height) + 50px);
  border-radius: 0px 250px;
  padding: 20px;
  display: flex;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_card h5 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  max-width: calc(100% - 200px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px 300px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  flex-direction: column;
}

.main_card h5 strong {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  margin-bottom: 10px;
  padding-bottom: 0px;
  margin-top: -20px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--primary-color);
  text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}
.projector_container {
filter: blur(60px);
width: 100%;
height: 100vh;
position: absolute;
top: calc(100vh - 100px);
overflow: hidden;
position: none;
z-index: 0;
}
.projector {
  position: absolute;
  top: -250px;
  right: -100px;
  width: 0%;
  height: 800px;
  background: linear-gradient(to left, #e3976076 40%, #ebb07880 100%);
  overflow: hidden;
  mix-blend-mode: screen;
  /* Forme de faisceau de projecteur : large à gauche, étroit à droite, style "vrai projecteur" */
  clip-path: polygon(
    0% 0%,
    100% 35%,
    100% 65%,
    0% 100%
  );
  border-radius: 400px;
  opacity: 0.7;
  transition: all 0.3s;
  rotate: -80deg;
  transform-origin: right top;
  animation: projector_anim both;
  animation-timeline: scroll(root);
  animation-range: 30vh 90vh;
  opacity: 0;

}

.anim_logo {
  position: absolute;
  top: 20%;
  right: 0;
  width: 25%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.anim_logo img {
  width: 150px;
  height: 150px;
  animation: rotate_logo both;
  animation-timeline: scroll(root);
  animation-range: 30vh 110vh;
  transform-origin: center;
}

@keyframes rotate_logo {
  from{
    rotate: 0;
    scale: 1;
  }
  to{
    rotate: 360deg;
    scale: 1.5;
  }
}


@keyframes projector_anim {
  from {
    width: 0%;
    rotate: -80deg;
    opacity: 0;
  }
  to {
    width: 100%;
    rotate: -20deg;
    opacity: 1;
  }
}

/* ███████╗  ██████╗   ██████╗  ████████╗ ███████╗ ██████╗  */
/* ██╔════╝ ██╔═══██╗ ██╔═══██╗ ╚══██╔══╝ ██╔════╝ ██╔══██╗ */
/* █████╗   ██║   ██║ ██║   ██║    ██║    █████╗   ██████╔╝ */
/* ██╔══╝   ██║   ██║ ██║   ██║    ██║    ██╔══╝   ██╔══██╗ */
/* ██║      ╚██████╔╝ ╚██████╔╝    ██║    ███████╗ ██║  ██║ */
/* ╚═╝       ╚═════╝   ╚═════╝     ╚═╝    ╚══════╝ ╚═╝  ╚═╝ */

footer {
  position: absolute;
  top: calc(100vh + 100vh - var(--footer-height) + 50px);
  left: 0;
  width: calc(100% - 2px);
  padding: 0px;
  margin: 0px;
  height: var(--footer-height);
  background: rgba(0, 0, 0, 0.47);
  mix-blend-mode: screen;
  filter: contrast(1.1);
  border: 1px solid #ffffff;
  border-bottom: none;
  box-shadow: 0px 0px 59.1px rgba(215, 141, 102, 0.32);
  backdrop-filter: blur(10px);
  z-index: 10000;
  border-radius: var(--border-radius) var(--border-radius) 0px 0px;
  overflow: hidden;
}

.title_footer_container {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 10000;
  width: 150px;
  height: 60px;
}
.footer_title {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  position: absolute;
  top: -15px;
  left: 0px;
}

.footer_subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: -5px;
  right: 0px;
}

.footer_links {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: calc(100% - 200px);
  max-width: 760px;
  height: calc(100% - 50px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.footer_links .box_link {
  flex: 1 1 0;
  max-width: 300px;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 10px;
  box-sizing: border-box;
  position: relative;
}

.footer_links .box_link h3 {
  width: 100%;
  box-sizing: border-box;
}

.footer_links .box_link h3 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
}

.footer_links .box_link a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  margin-left: 15px;
  text-decoration: none;
  font-style: italic;
}

.footer_links .box_link hr {
  height: 100%;
  background-color: var(--text-color);
  margin: 10px 0;
  width: 2px;
  position: absolute;
  top: 30px;
  left: 5px;
}

.footer_links .box_link .links {
  position: absolute;
  top: 38px;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
}

.logo_footer img {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*  █████╗  ███╗   ██╗ ██╗ ███╗   ███╗  █████╗  ████████╗ ██╗  ██████╗  ███╗   ██╗ ███████╗ */
/* ██╔══██╗ ████╗  ██║ ██║ ████╗ ████║ ██╔══██╗ ╚══██╔══╝ ██║ ██╔═══██╗ ████╗  ██║ ██╔════╝ */
/* ███████║ ██╔██╗ ██║ ██║ ██╔████╔██║ ███████║    ██║    ██║ ██║   ██║ ██╔██╗ ██║ ███████╗ */
/* ██╔══██║ ██║╚██╗██║ ██║ ██║╚██╔╝██║ ██╔══██║    ██║    ██║ ██║   ██║ ██║╚██╗██║ ╚════██║ */
/* ██║  ██║ ██║ ╚████║ ██║ ██║ ╚═╝ ██║ ██║  ██║    ██║    ██║ ╚██████╔╝ ██║ ╚████║ ███████║ */
/* ╚═╝  ╚═╝ ╚═╝  ╚═══╝ ╚═╝ ╚═╝     ╚═╝ ╚═╝  ╚═╝    ╚═╝    ╚═╝  ╚═════╝  ╚═╝  ╚═══╝ ╚══════╝ */

a {
  position: relative;
}
a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}
a:hover::after {
  width: 100%;
}
.nametag {
  transition: all 0.3s ease;
}
.nametag:hover {
  filter: contrast(1.2);
  transform: scale(1.05);
}

/* █▄▀ █▀▀ █▄█ █▀▀ ▄▀█ █▀█ █▀▄▀█ █▀▀ █▀ */
/* █ █ ██▄  █  █▀  █▀█ █▀▄ █ ▀ █ ██▄ ▄█ */

@keyframes float {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  15% {
    transform: translate(-4px, -6px) rotate(0.5deg);
  }
  30% {
    transform: translate(3px, -10px) rotate(-0.5deg);
  }
  45% {
    transform: translate(6px, -4px) rotate(0deg);
  }
  60% {
    transform: translate(-2px, -8px) rotate(0.5deg);
  }
  75% {
    transform: translate(4px, -12px) rotate(-0.5deg);
  }
  90% {
    transform: translate(-3px, -6px) rotate(0deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

@keyframes shake {
  0% {
    transform: translateY(0) translateX(-50%);
  }
  20% {
    transform: translateY(-8px) translateX(-50%);
  }
  40% {
    transform: translateY(8px) translateX(-50%);
  }
  60% {
    transform: translateY(-6px) translateX(-50%);
  }
  80% {
    transform: translateY(6px) translateX(-50%);
  }
  100% {
    transform: translateY(0) translateX(-50%);
  }
}

/* ██████╗  ███████╗ ███████╗ ██████╗   ██████╗  ███╗   ██╗ ███████╗ ██╗ ██╗   ██╗ ███████╗ */
/* ██╔══██╗ ██╔════╝ ██╔════╝ ██╔══██╗ ██╔═══██╗ ████╗  ██║ ██╔════╝ ██║ ██║   ██║ ██╔════╝ */
/* ██████╔╝ █████╗   ███████╗ ██████╔╝ ██║   ██║ ██╔██╗ ██║ ███████╗ ██║ ██║   ██║ █████╗   */
/* ██╔══██╗ ██╔══╝   ╚════██║ ██╔═══╝  ██║   ██║ ██║╚██╗██║ ╚════██║ ██║ ╚██╗ ██╔╝ ██╔══╝   */
/* ██║  ██║ ███████╗ ███████║ ██║      ╚██████╔╝ ██║ ╚████║ ███████║ ██║  ╚████╔╝  ███████╗ */
/* ╚═╝  ╚═╝ ╚══════╝ ╚══════╝ ╚═╝       ╚═════╝  ╚═╝  ╚═══╝ ╚══════╝ ╚═╝   ╚═══╝   ╚══════╝ */

/*1550px*/
@media (max-width: 1550px) {
  .glass_container {
    scale: 0.9;
  }
  .parent {
    grid-template-columns: repeat(5, 110px);
    grid-template-rows: repeat(5, 70px);
    position: absolute;
    top: calc(55% - 220px);
    right: calc(10vw / -1 + 100px);
  }

  .main_card {
    border-radius: 0px 200px;
  }
  .main_card h5 {
    font-size: 23px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    max-width: calc(100% - 100px);
  }
  .main_card h5 strong {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    margin-bottom: 10px;
    margin-top: -20px;
  }
}

/*1300px*/
@media (max-width: 1300px) {
  .parent {
    position: absolute;
    top: calc(55% - 180px);
    right: calc(10vw / -1 + 100px);
  }
  .main_card {
    border-radius: 0px 180px;
  }
  .main_card h5 {
    font-size: 22px;
    max-width: calc(100% - 80px);
  }
  .main_card h5 strong {
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: -20px;
  }
}

/*1200px*/
@media (max-width: 1200px) {
  .title {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 290px;
    height: 120px;
  }
  .title .big_title {
    font-size: 100px;
  }
  .title .big_title::after {
    top: -10px;
    right: -10px;
  }
  .title .small_title {
    font-size: 40px;
    top: 80px;
  }
  .parent {
    scale: 0.9;
    left: calc(50% - 30px);
    transform: translate(-50%, -50%);
    top: calc(50% - 140px);
    grid-template-columns: repeat(5, 90px);
    grid-template-rows: repeat(5, 70px);
  }

  .scoll {
    left: 50% !important;
    transform: translateX(-50%);
  }
  .sand_part {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 360px);
    z-index: -1;
    overflow: hidden;
  }

  .sand_part .sand_svg {
    position: absolute;
    top: -100px;
    left: 50%;

    transform: translateX(-50%);
    height: calc(100vh);
    width: auto;
    min-width: 100vw;
    rotate: -10deg;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    mask: linear-gradient(
      to bottom,
      black 0%,
      black 50%,
      rgba(0, 0, 0, 0.8) 60%,
      rgba(0, 0, 0, 0.5) 70%,
      rgba(0, 0, 0, 0.2) 80%,
      rgba(0, 0, 0, 0.05) 90%,
      transparent 100%
    );
    -webkit-mask: linear-gradient(
      to bottom,
      black 0%,
      black 50%,
      rgba(0, 0, 0, 0.8) 60%,
      rgba(0, 0, 0, 0.5) 70%,
      rgba(0, 0, 0, 0.2) 80%,
      rgba(0, 0, 0, 0.05) 90%,
      transparent 100%
    );
    filter: blur(0px);
  }
  .main_card {
    border-radius: 0px 180px;
  }
  .main_card h5 {
    font-size: 20px;
    max-width: calc(100% - 80px);
  }
}

/*1000px*/
@media (max-width: 1000px) {
  .main_card {
    width: calc(100% - 60px);
    height: calc(60% - 60px);
  }
  .loadeur_content_text{
    scale: 0.8;
  }
  .loadeur_logo {
    max-width: 180px;
  }
}

/*800px*/
@media (max-width: 800px) {
  .anim_logo {
    display: none;
  }
  /* Empêcher le scroll horizontal sur mobile et permettre de faire défiler jusqu'à la fin */
  body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  html {
    overflow-x: hidden;
  }
  
  .loadeur_content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  
  .loadeur_content_text h1 {
    font-size: clamp(60px, 10vw, 90px);
    font-weight: 700;
    letter-spacing: clamp(4px, 1.2vw, 8px);
    text-align: center;
    color: var(--text-color);
    margin: 0;
  }
  
  .loadeur_logo {
    max-width: 120px;
  }
  
  .parent {
    scale: 0.7;
    left: calc(40%);
    transform: translate(-50%, -50%);
    top: calc(50% - 150px);
    grid-template-columns: repeat(3, 70px);
    grid-template-rows: repeat(3, 70px);
    gap: 80px;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;
  }

  .glass_container {
    animation: none;
    transform: none;
  }

  .glass_container:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .glass_container:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .glass_container:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .glass_container:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .glass_container:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .glass_container:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
  }

  .glass_container:nth-child(7) {
    grid-column: 1;
    grid-row: 3;
  }

  .glass_container:nth-child(8) {
    grid-column: 2;
    grid-row: 3;
  }

  .glass_container:nth-child(9) {
    grid-column: 3;
    grid-row: 3;
  }
  .scoll {
    bottom: 10px;
    height: 100px;
  }
  .scoll h4 a {
    font-size: 32px;
  }
  .scoll svg {
    height: 50px;
  }
  .second_part {
    height: 950px;
  }

  .main_card {
    width: calc(100% - 60px);
    height: calc(70% - 150px);
    border-radius: 0px 120px;
    padding-top: 40px;
    padding-bottom: 40px;
    box-shadow: none !important;
    top: 0;
  }
  .main_card h5 {
    font-size: 15px;
    max-width: calc(100% - 50px);
  }
  .main_card h5 strong {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: -20px;
  }

  footer {
    height: 230px;
    top: calc(100vh + 950px);
    transform: translateY(-100%);
  }
  .title_footer_container {
    height: 45px;
    width: 105px;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
  }
  .footer_title {
    top: -10px;
    font-size: 35px;
  }
  .footer_subtitle {
    font-size: 15px;
  }
  .logo_footer img {
    width: 30px;
    height: 30px;
  }
  .footer_links {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(100% - 20px);
    max-width: 760px;
    height: calc(100% - 85px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }

  .footer_links .box_link h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
  }

  .footer_links .box_link a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    margin-left: 15px;
    text-decoration: none;
    font-style: italic;
  }

  .footer_links .box_link hr {
    height: 100%;
    background-color: var(--text-color);
    margin: 10px 0;
    width: 2px;
    position: absolute;
    top: 15px;
    left: 5px;
  }

  .footer_links .box_link .links {
    position: absolute;
    top: 23px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
  }
  .logo_head{
    width: 40px;
    height: 40px;
  }
    .nametag {
      position: absolute;
      top: 2px;
      right: 20px;
      z-index: 1000;
      font-size: 16px;
      font-weight: 600;
      color: var(--text-color);
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .nametag .firstball,
    .nametag .secondball {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      background-color: var(--secondary-color);
      position: absolute;
      aspect-ratio: 1/1;
      z-index: 1000;
    }
  
    .nametag .firstball {
      left: 12px;
    }
  
    .nametag .secondball {
      right: 12px;
    }
}
