.media-container{
    width: 99%;
    max-width: 20em;
}

.autres-danses iframe{

  margin-top: 0 !important;
  }

iframe{
  margin-top: 0.4em;
    height: 250px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.autres-danses iframe{

margin-top: 0 !important;
}

.video-wrapper {
    margin-bottom: 0.5rem;
  }

.titre-film{
  font-size: 80%;
  text-align: center;
}

.danseurs {
  font-size: 63%;
  position: relative;
    text-align: center;
}

  .vote-btn {
    position: relative;
    text-align: center;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
  }

  .vote-btn:hover{
    background: transparent;
    border: none;
  }
  
  .video-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    max-width: 600px; /* ajuste la taille max selon ton besoin */
    overflow: hidden;
  }
  
  .video-thumbnail img {
    width: 100%;
    height: 250px;
    display: block;
  }

  .video-thumbnail::before,
.video-thumbnail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 15%;
  background: #000;
  z-index: 2;
}

.video-thumbnail::before {
  top: 0;
}

.video-thumbnail::after {
  bottom: 0;
}

  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 45px;
    background: rgba(255, 0, 0);
    color: white;
    font-size: 1.5em;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    border-radius: 10px;
  }
  
  .video-thumbnail:hover .play-button {
    background: rgba(255, 254, 255, 0.7); /* un petit effet au hover */
  }

.zone-film{
  text-align: center;
}

.img-poster{
  width: 200px;
  height: 300px;
}

.zone-film p{
  text-align: justify;
}


.flip-card {
  background-color: transparent;
  width: 200px;
  height: 300px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: #463f32;
  color: white;
  transform: rotateY(180deg);
  text-align: center;
} 

.lien-film{
  height: 100px;
}




.flip-card-back a {
  color: white !important;
  text-align: center;
  margin: auto;
}

.flip-card-back a:hover {
  font-weight: normal !important;
}

.titre-affiche{
font-size: 100%;
text-align: center;
font-weight: bold;
}

.real-affiche{
  font-size: 80%;
  text-align: center;
  font-weight: bold;
  }

.texte-affiche {
  font-size: 60%;
  margin-top: 1em;
}

.podium {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
  max-width: 100%;
}

.img-podium{
  max-height: 150px;
  margin: auto;
}

.img-podium, .video-podium{
  max-width: 100%;
}


.podium1, .podium2, .podium3 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

/* On ne garde que .bas-podium pour construire le bloc */
.haut-podium {
  display: block;
  position: relative;
  z-index: 5; /* plus haut que les cubes */
  margin-bottom: 20px; /* espace entre le nom et la marche */
  transform: translateX(15px); 
  font-weight: bold;
  text-align: center;
  width: 150px;
  background: rgba(247, 239, 229);
  padding: 5px;
  border-radius: 4px;
}

.bas-podium {
  position: relative;
  width: 150px;
  height: 80px;
  background: linear-gradient(to bottom, #aaaaaa, #888888); /* Face avant avec lumière dégradée */
  z-index: 1;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); /* ombre générale vers le bas */

}

/* Face supérieure : le dessus plat vu en biais */
.bas-podium::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 150px;
  height: 20px;
  background: linear-gradient(to right, #eeeeee, #cccccc); /* lumière sur le dessus */
  transform: skewX(-45deg);
  transform-origin: bottom left;
  z-index: 2;
}

/* Face latérale droite */
.bas-podium::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: 20px;
  height: 100%;
  background: linear-gradient(to bottom, #777777, #444444); /* ombre latérale */
  transform: skewY(-45deg);
  transform-origin: top left;
  z-index: 0;
  border-right: 1px solid #444;
}

/* Marches à différentes hauteurs */
.podium1 .bas-podium {
  height: 100px;
}


.podium2 .bas-podium {
  height: 60px;
}


.podium3 .bas-podium {
  height: 35px;
}


.place {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  z-index: 3;
}

#flying-hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* pour que ça ne gêne pas les clics */
  z-index: 9999;
  overflow: visible;
}

.flying-heart {
  position: absolute;
  font-size: 24px;
  opacity: 1;
  animation: fly-up 1s ease-out forwards;
}

@keyframes fly-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-300px) scale(1.5);
    opacity: 0;
  }
}



