/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corps de la page */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #141414; /* Fond type Netflix */
  color: #fff;
}

img {
  user-select: none;      /* Empêche la sélection de l'image */
  -webkit-user-drag: none; /* Empêche le glisser-déposer (Chrome/Safari) */
  pointer-events: auto;    /* Laisse les événements de clic fonctionner */
}

/* 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;
}

.popup-content input[type="text"] {
  width: 70%;             /* plus large */
  padding: 10px 12px;     /* plus d’espace intérieur */
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-right: 10px;
  box-sizing: border-box;
}
.popup-content button {
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #e1306c;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.popup-content button:hover {
  background-color: #c72e63;
}

#instaForm, #XForm {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#emailForm.form-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

#emailForm input {
  width: 90%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#emailForm button {
  padding: 10px 30px;
  font-size: 16px;
  background-color: #28a745;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#emailForm button:hover {
  background-color: #218838;
}



/* 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;
}


.main-header h1 {
  font-size: 2rem;
  margin: 0;
}

/* Chaque bloc de rangée */
.movie-row {
  margin: 20px 0;
  padding: 0 20px;

  overflow: visible;
  position: relative;
}

.movie-row h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Conteneur horizontal défilant */
.row-container {
  margin-top: 5px;
  display: flex;
  flex-wrap: nowrap;
  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;
  }
}

/* --------- MY PROFILE  ------------- */
.row-flex {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  overflow: visible; /* essentiel pour ne pas clipper l'anim */
}



.member-card {
  flex: 0 0 auto;
  top: 20px;
  width: 300px;
  height: 560px;
  perspective: 1200px;
  cursor: pointer;
  position: relative;
  z-index: 10; /* plus haut que les posters si besoin */
}


.member-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1.2);
  transform-style: preserve-3d;
}

.member-card.flipped .member-inner {
  transform: rotateY(180deg);
}

.member-front, .member-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
border: 2px outset #f2e7ca;
  border-radius: 16px;
  backface-visibility: hidden;
  overflow: hidden;
  z-index: 100;
}

.member-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.member-back {
  background: radial-gradient(#1e1e1e, #000);
  color: white;
  padding: 20px;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stats{
	font-size: large;
}

.member-back .stats h2 {
  margin-bottom: 15px;
  font-size: 1.5em;
  color: gold;
}


/* --------- POSTERS 3D  ------------- */
.poster3D-card, .poster3DHero-card {
  width: 250px;
  height: 500px;
  perspective: 2500px; /* longue focale, peu de distorsion */
  cursor: pointer;
  display: inline-block; /* pour s’aligner en grid */
  margin-top: 10px;
  margin-bottom: 10px;
}

.poster3DHero-card{
  width: 300px;
  height: 600px;
}





.poster3D-inner {
  position: relative;
  width: 250px;
  height: 500px;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1.2);
  transform-style: preserve-3d;
}

.poster3DHero-inner {
  position: relative;
  width: 300px;
  height: 600px;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1.2);
  transform-style: preserve-3d;
}	
	
	
	
.poster3D-card.flipped .poster3D-inner {
  transform: rotateY(180deg);
}

.poster3DHero-card.flipped .poster3DHero-inner {
  transform: rotateY(180deg);
}

.poster3D-front,
.poster3D-back {
  position: absolute;
  width: 250px;
  height: 500px;
  backface-visibility: hidden;
}


.poster3DHero-front,
.poster3DHero-back {
  position: absolute;
  width: 300px;
  height: 600px;
  backface-visibility: hidden;
}


.poster3D-back, .poster3DHero-back {
  transform: rotateY(180deg);
  background: #111;
  color: #fff;
  border-radius: 15px;
  padding: 0px;
  box-sizing: border-box;
}

.poster3D-back .back-link, .poster3DHero-back .back-link  {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}


/* POSTERS BACK */
.bandeauTop{
	z-index: 20;
  position: absolute; 
  top: 10px; 
  left: 10px; 
  right: 10px; 
  height: auto; 
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(10px); 
  color: rgb(0, 0, 0); 
  text-align: center; 
  line-height: 35px; 
  font-size: 18px; 
  font-weight: bold; 
  border-radius: 5px;
}

.creditRed {
	color: red;
}



.backUnlockedOverlay, .backLockedOverlay{
    position: 'absolute';
    z-index: 10;
    opacity: 1;
    width: "130px";
    padding: 5px;
    top: '40%';
    left: '50%';
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	background-color: red;
	border-radius: 40px;
	border: 1px solid white;
   } 
  
  
    
/* --------- 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: 0;
  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;
}

.backOverlay{
	z-index: 20;
    width: 130px;
    font-family: 'Montserrat', sans-serif;
    }
   
/* 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,
 {
	 background-color: red;
  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;
  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;
}

.posterIntro, .posterBirthday, .poster { 
margin-top: 10px;
margin-bottom: 10px;
}

.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;
width: 300px;
height: 600px;
}

/* 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;
  }
 
 
  /* 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;
  }
  
 }

/* --------- CARTES REWARD SHINY  ------------- */
.posterWrapper {
  position: relative;
  width: auto;
  height: 300px;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.posterWrapper img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}


/* Reflet */
.shiny::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}


