:root {
  --text-main: #ffffff;
  --text-muted: #b0b0b0;
  --bg-body: #000000;
  --bg-body-div: #0b0b0b;
  --bg-navbar: rgba(0, 0, 0, 0.85);
  --bg-card: #000000;
  --border-color: #464646;
}

body.light-theme {
  --text-main: #17171a;
  --text-muted: #4a4a4f;
  --bg-body: #f2f0f5;
  --bg-body-div: #e9e6f0;
  --bg-navbar: rgba(255, 255, 255, 0.9);
  --bg-card: #ffffff;
  --border-color: #cfcfd6;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  background-color: var(--bg-body);
  transition: background-color 0.4s ease;
}

/* Bloque le scroll tant que l'intro (logo qui pulse puis chute des
   vignettes) n'est pas terminee -- on evite le html aussi pour Safari iOS. */
html.intro-locked,
body.intro-locked {
  overflow: hidden;
  height: 100%;
}

.intro-loader {
  position: fixed;
  inset: 0;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 1;
  transition: opacity 0.5s ease;
  /* pointer-events reste actif tant que l'intro joue : on veut vraiment
     que rien ne soit utilisable (menu, theme...) avant la fin, comme
     demande -- seul .hidden (fin d'intro) le desactive. */
}

.intro-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-loader-logo {
  width: 130px;
  animation: introPulse 1.4s ease-in-out infinite;
}

@keyframes introPulse {
  0%,
  100% {
    opacity: 0.5;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.7));
    transform: scale(1.04);
  }
}

.container-main {
  font-family: "Roboto", sans-serif;
}
.navBar-div {
  height: 60px;
  width: 100%;
  background-color: var(--bg-navbar);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background-color 0.4s ease;
}

.left-box-navBar {
  height: 100%;
  width: 33.333%;
  align-items: center;
  justify-content: left;
  display: flex;
  padding-left: 100px;
}

.center-box-navBar {
  height: 100%;
  width: 33.333%;
  justify-content: center;
  display: flex;
  align-items: center;
}

.right-box-navBar {
  height: 100%;
  width: 33.333%;
  justify-content: right;
  align-items: center;
  display: flex;
  padding-right: 100px;
}

.menu-icon-image-navbar {
  width: 26px;
  height: 26px;
  color: var(--text-main);
  cursor: pointer;
}

.logo-image-navbar {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.profile-icon-div-navbar {
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
  color: var(--text-main);
  text-decoration: none;
}

.profile-icon-navbar {
  width: 32px;
  height: auto;
  display: block;
}

.theme-switch {
  margin-left: 20px;
  cursor: pointer;
}

.theme-switch-track {
  position: relative;
  display: flex;
  align-items: center;
  width: 44px;
  height: 22px;
  border-radius: 999px;
  background-color: var(--border-color);
  transition: background-color 0.3s ease;
}

.theme-switch-track .icon-sun,
.theme-switch-track .icon-moon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-main);
  opacity: 0.7;
  pointer-events: none;
}
.theme-switch-track .icon-sun { left: 5px; }
.theme-switch-track .icon-moon { right: 5px; }

.theme-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

body.light-theme .theme-switch-track {
  background-color: #d8d5e0;
}
body.light-theme .theme-switch-knob {
  transform: translateX(22px);
  background-color: #17171a;
}

/* NavBar - FINISH */

/* Slider - START */

.slider-div {
  width: 100%;
  height: 466px;
  display: flex;
}

.left-box-slider-div {
  width: 70%;
  height: 100%;
}

.slider-image {
  width: 100%;
  height: 100%;
  background-image: url("./assets/slider-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.right-box-slider-div {
  width: 30%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.right-box-slider-content {
  width: 80%;
  height: 90%;
  position: relative;
  text-align: center;
}

.game-name-slider {
  display: none;
  font-size: 17px;
  font-weight: bold;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 10px;
  cursor: default;
}

.title-slider {
  color: var(--text-main);
  font-family: "Montserrat", "Roboto", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.3px;
  word-wrap: normal;
  max-width: 290px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 20px;
  cursor: default;
}

.button-div-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button-slider {
  padding: 20px 56px;
  background-color: transparent;
  /* Le hero suit desormais le theme (voir .collage-section), donc ce
     bouton doit suivre aussi -- sinon texte fonce sur fond fonce, ou
     bordure invisible sur fond clair. */
  border: 1px solid var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  white-space: nowrap;
  cursor: pointer;
}

.selector-div-slider {
  display: flex;
  width: 100%;
  height: 20px;
  bottom: 10px;
  align-items: center;
  justify-content: space-between;
  position: absolute;
}

.selector-slider {
  width: 20%;
  height: 5px;
  background-color: #666666;
  border-radius: 20px;
  cursor: pointer;
}

.selector-slider.active {
  background-color: #fff !important;
}

/* Slider - FINISH */

/* Body - START */

.body-div {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: var(--bg-body-div);
  transition: background-color 0.4s ease;
}

.body1-div {
  height: fit-content;
  width: 80%;
  margin-top: 100px;
}

.title-body1,
.title-body2,
.body3-title,
.body4-title {
  color: var(--text-main);
  font-size: 30px;
  cursor: default;
}

.news-box-div-body1 {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  position: relative;
}

.news-box-div {
  height: 610px;
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 334px;
  margin-bottom: 20px;
  border-radius: 10px;
  cursor: default;
}

.news-box-img-div {
  width: 334px;
  height: 334px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

.news-box-footer-div {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
}

.news-box-footer-game-name {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
}

.news-box-footer-date {
  color: var(--text-muted);
  margin-left: 20px;
  font-weight: 400;
}

.news-box-footer-title {
  font-size: 25px;
  color: var(--text-main);
  font-weight: bold;
}

.view-more-main-div {
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
  position: relative;
}

.view-more-div {
  width: auto;
  height: auto;
}

.view-more-text {
  color: #e8e8e8;
  font-size: 20px;
  font-weight: 500;
  z-index: 2;
  position: relative;
}

.view-more-bg-div {
  position: absolute;
  bottom: 10px;
  margin-left: -2px;
  width: 100px;
  height: 7%;
  background-color: #fcaf17;
  z-index: 1;
  border-radius: 10px;
  transition: 0.3s;
}

.view-more-div:hover .view-more-bg-div {
  height: 60%;
  width: 120px;
  z-index: 1;
  border-radius: 5px;
  margin-left: -12px;
}

.view-more-div:hover .view-more-text {
  z-index: 2;
  color: black;
}

.body2-div {
  height: fit-content;
  width: 80%;
  margin-top: 100px;
}

.games-container-body2 {
  width: 100%;
  height: fit-content;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.games-div-body2 {
  width: 244px;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

.game-img-body2 {
  width: 100%;
  height: 100%;
  transition: 2s;
}

.game-img-body2.active {
  transform: scale(1.5);
  transition: 5s;
}

.body3-div {
  height: fit-content;
  width: 80%;
  margin-top: 100px;
}

.body3-title,
.body4-title {
  text-align: center;
  display: block;
}

.customers-div {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  text-align: center;
  color: var(--text-main);
}

.customer-box {
  cursor: default;
}

.customer-review {
  max-width: 300px;
}

.customer-details {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
  position: relative;
}

.customer-image {
  width: 50px;
  position: absolute;
  top: 10px;
}

.customer-name {
  margin-top: 20px;
  position: absolute;
}

.customer-rate {
  width: 100px;
  margin-top: 50px;
  position: absolute;
}

.body4-div {
  height: fit-content;
  width: 80%;
  margin-top: 100px;
}

.inputs-body4 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
}

.subject-body4 {
  width: 500px;
  border-radius: 5px;
  background-color: #111111;
  color: var(--text-main);
  font-size: 20px;
  padding: 5px;
  border: none;
}

.message-body4 {
  width: 500px;
  height: 200px;
  border-radius: 5px;
  color: var(--text-main);
  font-size: 20px;
  background-color: #111111;
  padding: 10px;
}

.send-message-btn {
  width: 150px;
  height: 30px;
  border: 2px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.message-body4::placeholder,
.subject-body4::placeholder {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
}

.subject-counter,
.message-counter {
  opacity: 0;
  color: red;
  transition: 0.5s;
  cursor: default;
}

.subject-body4:focus + .subject-counter,
.message-body4:focus + .message-counter {
  opacity: 1;
}

.body5-div {
  width: 80%;
  height: fit-content;
  margin-top: 150px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  color: var(--text-main);
  font-size: 17px;
  font-weight: 600;
}

.icon-body5 {
  width: 64px;
}

.number-body5 {
  text-decoration: underline;
  font-size: 25px;
  display: block;
  margin-bottom: -10px;
  margin-top: -3px;
  cursor: default;
}

.name-body5 {
  font-size: 13px;
  cursor: default;
}

/* Body - FINISH */

/* Footer - START */

.footer-div {
  width: 100%;
  height: 473px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer1-div {
  height: 41px;
  width: 90%;
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
}

.footer2-div {
  height: 48px;
  width: 90%;
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
}

.footer3-div {
  height: 24px;
  width: 90%;
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
}

.footer-div-left {
  width: 50%;
  display: flex;
  justify-content: flex-start;
}

.footer-div-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.footer1-left-item {
  margin-right: 35px;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  position: relative;
  cursor: pointer;
}

.footer1-left-item:hover {
  color: #fcaf17;
}

.new-tab-img {
  width: 13px;
  position: absolute;
  right: -18px;
  top: 7px;
  cursor: pointer;
}

.footer1-right-text {
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
}

.footer1-lang-icon,
.footer1-down-icon {
  width: 20px;
  height: 20px;
  margin-top: 14px;
  cursor: pointer;
}

.footer2-items {
  color: #e8e8e8;
  font-size: 15px;
  font-weight: 400;
  margin-right: 20px;
  cursor: pointer;
}

.footer2-items:hover {
  color: #fcaf17;
}

.footer2-div .footer-div-left {
  width: 60%;
}

.footer2-div .footer-div-right {
  width: 40%;
}

.socials-logo {
  width: 22px;
  height: 22px;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 10px;
  cursor: pointer;
}

.footer3-left,
.footer3-right {
  width: 30%;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-main);
  cursor: default;
}

.footer3-right {
  justify-content: flex-end;
}

.footer3-center {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-main);
}

.footer3-center p {
  cursor: pointer;
}

/* Footer - FINISH */

/* Menu - START */

.menu-overlay {
  position: fixed;
  top: 60px;
  left: -30%;
  width: 30%;
  height: 100vh;
  background-color: var(--bg-card);
  color: var(--text-main);
  overflow-y: auto;
  transition: left 0.3s ease;
  border-top: 1px solid #555;
}

.menu-content {
  padding: 20px;
}

.search-bar {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.search-bar-input {
  background-color: var(--bg-body-div);
  border: none;
  height: 40px;
  width: 300px;
  background-image: url("./assets/search-interface-symbol.png");
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 10px;
  background-size: 20px;
  padding-left: 40px;
  padding-right: 30px;
  color: var(--text-main);
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-main);
  font-size: 25px;
  font-weight: bold;
}

.menu-list li {
  padding: 10px 0;
  cursor: pointer;
}

.menu-list li:hover {
  color: #fcaf17;
}

/* Menu - FINISH */

/* Scroll Bar */

.scroll-bar {
  position: fixed;
  top: 0px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: orange;
  z-index: 9999;
  transition: width 0.3s ease;
}

@media (max-width: 470px) {
  .left-box-navBar {
    padding-left: 20px;
  }
  .right-box-navBar {
    padding-right: 20px;
  }
  .slider-div {
    display: flex;
    flex-wrap: wrap;
    height: 650px;
  }
  .left-box-slider-div {
    width: 100%;
    height: 50%;
    top: 0px;
    position: relative;
    padding-top: 30px;
    box-sizing: border-box;
  }
  .right-box-slider-div {
    width: 100%;
    height: 50%;
  }
  .right-box-slider-content {
    width: 90%;
    height: 100%;
    position: relative;
  }
  .game-name-slider {
    margin-top: 5px;
  }
  .title-slider {
    max-width: fit-content;
    font-size: 1.1rem;
    white-space: nowrap;
  }
  .button-slider {
    padding: 16px 36px;
    font-size: 18px;
  }
  .news-box-div {
    height: max-content;
  }
  .games-container-body2 {
    height: fit-content;
    flex-wrap: wrap;
  }
  .games-div-body2 {
    width: 45%;
    height: auto;
    overflow: hidden;
    cursor: pointer;
  }
  .customer-review {
    display: none;
  }

  .body3-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .customers-div {
    width: 80%;
  }
  .customer-name {
    margin-top: 50px;
  }
  .customer-rate {
    margin-top: 100px;
  }
  .subject-body4 {
    width: 90%;
  }
  .message-body4 {
    width: 90%;
  }
  .send-message-btn {
    width: 50%;
  }
  .body5-div {
    flex-wrap: wrap;
  }
  .item-body5 {
    width: 45%;
    margin-bottom: 50px;
  }
  .footer1-div {
    height: auto;
    width: 90%;
  }

  .footer-div-left {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer1-left-item {
    width: 100%;
    font-size: 18px;
    margin-bottom: -10px;
  }

  .new-tab-img {
    right: 13px;
    top: 14px;
  }
  .footer2-div-right {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
  }
  .footer2-div-left {
    display: none;
  }
  .footer2-div {
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: center;
  }
  .socials-logo {
    width: 22px;
    height: 22px;
    cursor: pointer;
  }
  .footer3-div {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .footer3-left,
  .footer3-right {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-main);
    cursor: default;
    text-align: center;
    justify-content: center;
  }
  .footer3-center {
    width: 100%;
  }
  .menu-overlay {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-card);
    color: var(--text-main);
    overflow-y: auto;
    transition: left 0.3s ease;
    border-top: 1px solid #555;
  }
}

@media screen and (min-width: 471px) and (max-width: 860px) {
  .left-box-navBar {
    padding-left: 20px;
  }
  .right-box-navBar {
    padding-right: 20px;
  }
  .slider-div {
    display: flex;
    flex-wrap: wrap;
    height: 650px;
  }
  .left-box-slider-div {
    width: 100%;
    height: 50%;
    top: 0px;
    position: relative;
    padding-top: 30px;
    box-sizing: border-box;
  }
  .right-box-slider-div {
    width: 100%;
    height: 50%;
  }
  .right-box-slider-content {
    width: 90%;
    height: 100%;
    position: relative;
  }
  .game-name-slider {
    margin-top: 5px;
  }
  .title-slider {
    max-width: fit-content;
    font-size: 1.1rem;
    white-space: nowrap;
  }
  .button-slider {
    padding: 16px 36px;
    font-size: 18px;
  }
  .news-box-div {
    height: max-content;
  }
  .games-container-body2 {
    height: fit-content;
    flex-wrap: wrap;
  }
  .games-div-body2 {
    width: 45%;
    height: auto;
    overflow: hidden;
    cursor: pointer;
  }
  .customer-review {
    display: none;
  }

  .news-box-div-body1 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
  }

  .news-box-div {
    height: 310px;
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 45%;
    margin-bottom: 20px;
    border-radius: 10px;
    cursor: default;
  }

  .news-box-img-div {
    width: 100%;
    height: 150px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .news-box-footer-div {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
  }

  .news-box-footer-game-name {
    color: var(--text-main);
    font-size: 12px;
    font-weight: 500;
  }

  .news-box-footer-date {
    color: var(--text-muted);
    margin-left: 5px;
    font-weight: 400;
    font-size: 10px;
  }

  .news-box-footer-title {
    font-size: 15px;
    color: var(--text-main);
    font-weight: bold;
  }

  .body3-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .customers-div {
    width: 80%;
  }
  .customer-name {
    margin-top: 50px;
  }
  .customer-rate {
    margin-top: 100px;
  }
  .subject-body4 {
    width: 90%;
  }
  .message-body4 {
    width: 90%;
  }
  .send-message-btn {
    width: 50%;
  }
  .body5-div {
    flex-wrap: wrap;
  }
  .item-body5 {
    width: 45%;
    margin-bottom: 50px;
  }
  .footer1-div {
    height: auto;
    width: 90%;
  }

  .footer-div-left {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer1-left-item {
    width: 100%;
    font-size: 18px;
    margin-bottom: -10px;
  }

  .new-tab-img {
    right: 13px;
    top: 14px;
  }
  .footer2-div-right {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
  }
  .footer2-div-left {
    display: none;
  }
  .footer2-div {
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: center;
  }
  .socials-logo {
    width: 22px;
    height: 22px;
    cursor: pointer;
  }
  .footer3-div {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .footer3-left,
  .footer3-right {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-main);
    cursor: default;
    text-align: center;
    justify-content: center;
  }
  .footer3-center {
    width: 100%;
  }
  .menu-overlay {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-card);
    color: var(--text-main);
    overflow-y: auto;
    transition: left 0.3s ease;
    border-top: 1px solid #555;
  }
}

/* Video Modal - START */

.video-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.video-modal-overlay.open {
  display: flex;
}

.video-modal-player {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 12px;
  outline: none;
}

.video-modal-close {
  position: absolute;
  top: 24px;
  right: 30px;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  z-index: 100000;
}

/* Video Modal - FINISH */

/* Tools Modal (telechargement de l'outil de doublage) - START */

.tools-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.tools-modal-overlay.open {
  display: flex;
}

.tools-modal-content {
  max-width: 460px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tools-modal-icon {
  width: 40px;
  height: 40px;
  color: #fff;
}

.tools-modal-title {
  font-family: "Montserrat", "Roboto", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 4vw, 30px);
  color: #fff;
  margin: 0;
}

.tools-modal-text {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.tools-modal-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  margin-top: 6px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
}

.tools-modal-note {
  color: #888;
  font-size: 12px;
  margin: 0;
}

/* Tools Modal - FINISH */

/* Collage Reveal - START */

.collage-section {
  position: relative;
  height: 620vh;
  background-color: var(--bg-body);
  transition: background-color 0.4s ease;
}

.collage-pin {
  /* Le pin est gere par GSAP ScrollTrigger (pin:true dans collage-reveal.js),
     pas par un position:sticky CSS -- sticky a des ecarts de comportement
     entre navigateurs (Safari iOS en particulier) qui faisaient "descendre"
     visiblement le contenu au tout debut du scroll avant qu'il ne se fixe. */
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1400px;
}

.collage-canvas {
  position: relative;
  width: min(92vw, 1024px);
  aspect-ratio: 1024 / 1024;
}

.collage-vignette {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  will-change: transform, opacity;
  /* Cache par defaut : sans ca, si le CDN GSAP met du temps a charger, on
     voit une fraction de seconde l'image posee a sa position finale avant
     que le JS ne prenne le relai (glitch/spoiler au chargement). */
  opacity: 0;
}

.collage-logo {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 47%;
  z-index: 20;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8));
  will-change: transform, opacity;
  opacity: 0;
}

@media (max-width: 700px) {
  .collage-section {
    height: 510vh;
  }
  .collage-canvas {
    width: 94vw;
  }
}

/* Collage Reveal - FINISH */

/* Footer - elements grises (pas encore disponibles) - START */

.footer1-item-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.socials-logo-link {
  display: inline-block;
  cursor: pointer;
}

.socials-logo-link.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(1);
}

.x-logo {
  color: var(--text-main, #fff);
  width: 24px;
  height: 24px;
}

.tiktok-logo {
  /* Sans ca, currentColor retombe sur le bleu de lien par defaut du
     navigateur (aucune couleur n'etait definie sur le <a> parent). */
  color: var(--text-main, #fff);
}

/* Footer - elements grises - FINISH */

.menu-item-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.menu-list-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.menu-list-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.menu-tools-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-tools-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.menu-tools-tag {
  color: #888;
  font-size: 0.8em;
}

/* L'outil est Windows uniquement : pas de telechargement propose sur
   mobile, on grise l'entree comme les autres items pas encore actifs. */
@media (max-width: 700px) {
  .menu-tools-item {
    opacity: 0.35;
    pointer-events: none;
  }
}

/* Hero integre (V2 experimentale) - START */

.collage-title {
  position: absolute;
  left: 50%;
  top: 77%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 4vw, 34px);
  color: var(--text-main);
  letter-spacing: 0.5px;
  z-index: 15;
  opacity: 0;
  margin: 0;
}

/* Badge plateforme + Watch Now groupes ensemble (un seul point d'ancrage,
   petit espace entre les deux) plutot que chacun isole avec un grand vide
   autour. */
.collage-cta-group {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 15;
}

.collage-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  color: var(--text-main);
}

.collage-platform-icon {
  width: 18px;
  height: 18px;
}

.collage-platform-label {
  font-family: "Montserrat", "Roboto", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
}

.collage-watchnow {
  opacity: 0;
}

/* Assombrit tout le collage (vignettes + logo) pour faire ressortir les
   descriptions qui suivent. Anime uniquement par GSAP (voir
   collage-reveal.js), scrubbe au scroll -- pas de transition CSS ici pour
   ne pas entrer en conflit avec le scrub. */
.collage-darken {
  position: absolute;
  inset: 0;
  /* Assombrit en theme sombre, "eclaircit" en theme clair -- l'idee est de
     renforcer le contraste avec le texte qui suit, quel que soit le sens. */
  background-color: var(--bg-body);
  opacity: 0;
  z-index: 22;
  pointer-events: none;
}

/* Panneaux de contenu (Communautes/Radios/Newswire) : s'enchainent
   au-dessus du collage assombri, pilotes par la timeline scrubbee au
   scroll -- plus de traits cliquables. */
.collage-tab-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  opacity: 0;
  pointer-events: none;
  z-index: 25;
}

.collage-tab-title {
  font-family: "Montserrat", "Roboto", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 4vw, 40px);
  color: var(--text-main);
  letter-spacing: 0.5px;
  margin: 0 0 20px;
}

.collage-tab-text {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.collage-tab-list {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.collage-tab-list strong {
  color: var(--text-main);
}

.collage-tab-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 32px;
  border: 1px solid var(--text-main);
  border-radius: 6px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  pointer-events: auto;
}

.collage-tab-discord-icon {
  width: 22px;
  height: 16px;
  flex-shrink: 0;
}

.radios-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 22px 26px;
  max-width: 700px;
}

.radio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 78px;
}

.radio-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.radio-name {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 700px) {
  .radios-grid {
    gap: 16px 18px;
    max-width: 88%;
  }
  .radio-item {
    width: 60px;
  }
  .radio-logo {
    width: 48px;
    height: 48px;
  }
  .radio-name {
    font-size: 9.5px;
  }
}

/* Couleurs des gangs dans le panneau Communautes */
.gang-famille {
  color: #4caf50;
}

.gang-ballezes {
  color: #b06bf2;
}

.gang-flamenco {
  color: #f2c94c;
}

.gang-turcs {
  color: #56ccf2;
}

/* Tout petit prolongement apres le hero : juste de quoi reveler Instagram
   et YouTube d'un leger scroll, rien d'autre a voir en dessous. */
.mini-footer {
  min-height: 32vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Contrairement au hero (collage-section), cette petite zone suit le
     theme choisi -- fond clair en mode clair. */
  background-color: var(--bg-body);
  transition: background-color 0.4s ease;
}

.mini-footer-icons {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mini-footer-icons.visible {
  opacity: 1;
  transform: translateY(0);
}

.mini-footer-icons .socials-logo {
  width: 26px;
  height: 26px;
  margin-left: 0;
}

/* Instagram/YouTube sont des PNG blancs fixes : on les inverse en noir en
   mode clair pour qu'ils restent visibles sur le fond qui devient blanc
   (le gris/l'opacite de YouTube desactive viennent du parent .disabled). */
body.light-theme .mini-footer-icons img.socials-logo {
  filter: invert(1);
}

@media (max-width: 700px) {
  .collage-title {
    top: 70%;
    font-size: clamp(16px, 5vw, 22px);
  }
  .collage-cta-group {
    top: 88%;
    gap: 10px;
  }
}

/* Hero integre (V2 experimentale) - FINISH */
