/* 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;
}


/* POPUP REWARD */
.reward-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  display: none;
  z-index: 9999;
}

.reward-box {
  background: #111;
  border: 2px solid #ff9800;
  padding: 30px 50px;
  border-radius: 12px;
  text-align: center;
  color: white;
  box-shadow: 0 0 40px rgba(255, 152, 0, 0.6);
  animation: popIn 0.4s ease, glow 1.5s infinite alternate;
}

@keyframes popIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes glow {
  from { box-shadow: 0 0 10px rgba(255,152,0,0.4); }
  to   { box-shadow: 0 0 30px rgba(255,152,0,0.9); }
}

.reward-fire {
  font-size: 40px;
  margin-bottom: 10px;
  animation: flameBounce 0.8s ease infinite alternate;
}



.reward-flames {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.reward-flames span {
  font-size: 30px;
  filter: grayscale(1);
  opacity: 0.25;
  transform: scale(0.9);
  transition: all 0.2s ease;
}

/* flammes déjà gagnées */
.reward-flames span.lit {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1);
}

/* flamme du jour (anim) */
.reward-flames span.next {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.2);
  animation: flamePulse 0.6s ease infinite alternate;
}

@keyframes flamePulse {
  from { transform: scale(1.1); }
  to   { transform: scale(1.35); }
}

.reward-title {
  font-size: 22px;
  font-weight: bold;
}

.reward-text {
  font-size: 18px;
  margin-top: 10px;
  color: #ffcc00;
}

@keyframes popIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes flameBounce {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-8px) scale(1.12); }
}


.qcLastWinners {
  margin: 12px 0 16px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,215,120,.18), rgba(255,80,180,.12));
  border: 1px solid rgba(255,215,120,.35);
}

.qcLastWinnerBadge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffd47a;
  margin-bottom: 8px;
}

.qcLastWinnerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-weight: 600;
}

.qcLastMedal {
  width: 30px;
}

.qcLastName {
  flex: 1;
}

.qcLastScore {
  opacity: .8;
}

/* petit boost visuel */
.qcLastTop1 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.qcLastTop2 {
  opacity: .9;
}

.qcLastTop3 {
  opacity: .75;
}



#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 */

 /* Classe qui floute */
.blur-video {
  filter: blur(8px);
}

.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 */
}

.profile-grid{
  display: grid;
  grid-template-columns: 225px 320px 430px;
  grid-template-areas:
    "card info competition"
    "mystats mystats competition"
    "achievements achievements achievements"
    "dna dna dna";
  gap: 16px;
  align-items: start;
  max-width: 1020px;
}
.profile-grid .member-achievements-section{
  grid-area: achievements;
  width: 100%;
  min-width: 0;
}
.profile-grid .member-card{
  grid-area:card;
}

.profile-grid .profile-info-card{
  grid-area: info;
}

.profile-grid .member-competition{
  grid-area: competition;
  width: 100%;
  min-width: 0;
}

.profile-grid .member-my-stats{
  grid-area: mystats;
  width: 100%;
  min-width: 0;
}

.profile-grid .member-dna-section{
  grid-area: dna;
  width: 100%;
  min-width: 0;
}

.profileInsightsGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.profileInsightCard{
  min-width: 0;
}


.member-card {
  flex: 0 0 auto;
  width: 225px;
  height: 400px;
  cursor: pointer;
  position: relative;
  z-index: 10; /* plus haut que les posters si besoin */
}

.member-stats {
  flex: 0 0 auto;
  width: 320px;
  height: 400px;
  cursor: pointer;
  position: relative;
  z-index: 10; /* plus haut que les posters si besoin */
  top: 0;
  left: 0;
  border: 2px outset #f2e7ca;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(255, 95, 190, .16), transparent 35%),
  			  radial-gradient(circle at 85% 20%, rgba(255, 212, 110, .12), transparent 30%), 
  			  linear-gradient(180deg, rgba(25, 25, 29, .98), rgba(5, 5, 8, .98));  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.profile-info-card{
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  padding: 20px 25px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 95, 190, .16), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(255, 212, 110, .12), transparent 30%),
    linear-gradient(180deg, rgba(25,25,29,.98), rgba(5,5,8,.98));
  border: 2px solid rgba(235,210,180,.65);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 18px 50px rgba(0,0,0,.45);
}

.profile-section{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
}

.profile-label{
  font-size: 13px;
  font-weight: 200;
  letter-spacing: .08em;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.profile-name{
  font-size: clamp(15px, 4vw, 20px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(0,0,0,.65);
}

.edit-name-btn{
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 2px solid rgba(255,90,220,.55);
  background: rgba(0,0,0,.35);
  color: #ff5bd8;
  font-size: 32px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 0 18px rgba(255,90,220,.08);
  transition: .18s ease;
}

.edit-name-btn:hover{
  transform: scale(1.06);
  background: rgba(255,90,220,.12);
  box-shadow: 0 0 22px rgba(255,90,220,.25);
}

.profile-separator{
  height: 1px;
  margin: 20px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.25),
    transparent
  );
}

.profile-tokens{
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(15px, 4vw, 20px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  text-shadow: 0 4px 0 rgba(0,0,0,.7);
  margin-bottom: 30px;
}

.token-icon{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  border: 2px solid rgba(255,255,255,.35);
  box-shadow:
    inset 0 0 12px rgba(255,255,255,.25),
    0 0 20px rgba(255,75,200,.35);
}

.profile-buy-btn{
  margin-top: 30px;
  text-decoration: none;
  width: 100%;
  padding: 15px 22px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(180deg, #ff5bd8, #9b176e);
  color: white;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 10px 25px rgba(255,50,190,.22);
}

.profile-buy-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}


#btnBuy{
	margin: 10px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.12);
  padding:10px 18px;
  background:transparent;
  color:rgba(255,255,255,.72);
  font:800 12px/1 Montserrat, sans-serif;
  text-transform:uppercase;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(180deg, rgba(255,73,181,.82), rgba(136,30,107,.82));
}


.member-wider{
	width: 400px;
}


.member-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px outset #f2e7ca;
  border-radius: 16px;
  backface-visibility: hidden;
  overflow: hidden;
  z-index: 10;
}

.member-front-rank {
  position: relative;
  overflow: hidden;
}

.member-front-rank > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* bouton overlay */
.backToQuestsBtn {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;

  height: 15%;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);

  text-decoration: none;
  text-align: center;

  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;

  color: #fff;

  background:
    radial-gradient(circle at 50% 0%, rgba(255, 170, 235, .35), transparent 60%),
    linear-gradient(180deg, rgba(255, 91, 216, .88), rgba(120, 18, 88, .88));

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    0 8px 22px rgba(0,0,0,.38),
    0 0 24px rgba(255, 70, 190, .22);

  z-index: 5;

  transition:
    transform .18s ease,
    filter .18s ease,
    box-shadow .18s ease;
}

.backToQuestsBtn:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 10px 26px rgba(0,0,0,.44),
    0 0 30px rgba(255, 90, 210, .32);
}

.member-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}


.stats{
	font-size: large;
}

.statsCard {
  background: linear-gradient(180deg, #1a1a1f, #0d0d10);
  border-radius: 20px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 0 25px rgba(255, 0, 120, 0.05);
}

.statItem {
   width: 100%;
 display: flex;
  align-items: center;
 margin: 5px;
  padding: 10px 10px 10px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 30px rgba(0,0,0,0.22);
}

#totalActions, #tempsPasse, #lastseen, #daysInRow, #member_nbrCredits,#memberUntil{
  color:#ff78d1;
  font-weight: 600;
}

.statIcon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f7d4ef;
  font-size: 20px;
}

.statText {
  display: flex;
  flex-direction: column;
}

.statValue {
  padding-left: 15px;
  font-size: 18px;
  font-weight: 200;
  color: #fff;
}

.statLabel {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}


.member-back .stats h2 {
  margin-bottom: 15px;
  font-size: 1.5em;
  color: gold;
}


.stats-profile{
  width: 100%;
}

.quests-owned-line{
  margin-bottom: 12px;
}

.memberProgressWrap {
  width: 100%;
  margin: 2px;
  padding: 5px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 30px rgba(0,0,0,0.22);
}

.memberProgressLabelRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.memberProgressHint{
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.memberProgressPercent{
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: #fff0c9;
  text-shadow: 0 0 10px rgba(255,210,120,0.18);
}

.memberProgressBar{
  position: relative;
  width: 100%;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.03);
}

.memberProgressFill{
  position:absolute;
  inset:0 auto 0 0;
  width:0%;
  border-radius:999px;
  background:
    linear-gradient(90deg, #ff4d9d 0%, #ff7ab6 45%, #ffd36d 100%);
  box-shadow:
    0 0 18px rgba(255,105,180,0.35),
    0 0 28px rgba(255,211,109,0.18);
  transition: width 1.2s cubic-bezier(.22,.8,.24,1);
}

.memberProgressGlow{
  position:absolute;
  inset:0;
  border-radius:999px;
  pointer-events:none;
  background: linear-gradient(120deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.24) 50%, rgba(255,255,255,0) 80%);
  mix-blend-mode: screen;
  animation: memberProgressSheen 3.6s linear infinite;
}

.memberProgressSubtext{
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}

.statsList{
  display: grid;
  gap: 8px;
}

.statsList p{
  margin: 0;
}

@keyframes memberProgressSheen {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* --------- PROGRESSION MEMBRE  ------------- */


.questMasteryBar {
  position: relative;
  width: 100%;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;

  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    rgba(0,0,0,.42);

  border: 1px solid rgba(255,255,255,.14);

  box-shadow:
    inset 0 2px 6px rgba(0,0,0,.45),
    0 4px 14px rgba(0,0,0,.25);
}

.questMasteryOwned {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,105,205,.28), rgba(255,105,205,.12));
}

.questMasteryFill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 999px;

  background:
    linear-gradient(90deg,
      #ff6acb 0%,
      #ff8bd9 45%,
      #ffe28a 100%
    );

  box-shadow:
    0 0 18px rgba(255,105,205,.35),
    inset 0 1px 0 rgba(255,255,255,.45);

  transition: width .7s ease;
}

.questMasteryGlow {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255,255,255,.18),
      transparent
    );

  mix-blend-mode: screen;
  opacity: .45;
}

.questMasteryStats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;

  font-size: 14px;
  color: rgba(255,255,255,.78);
  letter-spacing: .3px;
}

.questMasteryStats b {
  color: #ff6acb;
  font-weight: 900;
}
/* --------- POSTERS 3D  ------------- */
.poster3D-card, .poster3DHero-card {
  width: 250px;
  height: 500px;
  perspective: 2500px;
  cursor: pointer;
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
}

.poster3DHero-card {
  width: 300px;
  height: 600px;
}






/* 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  ------------- */


.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 */
}

/* SEARCH ENGINE */
/* Compteur de quests */
.quest-count{
  margin-left:10px;
  font-size:20px;
  font-weight:600;
  opacity:.7;
}

.quest-count{
  transition: transform .15s ease;
}

.quest-count.bump{
  transform: scale(1.15);
}


.btnSort {
  padding: 5px 5px;
  font-size: 18px;
  margin: 3px;
  border: 1px solid #f7e0ea;
  border-radius: 8px;
  background-color: #ff8392;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 160px;
}

.filter-chips { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 6px; }
.filter-chips .group-title { font-weight:700; font-size:12px; letter-spacing:.6px; margin-right:6px; opacity:.85; }
.chip {
  appearance:none; border:none; cursor:pointer; user-select:none;
  padding:6px 18px; border-radius:999px;
  background:rgba(255,255,255,0.27);
  color:#fff; font:600 35px/1 Montserrat, sans-serif;
  border:1px solid rgba(255,255,255,1);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.chipUnlock{
  background:rgba(49, 162, 45, 0.3);
}
.chipLock{
  background:rgba(255, 46, 46, 0.3);
}

.chip:hover { transform: translateY(-1px); }
.chip.active {
  background:rgba(255,255,255,0.8);
  border-color:rgba(255,255,255,1);
  box-shadow:0 2px 12px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.25);
}

.chipUnlock.active{
  background:rgba(49, 162, 45, 1);
}

.chipLock.active{
  background:rgba(255, 46, 46, 1);
}


.chipLock4 {
	height: 30px;
	width: 30px;
}

#resetQuestFilters{
  color:#fff; font:400 20px/1 Montserrat, sans-serif;
}


.filterHeader { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.filterRow { display:flex; align-items:center; gap:10px; margin:12px 0; }
.filterRow label { width:100px; font-weight:700; font-size:17px; letter-spacing:.6px; opacity:1; }

.btnSort {
  padding:8px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.3);
  background:linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  color:#fff; cursor:pointer; font-weight:700;
}

.prettySelect {
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  width:150px; padding:8px 34px 8px 12px; border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25); color:#fff;
  font:600 13px/1 Montserrat, sans-serif; cursor:pointer;
  position:relative;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.05)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23fff' d='M9.6.8a1 1 0 0 0-1.4 0L5 4 1.8.8A1 1 0 0 0 .4 2.2l4 4a1 1 0 0 0 1.4 0l4-4A1 1 0 0 0 9.6.8z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center, 0 0;
}

.prettySelect:focus { outline: none; border-color: rgba(255,255,255,.45); }
.prettySelect option { color:#111; }

.questFilterWrapper{
  margin: 15px 0 25px;
  padding: 10px 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}


.hero-row .poster,
 {
  background-color: red;
  width: 300px;
  height: 600px;
  background-color: #333;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.posterHeroImg {
   content-visibility: auto;
  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;
}

.top-row{
margin-top: 80px;
margin-bottom: 0px;
}


.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: 90px; /* 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;
    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: 5px;
	height: 375px;
	width: 250px;
	margin-bottom: 5px;
  border: 1px solid grey;
}




/* Pour les vignettes introductives */
.posterSmallIntro {
  height: 300px;
}

.posterIntro, .posterBirthday, .poster { 
margin-top: 0px;
margin-bottom: 10px;
}

.posterIntroSmallImg {
  height: 300px;
  border: 1px solid white;
  border-radius: 10px;
}

.todoList {
  height: 300px;
  border: 1px solid white;
  border-radius: 10px;
  padding: 15px;
  align-content: center;
}

.posterIntroImg {
   height: 500px;
  border-radius: 10px;
  border: 2px solid white;
}

.posterIntroModels {
  height: 410px;
  width: 220px;
  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;
  }
  
  .top-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); }
}

/* DUEL */

#duelContainer{
	width: 350px;
}

.duelBox{
  background: rgba(0,0,0,0.35);
  border-radius: 14px;
  padding: 10px;
  border: 1px solid white;
}

.duelTitle{
  font-weight: 800;
  text-align:center;
  margin-bottom: 5px;
}

.duelChoices{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 5px;
}

.duelGirl{
  width: 65%;
  cursor:pointer;
  text-align:center;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.duelGirl img{
  width:100%;
  border-radius: 12px;
  display:block;
}

.duelName{
  margin-top: 8px;
  opacity:.9;
  font-weight:600;
  font-size: 14px;
}

.duelGirl:hover{
  transform: scale(1.04);
  box-shadow: 0 0 18px rgba(255,0,150,.35);
}

.vs{
  font-weight:900;
  opacity:.55;
  font-size: 18px;
}



.duelWinner{
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(0,255,150,.25);
}

.duelLoser{
  opacity: .35;
  transform: scale(.97);
}

/* --------- POPUP RENAME ------------- */
.rename-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.rename-box{
  width: 90%;
  max-width: 420px;
  padding: 28px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(255,90,220,.12), transparent 40%),
    linear-gradient(145deg, #0a0a12, #020205);
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  text-align: center;
}

.rename-title{
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
}

#renameInput{
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 16px;
  outline: none;
  text-align: center;
}

#renameInput:focus{
  border-color: #ff5bd8;
  box-shadow: 0 0 10px rgba(255,90,220,.3);
}

.rename-actions{
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.rename-actions button{
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  border: none;
}

.btn-cancel{
  background: rgba(255,255,255,.1);
  color: #fff;
}

.btn-save{
  background: linear-gradient(180deg, #ff5bd8, #9b176e);
  color: white;
  box-shadow: 0 8px 20px rgba(255,50,190,.3);
}

.rename-error{
  margin-top: 12px;
  font-size: 13px;
  color: #ff6b6b;
  min-height: 16px;
}



/* --------- WEEKLY COMPETITIONS / PROFILE GAME CARD ------------- */
.member-competition{
  flex: 0 0 auto;
  width: 430px;
  min-height: 400px;
  position: relative;
  z-index: 10;
  border: 2px solid rgba(255, 116, 210, .72);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 95, 190, .16), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(255, 212, 110, .12), transparent 30%),
    linear-gradient(180deg, rgba(25,25,29,.98), rgba(5,5,8,.98));
  box-shadow:
    0 0 22px rgba(255, 73, 181, .22),
    inset 0 1px 0 rgba(255,255,255,.12);
  color: white;
  padding: 16px;
}

.member-competition::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.09) 48%, transparent 60%);
  transform: translateX(-130%);
  animation: qcSheen 6s linear infinite;
}

@keyframes qcSheen{
  0%{ transform: translateX(-130%); }
  45%,100%{ transform: translateX(130%); }
}

.qcHeader{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:left;
  margin-bottom:14px;
}

.qcCup{
  font-size:42px;
  filter: drop-shadow(0 0 10px rgba(255,211,109,.35));
}

.qcHeader h2{
  margin:0;
  font-size:22px;
  line-height:1;
  text-transform:uppercase;
  color:#ff78d1;
  text-shadow:0 0 14px rgba(255,90,200,.35);
}

.qcHeader p{
  margin:6px 0 0;
  font-size:13px;
  color:rgba(255,255,255,.78);
}

.qcTabs{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:0;
  margin: 0 0 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
}

.qcTab{
  padding:10px 8px;
  border:0;
  border-radius:0;
  background:transparent;
  color:rgba(255,255,255,.72);
  font:800 12px/1 Montserrat, sans-serif;
  text-transform:uppercase;
  cursor:pointer;
}

.qcTab.active{
  color:#fff;
  background:linear-gradient(180deg, rgba(255,73,181,.82), rgba(136,30,107,.82));
  box-shadow:inset 0 0 18px rgba(255,255,255,.10);
}

.qcPanel{
  display:none;
}

.qcPanel.active{
  display:block;
}

.qcPanelIntro{
  margin: 8px 0 10px;
  padding: 0 4px;
}

.qcPanelIntro h3{
  margin:0;
  color:#ff8ad9;
  text-transform:uppercase;
  font-size:16px;
}

.qcPanelIntro p{
  margin:3px 0 0;
  font-size:12px;
  color:rgba(255,255,255,.68);
}

.qcRows{
  display:grid;
  gap:5px;
}

.qcRankRow,
.qcMeRow{
  display:grid;
  grid-template-columns: 52px 95px 1fr;
  align-items:center;
  min-height:31px;
  gap:8px;
  padding:6px 10px;
  border-radius:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.08);
}

.qcRankRow.qcTop1{
  border-color:rgba(255,211,109,.75);
  box-shadow:0 0 15px rgba(255,211,109,.12), inset 0 0 18px rgba(255,211,109,.06);
}

.qcRankRow.qcTop2{
  border-color:rgba(220,220,230,.35);
}

.qcRankRow.qcTop3{
  border-color:rgba(255,142,62,.45);
}

.qcRank{
  font-size:14px;
  font-weight:900;
  color:#ffd36d;
}

.qcScore{
  font-size:13px;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
}

.qcName{
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.88);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-transform:uppercase;
  letter-spacing:.2px;
}

.qcSeparator{
  height:1px;
  margin:8px 0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}

.qcMeRow{
  background:linear-gradient(90deg, rgba(255,66,177,.35), rgba(255,66,177,.12));
  border-color:rgba(255,116,210,.45);
  box-shadow: inset 0 0 20px rgba(255,80,190,.08);
}

.qcMeRow .qcRank,
.qcMeRow .qcScore,
.qcMeRow .qcName{
  color:#ffd2f0;
}

.qcGoal{
  margin-top:8px;
  padding:8px 10px;
  border-radius:10px;
  color:#fff2ca;
  font-size:12px;
  font-weight:800;
  text-align:center;
  background:rgba(255,211,109,.10);
  border:1px solid rgba(255,211,109,.25);
}

.qcEmpty{
  padding:18px 10px;
  text-align:center;
  color:rgba(255,255,255,.55);
  border:1px dashed rgba(255,255,255,.18);
  border-radius:12px;
}

.qcDaily{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.13);
}

.qcDaily b{
  display:block;
  color:#fff0c9;
  font-size:13px;
  text-transform:uppercase;
}

.qcDaily span{
  display:block;
  color:rgba(255,255,255,.65);
  font-size:11px;
}

.qcFlames{
  display:flex;
  gap:2px;
  font-size:19px;
  white-space:nowrap;
}

.qcFlames span{
  filter: grayscale(1);
  opacity:.25;
  transform:scale(.92);
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.qcFlames span.lit{
  filter:none;
  opacity:1;
  transform:scale(1);
  text-shadow:0 0 14px rgba(255,120,20,.45);
}

.qcRewards{
  margin-top:10px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:6px 12px;
  padding:10px 12px;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,73,181,.16), rgba(255,73,181,.07));
  border:1px solid rgba(255,116,210,.30);
  font-size:12px;
}

.qcRewards b{
  grid-column:1 / -1;
  text-transform:uppercase;
  color:#ff8ad9;
  text-align:center;
  margin-bottom:2px;
}

.qcRewards span{
  color:rgba(255,255,255,.86);
}

/*.  DNA PLAYER.  */

.profileProgressGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  width: 100%;
}

.profileProgressCard,
.profileInsightCard {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.profileProgressTop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profileProgressTop b {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  opacity: .7;
  letter-spacing: .06em;
}

.profileProgressTop span:not(.profileProgressIcon) {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.profileProgressIcon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  font-size: 23px;
}

.profileProgressBar,
.dnaBar {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
  margin-top: 13px;
}

.profileProgressBar span,
.dnaBar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4fd8, #ffc857);
  box-shadow: 0 0 18px rgba(255,79,216,.35);
}

.profileProgressUnlock {
  margin-top: 8px;
  font-size: 12px;
  opacity: .72;
}

.profileInsightsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.member-dna-section h1{
  margin: 12px 0 14px;
  font-size: 42px;
  line-height: 1;
}

.profileInsightCard{
  min-width: 0;
}

.profileInsightCard h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.profileInsightCard p {
  margin: 0 0 16px;
  font-size: 13px;
  opacity: .7;
}

.dnaRow {
  margin: 12px 0;
}

.dnaLabel {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.dnaLabel b {
  opacity: .9;
}

.emptyInsight {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  opacity: .7;
  font-size: 14px;
}

.rankingTable {
  display: grid;
  gap: 8px;
}

.rankingHead,
.rankingLine {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 8px;
  align-items: center;
}

.rankingHead {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .55;
}

.rankingLine {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
}

.rankingLine b {
  font-size: 16px;
}

@media (max-width: 900px) {
  .profileProgressGrid,
  .profileInsightsGrid {
    grid-template-columns: 1fr;
  }
}




.profileInsightsGridBetter{
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.dnaMainCard,
.playerSummaryCard{
  min-width: 0;
}

.dnaMainCard{
  min-height: 100%;
}

.playerArchetype{
  margin: 24px 0;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,73,181,.22), rgba(255,200,87,.14));
  border: 1px solid rgba(255,255,255,.14);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.miniRankingList{
  display: grid;
  gap: 12px;
}

.miniRankingList div{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.miniRankingList span{
  opacity: .72;
  font-size: 15px;
}

.miniRankingList b{
  font-size: 18px;
  white-space: nowrap;
  color: #fff;
}

@media (max-width: 900px) {
  .profileInsightsGridBetter{
    grid-template-columns: 1fr;
  }
}

.playerArchetypeSoft{
  margin: 22px 0 28px;
  padding: 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,79,216,.22), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
}

.playerArchetypeLabel{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  opacity: .55;
  margin-bottom: 8px;
}

.playerArchetypeTitle{
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.12;
  max-width: 100%;
}

.playerTypeChips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.playerTypeChips span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  color: rgba(255,255,255,.82);
}

.playerTypeChips b{
  color: #ffc857;
}

/****** ACHIEVEMENTS  ******/
.achievementsGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 4px;
}

.achievementCard {
  position: relative;
  overflow: hidden;
}

.achievementCard .profileProgressTop span strong {
  display: inline-block;
  margin-right: 6px;
  font-size: 15px;
  color: #fff;
}

.achievementCard .profileProgressTop span em {
  font-style: normal;
  opacity: .65;
  font-size: 12px;
}

.achievementBricks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.achievementBrick {
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;

  color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);

  filter: grayscale(1);
  opacity: .45;
  transform: scale(.96);

  transition:
    opacity .25s ease,
    filter .25s ease,
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    color .25s ease;
}

.achievementBrick.unlocked {
  color: #fff;
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1);
  background: linear-gradient(135deg, rgba(255,0,140,.45), rgba(140,70,255,.38));
  border-color: rgba(255,255,255,.35);
  box-shadow:
    0 0 12px rgba(255,0,140,.20),
    inset 0 0 12px rgba(255,255,255,.08);
}

.achievementCard::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,0,140,.16), transparent 70%);
  pointer-events: none;
}

@media (max-width: 600px) {
  .achievementBricks {
    grid-template-columns: repeat(5, 1fr);
  }

  .achievementBrick {
    font-size: 10px;
    height: 26px;
  }
}


/****** ACHIEVEMENTS VISUAL CARDS ******/


.achievementVisualCard {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 95, 190, .18), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 26px rgba(0,0,0,.28);
  text-align: center;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}


.achievementVisualImgWrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
}

.achievementVisualImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Texte sous le visuel */

.achievementVisualText {
  margin-top: 9px;
}

.achievementVisualTitle {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.15;
}

.achievementVisualTitle span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.48);
}

.achievementVisualValue {
  margin-top: 7px;
  font-size: 15px;
  font-weight: 900;
  color: #ff78d1;
  line-height: 1;
}

.achievementVisualNext {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.25;
  color: rgba(255,255,255,.62);
}

/* barres de progression */
.achievementSegmentProgress {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  width: 70%;
  margin: 7px auto 0;
}

.achievementSegmentProgress span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.45);
}

.achievementSegmentProgress span.isUnlocked {
  background: linear-gradient(90deg, #ff5bd8, #ffe08a);
  box-shadow:
    0 0 8px rgba(255, 91, 216, .45),
    0 0 12px rgba(255, 224, 138, .18);
}

/* Mobile / tablet */


  .achievementsGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .achievementsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .achievementsGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .achievementsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievementVisualCard {
    padding: 9px;
  }
}


/* HIDDEN ACHIEVEMENTS */
.hiddenAchievementsBlock {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.hiddenAchievementsHeader {
  margin-bottom: 18px;
}

.hiddenAchievementsHeader h2 {
  margin: 0;
  font-size: 22px;
  color: #fff;
}

.hiddenAchievementsHeader p {
  margin: 6px 0 0;
  opacity: 0.65;
  font-size: 13px;
}

.hiddenAchievementsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 4px 0;
}

.hiddenAchievementIcon {
  width: 180px;
  height: 180px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.hiddenAchievementIcon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}

.hiddenAchievementIcon.isUnlocked:hover {
  transform: translateY(-4px) scale(1.08);
}

.hiddenAchievementIcon.isUnlocked img {
  opacity: 1;
  filter:
    drop-shadow(0 0 10px rgba(255, 180, 80, 0.32))
    drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}

.hiddenAchievementIcon.isLocked img {
  filter: grayscale(1) brightness(0.25) drop-shadow(0 10px 18px rgba(0,0,0,0.45));
  opacity: 0.55;
}

.hiddenAchievementIcon.isLocked {
  cursor: default;
  pointer-events: none;
}


/* Popup */
body.achievementZoomOpen {
  overflow: hidden;
}

#hiddenAchievementZoomOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(3px);
}

#hiddenAchievementZoomImg {
  width: min(520px, 82vw);
  max-height: 82vh;
  object-fit: contain;

  cursor: pointer;
  user-select: none;

  filter:
    drop-shadow(0 0 14px rgba(255, 199, 64, 0.75))
    drop-shadow(0 0 32px rgba(255, 174, 0, 0.45))
    drop-shadow(0 0 70px rgba(255, 140, 0, 0.35));

  animation:
    achievementZoomIn 220ms ease-out both,
    achievementGoldGlow 2.4s ease-in-out infinite;
}

@keyframes achievementZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.55) rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes achievementGoldGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 20px rgba(255, 220, 120, 0.95))
      drop-shadow(0 0 48px rgba(255, 190, 35, 0.70))
      drop-shadow(0 0 95px rgba(255, 145, 0, 0.55));
    transform: scale(1.025);
  }

  50% {
    filter:
      drop-shadow(0 0 12px rgba(255, 199, 64, 0.65))
      drop-shadow(0 0 28px rgba(255, 174, 0, 0.40))
      drop-shadow(0 0 58px rgba(255, 140, 0, 0.28));
    transform: scale(1);
  }
}



  .hiddenAchievementsRow {
    gap: 10px;
  }
}
.hiddenAchievementImgWrap {
  width: 100%;
  aspect-ratio: 165 / 375;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.hiddenAchievementImgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Locked = visible mais grisé */
.hiddenAchievementCard.isLocked img {
  filter: grayscale(1) brightness(0.42);
  opacity: 0.55;
}

.hiddenAchievementCard.isLocked .hiddenAchievementImgWrap::after {
  content: "LOCKED";
  position: absolute;
  inset: auto 8px 10px 8px;
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.72);
  color: rgba(255,255,255,0.78);
}

/* Unlocked = couleur + petit glow */
.hiddenAchievementCard.isUnlocked {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  box-shadow: 0 0 22px rgba(255, 190, 90, 0.18);
}

.hiddenAchievementCard.isUnlocked img {
  filter: none;
  opacity: 1;
}

.hiddenAchievementTitle {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.hiddenAchievementStatus {
  margin-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

/* Popup */
.hiddenAchievementPopup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hiddenAchievementPopupBox {
  position: relative;
  width: min(550px, 92vw);
  border-radius: 26px;
  padding: 18px;
  background: radial-gradient(circle at top, rgba(120, 45, 160, 0.32), rgba(10,10,18,0.96));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(0,0,0,0.65);
  animation: hiddenAchievementPop 0.24s ease-out;
}

.hiddenAchievementPopupBox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
  display: block;
}

.hiddenAchievementClose {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.95);
  color: #111;
  font-size: 28px;
  line-height: 34px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.hiddenAchievementPopupText {
  text-align: center;
  color: #fff;
  margin-top: 12px;
}

.hiddenAchievementPopupText h2 {
  margin: 0;
  font-size: 22px;
}

@keyframes hiddenAchievementPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
