/*  File: style.css
 *  By: WireGency <contact@wiregency.com>
 *  Discord: <discord.wiregency.com>

 *  Created with Trae IDE <traeide.com>
 *  For the project Nomad


 */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  src: url(fonts/rubik-v30-latin-regular.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500;
  src: url(fonts/rubik-v30-latin-500.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  src: url(fonts/rubik-v30-latin-600.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 800;
  src: url(fonts/rubik-v30-latin-800.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Rubik", sans-serif;
  --bs-body-bg: #f9f0cb;
  background-image: url(../img/snow.webp);
}

.custom-shape-divider-bottom-1748167736 {
  position: relative;
  bottom: 110px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 9;
}

.faq-container {
  max-width: 40vw;
  min-width: 40vw;
}

.title-hero-section {
  font-size: 2rem;
  font-weight: bold;
  line-height: 0.8;
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
}

.custom-shape-divider-bottom-1748167736 svg {
  position: relative;
  display: block;
  width: calc(129% + 1.3px);
  height: 110px;
}

.custom-shape-divider-bottom-1748167736 .shape-fill {
  fill: #f1e9c8;
}

.content-launcher {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-shadow-wrapper-primary {
  position: relative;
  display: inline-block;
  margin-bottom: 7px; /* Compense la hauteur de la shadow pour un espacement visuel egal */
}

.btn-shadow-wrapper-primary::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ebebeb; /* Shadow color */
  z-index: 0;
  border-radius: 10px;
}

.btn-sail-primary {
  position: relative;
  background-color: #f9f9f9;
  color: #33bbfc;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 13px 1.25rem;
  border: none;
  cursor: pointer;
  z-index: 1;
  border-radius: 10px;
  transition: all ease 0.1s;
  text-decoration: none;
  display: inline-block;
}
.button-launcher {
  position: absolute;
  content: "";
  width: 75px;
  height: 75px;
  background-color: #30b9f9;
  left: 50%;
  top: 75%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;

}

.btn-sail-primary:hover:active,
.btn-sail-secondary:hover:active {
  transform: translateY(5px);
  box-shadow: 0px 0px 0px 0px #a29bfe;
}

.img-card {
  --padding-img-card: 10px;
  padding: var(--padding-img-card);
}

.btn-shadow-wrapper-secondary {
  position: relative;
  display: inline-block;
  margin-bottom: 7px; /* Compense la hauteur de la shadow pour un espacement visuel egal */
}

.btn-shadow-wrapper-secondary::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #22a8f4; /* Shadow color */
  z-index: 0;
  border-radius: 10px;

}

.btn-sail-secondary {
  position: relative;
  background-color: #30b9f9;
  color: #ecf0e0;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 13px 1.25rem;
  border: none;
  cursor: pointer;
  z-index: 1;
  border-radius: 10px;
  transition: all ease 0.1s;
  text-decoration: none;
  display: inline-block;

}

.btn-sail-primary a {
  color: #33bbfc;
  text-decoration: none;
}

.btn-sail-secondary a {
  color: #f0f2e1;
  text-decoration: none;
}

/* Discord Button - meme structure que btn-sail-secondary */
.btn-shadow-wrapper-discord {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-bottom: 7px; /* Compense la hauteur de la shadow pour un espacement visuel egal */
}

.btn-shadow-wrapper-discord::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4752C4;
  z-index: 0;
  border-radius: 10px;
}

.btn-sail-discord {
  position: relative;
  background-color: #5865F2;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 13px 1.25rem;
  border: none;
  cursor: pointer;
  z-index: 1;
  border-radius: 10px;
  transition: all ease 0.1s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-sail-discord:hover {
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.btn-sail-discord:active {
  transform: translateY(5px);
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.wrapper {
  padding-bottom: 90px;
}

.divider {
  position: relative;
  margin-top: 90px;
  height: 1px;
}

.div-transparent:before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  width: 90%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    rgb(48, 49, 51),
    transparent
  );
}

.separator-logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.center-separator {
  transform: scale(1);
}

.fancy-separator {
  max-width: 60%;
  transition: max-width 1s ease-in-out !important;
  align-self: center;
  flex-grow: 1;
  height: 3px;
  transition: 0.1s ease-in-out;
  width: 10px;
}

.fancy-center {
  border-radius: 50%;
}

.fancy-left {
  transform: rotate(180deg);
}
ul.timeline-list li {
  padding-top: 400px;
}

.div-dot:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -9px;
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  background-color: goldenrod;
  border: 1px solid rgb(48, 49, 51);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px white, 0 0 0 4px white;
}

.navbar-bg {
  background-color: rgba(32, 27, 27, 0.24);
  border-color: rgba(255, 255, 255, 0.082);
  padding: 0.75rem;
  border-radius: 0.375rem;
  backdrop-filter: blur(40px);
  border-top-width: 1px;
  border-top-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
  border-right-width: 1px;
  border-right-style: solid;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.navbar-list {
  margin-left: 2rem;
}

.navbar {
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Position hamburger menu on the right on mobile */
@media (max-width: 991.98px) {
  .navbar .container,
  .navbar .container-fitter {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .navbar .navbar-bg {
    width: 100% !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .navbar .d-lg-none {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
  }
  .navbar .navbar-toggler {
    margin-left: auto !important;
  }
  .navbar .navbar-collapse {
    width: 100% !important;
  }
}

.nav-avatar {
  /* Hauteur = (bouton + ombre) * 0.8 */
  height: calc((33px + 1.25rem * 1.5) * 0.8);
  width: auto;
  aspect-ratio: 1;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.nav-avatar:hover {
  transform: scale(1.05);
}

.nav-avatar + .dropdown-menu,
.dropdown-menu.dropdown-menu-end {
  margin-top: 0.5rem;
  background-color: rgba(0, 0, 0, 0.9);
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 200px;
}

/* Header du dropdown profil */
.dropdown-header-profile {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.dropdown-avatar {
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dropdown-user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-username {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.dropdown-role {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.nav-avatar + .dropdown-menu .dropdown-item,
.dropdown-menu.dropdown-menu-end .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav-avatar + .dropdown-menu .dropdown-item:hover,
.dropdown-menu.dropdown-menu-end .dropdown-item:hover {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  cursor: pointer;
}

.nav-avatar + .dropdown-menu .dropdown-divider,
.dropdown-menu.dropdown-menu-end .dropdown-divider {
  border-top-color: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

.nav-avatar + .dropdown-menu .text-danger,
.dropdown-menu.dropdown-menu-end .text-danger {
  color: #ff4444 !important;
}

.nav-avatar + .dropdown-menu .text-danger:hover,
.dropdown-menu.dropdown-menu-end .text-danger:hover {
  color: #ff6666 !important;
}

.container-fitter {
  /* Herite de la largeur du container Bootstrap pour alignement avec les sections */
}
ul.timeline-list li .timeline_content {
  width: 45%;
  color: #333;
  padding: 30px;
  float: left;
  display: flex;
  flex-direction: column;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: capitalize;
  padding: 0.5rem 0 !important;
}

.nav-item a:hover {
  color: rgba(48, 185, 249, 1);
}
ul.timeline-list li:nth-child(even) {
  justify-content: end;
}

.btn-sail-primary:hover {
  transform: translateY(-2px);
}

.btn-sail-secondary:hover {
  transform: translateY(-2px);
}

.player-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 0.25rem 0.5rem;
  transition: all 0.3s ease;
}

.player-btn:hover {
  color: var(--primary-color);
}

.player-name {
  font-weight: 600;
  color: white;
}

.player-btn:after {
  display: none;
}

.slider-second-section {
  display: flex;
  overflow: hidden;
}

.second-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 25px;
  flex-shrink: 0;
  /* animation: slider-section 10s;
  animation-iteration-count: infinite;*/
}
.subcontainer-presentation2 {
  overflow: hidden;
  width: 100%;
  max-width: 1140px;
  margin: auto;
  position: relative;
}

.slider-second-section {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.second-section h2 {
  color: #312d29;
  font-size: 3rem;
}

.second-section p {
  color: #48433d;
  line-height: 2rem;
}

.second-section img {
  width: 100vw;
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
}

@keyframes dotPop {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.04);
  }
  40% {
    transform: scale(1.08);
  }
  60% {
    transform: scale(1.1);
  }
  80% {
    transform: scale(1.09);
  }
  100% {
    transform: scale(1.1);
  }
}

.dot {
  height: 15px;
  width: 15px;
  background-color: #312d29;
  border-radius: 50%;
  display: inline-block;
  margin: 5px;
  margin-top: 50px;
}
.dot.active {
  height: 20px;
  width: 20px;
  animation: dotPop 0.5s ease;
  transform: scale(1.1);
}
.dot-center {
  justify-content: center;
  display: flex;
  align-items: center;
}

@keyframes slider-section {
  0%,
  25% {
    transform: translateX(0);
  }
  30%,
  55% {
    transform: translateX(-100%);
  }
  60%,
  85% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(-300%);
  }
}

@media (max-width: 768px) {
  .ms-auto.d-flex {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .auth-button {
    width: 100%;
    text-align: center;
    margin: 0 !important;
  }

  .player-btn {
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 0.5rem;
    border-radius: 50px;
  }

  .player-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
}
@media (max-width: 1400px) {
  .cloud-7,
  .cloud-8,
  .cloud-2 {
    display: none;
  }
}

@media (max-width: 1200px) {
  .scroll-launcher {
    display: none;
  }

  .button-launcher {
    display: none;
  }

  .cloud-1,
  .cloud-3,
  .cloud-4,
  .cloud-6 {
    display: none;
  }
  ul.timeline-list li {
    justify-content: center;
    padding-top: 80px;
  }
  ul.timeline-list li:nth-child(2n) {
    justify-content: center;
  }
  ul.timeline-list li .timeline_content {
    width: 100%;
  }

  .card-launcher::before,
  .card-launcher::after {
    display: none;
  }

  .faq-container {
    max-width: 100vw;
    min-width: 40vw;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
    margin: 1rem 0;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

  .ms-auto.d-flex {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-top: 1rem;
    align-items: center;
  }

  .auth-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 0 !important;
  }

  .player-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    margin: 0;
    padding: 0.5rem;
    border-radius: 50px;
  }

  .dropdown-menu {
    text-align: center;
    width: 100%;
    max-width: 300px;
    white-space: normal;
    word-wrap: break-word;
  }

  .dropdown-item {
    text-align: center;
    padding: 0.75rem 1rem;
    white-space: normal;
    line-height: 1.2;
  }
}

.auth-button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.auth-button:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.nav-logo {
  height: 40px;
  width: auto;
}

.first-presentation {
  max-width: 1320px;
}

.container-presentation {
  display: flex;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 120px;
  /* padding horizontal hérité de Bootstrap .container */
}

.container-presentation2 {
  display: flex;
  justify-content: center;
  padding: 120px 0;
}

/*.dot:nth-child(2) {
  height: 20px;
  width: 20px;
}*/

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: normal;
  transition: all 0.3s ease;
  position: relative;
  text-transform: capitalize;
  display: inline-block;
}
/*  Barre bleu en dessous des la selection de la barre de navigation

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
 */
.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0);
  color: #fff;
  transform: translateX(5px);
}

.dropdown-item:after {
  display: none;
}

.nav-link.dropdown-toggle:after {
  display: none;
}

.nav-link.dropdown-toggle.show {
  color: var(--primary-color) !important;
}

.nav-link .bi-chevron-down {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown-toggle[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.9);
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.hero-section {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding-top: 1rem;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  padding: 150px 0;
  position: relative;
  z-index: 1;
  height: 100vh;
}

@keyframes logoBreathing {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 280px;
    margin-bottom: 2rem;
    height: auto;
  }
}

@media (max-width: 576px) {
  .hero-logo {
    max-width: 220px;
    margin-bottom: 1.5rem;
    height: auto;
  }
}

.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: white;
  clip-path: ellipse(75% 100% at 50% 100%);
}

@media (max-width: 768px) {
  .hero-curve {
    height: 100px;
    clip-path: ellipse(100% 100% at 50% 100%);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 100px 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-btn {
    width: 100%;
  }
}

/* Spacer pour les pages autres que l'accueil */
.page-header-spacer {
  height: 100px;
  background: transparent;
}

@media (max-width: 768px) {
  .page-header-spacer {
    height: 80px;
  }
}

.blog-section {
  padding: 120px 0;
  position: relative;
}

.parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 25px;
  border-radius: 28px;
  margin: 0px 0 0px 0;
}

.first-presentation h2 {
  font-size: 3rem;
}

.first-presentation p {
  line-height: 2rem;
  margin-bottom: 0px;
}

.div1 {
  grid-column: span 2 / span 2;
  grid-row: span 4 / span 4;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.div1 h2 {
  color: #312d29;
}

.div1 p {
  color: #48433d;
}

.div2 {
  grid-row: span 4 / span 4;
  grid-column-start: 1;
  grid-row-start: 5;
}

.div3 {
  grid-row: span 4 / span 4;
  grid-column-start: 2;
  grid-row-start: 5;
}

.div4 {
  grid-row: span 5 / span 5;
  grid-column-start: 3;
  grid-row-start: 1;
}

.div5 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 6;
}

.img-bento {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.blog-section .container {
  /* Utilise le max-width par defaut du container Bootstrap pour s'aligner avec les autres sections */
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.blog-card {
  background: #faf5e4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-content {
  padding: 1.5rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.blog-date {
  background: #e9e1c7;
  color: #606060;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
}

.blog-image {
  --border-radius-card-img: 10px;
  width: 100%;
  border-radius: var(--border-radius-card-img);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card:hover .blog-image {
  transform: scale(1.01);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: #312d29;
  margin-bottom: 1rem;
  line-height: 1.4;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  align-self: end;
}

.blog-tag {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-date {
  color: #606060;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .blog-section {
    padding: 80px 0;
  }

  .blog-title {
    font-size: 1.1rem;
  }
}

.about-section {
  padding: 120px 0;
}

.about-section .container {
  max-width: 1600px;
  padding-left: 240px;
  padding-right: 240px;
}

.about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-content {
  margin-top: 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.description {
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: justify;
}

@media (max-width: 1400px) {
  .about-section .container {
    padding-left: 180px;
    padding-right: 180px;
  }
}

@media (max-width: 992px) {
  .about-section {
    text-align: center;
  }

  .about-image {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .description {
    font-size: 1.125rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-section .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .description {
    font-size: 1rem;
    text-align: left;
  }
}

@media (max-width: 576px) {
  .about-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ===== Stats Section - Treasure Chest Style ===== */

@keyframes gold-shimmer {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
  }
  50% {
    text-shadow:
      0 0 20px rgba(218, 165, 32, 0.6),
      0 0 30px rgba(255, 215, 0, 0.4);
  }
}

@keyframes chest-breathing {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

.stats-section {
  padding: 120px 0;
  max-width: 1600px;
  margin: 0 auto;
}

.treasure-chest-card {
  position: relative;
  background: #faf5e4;
  border-radius: 20px 20px 12px 12px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow:
    0 4px 6px rgba(139, 90, 43, 0.06),
    0 10px 30px rgba(139, 90, 43, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(139, 90, 43, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: chest-breathing 4s ease-in-out infinite;
  height: 100%;
}

/* Bordure pointillee interne (style carte au tresor) */
.treasure-chest-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px dashed rgba(139, 90, 43, 0.12);
  border-radius: 16px 16px 8px 8px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

/* Decoration coin (style coffre) */
.treasure-chest-card::after {
  content: "\2726";
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 14px;
  color: rgba(139, 90, 43, 0.2);
  transition: all 0.3s ease;
}

.treasure-chest-card:hover {
  box-shadow:
    0 12px 20px rgba(139, 90, 43, 0.12),
    0 25px 50px rgba(139, 90, 43, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: none;
}

.treasure-chest-card:hover::before {
  border-color: rgba(139, 90, 43, 0.2);
}

.treasure-chest-card:hover::after {
  color: rgba(218, 165, 32, 0.6);
  transform: rotate(15deg) scale(1.2);
}

.chest-icon {
  font-size: 2.2rem;
  color: #30b9f9;
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.treasure-chest-card:hover .chest-icon {
  /* Animation désactivée */
}

.treasure-value {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #5d4037;
}

.treasure-chest-card:hover .treasure-value {
  color: #4e342e;
}

.treasure-label {
  font-size: 0.85rem;
  color: #8b5a2b;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1400px) {
  .stats-section {
    padding: 100px 20px;
  }
}

@media (max-width: 992px) {
  .treasure-chest-card {
    padding: 2rem 1.5rem 1.5rem;
  }
  .treasure-value {
    font-size: 2.4rem;
  }
  .chest-icon {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .stats-section {
    padding: 80px 15px;
  }
  .treasure-chest-card {
    padding: 1.75rem 1.25rem 1.25rem;
    margin-bottom: 1rem;
  }
  .treasure-value {
    font-size: 2.2rem;
  }
  .treasure-label {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }
}

.footer {
  background-color: #22a8f4;
  padding: 40px 0 0;
  color: #fff;
  padding: 5vh;
}

.footer .container {
  max-width: 1140px;
}

.bg-footer {
  padding: 4vh;
  background-color: aliceblue;
  border-radius: 3vh;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(11, 18, 21, 0.5);
}

.footer-bottom .container {
  max-width: 1400px;
  padding-left: 120px;
  padding-right: 120px;
}

.footer-author {
  color: #0b1215;
  text-decoration: none;
}

@media (max-width: 992px) {
  .footer .container,
  .footer-bottom .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 768px) {
  .footer .container,
  .footer-bottom .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-description {
  color: #0b1215;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-title {
  color: #0b1215;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.footer-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: #0b1215;
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-links a {
  color: #0b1215;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #0b1215;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #0b1215;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  transform: translateX(0);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
}

.social-links a {
  color: #0b1215;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.social-links a i {
  font-size: inherit;
  line-height: 1;
}

/* Uniformisation des icones - ajustement du poids visuel */
.social-links a i.bi-discord,
.social-links a i.bi-youtube {
  font-size: 1.6rem;
}

.social-links a i.bi-twitter,
.social-links a i.bi-twitter-x {
  font-size: 1.7rem;
}

.social-links a i.bi-tiktok,
.social-links a i.bi-instagram {
  font-size: 1.6rem;
}

.social-links a i.bi-facebook {
  font-size: 1.6rem;
}

.social-links a:hover {
  color: var(--primary-color);
  opacity: 1;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(11, 18, 21, 0.5);
}

.copyright-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.copyright-main {
  color: #0b1215;
  margin: 0;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copyright-sub {
  color: #0b1215;
  margin: 0;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copyright-sub a {
  text-decoration: none;
}

.copyright-sub a:not(.footer-author) {
  color: #000000;
  text-decoration: underline;
}

.copyright-sub a:not(.footer-author):hover {
  color: #000000;
}

@media (max-width: 768px) {
  .copyright-wrapper {
    text-align: center;
  }

  .copyright-main,
  .copyright-sub {
    white-space: normal;
    line-height: 1.4;
  }
}

.footer-bottom-link {
  color: #0b1215;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
    text-align: center;
  }

  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }

  .footer-bottom-link {
    display: inline-block;
    margin: 0.5rem 0.75rem;
  }
}

/* ===== CTA Section - Treasure Map Adventure Style ===== */
@keyframes compass-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cta-section {
  padding: 120px 0 100px;
  position: relative;
}

.cta-wanted {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-wanted .container {
  position: relative;
  z-index: 1;
}

.wanted-poster {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: #faf5e4;
  border-radius: 16px;
  padding: 60px 55px;
  border: 1px solid rgba(139, 90, 43, 0.15);
}

/* Bordure decorative style carte au tresor */
.wanted-poster::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 2px dashed rgba(139, 90, 43, 0.15);
  border-radius: 10px;
  pointer-events: none;
}


/* Contenu du poster */
.wanted-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.wanted-header {
  margin-bottom: 1.75rem;
}

.wanted-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(139, 90, 43, 0.06);
  color: #8b5a2b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 14px 28px;
  border: 1.5px solid rgba(139, 90, 43, 0.25);
  border-radius: 50px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}



.wanted-poster:hover .wanted-label {
  background: rgba(139, 90, 43, 0.06);
  border-color: rgba(139, 90, 43, 0.35);
}

.wanted-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1714;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.wanted-description {
  font-size: 1.15rem;
  color: #5c5347;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.wanted-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Effet special sur les boutons dans la CTA */
.wanted-buttons .btn-shadow-wrapper-secondary,
.wanted-buttons .btn-shadow-wrapper-discord {
  transition: transform 0.3s ease;
}

.wanted-buttons .btn-shadow-wrapper-secondary:hover,
.wanted-buttons .btn-shadow-wrapper-discord:hover {
  transform: translateY(-2px);
}

/* Decorations flottantes */
.cta-section .container {
  position: relative;
}

/* Responsive - Tablette */
@media (max-width: 768px) {
  .cta-section {
    padding: 90px 0 80px;
  }

  .wanted-poster {
    padding: 45px 35px;
    margin: 0 20px;
    border-radius: 12px;
  }

  .wanted-poster::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .wanted-poster::after {
    width: 30px;
    height: 30px;
    top: 16px;
    left: 16px;
  }

  .wanted-header {
    animation: none;
  }

  .wanted-title {
    font-size: 2.2rem;
  }

  .wanted-description {
    font-size: 1.05rem;
  }

  .wanted-label {
    font-size: 0.7rem;
    padding: 12px 22px;
    letter-spacing: 3px;
  }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
  .cta-section {
    padding: 70px 0 60px;
  }

  .wanted-poster {
    padding: 35px 25px;
    margin: 0 15px;
    border-radius: 10px;
  }

  .wanted-poster::before {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-width: 1.5px;
  }

  .wanted-poster::after {
    width: 24px;
    height: 24px;
    top: 14px;
    left: 14px;
  }

  .wanted-title {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
  }

  .wanted-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .wanted-label {
    font-size: 0.65rem;
    padding: 10px 18px;
    letter-spacing: 2px;
    gap: 8px;
  }

  .wanted-label::before,
  .wanted-label::after {
    font-size: 0.85rem;
  }

  .wanted-buttons {
    flex-direction: column;
    gap: 0.85rem;
  }

  .wanted-buttons .btn-shadow-wrapper-secondary,
  .wanted-buttons .btn-shadow-wrapper-discord {
    width: 100%;
  }

  .wanted-buttons .btn-sail-secondary,
  .wanted-buttons .btn-sail-discord {
    width: 100%;
    justify-content: center;
  }
}

/* Animation reduite pour les utilisateurs qui preferent */
@media (prefers-reduced-motion: reduce) {
  .wanted-header,
  .wanted-poster::after {
    animation: none;
  }

  .wanted-poster:hover::after {
    animation: none;
  }
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: transparent;
  color: #fff;
}

.vote-section {
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* Vote Header Banner */
.vote-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(48, 185, 249, 0.08) 0%, rgba(48, 185, 249, 0.02) 100%);
  border: 1px solid rgba(48, 185, 249, 0.15);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.vote-header-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(48, 185, 249, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.vote-header-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.vote-header-badge {
  display: inline-block;
  background-color: rgba(48, 185, 249, 0.15);
  color: #30b9f9;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.vote-header-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #312d29;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.vote-header-description {
  font-size: 1.15rem;
  color: #5a534a;
  margin-bottom: 0;
  max-width: 500px;
}

.vote-header-separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Separator line */
.separator-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #30b9f9 0%, rgba(48, 185, 249, 0.3) 100%);
  border-radius: 2px;
}

.separator-line-left {
  transform: rotate(180deg);
}

/* Separator icon */
.separator-icon {
  font-size: 1.2rem;
  color: #30b9f9;
}

.vote-header-image {
  flex-shrink: 0;
  margin-left: 2rem;
  position: relative;
  z-index: 1;
}

.vote-header-image img {
  max-width: 280px;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(48, 185, 249, 0.2));
  transition: transform 0.3s ease;
}

.vote-header-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .vote-header-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }

  .vote-header-content {
    order: 2;
  }

  .vote-header-description {
    max-width: 100%;
  }

  .vote-header-separator {
    justify-content: center;
  }

  .vote-header-image {
    margin-left: 0;
    margin-bottom: 1.5rem;
    order: 1;
  }

  .vote-header-image img {
    max-width: 200px;
    max-height: 150px;
  }
}

@media (max-width: 576px) {
  .vote-header-banner {
    padding: 1.5rem;
  }

  .vote-header-title {
    font-size: 1.8rem;
  }

  .vote-header-description {
    font-size: 1rem;
  }

  .vote-header-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .vote-header-image img {
    max-width: 150px;
    max-height: 120px;
  }
}

.section-title {
  color: #312d29;
  font-size: 2.2rem;
  font-weight: 600;
}

.subtitle {
  color: #46403a;
}

.card {
  background-color: #fbf4db;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.card-body {
  padding: 2rem;
}

.card-body h2 {
  color: #33bbfc;
}

.card-title {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.leaderboard-item .nav-avatar {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .leaderboard-item .nav-avatar {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 576px) {
  .leaderboard-item .nav-avatar {
    width: 38px;
    height: 38px;
  }
}

.leaderboard-item:hover {
  background-color: #f8f9fa;
}

.leaderboard-item:nth-child(1) .vote-count::before {
  content: "👑 2000 BS Coins";
  background: rgba(203, 229, 1, 0.35);
  color: #6c757d;
  padding: 0.625rem 1rem;
  border-radius: 23px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 2rem;
  animation: glow 2s ease-in-out infinite alternate;
}
.leaderboard-item:nth-child(2) .vote-count::before {
  content: "👑 1500 BS Coins";
  background: rgba(132, 134, 114, 0.36);
  color: #6c757d;
  padding: 0.625rem 1rem;
  border-radius: 23px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 2rem;
  animation: glow 2s ease-in-out infinite alternate;
}
.leaderboard-item:nth-child(3) .vote-count::before {
  content: "👑 1000 BS Coins";
  background: rgba(229, 89, 1, 0.38);
  color: #6c757d;
  padding: 0.625rem 1rem;
  border-radius: 23px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 2rem;
  animation: glow 2s ease-in-out infinite alternate;
}

.rank {
  font-size: 1.2rem;
  font-weight: 600;
  width: 50px;
}

.player-info {
  display: flex;
  align-items: center;
  flex: 1;
  color: #2c3e50;
}

.vote-count {
  color: #6c757d;
  font-weight: 500;
}

#vote-card {
  background-color: #fbf4db;
  border-radius: 12px;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-sail-tertiary {
  position: relative;
  background-color: #f2eac700;
  color: #33bbfc;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 13px 1.25rem;
  cursor: pointer;
  z-index: 1;
  border-radius: 10px;
  transition: all ease 0.1s;
  border: 2px solid #30b9f9;
  text-decoration: none;
  display: inline-block;
}

.btn-sail-tertiary a {
  color: #0a6c99;
  text-decoration: none;
}

.btn-sail-tertiary:hover {
  transform: translateY(-2px);
}

.btn-shadow-wrapper-tertiary {
  position: relative;
  display: inline-block;
}

.btn-shadow-wrapper-tertiary::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ebebeb;
  z-index: 0;
  border-radius: 10px;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.form-control {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #2c3e50;
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

.form-control::placeholder {
  color: #adb5bd;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: #5865f2;
  box-shadow: 0 0 0 0.2rem rgba(88, 101, 242, 0.25);
}

.reward-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.reward-item:hover {
  background-color: #f8f9fa;
}

.reward-name {
  color: #2c3e50;
  font-weight: 500;
}

.reward-chance {
  color: #6c757d;
  font-weight: 600;
}

.vote-timer {
  background-color: #e9ecef !important;
  color: #495057 !important;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
}

.text-muted {
  color: #6c757d !important;
}

.player-name {
  color: #2c3e50;
  font-weight: 500;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .btn-primary {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .d-flex.justify-content-center.gap-3.flex-wrap {
    gap: 0.5rem !important;
  }

  .leaderboard-item {
    padding: 0.75rem;
    flex-wrap: wrap;
  }

  .player-info {
    order: 2;
    width: calc(100% - 50px);
  }

  .rank {
    order: 1;
    width: 40px;
  }

  .vote-count {
    order: 3;
    width: 100%;
    text-align: right;
    margin-top: 0.5rem;
    padding-left: 50px;
  }

  .reward-item {
    padding: 0.75rem;
  }

  .form-control {
    font-size: 16px;
  }

  .col-md-6.col-lg-4 {
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .card {
    margin-bottom: 20px;
  }

  .nav-avatar {
    width: 28px;
    height: 28px;
  }
}

.header {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  img {
    margin: 0;
    border: 0;
  }

  h1 {
    font-weight: 300;
    font-size: 3rem;
    color: white;
    margin: 0;
  }
}

.waves {
  position: relative;
  top: 65%;
  left: 0;
  width: 100%;
  height: 20vh;
  margin-top: 10vh;
}

/* Animation */
.wave-paths {
  use {
    animation: move-waves 10s ease-in-out infinite;
    fill: url(#wave-gradient);
  }
  use:nth-child(odd) {
    animation-direction: reverse;
    animation-duration: 13s;
  }
  use:nth-child(1) {
    animation-delay: -2s;
    opacity: 0.7;
  }
  use:nth-child(2) {
    animation-delay: -3s;
    opacity: 0.5;
  }
  use:nth-child(3) {
    animation-delay: -4s;
    opacity: 0.3;
  }
  use:nth-child(4) {
    animation-delay: -5s;
  }
}

@keyframes move-waves {
  0% {
    transform: translate3d(-30px, 0, 0);
  }
  50% {
    transform: translate3d(30px, 0, 0);
  }
  100% {
    transform: translate3d(-30px, 0, 0);
  }
}

.pt-100 {
  padding-top: 100px;
}
.pb-100 {
  padding-bottom: 100px;
}
.section-title {
  margin-bottom: 7px;
}
.section-title p {
  color: #777;
  font-size: 16px;
}
.section-title h4 {
  text-transform: capitalize;
  font-size: 40px;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}
.section-title h4:before {
  position: absolute;
  content: "";
  width: 60px;
  height: 2px;
  background-color: #30b9f9;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
}
.section-title h4:after {
  position: absolute;
  background-color: #30b9f9;
  content: "";
  width: 10px;
  height: 10px;
  bottom: -4px;
  left: 50%;
  margin-left: -5px;
  border-radius: 50%;
}
ul.timeline-list {
  position: relative;
  margin: 0;
  padding: 0;
}
ul.timeline-list li {
  position: relative;
  display: flex;
}
.timeline_content {
  border-radius: 10px;
  background-color: #fff;
}

.timeline_content h4 {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0;
  color: #312d29;
  font-size: 2rem;
  margin-top: 0;
}
.timeline_content span {
  font-size: 18px;
  font-weight: 500;
  font-family: poppins;
  color: #ffffff;
  align-items: center;
  margin-right: 10px;
}

ul.timeline-list li p {
  color: #48433d;
  line-height: 2rem;
  text-wrap-style: pretty;
}

.card-launcher {
  margin-bottom: 0;
  width: 550px;
  background-color: white;
}

.card-launcher::before {
  content: "";
  background-color: white;
  width: 201px;
  height: 193px;
  top: 84px;
  left: -180px;
  position: absolute;
  border-radius: 12px;
}
.card-launcher::after {
  content: "";
  background-color: white;
  width: 161px;
  height: 153px;
  top: 124px;
  right: -140px;
  position: absolute;
  border-radius: 12px;
}

.flex-container-launcher {
  display: flex;
  flex-direction: column;
}

.container-launcher-center {
  display: flex;
  justify-content: center;
}

.card-dl-launcher {
  margin: 0;
  background-color: #30b9f9;
}

.pt-300 {
  padding-top: 300px;
}

.button-launcher p {
  text-align: center;
  color: #1a1a1a;
  font-size: 2rem;
  margin-bottom: 0px;
}

.scroll-launcher {
  position: absolute;
  content: "";
  width: 20px;
  height: 100%;
  background-color: #9c9c9c;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  opacity: 0.5;
  border-radius: 0px 0px 10px 10px;
}

.scroll-launcher-color {
  background-color: #30b9f9;
  opacity: 1;
}

.button-launcher-second {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.btn-launcher-tertiary {
  background-color: white;
}

.link-launcher {
  display: flex;
}

.third-container {
  display: flex;
  flex-direction: column;
}

.third-container h2 {
  font-weight: 500;
  color: #312d29;
  font-size: 3rem;
}

.third-container p {
  color: #48433d;
  line-height: 2rem;
}

.third-container-2 img {
  /* min-width: 443px; */
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
  width: 5200px;
}

.third-container-global {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1600px;
  padding: 120px 0;
  gap: 25px;
}

.button-slide {
  display: flex;
}

.slider-second-section {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.second-section {
  flex: 0 0 100%;
  width: 1140px;
}

/* Anciens styles btn-left/btn-right supprimés - voir .carousel-nav */

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}
@media screen and (max-width: 991.98px) {
  .custom-shape-divider-bottom-1748167736 svg {
    height: 35px;
  }
  .hero-content {
    height: auto;
  }
  .custom-shape-divider-bottom-1748167736 {
    bottom: 35px;
  }
  .navbar-bg {
    padding: 0.5rem;
    width: 100% !important;
  }
  /* Styles navbar-collapse déplacés plus bas pour l'animation */
  .navbar-nav {
    text-align: center;
    margin: 0 !important;
    padding: 0;
    width: 100%;
  }
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
    display: block;
    width: 100%;
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease,
      transform 0.2s ease;
    display: block;
    text-align: center;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: rgba(48, 185, 249, 0.15);
    color: #30b9f9;
  }
  .navbar-list {
    margin-left: 0 !important;
  }
  .space-x-8 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0;
    margin-right: 0;
  }
  .navbar-actions {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-left: 0 !important;
  }

  /* Avatar plus grand sur mobile */
  .navbar-actions .nav-avatar {
    width: 42px !important;
    height: 42px !important;
  }

  /* Cloche de notification plus grande sur mobile */
  .navbar-actions .notification-bell {
    font-size: 1.3rem !important;
  }
  .navbar-actions .notification-bell .bi {
    font-size: 1.4rem !important;
  }
  /* Actions empilees sur mobile pour eviter les debordements */
  .navbar-collapse .btn-shadow-wrapper-primary {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 300px !important;
    text-align: center !important;
    margin: 0 !important;
  }
  .navbar-collapse .btn-shadow-wrapper-primary .btn-sail-primary {
    width: 100% !important;
  }
  /* Boutons login/register - pleine largeur (quand déconnecté) */
  .navbar-collapse .btn-shadow-wrapper-secondary,
  .navbar-collapse .auth-button {
    width: 100% !important;
    max-width: 300px !important;
    text-align: center !important;
    display: block !important;
    margin: 0 !important;
  }
  .navbar-collapse .btn-sail-primary {
    display: inline-block !important;
    width: auto !important;
  }
  .navbar-collapse .btn-sail-secondary {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
  }
  .navbar-collapse #btn-shadow-wrapper-primary {
    margin-right: 0 !important;
  }
  .navbar-collapse .me-3,
  .navbar-collapse .me-2 {
    margin-right: 0 !important;
  }
  p {
    font-size: 0.875rem;
  }
  /* Hamburger button avec bordure bleue */
  .navbar-toggler {
    border: 2px solid rgba(48, 185, 249, 0.6);
    padding: 0.6rem;
    background-color: rgba(20, 18, 18, 0.4);
    border-radius: 12px;
    margin-left: auto;
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
      background-color 0.24s ease, border-color 0.24s ease,
      box-shadow 0.24s ease;
    position: relative;
    z-index: 1002;
    will-change: transform, background-color, border-color;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }

  /* Hamburger box */
  .hamburger-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 18px;
    position: relative;
  }

  /* Hamburger lines */
  .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #30b9f9;
    border-radius: 2px;
    position: absolute;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.22s ease, background-color 0.22s ease;
    will-change: transform, opacity;
  }

  .hamburger-line-1 {
    top: 0;
  }

  .hamburger-line-2 {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger-line-3 {
    bottom: 0;
  }

  /* Animation vers X */
  .navbar-toggler[aria-expanded="true"] .hamburger-line-1 {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .hamburger-line-2 {
    opacity: 0;
    transform: translateX(-10px);
  }

  .navbar-toggler[aria-expanded="true"] .hamburger-line-3 {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  /* Menu mobile */
  .navbar-collapse {
    background-color: rgba(20, 18, 18, 0.96);
    border: 2px solid rgba(48, 185, 249, 0.5);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    margin-top: 0.5rem;
    transform: translate3d(0, -10px, 0);
    opacity: 0;
    will-change: height, transform, opacity;
    backface-visibility: hidden;
    contain: paint;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.2s ease;
  }

  .navbar-collapse.show {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  .navbar-collapse.collapse:not(.show) {
    pointer-events: none;
  }

  /* Animation smooth d'ouverture/fermeture */
  .navbar-collapse.collapsing {
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition-property: height, opacity, transform;
    transition-duration: 0.28s, 0.2s, 0.28s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1), ease,
      cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .navbar-collapse.collapsing.menu-leaving {
    transform: translate3d(0, -8px, 0);
    opacity: 0;
  }

  /* Conteneur avatar + cloche - reste en ligne */
  .navbar-actions > .d-flex.align-items-center {
    flex-direction: row !important;
    width: auto !important;
    flex: 0 0 auto !important;
    gap: 0.5rem !important;
  }

  .navbar-actions .dropdown {
    position: relative !important;
    width: auto !important;
  }

  /* Dropdown profil centré sur mobile */
  .navbar-actions .dropdown-menu.dropdown-menu-end {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: 100% !important;
    margin-top: 0.5rem !important;
    max-width: calc(100vw - 60px) !important;
    min-width: 220px !important;
    text-align: left !important;
  }

  /* Dropdown texte aligné à gauche sur mobile */
  .navbar-actions .dropdown-menu .dropdown-item {
    text-align: left !important;
    padding-left: 1rem !important;
  }

  .navbar-actions .dropdown-menu .dropdown-header-profile {
    justify-content: flex-start !important;
  }
}

@media (max-width: 800px) {
  .second-section {
    flex-direction: column;
  }
  .third-container-global {
    flex-direction: column-reverse;
    padding: 80px 0;
  }
  .container-presentation {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .third-container {
    margin: 10px;
  }
  .parent {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding: 0 20px;
  }
  .div1 {
    grid-column: 1/2;
    grid-row: 1/2;
    padding: 0;
  }
  .div2 {
    display: none;
  }
  .div3 {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .div4 {
    display: none;
  }
  .div5 {
    display: none;
  }
  .title-hero-section {
    line-height: 1.2;
  }
  .navbar-toggler {
    background-color: rgba(38, 41, 41, 0.3);
  }
}

.wikinounderline {
  text-decoration: none;
}

.video-container:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #0f0f1666);
  pointer-events: none;
  z-index: 1;
}

.title-news {
  margin-bottom: 50px;
}

.news-link {
  font-size: 1.3rem;
  font-weight: 700;
  color: #312d29;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-decoration: none;
}

.card-text-news {
  color: #48433d;
  line-height: 2rem;
  margin-bottom: 2rem;
  padding: 10px;
}

.boat-img {
  position: absolute;
  right: 1230px;
}

.cloud-1 {
  position: absolute;
  top: 401px;
  right: 1520px;
}

.cloud-2 {
  position: absolute;
  top: 560px;
  right: 0px;
  mask-image: url(../img/cloud2.png);
  mask-repeat: no-repeat;
  opacity: 0.8;
}

.cloud-3 {
  position: absolute;
  top: 1080px;
  right: 160px;
}

.cloud-4 {
  position: absolute;
  top: 1342px;
  left: 151px;
  mask-image: url(../img/cloud2.png);
  mask-repeat: no-repeat;
  opacity: 0.8;
  width: 760px;
}

.cloud-5 {
  position: absolute;
  top: 1851px;
  right: 1601px;
}

.cloud-6 {
  position: absolute;
  top: 1931px;
  left: 1021px;
  width: 250px;
}

.cloud-7 {
  position: absolute;
  top: 2091px;
  right: 0px;
}

.cloud-8 {
  position: absolute;
  top: 2507px;
  right: 7px;
  width: 581px;
  mask-image: url(../img/cloud1.png);
  mask-repeat: no-repeat;
  opacity: 0.8;
  width: 760px;
}

.btn-down-faq {
  background-color: white;
  outline: none;
}

.centered-discord-button {
  margin: 1rem
}

/* Changelog page - sand theme colors */
.pn-container,
.pn-patch {
  background-color: #f5e9c4 !important;
}

.pn-container ul,
.pn-container ol {
  background-color: #d9c89a !important;
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.5rem !important;
  color: #312d29 !important;
}

.pn-container ul li,
.pn-container ol li {
  background-color: transparent !important;
  color: #312d29 !important;
}

.pn-container ul li a,
.pn-container ol li a {
  color: #1a8fc7 !important;
}

/* =========================================
   Feature Carousel - New Design
   ========================================= */

.feature-carousel-container {
  padding: 120px 0;
  display: flex;
  justify-content: center;
  overflow-x: clip; /* Cache les fleches qui depassent sans affecter le scroll */
}

.feature-carousel {
  position: relative;
  max-width: 1296px; /* Aligne avec le contenu de la navbar (container 1320px - 24px padding) */
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: content-box;
}

.carousel-wrapper {
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.slide-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.slide-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge en haut à gauche */
.slide-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.badge-number {
  background-color: #30b9f9;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-title {
  background-color: #ffffff;
  color: #312d29;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

/* Description en bas à droite */
.slide-description {
  position: absolute;
  bottom: 25px;
  right: 25px;
  max-width: 500px;
  background-color: white;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slide-description p {
  margin: 0;
  color: #312d29;
  font-size: 1rem;
  line-height: 1.6;
}

/* Boutons de navigation - dépassent sur les côtés */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 14px;
  background-color: #30b9f9;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.carousel-nav-left {
  left: -27px;
}

.carousel-nav-right {
  right: -27px;
}

.carousel-nav:hover {
  background-color: #22a8f4;
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Draw carousel arrows without depending on the Bootstrap Icons font. */
.carousel-nav .bi::before {
  content: "";
  display: block;
  width: 0.65em;
  height: 0.65em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.carousel-nav .bi-chevron-left::before {
  transform: translateX(0.15em) rotate(135deg);
}

.carousel-nav .bi-chevron-right::before {
  transform: translateX(-0.15em) rotate(-45deg);
}

/* Points de navigation du carousel */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(48, 185, 249, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background-color: rgba(48, 185, 249, 0.6);
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: #30b9f9;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1200px) {
  .feature-carousel {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .feature-carousel-container {
    padding: 100px 0;
  }

  .feature-carousel {
    max-width: 720px;
    padding: 0 25px;
  }

  .carousel-nav {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .carousel-nav-left {
    left: -25px;
  }

  .carousel-nav-right {
    right: -25px;
  }

  .slide-description {
    max-width: 400px;
    padding: 14px 18px;
  }

  .slide-description p {
    font-size: 0.95rem;
  }

  .badge-number {
    font-size: 1.05rem;
    padding: 8px 14px;
  }

  .badge-title {
    font-size: 0.95rem;
    padding: 8px 14px;
  }
}

@media (max-width: 768px) {
  .feature-carousel-container {
    padding: 80px 0;
  }

  .feature-carousel {
    max-width: 540px;
    padding: 0 25px;
  }

  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .carousel-nav-left {
    left: -22px;
  }

  .carousel-nav-right {
    right: -22px;
  }

  .slide-image-container {
    aspect-ratio: 4 / 3;
  }

  .slide-badge {
    top: 15px;
    left: 15px;
  }

  .badge-number {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  .badge-title {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .slide-description {
    bottom: 15px;
    right: 15px;
    left: 15px;
    max-width: calc(100% - 30px);
    padding: 12px 15px;
    border-radius: 10px;
  }

  .slide-description p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .feature-carousel {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .feature-carousel-container {
    padding: 60px 0;
  }

  .feature-carousel {
    padding: 0 20px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .carousel-nav-left {
    left: -20px;
  }

  .carousel-nav-right {
    right: -20px;
  }

  .slide-description p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .badge-number,
  .badge-title {
    font-size: 0.75rem;
    padding: 5px 8px;
  }
}

/* =========================================
   SECTION TRAILER
   ========================================= */

.trailer-section {
  padding: 40px 0 120px 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.trailer-header {
  margin-bottom: 30px;
}

.trailer-badge {
  display: inline-block;
  background-color: rgba(48, 185, 249, 0.15);
  color: #30b9f9;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.trailer-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #312d29;
  margin-bottom: 15px;
}

.trailer-description {
  font-size: 1.1rem;
  color: #48433d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.trailer-section .container {
  max-width: 1320px;
}

.trailer-video-container {
  max-width: 100%;
  margin: 0 auto;
}

.trailer-video-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background-color: #312d29;
  aspect-ratio: 16 / 9;
}

.trailer-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

#trailer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.trailer-play-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.trailer-play-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.trailer-play-btn i {
  color: #fff;
  font-size: 1.2rem;
}

.play-btn-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.trailer-video-wrapper.playing {
  background-color: #000;
}

/* Trailer Section Responsive */
@media (max-width: 800px) {
  .trailer-section {
    padding: 30px 15px 80px 15px;
    margin-top: -20px;
  }

  .trailer-title {
    font-size: 1.8rem;
  }

  .trailer-description {
    font-size: 1rem;
  }

  .trailer-play-btn {
    bottom: 15px;
    left: 15px;
    padding: 10px 16px;
  }

  .trailer-play-btn i {
    font-size: 1rem;
  }

  .play-btn-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 500px) {
  .trailer-title {
    font-size: 1.5rem;
  }

  .trailer-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .trailer-description {
    font-size: 0.9rem;
  }
}

/* =========================================
   VOTE CARDS GRID
   ========================================= */

.vote-cards-grid {
  margin-top: 2rem;
}

.vote-site-card {
  position: relative;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vote-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.vote-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.vote-card-wrapper {
  background: #fbf4db;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.vote-site-card:hover .vote-card-wrapper {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Image container */
.vote-card-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #fbf4db 0%, #e9e1c7 100%);
}

.vote-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vote-site-card:hover .vote-card-image {
  transform: scale(1.05);
}

/* Badge de classement (coin supérieur gauche) */
.vote-rank-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #30b9f9;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.vote-rank-number {
  display: block;
  line-height: 1;
}

/* Badge timer (coin supérieur droit) */
.vote-timer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.7) !important;
  color: white !important;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.vote-timer-badge:empty {
  display: none;
}

/* État désactivé (quand timer actif) */
.vote-site-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vote-site-card.disabled:hover .vote-card-wrapper {
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vote-site-card.disabled .vote-card-image {
  filter: grayscale(50%);
}

/* Responsive - Tablettes */
@media (max-width: 992px) {
  .vote-card-image-container {
    height: 240px;
  }
}

/* Responsive - Mobiles */
@media (max-width: 768px) {
  .vote-cards-grid {
    margin-top: 1.5rem;
  }

  .vote-card-image-container {
    height: 220px;
  }

  .vote-rank-badge {
    top: 12px;
    left: 12px;
    font-size: 1rem;
    padding: 6px 12px;
  }

  .vote-timer-badge {
    top: 12px;
    right: 12px;
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

@media (max-width: 576px) {
  .vote-card-image-container {
    height: 260px;
  }
}

/* =========================================
   NEWS/POSTS CARDS - Equal Height Fix
   ========================================= */

/* Force les colonnes contenant les cartes à utiliser flexbox */
.row.gy-3 > [class*="col-"]:has(.post-preview) {
  display: flex;
}

.post-preview.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.post-preview.card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-preview.card .card-text-news {
  flex-grow: 1;
}

.post-preview.card .btn-primary {
  align-self: flex-start;
}
