@charset "utf-8";
/* CSS Document */

html {
	margin: 0;
 	padding: 0;
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

:root {
  --gray1: rgb(10,10,10);
  --gray2: rgb(15,15,15);
  --gray3: rgb(20,20,20);
  --primary-yellow: #FFCC00;
  --primary-orange: #FFA500;
  --dark-orange: #FF8C00;
  --card-bg: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  --card-border: #555;
}

@font-face {
	font-family: BD;
 	 src: local("Broken Detroit"),
		url(font/BD.ttf);
		font-weight:normal;
}

body {
	margin:0;
 	padding:0;
	background-color: var(--gray1);
  background-image: linear-gradient(30deg, var(--gray2) 12%, transparent 12.5%, transparent 87%, var(--gray2) 87.5%, var(--gray2)), linear-gradient(150deg, var(--gray2) 12%, transparent 12.5%, transparent 87%, var(--gray2) 87.5%, var(--gray2)), linear-gradient(30deg, var(--gray2) 12%, transparent 12.5%, transparent 87%, var(--gray2) 87.5%, var(--gray2)), linear-gradient(150deg, var(--gray2) 12%, transparent 12.5%, transparent 87%, var(--gray2) 87.5%, var(--gray2)), linear-gradient(60deg, var(--gray3) 25%, transparent 25.5%, transparent 75%, var(--gray3) 75%, var(--gray3)), linear-gradient(60deg, var(--gray3) 25%, transparent 25.5%, transparent 75%, var(--gray3) 75%, var(--gray3));
  background-size: 40px 70px;
  background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
	}
	
	
	

#banniere {
	height: auto;
	min-height: 100px;
	width: 100%;
	border: thin solid #000;
	border-bottom: none;
	background-color: #343434;
	text-align: center;
	display: block;
	margin: 0;
	padding: 0;
}
#corp {
	width: 90%;
	border: thin solid #000;
	background-color: #343434;
	min-height: 400px;
	margin: 5px auto;
	padding: 2%;
	box-sizing: border-box;
	display: block;
	overflow: hidden;
}
#pied {
	width: 90%;
	background-color: #333;
	color: #FFF;
	text-align: center;
	min-height: 80px;
	height: auto;
	margin: 20px auto 5px;
	padding: 24px 2%;
	box-sizing: border-box;
	display: block;
	clear: both;
	border: none;
	border-top: 2px solid var(--card-border);
}

#base {
	width: 100%;
	display: block;
    margin: 0;
	padding: 0;
}
#full_box {
	background-color: #CCCCCC;
	float: left;
	border: none;
	margin: 1%;
	width: 98%;
	padding: 1%;
	box-sizing: border-box;
	overflow: hidden;
}


#Box_in_contenu {
	margin: 5px;
	padding: 5px;
	float: left;
	width: 100%;
	box-sizing: border-box;
}

@media screen and (min-width: 768px) {
	#Box_in_contenu {
		width: 47%;
	}
}
#full_box h3 {
	color: #000000;
	background: linear-gradient(135deg, #FFCC00 0%, #FFA500 100%);
	padding: 12px 15px;
	margin: 20px 0 15px 0;
	border-left: 5px solid #FF8C00;
	border-radius: 5px;
	font-size: 1.3em;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#full_box p {
	padding: 15px;
	margin: 10px 0;
	background-color: #f9f9f9;
	border-left: 4px solid #FFCC00;
	border-radius: 4px;
	color: #555;
	font-style: italic;
}



#box_admin {
	float: left;
	width: 90%;
	margin: 5px;
	padding: 5px;
	border: thin dashed #000;
}
#sous_box_admin {
	float: left;
	width: 30%;
	margin: 5px;
	padding: 5px;
	border: thin dashed #000;
	height: 220px;
}

#bloc_contenu {
	float: left;
	width: 100%;
	margin: 0.5%;
	padding: 0.5%;
	border: thin solid #000000;
	background-color:#CCCCCC;
	box-sizing: border-box;
}

@media screen and (min-width: 768px) {
	#bloc_contenu {
		width: 47%;
	}
}

#corp h2 {
	font-family: BD;
	color: #FFFF00;
	text-align: center;
	border-top: thin solid #FFFF00;
	border-bottom: thin solid #FFFF00;
	font-size: clamp(1.5em, 4vw, 2em);
	padding: 10px 5px;
	margin: 10px 0;
	word-wrap: break-word;
}

#bloc_p {
	background-color: #666666;
	border: thin solid #000000;
	width: 95%;
	text-align: center;
	margin: 4px;
	padding: 4px;
}

#capcha_D {
	float: left;
	height: 100px;
	max-width: 500px;
	width: 80%;
}
#error {
	background-color: #FF6633;
	margin: 2%;
	padding: 2%;
	float: left;
	border: 1% none #FF0000;
	text-align: center;
	width: 92%;
}


#capcha_G {
	float: left;
	height: 100px;
	max-width: 22px;
	width: 20%;
}

#capcha_img {
	margin-left: 5%;
	margin-right: 5%;
	width: 90%;
}

#cgv_ins {
	padding: 2%;
	width: 85%;
	height: auto;
	background-color: #CCCCCC;
	border: thin solid #333333;
	text-align: center;
	margin-top: 15px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 15px;
}

/* ==================== NAVIGATION (legacy compat — hidden) ==================== */
/* Les anciens IDs sont conservés mais masqués pour ne rien casser */
#menu_perso { display: none; }

#contenu {
	float: left;
	width: 100%;
}
#contenu_compte {
	border: thin solid #FFFF00;
	float: left;
	width: 95%;
	margin: 1%;
	padding: 1%;
}

#contenu_compte h3 {
	color: #FFFF00;
	font-family: BD;
}
#img_compte a {
	background-color: #FFFFFF;
}
#img_compte {
	float: left;
	width: 100%;
	max-width: 150px;
	height: auto;
}

#img_compte img {
	max-width: 100%;
	height: auto;
}

#info_compte {
	float: left;
	width: 100%;
	height: auto;
	min-height: 150px;
}

@media screen and (min-width: 768px) {
	#img_compte {
		width: 23%;
	}
	#info_compte {
		width: 76%;
	}
}




#bloc_menu_admin{
	float:left;
	background-color:#CCCCCC;
	min-width: 320px;
	text-align:center;
	padding:5px;
	margin:5px;
	height: 12em;
}

#bloc_menu_admin i{
	padding:2px;
	margin:2px;
	border: thin solid #000000;
}

#bloc_menu_admin a{
	color:#FFFF00;
}

#bloc_menu_admin i:hover{
background-color:#999999;
}

.bouton-shop {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #FFA500; /* Fond jaune foncé */
    color: #fff; /* Texte en blanc */
    border-radius: 20px; /* Bords arrondis */
    font-weight: bold;
    transition: background-color 0.3s ease; /* Transition pour l'animation */
}

/* Style au survol du bouton */
.bouton-shop:hover {
    background-color: #FF8C00; /* Changement de couleur au survol */
}

.bouton-play {
    display: inline-block;
    padding: 20px 30px;
    text-decoration: none;
	border:none;
    background-color: #FFA500; /* Fond jaune foncé */
    color: #fff; /* Texte en blanc */
    border-radius: 20px; /* Bords arrondis */
    font-weight: bold;
	font-size:medium;
    transition: background-color 0.3s ease; /* Transition pour l'animation */
}

/* Style au survol du bouton */
.bouton-play:hover {
    background-color: #FF8C00; /* Changement de couleur au survol */
}

.content-toggle {
    overflow: hidden;
	max-height: 4000px;
    transition: max-height 0.5s ease-in-out;
}

.expand-button-toggle {
    background-color: #eee;
    border: none;
    padding: 5px 10px;
    font-size: 20px;
	border-radius: 5px;
}

.content-toggle.collapsed {
    max-height: 0;
    overflow: hidden;
}

/* Conteneur des produits */
.product{
	flex: 1 1 calc(33.33% - 20px);
	min-width: 280px;
	background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
	border: 2px solid #555;
	border-radius: 15px;
	padding: 20px;
	margin: 10px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
	color: #fff;
}

.product:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
	border-color: #FFCC00;
}

.product h3 {
	color: #FFCC00;
	font-size: 1.4em;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.product p {
	margin: 10px 0;
	color: #ccc;
}

.product .add-to-cart {
	background: linear-gradient(135deg, #FFCC00 0%, #FFA500 100%);
	color: #000;
	border: none;
	border-radius: 8px;
	padding: 12px 25px;
	font-size: 1em;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.product .add-to-cart:hover {
	background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 204, 0, 0.6);
}

/* Panier */
#cart {
	background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
	border: 2px solid #FFCC00;
	border-radius: 15px;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#cart h3 {
	color: #000000;
	margin-bottom: 15px;
	text-align: center;
	font-size: 1.6em;
	text-transform: uppercase;
	letter-spacing: 2px;
}

#cart-items {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
	max-height: 300px;
	overflow-y: auto;
}

#cart-items li {
	background: #333;
	padding: 12px 15px;
	margin: 8px 0;
	border-radius: 8px;
	border-left: 4px solid #FFCC00;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#cart-items li button {
	background: #ff4444;
	color: white;
	border: none;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.2s ease;
}

#cart-items li button:hover {
	background: #cc0000;
	transform: scale(1.1);
}

#cart-total {
	text-align: right;
	font-size: 1.3em;
	font-weight: bold;
	color: #FFCC00;
	margin: 15px 0;
	padding: 10px;
	border-top: 2px solid #555;
}

.button_panier{
	display: none;
	background: linear-gradient(135deg, #FFCC00 0%, #FFA500 100%);
	color: #000;
	border: none;
	border-radius: 8px;
	padding: 12px 25px;
	font-size: 1.1em;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 10px 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.button_panier:hover {
	background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 204, 0, 0.6);
}

#clear-button {
	background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
	color: white;
}

#clear-button:hover {
	background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
}

/* Article dans le panier (page panier_verif.php) */
.panier-item {
	background: linear-gradient(135deg, #FFCC00 0%, #FFA500 100%);
	color: #000;
	font-size: 1.2em;
	font-weight: bold;
	padding: 15px 20px;
	margin: 15px 0;
	border-radius: 10px;
	border-left: 5px solid #FF8C00;
	box-shadow: 0 4px 15px rgba(255, 204, 0, 0.5);
	text-align: left;
}

.panier-item strong {
	color: #000;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#paypalButton {
    background-color: #0070BA; /* Couleur de fond */
    color: #FFFFFF; /* Couleur du texte */
    border: none; /* Supprime la bordure */
    padding: 10px 20px; /* Espacement intérieur */
    font-size: 16px; /* Taille de la police */
    border-radius: 5px; /* Coins arrondis */
    cursor: pointer; /* Curseur au survol */
}

/* Style de base pour le modal */
.modal {
    display: none; /* Par défaut, le modal est caché */
    position: fixed; /* Position fixe pour le superposer au contenu */
    top: 0;
    left: 0;
    width: 100%; /* Remplit toute la largeur */
    height: 100%; /* Remplit toute la hauteur */
    background-color: rgba(0,0,0,0.7); /* Fond semi-transparent */
    z-index: 9999; /* Au-dessus de tout */
}

/* Style du contenu du modal */
.modal-content {
    background-color: #333333;
	color: white;
    border: 1px solid #ccc; /* Bordure */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Ombre légère */
    margin: 5% auto; /* Centrer verticalement avec moins de marge */
    padding: 20px; /* Espace intérieur du contenu */
    max-width: 90%; /* Largeur maximale du contenu du modal */
    max-height: 90vh; /* Hauteur maximale: 90% de la hauteur de la fenêtre */
    overflow-y: auto; /* Barre de défilement vertical si le contenu dépasse */
    overflow-x: hidden; /* Pas de scroll horizontal */
    position: relative;
    z-index: 10000;
    -webkit-overflow-scrolling: touch; /* Améliore le scroll sur iOS */
}

/* Style pour le bouton de fermeture, si vous en ajoutez un */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* DEBUT calendrier JS : jsSimpleDatePickr */
#calendarMain1, #calendarMain2{
    margin-left: 20%;
}
/* conteneur calendrier */
.calendarWrap{
    display: none;
    position: absolute;
    z-index: 1000;
    width: 210px;
    padding: 5px 10px 10px 10px;
    background-color: #2e373f;
    /*background-color: rgba(46, 55, 63, 0.95);*/
    border-radius: 10px;
    -moz-box-shadow: 0 0 10px #555;
    -webkit-box-shadow: 0 0 10px #555;
    box-shadow: 0 0 10px #555;
    font-size: 12px;
}

/* bouton d'affichage*/
#calendarMain1 > input, #calendarMain2 > input{
    display: block;
    width: 100px;
    height: 22px;
    padding-top: 2px;
    background-color: #2e373f;
    color: #fff;
    border-radius: 5px;
    border: none;
}
#calendarMain1 > input:hover, #calendarMain2 > input:hover{
    background-color: #2673cb;
}
/* navigation dans le calendrier */
.calendarWrap ul{
    margin: 5px 0 10px 0;
    padding: 0;
}
.calendarWrap li{
    margin: 0;
    padding: 0;
    width: 20px;
    display: inline-block;
}
.calendarWrap li.calendarTitle{
    width: 170px;
    color: #ccc;
    text-align: center;
}
.calendarWrap li input{
    width: 20px;
    background-color: #5d6f7f;
    border: none;
    color: #fff;
}
.calendarWrap li input:hover{
    background-color: #6f8598;
}
/* calendrier */
.jsCalendar{
    color: #fff;
    border-collapse: collapse;
}
.jsCalendar th{
    color: #8ba7bf;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
}
.jsCalendar td{
    padding: 0;
    border: none;
}
.jsCalendar a{
    display: block;
    width: 30px;
    padding: 3px 0 3px 0;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}
.jsCalendar .day:hover a{
    background-color: #2673cb;
    border-color: #2673cb;
}
.jsCalendar .selectedDay a{
    background-color: #c44d38;
    border-color: #c44d38;
}
/* FIN calendrier JS : jsSimpleDatePickr */

/* Accept cookie CSS */
.cookie-alert {
   position: fixed;
   bottom: 20px;
   right:20px;
   border-radius: 10px;
   background:#2f2f2f;
   color:#fff;
   padding:10px 15px;
   width:280px;
   z-index:100;
}

/* Carte Leaflet */
#map {
	width: 100% !important;
	max-width: 400px;
	height: 250px !important;
	margin: 10px auto;
	position: relative;
	z-index: 1;
	border: 2px solid #333;
}

@media screen and (min-width: 768px) {
	#map {
		max-width: 600px;
		height: 350px !important;
	}
}

.cookie-alert a { 
   display:block;
   text-align: center;
   padding:5px 10px;
   margin:8px auto 0 auto;
   border-radius: 10px;
   background:transparent;
   border: 2px solid #46A2D9;
   color:#46A2D9;
   transition: all .3s ease;
}
   .cookie-alert a:hover {
      background: #46A2D9;
      color:#2f2f2f;
   }
@media only screen and (max-width:480px) {
   .cookie-alert {
      text-align: center;
      left: 0; right: 0;;
        margin: 0 auto;
      max-width:700px;
      padding:10px 30px;
   }
}
/* fin aceppt cookie CSS*/

/* ==================== NAVIGATION PRINCIPALE ==================== */
/* Mobile first */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--gray1);
	border-bottom: 2px solid var(--card-border);
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	min-height: 56px;
	max-width: 1200px;
	margin: 0 auto;
}

/* ── Logo ─────────────────────────────────────────────── */
.nav-logo {
	font-family: 'BD', sans-serif;
	font-size: 1.4rem;
	color: var(--primary-yellow);
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.nav-logo:hover {
	color: var(--primary-orange);
}

/* ── Hamburger button ─────────────────────────────────── */
.nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1002;
}

.nav-toggle-bar {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--primary-yellow);
	border-radius: 3px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle--open .nav-toggle-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.nav-toggle--open .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle--open .nav-toggle-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ── Menu (mobile : panneau coulissant) ───────────────── */
.nav-menu {
	list-style: none;
	margin: 0;
	padding: 70px 24px 24px;
	position: fixed;
	top: 0;
	left: 0;
	width: 80%;
	max-width: 320px;
	height: 100vh;
	background: #1a1a1a;
	border-right: 2px solid var(--card-border);
	transform: translateX(-110%);
	transition: transform 0.35s ease;
	overflow-y: auto;
	z-index: 1001;
}

.nav-menu--open {
	transform: translateX(0);
}

.nav-menu li {
	margin-bottom: 4px;
}

.nav-menu a {
	display: block;
	padding: 10px 12px;
	color: #ddd;
	text-decoration: none;
	font-size: 1rem;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover {
	background: rgba(255, 204, 0, 0.1);
	color: var(--primary-yellow);
}

.nav-link--danger {
	color: #e74c3c !important;
}

.nav-link--danger:hover {
	background: rgba(231, 76, 60, 0.12) !important;
}

/* ── Séparateur ───────────────────────────────────────── */
.nav-separator {
	height: 1px;
	background: var(--card-border);
	margin: 10px 0;
}

/* ── Sélecteur de langue (dropdown) ───────────────────── */
.nav-lang {
	position: relative;
}

.nav-lang-btn {
	display: flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 204, 0, 0.08);
	border: 1px solid rgba(255, 204, 0, 0.35);
	color: var(--primary-yellow);
	font-size: 0.88rem;
	font-weight: 700;
	padding: 6px 10px;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s, border-color 0.2s;
	width: 100%;
}

.nav-lang-btn:hover {
	background: rgba(255, 204, 0, 0.18);
	border-color: var(--primary-yellow);
}

.nav-lang-arrow {
	font-size: 0.65rem;
	transition: transform 0.2s;
}

.nav-lang-btn[aria-expanded="true"] .nav-lang-arrow {
	transform: rotate(180deg);
}

.nav-lang-dropdown {
	display: none;
	list-style: none;
	margin: 4px 0 0 0;
	padding: 6px;
	background: rgba(15, 15, 15, 0.97);
	border: none;
	border-radius: 0;
	z-index: 1050;
}

.nav-lang-dropdown.open {
	display: block;
}

.nav-lang-item {
	display: block;
	padding: 8px 14px;
	color: #ccc;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
	border-radius: 5px;
	transition: background 0.15s, color 0.15s;
}

.nav-lang-item:hover {
	background: rgba(255, 204, 0, 0.12);
	color: var(--primary-yellow);
}

.nav-lang-item--active {
	color: var(--primary-yellow);
	background: rgba(255, 204, 0, 0.15);
	cursor: default;
	pointer-events: none;
}

/* ── Barre tokens utilisateur ─────────────────────────── */
.nav-user-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 8px;
	padding: 8px 12px;
	background: rgba(255, 204, 0, 0.08);
	border-radius: 8px;
	text-align: center;
}

.nav-messages {
	position: relative;
	display: inline-grid !important;
	width: 34px;
	height: 32px;
	padding: 0 !important;
	place-items: center;
	border: 1px solid rgba(255, 204, 0, .32);
	border-radius: 9px;
	background: rgba(255, 204, 0, .06);
	color: var(--primary-yellow) !important;
	text-decoration: none;
}
.nav-messages:hover { background: rgba(255, 204, 0, .15) !important; }
.nav-messages__icon { font-size: 1.05rem; line-height: 1; }
.nav-messages__badge {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	place-items: center;
	border: 2px solid #08090b;
	border-radius: 999px;
	background: #ff3b55;
	color: #fff;
	font-size: .62rem;
	font-weight: 900;
	line-height: 1;
}
.nav-messages__badge--empty { background: #343944; color: #aeb5c2; }
.nav-tokens {
	color: var(--primary-yellow);
	font-weight: 600;
	font-size: 0.9rem;
}

/* ── Desktop : menu horizontal ────────────────────────── */
@media screen and (min-width: 768px) {
	.nav-toggle {
		display: none;
	}

	.nav-menu {
		position: static;
		transform: none;
		width: auto;
		max-width: none;
		height: auto;
		background: transparent;
		border: none;
		padding: 0;
		display: flex;
		align-items: center;
		gap: 2px;
		overflow: visible;
	}

	.nav-menu li {
		margin-bottom: 0;
	}

	.nav-menu a {
		padding: 8px 10px;
		font-size: 0.88rem;
		white-space: nowrap;
	}

	.nav-separator {
		width: 1px;
		height: 24px;
		margin: 0 6px;
		background: var(--card-border);
	}

	/* Dropdown langue — desktop : position absolue sous le bouton */
	.nav-lang-btn {
		width: auto;
	}

	.nav-lang-dropdown {
		position: absolute;
		right: 0;
		top: calc(100% + 6px);
		min-width: 90px;
		border: 1px solid var(--card-border);
		border-radius: 8px;
		box-shadow: 0 8px 24px rgba(0,0,0,0.6);
		margin: 0;
	}

	.nav-lang-item {
		text-align: center;
	}

	.nav-user-bar {
		margin-top: 0;
		margin-left: 4px;
		padding: 6px 10px;
	}
}

/* ── Large desktop : espace plus aéré ─────────────────── */
@media screen and (min-width: 1024px) {
	.nav-menu a {
		padding: 8px 14px;
		font-size: 0.92rem;
	}
}

/* ==================== ONGLETS PARTAGÉS ==================== */
.site-tabs {
	display: flex;
	gap: 6px;
	margin: 20px 0 24px;
	border-bottom: 2px solid var(--card-border);
	flex-wrap: wrap;
}
.site-tab {
	padding: 12px 22px;
	border-radius: 10px 10px 0 0;
	background: rgba(255,255,255,.05);
	color: #aaa;
	text-decoration: none;
	font-weight: bold;
	font-size: .95em;
	border: 2px solid transparent;
	border-bottom: none;
	transition: all .25s;
	cursor: pointer;
	font-family: inherit;
}
.site-tab:hover:not(.site-tab--disabled) {
	color: #fff;
	background: rgba(255,255,255,.1);
}
.site-tab--active {
	background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
	color: #000 !important;
	border-color: var(--primary-orange);
}
.site-tab--disabled {
	opacity: .35;
	cursor: not-allowed;
	pointer-events: none;
}
.site-tab-badge {
	display: inline-block;
	background: #ef4444;
	color: #fff;
	font-size: .65em;
	font-weight: 700;
	padding: 1px 7px;
	border-radius: 8px;
	margin-left: 6px;
	vertical-align: middle;
	min-width: 16px;
	text-align: center;
}
.site-tab-soon {
	display: inline-block;
	background: rgba(255,255,255,.15);
	color: #aaa;
	font-size: .65em;
	padding: 1px 8px;
	border-radius: 8px;
	margin-left: 6px;
	vertical-align: middle;
	font-weight: normal;
}

/* ── Onglets mobile : boutons ─────────────────────────── */
@media screen and (max-width: 767px) {
	.site-tabs {
		gap: 8px;
		border-bottom: none;
	}
	.site-tab {
		flex: 1 1 auto;
		text-align: center;
		padding: 12px 10px;
		border-radius: 10px;
		border: 2px solid rgba(255,255,255,.12);
		background: rgba(255,255,255,.06);
		font-size: .85em;
	}
	.site-tab--active {
		border-color: var(--primary-orange);
	}
}

.big{
	font : 2em "Cambria";
	border : none;
	padding : 0 8px;
	margin-left:auto;
	margin-right:auto;
	margin  : 0;
	border-radius: 4px;
}

p{
	font : 1.3em "Cambria";
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  table {
    display: table;
  }
}

th, td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  word-wrap: break-word;
  text-align: left;
}

th {
  background: linear-gradient(135deg, #FFCC00 0%, #FFA500 100%);
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

td {
  background-color: #f9f9f9;
}

tr:hover td {
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

tr:nth-child(even) td {
  background-color: #f5f5f5;
}

tr:nth-child(even):hover td {
  background-color: #e8e8e8;
}

.table_connexion {
	width: 35%;
	margin-left: auto;
  	margin-right: auto;
	background-color: #CCCCCC;
}

.table_admin {
	width: 35%;
	margin-left: auto;
  	margin-right: auto;
	background-color: #CCCCCC;
}

.txt_cgv{
	width:80%;
	resize:none;
}

.input_nok{
	border:thick #FF0000 solid;
}

#ins_error_div{
	width: 60%;
	margin-left: auto;
  	margin-right: auto;
	margin-bottom: 15px;
	background-color: #CCCCCC;
	padding: 2%;
	border: thin #FF0000 solid;
}

#tri_box {

	background-color: #CCCCCC;
	float: left;
	border: 1% none #000000;
	margin: 1%;
	width: 29%;
	padding: 1%;
}


/* Mobile first - par défaut */
.big {
	width: 95%;
}

#perso_menu .las {
	font-size: 2.5em;
}

.table_inscription {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
}

.table_connexion {
	width: 95%;
}

.table_admin {
	width: 100%;
}

#bloc_menu_admin {
	width: 100%;
}

#tri_box {
	width: 100%;
}

.product {
	flex: 1 1 100%;
	min-width: unset;
}

/* Tablettes */
@media screen and (min-width: 768px) {
	.big {
		width: 80%;
	}

	#perso_menu .las {
		font-size: 3.5em;
	}

	.table_connexion {
		width: 70%;
	}
	
	.table_admin {
		width: 85%;
	}
	
	#bloc_menu_admin {
		width: 45%;
	}
	
	#tri_box {
		width: 48%;
	}
	
	.product {
		flex: 1 1 calc(50% - 20px);
		min-width: 280px;
	}
	
	#corp {
		width: 85%;
	}
	
	#pied {
		width: 85%;
	}
}

/* PC / Desktop */
@media screen and (min-width: 1200px) {
	.big {
		width: 70%;
	}

	#perso_menu .las {
		font-size: 5em;
	}
	
	.table_inscription {
		width: 60%;
	}
	
	.table_connexion {
		width: 35%;
	}
	
	.table_admin {
		width: 70%;
	}
	
	#bloc_menu_admin {
		width: 20%;
	}
	
	#tri_box {
		width: 31%;
	}
	
	.product {
		flex: 1 1 calc(33.33% - 20px);
		min-width: 280px;
	}
	
	#corp {
		width: 80%;
	}
	
	#pied {
		width: 80%;
	}
}

/* Large Desktop */
@media screen and (min-width: 1400px) {
	#corp,
	#pied {
		max-width: 1300px;
	}
}

/* Ultra-wide */
@media screen and (min-width: 1920px) {
	#corp,
	#pied {
		max-width: 1500px;
	}
}

/* ==================== GRILLE DE CARTES RÉUTILISABLE ==================== */
/* Mobile first : 1 colonne par défaut */
.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	padding: 20px 0;
}

@media screen and (min-width: 600px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 1024px) {
	.card-grid { grid-template-columns: repeat(3, 1fr); }

	.card-grid--center-last {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.card-grid--center-last > .game-card {
		grid-column: span 2;
	}

	.card-grid--center-last > .game-card:nth-last-child(2):nth-child(3n + 1) {
		grid-column: 2 / span 2;
	}
}

/* ── Carte de jeu ─────────────────────────────────────── */
.game-card {
	display: flex;
	flex-direction: column;
	background: var(--card-bg);
	border: 2px solid var(--card-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	text-decoration: none;
	color: inherit;
}

.game-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 25px rgba(255, 204, 0, 0.35);
	border-color: var(--primary-yellow);
}

.game-card-img img {
	width: 100%;
	height: auto;
	display: block;
}

.game-card-body {
	padding: 16px;
}
.game-icon-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}


.game-card-body h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 1.15rem;
	color: var(--primary-yellow);
}

.game-card-icon {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 1.15em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.game-card-icon-dot {
	fill: currentColor;
	stroke: none;
}

.game-card-body p {
	margin: 0;
	font-size: 0.92rem;
	color: #ccc;
	line-height: 1.45;
}

/* ── Carte informative (non cliquable) ────────────────── */
.game-card--static {
	cursor: default;
}
.game-card--static:hover {
	transform: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	border-color: var(--card-border);
}

/* ── Intro / note de page ─────────────────────────────── */
.page-intro {
	color: #ddd;
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 8px 0 4px;
}
.page-note {
	color: #cfcfcf;
	font-size: 0.95rem;
	margin: 18px 0;
}
.page-note a {
	color: var(--primary-yellow);
	text-decoration: none;
}
.page-note a:hover { text-decoration: underline; }

/* ── Badge d'état ─────────────────────────────────────── */
.badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.6;
}
.badge--open { background: rgba(255, 204, 0, 0.18); color: var(--primary-yellow); }
.badge--live { background: rgba(46, 204, 113, 0.18); color: #4ade80; }
.badge--duel { background: rgba(120, 100, 255, 0.20); color: #a99bff; }

/* ── Écran de jeu « Conquête stratégique » ────────────────── */
.go-game { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.go-game__stage { position: relative; flex: 1 1 420px; min-width: 300px; }
.go-canvas { width: 100%; height: 60vh; min-height: 360px; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #1a1f3a 0%, #0b0e1a 100%); border: 2px solid var(--card-border); }
.go-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.go-hud { position: absolute; top: 10px; left: 12px; display: flex; gap: 12px; font-size: 0.9rem; color: #fff; background: rgba(0,0,0,0.35); padding: 6px 10px; border-radius: 8px; }
.go-hud #go-timer { color: var(--primary-yellow); }

.go-action-status {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 204, 0, 0.08);
	border: 1px solid rgba(255, 204, 0, 0.18);
	color: #e8e8e8;
	font-size: 0.85rem;
	line-height: 1.5;
}

.go-action-status strong {
	color: var(--primary-yellow);
}

.go-action-status__item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
}

.go-action-status__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: 700;
	color: #111;
}

.go-action-status__icon--expand { background: linear-gradient(135deg, #ffcc00 0%, #ff9f1a 100%); }
.go-action-status__icon--reinforce { background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%); }
.go-action-status__icon--deploy { background: linear-gradient(135deg, #ffe45e 0%, #f59e0b 100%); }

.go-panel { flex: 0 0 300px; background: var(--card-bg); border: 2px solid var(--card-border); border-radius: 14px; padding: 16px; color: #ddd; }
.go-panel h3 { color: var(--primary-yellow); margin-top: 0; }
.go-panel__budgets { display: grid; gap: 7px; margin: 10px 0 12px; }
.go-panel__budget { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; margin: 0; padding: 8px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; font-size: .82rem; background: rgba(255,255,255,.035); }
.go-panel__budget strong { color: #fff3a6; font-variant-numeric: tabular-nums; }
.go-panel__budget small { grid-column: 1 / -1; color: #8e96a6; font-size: .64rem; }
.go-panel__budget--vote { border-color: rgba(255, 212, 0, .3); background: rgba(255, 212, 0, .055); }
.go-panel__budget--vote strong { color: #ffd400; }
.go-scoreboard { margin: 12px 0 14px; padding: 10px; border: 1px solid rgba(255, 204, 0, 0.35); border-radius: 10px; background: linear-gradient(145deg, rgba(10, 15, 35, 0.95), rgba(32, 25, 55, 0.88)); box-shadow: inset 0 0 18px rgba(0,0,0,0.35), 0 0 12px rgba(255, 204, 0, 0.08); }
.go-scoreboard__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; color: var(--primary-yellow); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.go-scoreboard__header em { color: #8190b9; font-size: 0.56rem; font-style: normal; letter-spacing: 0.04em; }
.go-scoreboard__row { display: grid; grid-template-columns: 18px 13px minmax(0, 1fr) auto; gap: 6px; align-items: center; margin-top: 6px; padding: 6px 6px 5px; border: 1px solid rgba(255,255,255,0.08); border-radius: 7px; background: rgba(255,255,255,0.035); }
.go-scoreboard__row.is-mine { border-color: rgba(255, 204, 0, 0.65); background: rgba(255, 204, 0, 0.09); }
.go-scoreboard__rank { color: #77809d; font-size: 0.72rem; font-weight: 800; text-align: center; }
.go-scoreboard__swatch { width: 12px; height: 12px; border: 1px solid rgba(255,255,255,0.45); border-radius: 3px; }
.go-scoreboard__team { min-width: 0; overflow: hidden; color: #f4f5ff; font-size: 0.8rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.go-scoreboard__team small { color: #ffcf4a; font-size: 0.62rem; text-transform: uppercase; }
.go-scoreboard__points { color: #fff3a6; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.go-scoreboard__bar { grid-column: 3 / -1; display: block; height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,0.12); }
.go-scoreboard__bar b { display: block; height: 100%; min-width: 2px; border-radius: inherit; box-shadow: 0 0 7px currentColor; }
.go-panel__hint { font-size: 0.8rem; color: #888; margin: 12px 0; }

.go-legend { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; font-size: 0.85rem; }
.go-legend__item i { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 3px; margin-right: 6px; vertical-align: middle; }

.go-sel { border-top: 1px solid var(--card-border); margin-top: 10px; padding-top: 10px; }
.go-sel h4 { margin: 0 0 6px; }
.go-deployment-controls { display: grid; gap: 6px; margin: 10px 0; padding: 10px; border: 1px solid rgba(255, 212, 0, .32); border-radius: 10px; background: rgba(255, 212, 0, .06); }
.go-deployment-controls[hidden] { display: none; }
.go-deployment-controls label { color: #ffe45e; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.go-deployment-controls select { width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 8px 10px; color: #fff; background: #20242e; }
.go-deployment-controls small { color: #aeb5c2; font-size: .7rem; line-height: 1.35; }.go-credit-input { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 10px; font-size: 0.9rem; color: #eee; }
.go-credit-input input { border: 1px solid var(--card-border); border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,0.08); color: #fff; }
.go-actions { display: flex; gap: 8px; margin: 8px 0; }
.go-actions .btn { flex: 1; }
.go-actions .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.go-msg { font-size: 0.85rem; color: var(--primary-yellow); min-height: 1.2em; }

@media (max-width: 720px) { .go-panel { flex-basis: 100%; } }

/* ── Bloc contenu réutilisable ────────────────────────── */
.bloc-contenu {
	background: var(--card-bg);
	border: 2px solid var(--card-border);
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	color: #ddd;
}

.bloc-contenu h3 {
	color: var(--primary-yellow);
	margin-top: 0;
}

/* ── Image responsive ─────────────────────────────────── */
.img-responsive {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}

/* ==================== ÉTAT VIDE (empty state) ==================== */
.empty-state {
	text-align: center;
	padding: 40px 20px;
}

.empty-state-icon {
	display: block;
	font-size: 3rem;
	margin-bottom: 12px;
	opacity: 0.6;
}

.empty-state p {
	color: #bbb;
	font-size: 1.1rem;
	margin: 0 0 6px;
}

.empty-state-sub {
	font-size: 0.9rem !important;
	color: #888 !important;
}

/* ==================== CARTES TARIFS ==================== */
.pricing-card {
	position: relative;
	background: var(--card-bg);
	border: 2px solid var(--card-border);
	border-radius: 14px;
	padding: 24px 16px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(255, 204, 0, 0.25);
	border-color: var(--primary-yellow);
}

.pricing-card--popular {
	border-color: var(--primary-yellow);
}

.pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
	color: #111;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 14px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pricing-header {
	font-size: 1.1rem;
	font-weight: 600;
	color: #eee;
	margin-bottom: 8px;
}

.pricing-price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-yellow);
	line-height: 1.2;
}

.pricing-detail {
	font-size: 0.85rem;
	color: #999;
	margin-top: 4px;
}

/* ==================== BLOCS UTILITAIRES ==================== */
.info-block {
	background: rgba(255, 255, 255, 0.04);
	border-left: 3px solid var(--primary-yellow);
	border-radius: 0 8px 8px 0;
	padding: 12px 16px;
	margin: 16px 0;
}

.info-block p {
	margin: 0;
	color: #ccc;
	line-height: 1.5;
}

.feature-list {
	list-style: none;
	padding: 0;
	margin: 12px 0;
}

.feature-list li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: #ddd;
	font-size: 0.95rem;
}

.feature-list li:last-child {
	border-bottom: none;
}

/* ==================== SYSTÈME D'ACCORDÉON ==================== */
.accordion {
	margin: 15px 0;
}

.accordion-item {
	background: var(--card-bg);
	border: 2px solid var(--card-border);
	border-radius: 10px;
	margin-bottom: 15px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
}

.accordion-item:hover {
	border-color: var(--primary-yellow);
	box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

.accordion-header {
	background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
	color: #000;
	padding: 15px 20px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
	font-size: 1.2em;
	user-select: none;
	transition: all 0.3s ease;
}

.accordion-header:hover {
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
}

.accordion-header i {
	font-size: 1.5em;
	transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
	transform: rotate(180deg);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 20px;
}

.accordion-item.active .accordion-content {
	max-height: 2000px;
	padding: 20px;
}

.accordion-content p, .accordion-content ul {
	color: #ccc;
	line-height: 1.6;
	margin: 10px 0;
}

/* ==================== CARDS MOBILE-FIRST ==================== */
.card-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 10px 0;
}

.card {
	background: var(--card-bg);
	border: 2px solid var(--card-border);
	border-radius: 15px;
	padding: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
	position: relative;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
	border-color: var(--primary-yellow);
}

.card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
	border-bottom: 2px solid var(--card-border);
	padding-bottom: 10px;
}

.card-title {
	color: var(--primary-yellow);
	font-size: 1.4em;
	font-weight: bold;
	margin: 0;
}

.card-badge {
	background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
	color: #000;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.9em;
	font-weight: bold;
	text-transform: uppercase;
}

.card-badge.success {
	background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
	color: white;
}

.card-badge.pending {
	background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.card-badge.error {
	background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
	color: white;
}

.card-body {
	color: #ccc;
}

.card-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 10px 0;
}

.card-info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 5px;
	border-left: 3px solid var(--primary-yellow);
}

.card-info-label {
	font-weight: bold;
	color: var(--primary-yellow);
}

.card-info-value {
	color: #fff;
}

.card-actions {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.card-btn {
	background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
	color: #000;
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	font-size: 1em;
}

.card-btn:hover {
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 204, 0, 0.6);
}

.card-btn.secondary {
	background: linear-gradient(135deg, #555 0%, #333 100%);
	color: white;
}

.card-btn.secondary:hover {
	background: linear-gradient(135deg, #666 0%, #444 100%);
}

/* Responsive - grille sur tablette/desktop */
@media screen and (min-width: 768px) {
	.card-container.grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 20px;
	}
}

@media screen and (min-width: 1200px) {
	.card-container.grid {
		grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	}
}

/* ==================== AUTH / FORMULAIRE PAGE ==================== */

.auth-page {
	display: flex;
	justify-content: center;
	padding: 30px 0;
}

.auth-page .bloc-contenu {
	max-width: 500px;
	width: 100%;
	text-align: center;
}

.auth-page h2 {
	color: var(--primary-yellow);
	font-size: 1.6rem;
	margin: 0 0 8px;
}

.auth-subtitle {
	color: #bbb;
	font-size: 0.95rem;
	margin: 0 0 24px;
}

.auth-form {
	text-align: left;
}

.auth-field {
	margin-bottom: 18px;
}

.auth-field label {
	display: block;
	color: var(--primary-yellow);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.auth-field input {
	width: 100%;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 2px solid var(--card-border);
	border-radius: 8px;
	color: #eee;
	font-size: 1rem;
	transition: border-color 0.3s;
	box-sizing: border-box;
}

.auth-field input:focus {
	outline: none;
	border-color: var(--primary-yellow);
}

.auth-field input::placeholder {
	color: #777;
}

.auth-submit {
	width: 100%;
	margin-top: 6px;
	padding: 14px;
	font-size: 1rem;
}

.auth-footer {
	margin-top: 20px;
	font-size: 0.9rem;
}

.auth-footer a {
	color: var(--primary-yellow);
	text-decoration: none;
}

.auth-footer a:hover {
	text-decoration: underline;
}

/* ── Contact ────────────────────────────────────────── */
.contact-card .card-info {
	text-align: left;
	margin-top: 20px;
}

.contact-mail-link {
	color: var(--primary-yellow);
	text-decoration: none;
	font-weight: 600;
}

.contact-mail-link:hover {
	text-decoration: underline;
}

/* ==================== PAGE CONNEXION ==================== */

.login-container {
	max-width: 500px;
	margin: 0 auto;
	padding: 20px 0;
}

.login-separator {
	text-align: center;
	position: relative;
	margin: 20px 0;
}

.login-separator span {
	background: var(--gray1, #1a1a1a);
	padding: 0 16px;
	position: relative;
	z-index: 1;
	color: #888;
	font-weight: 600;
}

.login-separator::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--card-border);
}

.login-forgot {
	color: var(--primary-yellow);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
}

.login-forgot:hover {
	text-decoration: underline;
}

/* ── Alertes login ──────────────────────────────────── */
.login-alert {
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.login-alert--error {
	background: rgba(244, 67, 54, 0.12);
	color: #f44336;
	border: 1px solid #f44336;
}

.login-alert--warning {
	background: rgba(255, 152, 0, 0.12);
	color: #ff9800;
	border: 1px solid #ff9800;
}

/* ==================== PAGE BOUTIQUE ==================== */

.boutique-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

.boutique-grid {
	grid-template-columns: 1fr !important;
}

@media screen and (min-width: 600px) {
	.boutique-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media screen and (min-width: 1024px) {
	.boutique-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ── Carte produit ──────────────────────────────────── */
.boutique-product-name {
	color: var(--primary-yellow);
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.boutique-product-price {
	font-size: 1.3rem;
	font-weight: 700;
	color: #4CAF50;
	margin: 0 0 8px;
}

.boutique-product-desc {
	font-size: 0.9rem;
	color: #bbb;
	margin: 0 0 14px;
	line-height: 1.5;
}

/* ── Panier ─────────────────────────────────────────── */
.boutique-cart {
	margin-bottom: 20px;
}

.boutique-cart-list {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
}

.boutique-cart-list li {
	color: #ccc;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.92rem;
}

.boutique-cart-list li:last-child {
	border-bottom: none;
}

.boutique-cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.boutique-cart-remove {
	background: none;
	border: none;
	color: #f44336;
	font-size: 1rem;
	cursor: pointer;
	padding: 2px 6px;
	border-radius: 4px;
	transition: background 0.2s;
}

.boutique-cart-remove:hover {
	background: rgba(244, 67, 54, 0.15);
}

.boutique-cart-total {
	font-weight: 700;
	color: var(--primary-yellow);
	font-size: 1.1rem;
	margin: 8px 0 14px;
}

.boutique-cart-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.boutique-cart-btn {
	font-size: 0.9rem;
	padding: 10px 18px;
}

/* ==================== PAGE INSCRIPTION ==================== */

.inscription-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 16px 0;
}

.inscription-separator {
	text-align: center;
	position: relative;
	margin: 20px 0;
}

.inscription-separator span {
	background: var(--gray1, #1a1a1a);
	padding: 0 16px;
	position: relative;
	z-index: 1;
	color: #888;
	font-weight: 600;
}

.inscription-separator::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--card-border);
}

.inscription-errors {
	background: rgba(244, 67, 54, 0.12);
	color: #f44336;
	border: 1px solid #f44336;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	line-height: 1.6;
}

.inscription-submit {
	width: 100%;
	margin-top: 20px;
	padding: 14px;
	font-size: 1.05rem;
}

/* ── Champs du formulaire inscription ───────────────── */
.reg-field {
	margin-bottom: 18px;
}

.reg-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--primary-yellow);
	font-size: 0.9rem;
}

.reg-required {
	color: #f44336;
	font-weight: 700;
}

.reg-input {
	width: 100%;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 2px solid var(--card-border);
	border-radius: 8px;
	color: #eee;
	font-size: 1rem;
	transition: border-color 0.3s;
	box-sizing: border-box;
}

.reg-input:focus {
	outline: none;
	border-color: var(--primary-yellow);
}

.reg-input::placeholder {
	color: #777;
}

.reg-input--error {
	border-color: #f44336 !important;
	background: rgba(244, 67, 54, 0.06);
}

.reg-hint {
	display: block;
	margin-top: 4px;
	font-size: 0.82rem;
	color: #888;
}

/* ── Captcha ────────────────────────────────────────── */
.reg-captcha {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.reg-captcha-img {
	height: 55px;
	border: 2px solid var(--primary-yellow);
	border-radius: 8px;
}

.reg-captcha-reload {
	font-size: 1.6rem;
	text-decoration: none;
	transition: transform 0.3s;
}

.reg-captcha-reload:hover {
	transform: rotate(180deg);
}

.reg-captcha .reg-input {
	flex: 1;
	min-width: 160px;
}

/* ── Checkbox CGU ───────────────────────────────────── */
.reg-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	user-select: none;
	color: #ccc;
}

.reg-checkbox {
	margin-top: 3px;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: var(--primary-yellow);
}

/* ── Texte légal (dans accordéon) ───────────────────── */
.reg-legal-text {
	padding: 12px;
	border-radius: 8px;
	max-height: 280px;
	overflow-y: auto;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #ccc;
}

.reg-legal-text h4 {
	margin-top: 0;
	color: var(--primary-yellow);
}

/* ── Google bouton wrapper ──────────────────────────── */
.google-btn-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

/* ── Loader overlay (Google sign-in) ────────────────── */
.inscription-loader {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.inscription-loader-box {
	background: var(--card-bg);
	padding: 32px 40px;
	border-radius: 14px;
	text-align: center;
	color: #eee;
	border: 2px solid var(--primary-yellow);
}

/* ── Accordion arrow (sans line-awesome) ────────────── */
.accordion-arrow {
	font-size: 0.8em;
	transition: transform 0.3s;
}

.accordion-item.active .accordion-arrow {
	transform: rotate(180deg);
}

@media screen and (max-width: 767px) {
	.inscription-container {
		padding: 8px 0;
	}

	.reg-input {
		font-size: 16px; /* évite le zoom iOS */
	}
}

/* ==================== PAGE COMPTE ==================== */

.account-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

.account-container .page-header {
	text-align: center;
	margin-bottom: 30px;
}

.account-container .page-header h1 {
	color: var(--primary-yellow);
	font-size: 2rem;
	margin: 0 0 8px;
}

.account-container .page-header p {
	color: #bbb;
	font-size: 1rem;
	margin: 0;
}

/* Grille 1 col mobile, 2 col desktop */
.account-grid {
	grid-template-columns: 1fr !important;
}
@media screen and (min-width: 768px) {
	.account-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Avatar ─────────────────────────────────────────── */
.avatar-section {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 22px;
	padding: 18px 20px;
	margin-bottom: 18px;
	background:
		radial-gradient(circle at 28% 35%, rgba(255, 204, 0, 0.13), transparent 35%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
	border: 1px solid rgba(255, 204, 0, 0.2);
	border-radius: 14px;
}

.avatar-wrapper {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
}

.avatar-image {
	display: block;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	border: 3px solid var(--primary-yellow);
	box-shadow: 0 7px 24px rgba(255, 204, 0, 0.24);
	object-fit: cover;
}

.avatar-change-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 0.85rem;
	padding: 10px 20px;
	border-radius: 25px;
	background: linear-gradient(135deg, #4CAF50, #45a049) !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(76, 175, 80, 0.2);
}

.avatar-change-btn:hover {
	box-shadow: 0 4px 12px rgba(76, 175, 80, 0.5);
	transform: translateY(-1px);
}

/* ── Informations du profil ────────────────────────── */
.account-profile-card .card-info {
	gap: 10px;
}

.account-profile-card .card-info-item {
	min-height: 50px;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	box-sizing: border-box;
}

.account-profile-card .card-info-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.account-profile-card .card-info-value {
	min-width: 0;
	text-align: right;
	overflow-wrap: anywhere;
}

/* La date contient un formulaire et une explication : elle occupe toute la ligne. */
.account-profile-card .account-birth-date {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	gap: 12px;
	padding: 16px;
	background: linear-gradient(135deg, rgba(255, 204, 0, 0.075), rgba(255, 255, 255, 0.04));
}

.account-birth-date__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.account-birth-date__status,
.account-birth-date__value {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.24);
	color: #d1d5db;
	font-size: 0.78rem;
	line-height: 1.25;
	text-align: right;
}

.account-birth-date__value {
	color: #fff;
	font-weight: 700;
}

.account-birth-date__form {
	display: grid;
	grid-template-columns: minmax(170px, 1fr) auto;
	align-items: stretch;
	gap: 10px;
}

.account-birth-date__input {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid #4b5563;
	border-radius: 9px;
	background: #111827;
	color: #f3f4f6;
	color-scheme: dark;
	font: inherit;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.account-birth-date__input:focus {
	border-color: var(--primary-yellow);
	box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.16);
}

.account-birth-date__save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	margin: 0;
	padding: 9px 16px;
	border-radius: 9px;
	font-size: 0.88rem;
	line-height: 1.2;
	white-space: nowrap;
}

.account-birth-date__save:hover {
	transform: translateY(-1px);
}

.account-birth-date__save:disabled {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.account-birth-date__note {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 9px;
	align-items: start;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid rgba(96, 165, 250, 0.2);
	border-radius: 9px;
	background: rgba(30, 64, 175, 0.11);
	color: #cbd5e1;
	font-size: 0.78rem;
	line-height: 1.5;
}

.account-birth-date__note--locked {
	border-color: rgba(134, 239, 172, 0.2);
	background: rgba(22, 101, 52, 0.12);
}

.account-birth-date__note-icon {
	line-height: 1.45;
}

.account-birth-date__message {
	min-height: 0;
	margin: 0;
	font-size: 0.82rem;
}

.account-birth-date__message:empty {
	display: none;
}

/* ── Token highlight ────────────────────────────────── */
.card-info-item--highlight {
	background: linear-gradient(135deg, rgba(255, 204, 0, 0.12), rgba(255, 204, 0, 0.05)) !important;
	border-left: 5px solid var(--primary-yellow) !important;
}

.card-info-value--tokens {
	color: var(--primary-yellow) !important;
	font-size: 1.3em;
}

/* ── Actions compte (liens de navigation) ───────────── */
.account-actions-card {
	margin-top: 4px;
}

.account-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.account-action-link {
	display: flex;
	align-items: center;
	padding: 16px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 10px;
	text-decoration: none;
	color: #ddd;
	border: 2px solid transparent;
	transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.account-action-link:hover {
	border-color: var(--primary-yellow);
	background: rgba(255, 204, 0, 0.08);
	transform: translateX(6px);
}

.account-action-icon {
	font-size: 1.8rem;
	margin-right: 16px;
	min-width: 36px;
	text-align: center;
}

.account-action-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.account-action-title {
	font-weight: 700;
	color: var(--primary-yellow);
	font-size: 1.05rem;
	margin-bottom: 3px;
}

.account-action-desc {
	font-size: 0.85rem;
	color: #999;
}

.account-action-arrow {
	font-size: 1.4rem;
	color: #666;
	transition: color 0.3s, transform 0.3s;
}

.account-action-link:hover .account-action-arrow {
	color: var(--primary-yellow);
	transform: translateX(4px);
}

/* ── Modal upload avatar ────────────────────────────── */
.account-modal {
	max-width: 550px;
	border: 2px solid var(--primary-yellow);
	border-radius: 16px;
	padding: 30px;
}

.account-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--card-border);
}

.account-modal-header h2 {
	color: var(--primary-yellow);
	font-size: 1.4rem;
	margin: 0;
}

.account-modal .close-modal {
	font-size: 2rem;
	color: #999;
	cursor: pointer;
	transition: color 0.3s, transform 0.3s;
	line-height: 1;
}

.account-modal .close-modal:hover {
	color: var(--primary-yellow);
	transform: rotate(90deg);
}

.upload-zone {
	border: 3px dashed var(--card-border);
	border-radius: 12px;
	padding: 32px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.3s, background 0.3s;
	margin-bottom: 20px;
}

.upload-zone:hover {
	border-color: var(--primary-yellow);
	background: rgba(255, 204, 0, 0.04);
}

.upload-zone.dragover {
	border-color: #4CAF50;
	background: rgba(76, 175, 80, 0.08);
}

.upload-zone-icon {
	display: block;
	font-size: 3rem;
	margin-bottom: 12px;
}

.upload-zone-text {
	color: #ddd;
	font-size: 1rem;
	margin: 0 0 6px;
}

.upload-zone-hint {
	color: #888;
	font-size: 0.85rem;
	margin: 0;
}

.upload-preview {
	text-align: center;
	margin: 16px 0;
}

.upload-preview-img {
	max-width: 200px;
	max-height: 200px;
	border-radius: 50%;
	border: 3px solid var(--primary-yellow);
	box-shadow: 0 4px 16px rgba(255, 204, 0, 0.25);
	display: none;
}

.upload-progress {
	width: 100%;
	height: 26px;
	background: #1a1a1a;
	border-radius: 13px;
	overflow: hidden;
	margin: 16px 0;
	display: none;
}

.upload-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #4CAF50, #45a049);
	width: 0%;
	transition: width 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
}

.upload-btn {
	width: 100%;
	margin-top: 12px;
	padding: 14px;
	font-size: 1rem;
	border-radius: 25px;
	background: linear-gradient(135deg, #4CAF50, #45a049) !important;
	color: #fff !important;
}

.upload-btn:disabled {
	background: #555 !important;
	cursor: not-allowed;
	opacity: 0.5;
}

.upload-btn:hover:not(:disabled) {
	box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
	transform: translateY(-2px);
}

.upload-status {
	text-align: center;
	padding: 12px;
	border-radius: 8px;
	margin-top: 16px;
	display: none;
}

.upload-status.success {
	background: rgba(76, 175, 80, 0.15);
	color: #4CAF50;
	border: 1px solid #4CAF50;
}

.upload-status.error {
	background: rgba(244, 67, 54, 0.15);
	color: #f44336;
	border: 1px solid #f44336;
}

@media screen and (max-width: 767px) {
	.account-container .page-header h1 {
		font-size: 1.6rem;
	}

	.avatar-section {
		padding: 16px;
		gap: 16px;
	}

	.avatar-image {
		width: 90px;
		height: 90px;
	}

	.account-action-link {
		padding: 12px;
	}

	.account-action-icon {
		font-size: 1.5rem;
		margin-right: 12px;
	}

	.account-modal {
		margin: 10% 10px;
		padding: 20px;
	}
}

@media screen and (max-width: 520px) {
	.account-grid,
	.account-profile-card,
	.account-profile-card .card-body,
	.account-profile-card .card-info,
	.account-profile-card .card-info-item {
		min-width: 0;
		max-width: 100%;
	}

	.account-profile-card {
		width: 100%;
		padding: 16px;
		overflow: hidden;
	}

	.account-profile-card .card-info-item:not(.account-birth-date) {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.account-profile-card .card-info-value:not(.account-birth-date__value) {
		width: 100%;
		text-align: left;
	}

	.avatar-section {
		flex-direction: column;
		text-align: center;
	}

	.account-birth-date__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.account-birth-date__status,
	.account-birth-date__value {
		text-align: left;
	}

	.account-birth-date__form {
		grid-template-columns: minmax(0, 1fr);
	}

	.account-birth-date__save {
		width: 100%;
	}

}

/* ==================== CHASSE AU TRÉSOR ==================== */

/* ── Hero block ───────────────────────────────────────── */
.hunt-hero {
	text-align: center;
	padding: 40px 20px;
}

.hunt-hero-icon {
	display: block;
	font-size: 5rem;
	margin-bottom: 16px;
	animation: hunt-bounce 2s ease infinite;
}

@keyframes hunt-bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-12px); }
}

.hunt-hero-subtitle {
	font-size: 1.3rem;
	font-weight: 600;
	color: #4CAF50;
	margin: 0 0 16px;
}

.hunt-hero-desc {
	font-size: 1rem;
	color: #ccc;
	max-width: 650px;
	margin: 0 auto 24px;
	line-height: 1.7;
}

/* ── Barre de progression ─────────────────────────────── */
.hunt-progress {
	width: 100%;
	max-width: 500px;
	height: 32px;
	background: #1a1a1a;
	border-radius: 16px;
	border: 2px solid var(--card-border);
	overflow: hidden;
	margin: 0 auto 24px;
}

.hunt-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--primary-yellow), var(--primary-orange));
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #000;
	font-size: 0.85rem;
	transition: width 1s ease;
	box-shadow: 0 0 12px rgba(255, 204, 0, 0.5);
}

/* ── Badge « Bientôt disponible » ─────────────────────── */
.hunt-badge {
	display: inline-block;
	background: linear-gradient(135deg, #4CAF50, #45a049);
	color: #fff;
	padding: 10px 28px;
	border-radius: 24px;
	font-size: 1rem;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(76, 175, 80, 0.35);
	animation: hunt-pulse 2s ease infinite;
}

@keyframes hunt-pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.04); }
}

/* ── Règles du jeu ────────────────────────────────────── */
.hunt-rules {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hunt-rule {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: rgba(255, 255, 255, 0.03);
	padding: 14px 16px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.hunt-rule-icon {
	font-size: 1.6rem;
	flex-shrink: 0;
	line-height: 1;
	margin-top: 2px;
}

.hunt-rule strong {
	display: block;
	color: var(--primary-yellow);
	margin-bottom: 4px;
	font-size: 1rem;
}

.hunt-rule p {
	margin: 0;
	font-size: 0.92rem;
	color: #ccc;
	line-height: 1.5;
}

/* ── Cartes fonctionnalités ───────────────────────────── */
.hunt-feature {
	text-align: center;
	padding: 28px 16px;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.hunt-feature:hover {
	transform: translateY(-4px);
	border-color: var(--primary-yellow);
	box-shadow: 0 8px 25px rgba(255, 204, 0, 0.25);
}

.hunt-feature-icon {
	display: block;
	font-size: 2.8rem;
	margin-bottom: 12px;
}

.hunt-feature h3 {
	color: var(--primary-yellow);
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.hunt-feature p {
	color: #bbb;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

/* ── Lien retour ──────────────────────────────────────── */
.hunt-back {
	text-align: center;
	margin: 24px 0 8px;
}

/* ==================== ESCAPE GAME — LISTING ==================== */

/* ── Toolbar (recherche + header) ─────────────────────── */
.eg-toolbar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.eg-toolbar__header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.eg-toolbar__header h3 {
	margin: 0;
	color: var(--primary-yellow);
	font-size: 1.25em;
}

.eg-toolbar__count {
	color: var(--primary-orange);
	font-size: .95em;
	font-weight: 600;
}

.eg-toolbar__form {
	margin: 0;
}

.eg-toolbar__search-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.eg-toolbar__input {
	flex: 1;
	min-width: 160px;
	padding: 10px 14px;
	border-radius: 8px;
	border: 2px solid var(--card-border);
	background: #1e1e1e;
	color: #fff;
	font-size: 1rem;
	transition: border-color .2s;
}

.eg-toolbar__input:focus {
	outline: none;
	border-color: var(--primary-yellow);
	box-shadow: 0 0 0 3px rgba(255, 204, 0, .15);
}

.eg-toolbar__info {
	color: var(--primary-orange);
	margin: 0;
	font-size: .95em;
}

.escape-pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
}

.escape-page-current {
	padding: 10px 14px;
	border-radius: 8px;
	border: 2px solid var(--primary-yellow);
	background: rgba(255, 204, 0, 0.12);
	color: var(--primary-yellow);
	font-weight: 800;
}

.tx-pagination-wrap {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.tx-pagination-info {
	color: #aaa;
	font-size: 0.95em;
	text-align: center;
}

.tx-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.tx-pagination-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	padding: 10px 14px;
	border-radius: 8px;
	border: 2px solid var(--card-border);
	background: rgba(255,255,255,.04);
	color: #ddd;
	text-decoration: none;
	font-weight: 700;
	transition: all .2s ease;
}

.tx-pagination-link:hover {
	border-color: var(--primary-yellow);
	color: var(--primary-yellow);
	background: rgba(255, 204, 0, 0.1);
}

.tx-pagination-link--active {
	border-color: var(--primary-yellow);
	background: rgba(255, 204, 0, 0.14);
	color: var(--primary-yellow);
	pointer-events: none;
}

/* Image de couverture sur carte */
.card-cover {
	width: 100%;
	height: 180px;
	background-position: center;
	background-size: cover;
	border-radius: 13px 13px 0 0;
}

.card-intro {
	color: #aaa;
	font-size: 0.95em;
	margin-bottom: 14px;
	line-height: 1.5;
}

/* Flèche accordéon (Unicode, pas d'icône) */
.accordion-arrow {
	font-size: 0.85em;
	transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
	transform: rotate(180deg);
}

@media screen and (min-width: 600px) {
	.eg-toolbar__header {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.eg-toolbar__search-row {
		flex-wrap: nowrap;
	}

	.eg-toolbar__input {
		max-width: 300px;
	}
}

/* ==================== ESCAPE SHOP — FICHE ==================== */

.shop-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.shop-title-row h3 {
	margin: 0;
	color: var(--primary-yellow);
}

.shop-author-badge {
	font-size: .9rem;
	color: #bbb;
	background: rgba(255,255,255,.06);
	border: 1px solid var(--card-border);
	border-radius: 20px;
	padding: 5px 14px;
	white-space: nowrap;
}

.shop-cover {
	max-width: 600px;
	margin: 16px auto;
	border-radius: 12px;
	overflow: hidden;
}

.shop-text {
	color: #ccc;
	font-size: 1rem;
	line-height: 1.7;
	background: rgba(255, 255, 255, 0.04);
	padding: 16px;
	border-radius: 8px;
	border-left: 4px solid #4CAF50;
	margin-bottom: 16px;
}

.shop-info-grid {
	grid-template-columns: 1fr !important;
}

@media screen and (min-width: 600px) {
	.shop-info-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media screen and (min-width: 1024px) {
	.shop-info-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

.shop-info-card {
	background: rgba(255, 215, 0, 0.06);
	padding: 18px;
	border-radius: 10px;
	border: 2px solid var(--card-border);
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.shop-info-card:hover {
	border-color: var(--primary-yellow);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
}

.shop-info-card--highlight {
	background: rgba(255, 215, 0, 0.12);
	border-color: var(--primary-yellow);
}

.shop-info-label {
	display: block;
	font-size: 0.8rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.shop-info-value {
	display: block;
	font-size: 1.1rem;
	color: #fff;
	font-weight: 700;
}

.shop-info-price {
	color: var(--primary-yellow);
	font-size: 1.3rem;
}

/* Bouton d'action centré */
.shop-action {
	text-align: center;
	margin-top: 24px;
}

.card-btn.success {
	background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
	color: #fff;
}

.card-btn.success:hover {
	background: linear-gradient(135deg, #45a049 0%, #388E3C 100%);
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5);
}

/* Notice (info/auteur) */
.shop-notice {
	padding: 20px;
	border-radius: 12px;
	text-align: center;
	max-width: 500px;
	margin: 0 auto;
}

.shop-notice--info {
	background: rgba(33, 150, 243, 0.1);
	border: 2px solid #2196F3;
}

.shop-notice-icon {
	display: block;
	font-size: 2.4rem;
	margin-bottom: 8px;
}

.shop-notice strong {
	color: #90CAF9;
	font-size: 1.1rem;
}

.shop-notice p {
	color: #bbb;
	font-size: 0.9rem;
	margin: 6px 0 14px;
}

/* Feedback après achat */
.shop-feedback {
	background: linear-gradient(135deg, #4CAF50, #45a049);
	color: #fff;
	border-left: 5px solid var(--primary-yellow);
	line-height: 1.6;
}

/* Retour */
.shop-back {
	text-align: center;
	margin: 24px 0 8px;
}

/* ==================== TRANSACTIONS ==================== */

.txn-id {
	font-size: 0.8em;
	word-break: break-all;
}

/* ==================== PANIER ==================== */

.panier-topbar {
	margin-bottom: 20px;
}

.panier-total {
	text-align: right;
	font-size: 1.25rem;
	color: var(--primary-yellow);
	padding: 16px 0;
	border-top: 2px solid var(--card-border);
	margin-top: 16px;
}

.panier-pay {
	text-align: center;
	margin-top: 20px;
}

.panier-paypal-btn {
	background: linear-gradient(135deg, #0070ba 0%, #003087 100%) !important;
	color: #fff !important;
	padding: 14px 32px;
	font-size: 1.1rem;
	border-radius: 10px;
}

.panier-paypal-btn:hover {
	background: linear-gradient(135deg, #003087 0%, #001c5e 100%) !important;
	box-shadow: 0 4px 15px rgba(0, 112, 186, 0.5);
}

/* ==================== PDT — RETOUR PAYPAL ==================== */

.pdt-card {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.pdt-card--success {
	border-color: #4CAF50;
}

.pdt-card--error {
	border-color: #ff9800;
}

.pdt-icon {
	font-size: 4rem;
	margin-bottom: 12px;
}

.pdt-card h3 {
	margin-top: 0;
}

.pdt-msg {
	font-size: 1.05rem;
	color: #ccc;
	line-height: 1.7;
	margin-bottom: 20px;
}

.pdt-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== PAGE BIBLIOTHÈQUE ==================== */

.lib-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

.lib-container .page-header {
	text-align: center;
	margin-bottom: 24px;
}

.lib-container .page-header h1 {
	color: var(--primary-yellow);
	font-size: 1.8rem;
	margin: 0 0 6px;
}

.lib-container .page-header p {
	color: #aaa;
	margin: 0;
}

/* ── Grille de cartes bibliothèque ──────────────────── */
.lib-grid {
	grid-template-columns: 1fr;
}

@media screen and (min-width: 600px) {
	.lib-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 1024px) {
	.lib-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Carte jeu bibliothèque ─────────────────────────── */
.lib-card {
	display: flex;
	flex-direction: column;
	background: var(--card-bg);
	border: 2px solid var(--card-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lib-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(255, 204, 0, 0.35);
	border-color: var(--primary-yellow);
}

.lib-card-img {
	width: 100%;
	height: 160px;
	background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lib-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lib-card-placeholder {
	font-size: 3.5rem;
}

.lib-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.lib-card-title {
	margin: 0;
	font-size: 1.15rem;
	color: var(--primary-yellow);
	font-weight: bold;
}

.lib-card-intro {
	margin: 0;
	font-size: 0.88rem;
	color: #ccc;
	line-height: 1.45;
	max-height: 4.5em;
	overflow: hidden;
}

/* ── Badges ─────────────────────────────────────────── */
.lib-badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: bold;
	width: fit-content;
}

.lib-badge--new {
	background: linear-gradient(135deg, #4CAF50, #45a049);
	color: #fff;
}

.lib-badge--progress {
	background: linear-gradient(135deg, #2196F3, #1976D2);
	color: #fff;
}

.lib-badge--victory {
	background: linear-gradient(135deg, #FFD700, #FFC107);
	color: #000;
}

/* ── Actions carte ──────────────────────────────────── */
.lib-card-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: auto;
	padding-top: 8px;
}

.lib-btn-play {
	background: linear-gradient(135deg, #4CAF50, #45a049) !important;
	color: #fff !important;
}

.lib-btn-play:hover {
	background: linear-gradient(135deg, #45a049, #388E3C) !important;
}

.lib-btn-raz {
	background: linear-gradient(135deg, #ff9800, #f57c00) !important;
	color: #fff !important;
}

.lib-btn-raz:hover {
	background: linear-gradient(135deg, #f57c00, #ef6c00) !important;
}

/* ── Modal RAZ ──────────────────────────────────────── */
.lib-modal {
	border-color: #ff9800;
	box-shadow: 0 10px 40px rgba(255, 152, 0, 0.4);
}

.lib-modal h2 {
	color: var(--primary-yellow);
	margin-top: 0;
}

.lib-modal-game {
	font-size: 1.15rem;
	color: #ff9800;
	margin: 16px 0;
}

.lib-modal-warn {
	color: #ccc;
	line-height: 1.6;
}

.lib-modal-danger {
	color: #ffeb3b;
	font-size: 0.85rem;
	margin-top: 10px;
}

.lib-modal-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 20px;
}

/* ==================== FOOTER ==================== */

.footer-nav {
	margin-bottom: 16px;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 8px 24px;
	flex-wrap: wrap;
}

.footer-links li a {
	color: #ccc;
	text-decoration: none;
	font-size: 0.92rem;
	transition: color 0.2s;
}

.footer-links li a:hover {
	color: var(--primary-yellow);
}

.footer-copy {
	margin: 12px 0 0;
	font-size: 0.82rem;
	color: #888;
}

/* ==================== PAGES LÉGALES ==================== */

.legal-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px 0;
}

.legal-container .page-header {
	text-align: center;
	margin-bottom: 24px;
}

.legal-container .page-header h1 {
	color: var(--primary-yellow);
	font-size: 1.6rem;
	margin: 0;
}

.legal-text {
	color: #ccc;
	line-height: 1.8;
	font-size: 0.95rem;
}

.legal-text p {
	margin: 0 0 16px;
}

.legal-text strong {
	color: #eee;
}

/* ==================== LEADERBOARD ==================== */

.lb-filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: flex-end;
	margin-bottom: 28px;
	padding: 16px;
	background: rgba(255,255,255,.04);
	border-radius: 12px;
	border: 1px solid var(--card-border);
}

.lb-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 140px;
}

.lb-filter-group label {
	font-size: .8em;
	color: var(--primary-yellow);
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.lb-filter-group select {
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid var(--card-border);
	background: #1a1a1a;
	color: #fff;
	font-size: .95em;
	cursor: pointer;
}

.lb-filters .card-btn {
	height: fit-content;
	align-self: flex-end;
	padding: 8px 24px;
}

.lb-mode-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}
.lb-mode-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,.15);
	background: rgba(255,255,255,.06);
	color: #ccc !important;
	transition: background .2s, border-color .2s;
}
.lb-mode-pill:hover {
	background: rgba(255,255,255,.12);
	border-color: rgba(255,255,255,.3);
}
.lb-mode-pill--active {
	background: rgba(255,204,0,.18) !important;
	border-color: rgba(255,204,0,.5) !important;
	color: #ffe680 !important;
}

.lb-compare-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255,204,0,.25);
	background: rgba(255,204,0,.08);
	color: #f2e3a2;
	font-size: .95rem;
}

.lb-config-section {
	margin-bottom: 26px;
}

.lb-config-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 14px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,.08);
	background: rgba(255,255,255,.04);
}

.lb-game-cover {
	width: clamp(150px, 24vw, 260px);
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid rgba(255,204,0,.38);
	box-shadow: 0 10px 28px rgba(0,0,0,.3);
}

.lb-config-main {
	min-width: 220px;
}

.lb-config-title {
	margin: 0;
	font-size: 1.1rem;
	color: #fff;
}

.lb-config-sub {
	margin: 6px 0 0;
	color: #bdbdbd;
	font-size: .92rem;
}

.lb-config-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.lb-config-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.06);
	color: #ededed;
	font-size: .82rem;
	white-space: nowrap;
}

.lb-theme-breakdown {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lb-theme-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.06);
	font-size: .82rem;
	color: #ededed;
}

.lb-theme-chip strong {
	color: var(--primary-yellow) !important;
}

.lb-podium {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 12px;
	margin: 0 auto 32px;
	max-width: 700px;
}

.lb-podium-item {
	flex: 1;
	max-width: 220px;
	text-align: center;
	padding: 20px 12px 16px;
	border-radius: 16px;
	border: 2px solid var(--card-border);
	background: var(--card-bg);
	transition: all .3s;
	position: relative;
}

.lb-podium-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(255,204,0,.3);
}

.lb-podium--1 {
	order: 2;
	border-color: #FFD700;
	min-height: 200px;
	box-shadow: 0 0 30px rgba(255,215,0,.25);
}

.lb-podium--2 {
	order: 1;
	border-color: #C0C0C0;
	min-height: 170px;
}

.lb-podium--3 {
	order: 3;
	border-color: #CD7F32;
	min-height: 150px;
}

.lb-podium--me {
	box-shadow: 0 0 20px rgba(0,200,255,.4);
	border-color: #00c8ff;
}

.lb-podium-medal {
	font-size: 2.4em;
	margin-bottom: 6px;
}

.lb-podium-pseudo {
	font-size: 1.15em;
	font-weight: bold;
	color: #fff;
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lb-podium-score {
	font-size: 1.5em;
	font-weight: bold;
	background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.lb-podium-meta {
	font-size: .78em;
	color: #999;
	margin-top: 6px;
}

.lb-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 2px solid var(--card-border);
	background: #1a1a1a;
}

.lb-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .92em;
	display: table;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0;
	color: #e8e8e8 !important;
}

.lb-table thead {
	background: #ffcc00 !important;
}

.lb-table th {
	padding: 14px 10px;
	color: #111 !important;
	font-weight: bold;
	text-transform: uppercase;
	font-size: .78em;
	letter-spacing: .6px;
	text-align: left;
	white-space: nowrap;
	border-bottom: 2px solid #e6b800 !important;
	background: transparent !important;
}

.lb-table th,
.lb-table td {
	border: 1px solid rgba(255,255,255,.10) !important;
}

.lb-table tbody tr {
	background: #1a1a1a !important;
	color: #e8e8e8 !important;
}

.lb-table tbody tr:nth-child(even) {
	background: #222 !important;
}

.lb-table td {
	padding: 12px 10px;
	color: #e8e8e8 !important;
	background: transparent !important;
	border-bottom: 1px solid rgba(255,255,255,.08) !important;
	vertical-align: middle;
}

.lb-table td,
.lb-table td a,
.lb-table td span,
.lb-table td strong {
	color: inherit !important;
}

.lb-table tbody tr:hover {
	background: rgba(255,204,0,.12) !important;
}

.lb-table tbody tr:hover td {
	background: transparent !important;
}

.lb-table tbody tr:nth-child(even) td {
	background: transparent !important;
}

.lb-table tbody tr:nth-child(even):hover td {
	background: transparent !important;
}

.lb-row--me {
	background: rgba(0,200,255,.08) !important;
}

.lb-row--me td {
	color: #fff !important;
}

.lb-row--top td {
	font-weight: 600;
}

.lb-me-badge {
	display: inline-block;
	background: linear-gradient(135deg, #00c8ff, #0088ff);
	color: #fff;
	padding: 1px 8px;
	border-radius: 10px;
	font-size: .72em;
	font-weight: bold;
	margin-left: 6px;
	vertical-align: middle;
}

.lb-mode-badge {
	display: inline-block;
	background: rgba(255,255,255,.12) !important;
	padding: 3px 10px;
	border-radius: 8px;
	font-size: .85em;
	color: #f2f2f2 !important;
}

.lb-rank {
	font-weight: bold;
	font-size: 1.1em;
	color: #b8b8b8 !important;
}

.lb-rank--gold {
	font-size: 1.5em;
}

.lb-rank--silver {
	font-size: 1.4em;
}

.lb-rank--bronze {
	font-size: 1.3em;
}

.lb-col-rank {
	width: 50px;
	text-align: center;
}

.lb-col-score {
	text-align: right;
}

.lb-col-score strong {
	color: var(--primary-yellow) !important;
	font-size: 1.1em;
}

.lb-col-runs {
	text-align: center;
}

.lb-match-history {
	margin-top: 28px;
}

.lb-match-history h4 {
	color: var(--primary-yellow);
	font-size: 1.15rem;
	margin: 0 0 12px;
}

.lb-match-history__empty {
	background: rgba(255,255,255,.04);
	border-radius: 10px;
	color: #aaa;
	padding: 14px;
}

.lb-match-list {
	display: grid;
	gap: 10px;
}

.lb-match-card {
	background: #1a1a1a;
	border: 1px solid rgba(255,204,0,.28);
	border-radius: 12px;
	padding: 12px 14px;
}

.lb-match-card__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.lb-match-card__head time {
	color: #aaa;
	font-size: .82rem;
}

.lb-match-card__head strong {
	color: #b9ffd0;
	font-size: .88rem;
}

.lb-match-card__teams {
	align-items: stretch;
	display: flex;
	gap: 10px;
	justify-content: center;
}

.lb-match-card__team {
	background: rgba(255,255,255,.055);
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 9px;
	display: grid;
	flex: 1;
	gap: 3px;
	max-width: 360px;
	padding: 9px 12px;
	text-align: center;
}

.lb-match-card__team small {
	color: #999;
	font-size: .72rem;
	text-transform: uppercase;
}

.lb-match-card__team span {
	color: #f2f2f2;
	font-weight: 700;
}

.lb-match-card__team.is-winner {
	background: rgba(38,126,75,.24);
	border-color: #43c977;
}

.lb-match-card__team.is-winner small {
	color: #b9ffd0;
}

.lb-match-card__versus {
	align-self: center;
	color: var(--primary-yellow);
	font-size: .78rem;
	font-weight: 900;
}
@media screen and (max-width: 767px) {
	.lb-config-header {
		flex-direction: column;
		align-items: stretch;
	}

	.lb-game-cover {
		width: 100%;
		max-height: 260px;
	}

	.lb-config-badges {
		justify-content: flex-start;
	}

	.lb-col-theme-breakdown {
		display: none;
	}

	.lb-podium {
		flex-direction: column;
		align-items: stretch;
	}

	.lb-podium-item {
		max-width: none;
		order: unset !important;
		min-height: auto;
	}

	.lb-podium--1 {
		order: -1 !important;
	}

	.lb-col-date {
		display: none;
	}

	.lb-table th,
	.lb-table td {
		padding: 10px 6px;
		font-size: .85em;
	}

	.lb-match-card__teams {
		align-items: stretch;
		flex-direction: column;
	}

	.lb-match-card__team {
		max-width: none;
	}

	.lb-match-card__versus {
		align-self: center;
	}
}

/* ==================== PAGE PARTENAIRES ==================== */

.partners-page {
	max-width: 860px;
}

.partners-page .page-header-sub {
	color: #aaa;
	font-size: .95rem;
	line-height: 1.7;
	margin-top: 10px;
}

/* Carte partenaire */
.partner-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: var(--card-bg);
	border: 2px solid var(--card-border);
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 4px 15px rgba(0,0,0,.5);
	transition: border-color .3s ease, box-shadow .3s ease;
}

.partner-card:hover {
	border-color: var(--primary-yellow);
	box-shadow: 0 8px 28px rgba(255,204,0,.25);
}

/* Bande d'icône à gauche (desktop) */
.partner-card__logo-wrap {
	background: rgba(255,204,0,.07);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 20px;
}

.partner-card__icon {
	font-size: 2.8rem;
	line-height: 1;
}

.partner-card__body {
	padding: 22px 24px 20px;
	color: #ccc;
	line-height: 1.7;
}

.partner-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.partner-card__header h2 {
	margin: 0;
	color: var(--primary-yellow);
	font-size: 1.35rem;
}

.partner-card__body p {
	margin: 0 0 12px;
}

.partner-card__body strong {
	color: #eee;
}

/* Tags caractéristiques */
.partner-card__tags {
	list-style: none;
	padding: 0;
	margin: 14px 0 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.partner-card__tags li {
	background: rgba(255,255,255,.07);
	border: 1px solid var(--card-border);
	border-radius: 20px;
	padding: 4px 12px;
	font-size: .82rem;
	color: #bbb;
}

/* Badge de catégorie */
.partner-tag {
	padding: 3px 10px;
	border-radius: 20px;
	font-size: .78rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .04em;
	white-space: nowrap;
}

.partner-tag--event  { background: rgba(255,100,50,.18);  color: #ff8c5a; border: 1px solid rgba(255,100,50,.35); }
.partner-tag--studio { background: rgba(100,150,255,.18); color: #7aaaff; border: 1px solid rgba(100,150,255,.35); }
.partner-tag--labs   { background: rgba(80,220,150,.18);  color: #6de4a8; border: 1px solid rgba(80,220,150,.35); }

/* Lien externe */
.partner-card__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--primary-yellow);
	text-decoration: none;
	font-weight: bold;
	font-size: .9rem;
	transition: color .2s ease;
}

.partner-card__link:hover {
	color: var(--primary-orange);
	text-decoration: underline;
}

/* CTA bas de page */
.partner-cta {
	text-align: center;
	margin-top: 8px;
}

.partner-cta h3 {
	color: var(--primary-yellow);
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.1rem;
}

.partner-cta p {
	color: #bbb;
	margin-bottom: 18px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* Disposition côte à côte sur desktop */
@media screen and (min-width: 700px) {
	.partner-card {
		flex-direction: row;
	}

	.partner-card__logo-wrap {
		min-width: 100px;
		padding: 28px 24px;
		border-right: 2px solid var(--card-border);
	}
}
