/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corps de la page */
body {
  font-family: Arial, sans-serif;
  background-color: #141414; /* Fond type Netflix */
  color: #fff;
}


/* Pop-up SONDAGE centré en haut et en bas */
.popup-overlay {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    color: black;
    background-color: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Préfixe pour Safari */
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(3, 3, 3, 0.75);
    text-align: center;
    padding: 20px;
    z-index: 10000;
    display: none;
}

/* Style pour les sections du formulaire */
.survey-section {
    margin-bottom: 15px;
}

/* Espacement entre les boutons radio */
.survey-section label {
    display: block;
    margin: 5px 0;
    font-size: x-large;
}

/* Conteneur des options */
.survey-options {
    display: flex;
    width: 100%;
    margin-top: 5px;
    overflow: hidden; /* Assure que les bords restent bien nets */
    font-size: large;
}

/* Options stylisées */
.option {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Pour éviter les espaces entre */
}



/* Effet de survol */
.option:hover {
    background-color: rgba(255, 255, 255, 0.63);
}

/* Option sélectionnée */
.option.selected {
   	background: linear-gradient(to right, #f50b70 0%, #ef73a9 100%);
    color: white;
}


/* Contenu du Pop-up */
.popup-content {
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

/* Bouton de fermeture */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* Styles pour les boutons radio */
input[type="radio"] {
    margin: 5px;
}

/* Bouton de soumission */
button[type="submit"] {
    background: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

button[type="submit"]:hover {
    background: darkred;
}

.survey-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.3);
    font-weight: bold;
    cursor: default;
}

.progress-step.active {
    background: blue;
    color: white;
}

/* Premier élément arrondi à gauche */
.option:first-child, .progress-step:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* Dernier élément arrondi à droite */
.option:last-child , .progress-step:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}



.survey-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

button {
    padding: 10px 40px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
}

#nextBtn {
    background: red;
    color: white;
}

#nextBtn:hover {
    background: darkred;
}

#submitBtn {
    background: green;
    color: white;
}

#submitBtn:hover {
    background: darkgreen;
}







/* ------ MENU JOIN ---- */

#menuJOIN {
	position: fixed;
	background-color: rgba(25, 4, 16, 1);
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 1000;
	text-align: center;
	display: block;
}


#btnJOIN, #btnLOGIN, #btnUnlocked, #btnLocked, #btnAll {
	display: inline-block;
	border: 1px solid rgba(169, 169, 169, 1);
	background-color: #eae0e0;
	border-radius: 20px;
	font-weight: bold;
	color: black;
	padding: 10px 30px 10px 30px;
	margin: 15px 15px 15px 15px;
}

#btnJOIN {
	background-color: red;
	color: white;
	border: 1px solid red;
}


#btnAll {
	color: orange;
 display: inline-flex;
  align-items: center;
  /* espace entre icône et texte si tu as une icône */
  gap: 3px; 
  /* marge intérieure horizontale plus grande pour un look «pilule» */
  padding: 3px 16px;
  
  /* Couleur verte (ici un vert vif #2ecc71), libre à toi de le changer */
  border: 2px solid orange; 
  background-color: grey; 
  color: orange;
  
  /* Bordures arrondies pour l’effet «pilule» */
  border-radius: 9999px;
  
  /* Style du texte */
  font-weight: 600;
  font-family: sans-serif;
  
  /* Apparence du curseur et transitions au survol */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

/* Au survol, on inverse la couleur de fond et du texte + légère ombre */
#btnAll:hover {
  background-color: orange; 
  color: #fff; 
  box-shadow: 0 4px 8px rgba(46, 204, 113, 0.4);
}


#btnLocked {
	color: red;
 display: inline-flex;
  align-items: center;
  /* espace entre icône et texte si tu as une icône */
  gap: 3px; 
  /* marge intérieure horizontale plus grande pour un look «pilule» */
  padding: 3px 16px;
  
  /* Couleur verte (ici un vert vif #2ecc71), libre à toi de le changer */
  border: 2px solid red; 
  background-color: grey; 
  color: red;
  
  /* Bordures arrondies pour l’effet «pilule» */
  border-radius: 9999px;
  
  /* Style du texte */
  font-weight: 600;
  font-family: sans-serif;
  
  /* Apparence du curseur et transitions au survol */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

/* Au survol, on inverse la couleur de fond et du texte + légère ombre */
#btnLocked:hover {
  background-color: red; 
  color: #fff; 
  box-shadow: 0 4px 8px rgba(46, 204, 113, 0.4);
}


 #btnUnlocked {
	 margin-left: 30px;
	color: green;
 display: inline-flex;
  align-items: center;
  /* espace entre icône et texte si tu as une icône */
  gap: 3px; 
  /* marge intérieure horizontale plus grande pour un look «pilule» */
  padding: 3px 16px;
  
  /* Couleur verte (ici un vert vif #2ecc71), libre à toi de le changer */
  border: 2px solid #2ecc71; 
  background-color: grey; 
  color: #2ecc71;
  
  /* Bordures arrondies pour l’effet «pilule» */
  border-radius: 9999px;
  
  /* Style du texte */
  font-weight: 600;
  font-family: sans-serif;
  
  /* Apparence du curseur et transitions au survol */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

/* Au survol, on inverse la couleur de fond et du texte + légère ombre */
#btnUnlocked:hover {
  background-color: #2ecc71; 
  color: #fff; 
  box-shadow: 0 4px 8px rgba(46, 204, 113, 0.4);
}





#btnUnlocked.select {
	background-color: green;
	color: white;
	border: 1px solid green;
}

#btnLocked.select {
	background-color: red;
	color: white;
	border: 1px solid red;
}

#btnAll.select {
	background-color: orange;
	color: white;
	border: 1px solid orange;
}



#menuTop{
	z-index: 5;
	cursor: pointer;
	position: fixed;
	top: 0px;
	left: 0px;
	color: white;
	vertical-align: top;
	opacity: 1;
    padding: 0px 0px;
    margin: auto;
}

#menuBurger{
	z-index: 1500;
	overflow: hidden;
	position: fixed;
	top: -9px;
	left: 0px;
	text-align: left;
	height: 80px;
	padding-right: 15px;
	overflow-y: hidden;
	display: inline-block;
 	background-color: rgba(25, 4, 16, 1);
/*  	background-color: blue; */
}

.divIcon, #iconMenu{
	height:70px;
	margin: 20px 40px 20px 15px;

	color: grey;
	font-size: smaller;
	text-align: center;
	display: inline-block;
	vertical-align: top;
}

  
  
/* VIDEOS et POSTER */
.tableModelBar{
	display: block;
	width: 100%;
 	border-spacing: 0px; 
}

.tablePoster{
	width: 200px;
	height: 55px;
	vertical-align: top;
	padding: 0px;
}


/*
.bandeauTags {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	padding: 5px 0px;
	height: 80px;
	color: white;
	font-weight: 400;
	margin: 0px 0px 5px 3px;
	border-left: 1px solid white;
	border-right: 1px solid white;
	border-radius: 5px 5px 0px 0px;
	z-index: 7;
	display: flex;
	flex-wrap: wrap-reverse; 
	justify-content: center;
	align-content: flex-start; 
}
*/

/*
.tags-container {
	width: 100%;
	text-align: center;
}
*/

/*
.tags {
	display: inline-block;
 	margin: 1px;
	padding: 3px 5px;
	color: #ffffff;
	background: rgba(245, 11, 112, 1);
	border-radius: 3px;
}
*/




.main-header h1 {
  font-size: 2rem;
  margin: 0;
}

/* Chaque bloc de rangée */
.movie-row {
  margin: 20px 0;
  padding: 0 20px;
  position: relative; /* Pour positionner les éléments en absolu */
}

.movie-row h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Conteneur horizontal défilant */
.row-container {
  margin-top: 5px;
  display: flex;
  gap: 15px;              /* Espace horizontal entre posters */
  overflow-x: auto;       /* Scroll horizontal */
  overflow-y: hidden;     /* empêche le scroll vertical */
  -webkit-overflow-scrolling: touch; /* pour un scrolling fluide sur iOS */
  padding-bottom: 10px;   /* Un petit padding en bas */
}

/* Masquer la barre de défilement dans Chrome/Safari */
.row-container::-webkit-scrollbar {
  display: none;
}

/* Pour Firefox, réduire la scrollbar */
.row-container {
  scrollbar-width: none;
}

/* Pour les écrans d'ordinateur (min-width: 1024px), afficher la scrollbar sur hero-row et mini-row */
@media (min-width: 1024px) {
  .hero-row .row-container,
  .normal-row .row-container,
  .mini-row .row-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.5) transparent;
  }
  .hero-row .row-container::-webkit-scrollbar,
  .normal-row .row-container::-webkit-scrollbar,
  .mini-row .row-container::-webkit-scrollbar {
    display: block;
    height: 8px; /* hauteur de la scrollbar horizontale */
  }
  .hero-row .row-container::-webkit-scrollbar-thumb,
  .normal-row .row-container::-webkit-scrollbar-thumb,
  .mini-row .row-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
  }
  .hero-row .row-container::-webkit-scrollbar-track,
  .normal-row .row-container::-webkit-scrollbar-track,
  .mini-row .row-container::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* --------- POSTERS  ------------- */

.bandeauAvailable{
	position: absolute;
	text-align: center;
	top:65%;
	left:0px;
	width: 100%;
	padding: 5px 0px;
	height: 50px;
	color: red;
	font-weight: 400;
	margin: 0px 0px 5px 3px;
	background-color: rgba(255, 255, 255, 0.9);
	z-index: 7;
}

.locked, .lockedOverlay, .unlocked, .unlockedOverlay {
  position: absolute;  /* Positionnement par rapport au .poster */
  z-index: 10;
  opacity: 1;
  width: 40px;
  height: 40px;
  top: 50%;    /* Centré verticalement dans le poster */
  left: 50%;   /* Centré horizontalement dans le poster */
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  background-color: red;
  border-radius: 40px;
  border: 1px solid white;
}


.btnLocked, .btnUnlocked {
/*  position: absolute;  /* Positionnement par rapport au .poster */
  z-index: 10;
  opacity: 1;
  width: 40px;
  height: 40px;
  top: 50%;    /* Centré verticalement dans le poster */
  left: 50%;   /* Centré horizontalement dans le poster */
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  background-color: red;
  border-radius: 40px;
  border: 1px solid white;
}


.unlocked, .unlockedOverlay {
  background-color: green;
 }


.lockedPic, .unlockedPic, .lockedPicOverlay, .unlockedPicOverlay{
	height: 40px;
}

/* POSTERS */
.poster {
  position: relative;
  flex: 0 0 auto;         /* Empêche la compression en flex */
}



/* Première rangée (hero-row) : 400x800 */

.hero-row{
margin-top: 80px;
}

.hero-row .poster {
  width: 300px;
  height: 600px;
  background-color: #333;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.posterHeroImg {
  height: 600px;
  border-radius: 10px;
  border: 2px solid white;
  position: relative;
}

.unselected {
  opacity: 0.4;
}

.posterRound.selected {
  opacity: 1;
  border: 4px solid white;
}

.sceneBadge.selected {
  opacity: 1;
  background-color: white;
  color: red;
}


/* Autres rangées (normal-row) : 250x500 */
.normal-row .poster {
  width: 250px;
  height: 500px;
  background-color: #555;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

/* Petites rangées (small-row) : 150x300 */
/* On ajoute position: relative pour permettre le positionnement du bandeau et la shake animation */
.small-row .poster {
  width: 150px;
  height: 300px;
  background-color: #555;
  flex: 0 0 auto;
  transition: transform 0.2s ease, left 0.1s ease;
  position: relative;
}

.promoBanner {
  position: absolute;
  bottom: 25%; /* décalage depuis le bas */
  left: 5px;
  right: 5px;
  height: 85px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: red;
  font-size: 25px;
  font-weight: bold;
  border-radius: 5px;
  
  display: flex;              /* active flexbox */
  align-items: center;        /* centre verticalement */
  justify-content: center;    /* centre horizontalement (si nécessaire) */
  text-align: center;
  padding: 5px;
}



.coming-date {
  position: absolute;
  bottom: 60px; /* décalage depuis le bas */
  left: 5px;
  right: 5px;
  height: 35px;
  background: rgba(255, 255, 255, 0.6); /* fond blanc avec 90% d'opacité */
  backdrop-filter: blur(10px); /* effet de flou */
  -webkit-backdrop-filter: blur(10px); /* pour Safari */
  color: black;
  display: flex;
  align-items: center; /* centre verticalement le texte */
  justify-content: center; /* centre horizontalement le texte */
  font-size: 25px;
  font-weight: bold;
  border-radius: 5px;
}

/* ----- VIGNETTES MODELES ------- */
.modelContainer {
    position: relative;
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.thumbWrapper {
    position: relative;
    display: inline-block;
}

.sceneBadge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: grey;
    color: black;
    font-size: 22px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50%;
    z-index: 10;
}

.posterRound {
	border-radius: 100%;
	height: 150px;
	width: 150px;
	margin-bottom: 5px;
}

/* -texte presentation models */
.overlay-text{
  	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    color: rgba(169, 24, 52);
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
	overflow: hidden;          /* masque le contenu qui déborde */
	word-wrap: break-word;     /* permet de couper les mots trop longs */
	display: inline;
	font-size: x-large;
}

.overlayName{
	font-size: xx-large;
    font-weight: bold;
}


/* Pour les vignettes introductives */
.posterSmallIntro {
  height: 300px;
}

.posterIntroSmallImg {
  height: 300px;
  border: 1px solid white;
  border-radius: 10px;
}

.posterIntroImg {
  height: 500px;
  border-radius: 10px;
  border: 2px solid white;
}

/* Overlay vidéo */
.overlay-video {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  border: 2px solid white;
  border-radius: 10px;
}

/* Conteneur overlay */
.overlay-container {
  /* Styles optionnels supplémentaires */
}

/* Bouton PLAY */
.play-button {
  font-family: Arial, sans-serif;
}



/* Pour les écrans mobiles (par exemple, jusqu'à 1000px de largeur) */

@media (max-width: 1000px) {
  /* Agrandir le menu JOIN */
  #menuJOIN {
    font-size: 1.6em;
    padding: 15px;
  }
/*
  #menuJOIN .btn {
    padding: 10px 20px;
    font-size: 1.6em;
  }
*/
 
 
  /* Agrandir le menu burger */
  #menuBurger {
    /* Par exemple, augmenter la taille globale du menu */
    padding: 10px;
 	height: 120px;
 	width: 120px;
 }
  
  #menuBurger #iconMenuBurger, .iconesMenuBurger {
    width: 50px;  /* agrandir l'icône */
  }
  #menuBurger #menuTag {
    font-size: 1.2em;
  }
  #menuBurger .divIcon {
    font-size: 1.2em;
    padding: 10px;
    margin-top: 10px;
    margin-left: 30px;
  }
  
  .hero-row {
	      margin-top: 120px;
  }
  
 }




