:root {
  --primary-yellow: #ffd700;
  --secondary-yellow: #c6a700;
  --dark-bg: #111111;
  --light-bg: #1a1a1a;
  --text-white: #f5f5f5;
  --text-gray: #aaaaaa;
  --font-main: "Rajdhani", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-white);
  font-family: var(--font-main);
  overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  font-weight: 700;
}

.text-yellow {
  color: var(--primary-yellow);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  height: 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(
    0,
    0,
    0,
    0.85
  ); /* Fond transparent au début pour voir la vidéo */
  border-bottom: 2px solid var(--primary-yellow);
  padding: 0;
  transition: background 0.3s, transform 0.3s; /* Animation fluide */
}

header.navbar-fixed {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95); /* Fond noir presque opaque */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid var(--primary-yellow);
  animation: slideDown 0.4s ease forwards; /* Effet de glissement vers le bas */
}

/* Animation d'apparition du menu */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* --- BOUTON RETOUR EN HAUT (BACK TO TOP) --- */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-yellow);
  color: #000;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;

  /* Par défaut : Caché */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;

  /* Effet néon */
  box-shadow: 0 0 10px var(--primary-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Quand le bouton devient visible */
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background-color: #fff;
  transform: scale(1.1);
}

/* 1. ZONE LOGO (GAUCHE) - FORME DIAGONALE */
.logo-wrapper {
  background-color: #000; /* Fond totalement noir */
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 40px;
  padding-right: 80px; /* Espace large pour la coupe diagonale */

  clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0 100%);

  position: relative;
  z-index: 2;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  height: 90px;
  width: auto;
}

.brand-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 2. ZONE MENU (DROITE) */
.nav-container {
  flex: 1; /* Prend le reste de la place après le logo */
  display: flex;
  align-items: center;
  padding-right: 40px;
  height: 100%;
  background: transparent;
  position: sticky;
}

/* On cible la balise <nav> pour qu'elle prenne la place centrale */
.nav-container nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
/* 2. Style du lien ACTIF (La page en cours) */
.nav-links a.active {
  color: var(--primary-yellow) !important;
  position: relative;
}

/* Petit effet de soulignement pour le lien actif */
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px; /* Un peu sous le texte */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-yellow);
  box-shadow: 0 0 10px var(--primary-yellow);
}

.nav-links a.active i {
  color: var(--primary-yellow);
  transform: rotate(180deg);
}

.nav-links a i {
  font-size: 0.7rem;
  color: #666;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-yellow);
}

.nav-links a:hover i {
  color: var(--primary-yellow);
  transform: rotate(180deg);
}

/* 3. ZONE ACTIONS (LOGIN) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.icon-btn:hover {
  color: var(--primary-yellow);
}

.nav-divider {
  width: 1px;
  height: 30px;
  background-color: #444;
}

/* Bouton Login */
.btn-login-menu {
  font-weight: 700;
  color: #fff;
  border: 1px solid #444;
  padding: 8px 20px;
  border-radius: 2px;
  transition: 0.3s;
}

.btn-login-menu:hover {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

/* Utilisateur Connecté */
.user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-name {
  font-weight: bold;
  color: var(--primary-yellow);
}

.btn-mini-admin {
  font-size: 0.7rem;
  background: var(--primary-yellow);
  color: #000;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: bold;
}

.logout-icon {
  color: #666;
}
.logout-icon:hover {
  color: #ff4444;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  } /* On cache le menu texte */
  .logo-wrapper {
    padding-right: 10px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
  }
  .burger-menu {
    display: block;
  }
  .nav-divider,
  .icon-btn,
  .btn-login-menu,
  .user-menu {
    display: none;
  }
}

/* Burger Menu */
.burger-menu {
  display: none;
  cursor: pointer;
}
.burger-menu .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  margin: 5px 0;
  transition: 0.4s;
}
#burger{
    z-index: 1000!important;
}
/* --- MOBILE NAV --- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  z-index: 999;
  transition: 0.4s;
  border-left: 3px solid var(--primary-yellow);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* --- HERO SECTION --- */
.hero-banner {
  height: calc(100vh - 100px);
  width: 100vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: -1;
}


.btn-call-hero {
  position: absolute;
  left: 10%;
  z-index: 900;
  display: inline-block;
  padding: 24px;
  border: 2px solid var(--primary-yellow);
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s ease;
  background: transparent;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(255, 255, 0, 0); /* initial shadow */
  font-weight: 700;
}
.btn-call-hero-titre{
    font-size: 2.5rem;
}

.btn-call-hero .highlight {
  color: var(--primary-yellow);
  transition: color 0.4s ease;
}

.btn-call-hero .btn-call-hero-subtitre {
  display: block;

  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover effect */
.btn-call-hero:hover {
  background: var(--primary-yellow);
  color: black;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 20px 5px rgba(255, 255, 0, 0.7), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-call-hero:hover .highlight {
  color: black;
}

.btn-call-hero:hover .btn-call-hero-subtitre {
  transform: translateY(3px);
  opacity: 0.8;
}

/* Glow animation */
.btn-call-hero:hover {
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px 2px rgba(255, 255, 0, 0.5), 0 8px 20px rgba(0,0,0,0.3);
  }
  100% {
    box-shadow: 0 0 30px 10px rgba(255, 255, 0, 0.9), 0 8px 20px rgba(0,0,0,0.3);
  }
}

.hero-content h4 {
  letter-spacing: 5px;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.btn-hero {
  padding: 15px 40px;
  background-color: var(--primary-yellow);
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn-hero:hover {
  background-color: #fff;
  transform: scale(1.05);
}

/* --- SECTIONS GENERAL --- */
.section-padding {
  padding: 140px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
}

.section-header .line {
  width: 80px;
  height: 4px;
  background-color: var(--primary-yellow);
  margin-top: 10px;
}

.section-header .line-center {
  width: 80px;
  height: 4px;
  background-color: var(--primary-yellow);
  margin: 10px auto;
}
.center {
  text-align: center;
}

/* --- NEWS SECTION --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid transparent;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-yellow);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.news-img {
  height: 200px;
  width: 100%;
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: var(--primary-yellow);
  color: #000;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.news-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.read-more {
  color: var(--primary-yellow);
  font-weight: bold;
  font-size: 0.9rem;
}

.read-more i {
  margin-left: 5px;
  transition: 0.3s;
}

.news-card:hover .read-more i {
  margin-left: 10px;
}

/* --- ROSTERS SCROLL SECTION --- */
.dark-section {
  background-color: #000;
}

/* Le conteneur qui porte les dégradés */
.rosters-fade-container {
  position: relative;
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}
/* Les Dégradés (Gauche et Droite) */
.rosters-fade-container::before,
.rosters-fade-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px; /* Largeur du dégradé */
  height: 100%;
  z-index: 2; /* Au-dessus des cartes */
  pointer-events: none; /* IMPORTANT : Permet de cliquer à travers le dégradé */
  transition: opacity 0.3s ease;
  opacity: 0; /* Caché par défaut, le JS l'activera */
}
/* Dégradé GAUCHE (Jaune vers Transparent) */
.rosters-fade-container::before {
  left: 0;
  background: linear-gradient(to right, var(--primary-yellow), transparent);
}

/* Dégradé DROITE (Transparent vers Jaune) */
.rosters-fade-container::after {
  right: 0;
  background: linear-gradient(to left, var(--primary-yellow), transparent);
}

/* Classes activées par JS pour montrer les dégradés */
.rosters-fade-container.show-left::before {
  opacity: 1;
}
.rosters-fade-container.show-right::after {
  opacity: 1;
}
.rosters-scroll-wrapper {
  display: flex;
  gap: 30px;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 20px 0 40px 0;
  cursor: grab;
  user-select: none;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  scrollbar-width: none;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

/* Quand on clique (Main fermée) */
.rosters-scroll-wrapper.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

/* Le reste des styles (scrollbar webkit, roster-card...) reste inchangé */
.rosters-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.rosters-scroll-wrapper::-webkit-scrollbar-track {
  background: #111;
  border-radius: 4px;
}
.rosters-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary-yellow);
  border-radius: 4px;
}
/* --- DRAG TO SCROLL (Empêcher le fantôme) --- */
.rosters-scroll-wrapper a,
.rosters-scroll-wrapper img,
.roster-card {
  /* Désactive le Drag & Drop natif du navigateur */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-drag: none;
  /* Désactive la sélection de texte */
  user-select: none;
  -webkit-user-select: none;
}
.roster-card {
  flex: 0 0 auto; /* Ne pas grandir, ne pas rétrécir, taille auto */
  width: 320px;
  min-width: 320px;
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* Empêche l'écrasement */
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  transition: 0.4s;
  border: 1px solid #333;
}

.roster-card h3 {
  color: var(--primary-yellow) !important;
}

.roster-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-yellow);
}

/* Overlay sombre dégradé en bas */
.roster-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  z-index: 1;
}

.roster-info {
  position: absolute;
  bottom: 30px;
  left: 20px;
  z-index: 2;
  width: 90%;
}

.game-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px var(--primary-yellow);
}

.roster-info h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-style: italic;
}

.roster-desc {
  color: var(--text-gray);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.status {
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.status.recruiting {
  background-color: var(--primary-yellow);
  color: #000;
}

.status.closed {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
}

/* --- SECTION PARTENAIRES (SLIDER INFINI) --- */

.partners-slider {
  overflow: hidden; /* Cache ce qui dépasse */
  width: 100%;
  position: relative;
  padding: 40px 0; /* Un peu d'espace en haut/bas */

  /* Dégradés sur les côtés pour adoucir l'apparition/disparition (Optionnel mais joli) */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content; /* S'adapte à la longueur du contenu */
  /* L'animation : 30 secondes, linéaire, infinie */
  animation: scrollLogos 30s linear infinite;
}

/* Pause au survol pour pouvoir cliquer tranquillement */
.partners-track:hover {
  animation-play-state: paused;
}

.partner-slide {
  margin: 0 40px; /* Espace entre chaque logo */
  flex-shrink: 0; /* Empêche le logo de s'écraser */
  transition: 0.3s;
}

.partner-slide img {
  height: auto; /* Hauteur fixe pour uniformiser */
  width: 300px;
  max-width: 300px;
  object-fit: contain;

  /* Style par défaut : un peu sombre/gris */
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: 0.3s;
}

/* Au survol d'un logo spécifique */
.partner-slide:hover {
  transform: scale(1.1);
}

.partner-slide:hover img {
  filter: grayscale(0%) brightness(1); /* Couleur d'origine */
  opacity: 1;
}

/* L'ANIMATION DE DÉFILEMENT */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- SECTION HOME MÉDIA (STREAMERS & VODS) --- */

.media-split-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.media-column {
  flex: 1;
}

/* Lien "Tout voir" */
.view-all-link {
  font-size: 0.9rem;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid #000;
  display: inline-block;
  margin-top: 10px;
}
.view-all-link:hover {
  opacity: 0.7;
}

/* Séparateur Vertical Noir */
.media-divider {
  width: 2px;
  background-color: #000;
  opacity: 0.2;
  align-self: stretch; /* Prend toute la hauteur */
}

/* --- LISTE STREAMERS HOME --- */
.home-streamers-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.home-streamer-row {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05); /* Fond très léger */
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.home-streamer-row:hover {
  background: #000; /* Devient noir au survol */
  color: #fff; /* Texte blanc */
  transform: translateX(10px);
}

.home-streamer-row:hover p span {
  color: #fff !important;
}
.home-streamer-row:hover h4 {
  color: var(--primary-yellow);
}

/* Avatar */
.home-streamer-avatar {
  position: relative;
  margin-right: 15px;
}
.home-streamer-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #000;
}
.live-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #ff0000;
  border: 2px solid #fff;
  border-radius: 50%;
}

.home-streamer-info {
  flex: 1;
}
.home-streamer-info h4 {
  margin: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #000;
}
.home-streamer-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #444;
}

/* Bouton Mini */
.btn-mini-watch,
.btn-mini-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.home-streamer-row:hover .btn-mini-watch {
  background: var(--primary-yellow);
  color: #000;
}

/* --- GRILLE VODS HOME --- */
.home-vods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 20px;
}

.home-vod-card {
  display: block;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}

.home-vod-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.home-vod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.home-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--primary-yellow);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.home-vod-card:hover .home-vod-thumb img {
  transform: scale(1.1);
  filter: brightness(0.7);
}
.home-vod-card:hover .home-play-icon {
  transform: translate(-50%, -50%) scale(1);
}

.home-vod-details h5 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  line-height: 1.3;
}
.vod-meta {
  font-size: 0.8rem;
  color: #444;
  font-weight: bold;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .media-split-layout {
    flex-direction: column;
    gap: 40px;
  }
  .media-divider {
    display: none;
  }
  .media-column {
    width: 100%;
  }
}

/* --- FOOTER --- */
footer {
  background-color: #0a0a0a;
  padding: 30px 0;
  border-top: 1px solid #333;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.socials a {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-left: 20px;
}

.socials a:hover {
  color: var(--primary-yellow);
}

/* --- FOOTER STYLE --- */
/* Conteneur principal en grille */
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  text-align: left;
}

/* Titres des colonnes */
.footer-col h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: #000;
}

/* Texte de description */
.footer-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
  max-width: 450px;
}

/* Liens */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
  transition: 0.3s;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Contact Email */
.footer-email {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-decoration: none;
  color: #000;
}

/* Réseaux Sociaux */
.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 45px;
  height: 45px;
  border: 2px solid #000; /* Bordure noire */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: #000;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #000;
  color: var(--primary-yellow);
}

/* GROS LOGO EN BAS */
.footer-big-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.footer-big-logo img {
  height: 150px;
  width: auto;
}

.footer-big-logo span {
  font-family: "Rajdhani", sans-serif;
  font-size: 6rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -2px;
  color: #000;
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
  opacity: 0.8;
}

/* RESPONSIVE (Mobile) */
@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-col p {
    margin: 0 auto;
  }
  .footer-socials {
    justify-content: center;
  }

  .footer-big-logo {
    flex-direction: column;
  }
  .footer-big-logo span {
    font-size: 3.5rem;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links,
  .brand-text,
  .nav-icons .btn-login,
  .nav-icons .search-icon {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

/* 1. Classes de couleurs alternées */
.section-yellow {
  background-color: var(--primary-yellow);
  color: #000; /* Texte noir sur fond jaune */
  position: relative;
  z-index: 1;
}

.section-black {
  background-color: var(--dark-bg);
  color: var(--text-white);
  position: relative;
  z-index: 2;
}

/* 2. Effet "Bords Découpés" (Tech Border) */
/* --- TECH BORDER (HAUT SEULEMENT) --- */
.tech-border-top {
  position: relative;
  background-color: var(--primary-yellow);

  padding-top: 140px;
  padding-bottom: 140px;

  /* 1. Définition du motif du HAUT uniquement */
  --mask-pattern-top: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0 20 L0 10 L25 10 L35 0 L65 0 L75 10 L100 10 L100 20 Z" fill="black"/></svg>');

  /* 2. Application : Motif Haut + Bloc plein dessous */
  -webkit-mask-image: var(--mask-pattern-top), linear-gradient(#000, #000);
  mask-image: var(--mask-pattern-top), linear-gradient(#000, #000);

  /* 3. Position : Haut et Bas */
  -webkit-mask-position: top center, bottom center;
  mask-position: top center, bottom center;

  /* 4. Répétition */
  -webkit-mask-repeat: repeat-x, no-repeat;
  mask-repeat: repeat-x, no-repeat;
  /* 5. Taille */
  /* Note : le bloc du bas fait 100% de haut moins 19px pour chevaucher légèrement le motif du haut (évite les traits blancs) */
  -webkit-mask-size: 300px 20px, 100% calc(100% - 19px);
  mask-size: 300px 20px, 100% calc(100% - 19px);
}

/* --- TECH BORDER (BAS SEULEMENT) --- */
.tech-border-bottom {
  position: relative;
  background-color: var(--primary-yellow);

  /* Padding : Moins en haut (car plat), beaucoup en bas (pour le motif) */
  padding-top: 140px;
  padding-bottom: 140px;

  /* 1. Définition du motif du BAS uniquement */
  --mask-pattern-bottom: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0 0 L0 10 L25 10 L35 20 L65 20 L75 10 L100 10 L100 0 Z" fill="black"/></svg>');

  /* 2. Application : Bloc plein en haut + Motif en bas */
  -webkit-mask-image: linear-gradient(#000, #000), var(--mask-pattern-bottom);
  mask-image: linear-gradient(#000, #000), var(--mask-pattern-bottom);

  /* 3. Position */
  -webkit-mask-position: top center, bottom center;
  mask-position: top center, bottom center;

  /* 4. Répétition */
  -webkit-mask-repeat: no-repeat, repeat-x;
  mask-repeat: no-repeat, repeat-x;

  /* 5. Taille */
  /* Le bloc plein prend tout sauf les 19 derniers pixels */
  -webkit-mask-size: 100% calc(100% - 19px), 300px 20px;

  mask-size: 100% calc(100% - 19px), 300px 20px;
}

.tech-border {
  position: relative;
  background-color: var(--primary-yellow);

  /* Padding pour protéger le contenu */
  padding-top: 140px;
  padding-bottom: 140px;

  /* 1. Définition des motifs SVG (Identique à avant) */
  --mask-pattern-top: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0 20 L0 10 L25 10 L35 0 L65 0 L75 10 L100 10 L100 20 Z" fill="black"/></svg>');

  --mask-pattern-bottom: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0 0 L0 10 L25 10 L35 20 L65 20 L75 10 L100 10 L100 0 Z" fill="black"/></svg>');

  /* 2. Application */
  -webkit-mask-image: var(--mask-pattern-top), var(--mask-pattern-bottom),
    linear-gradient(#000, #000);
  mask-image: var(--mask-pattern-top), var(--mask-pattern-bottom),
    linear-gradient(#000, #000);

  /* 3. Position */
  -webkit-mask-position: top center, bottom center, center;
  mask-position: top center, bottom center, center;

  /* 4. Répétition */
  -webkit-mask-repeat: repeat-x, repeat-x, no-repeat;
  mask-repeat: repeat-x, repeat-x, no-repeat;

  /* 5. TAILLE MODIFIÉE ICI */
  /* J'ai passé la largeur de 100px à 300px pour étirer le motif */
  -webkit-mask-size: 300px 20px, 300px 20px, 100% calc(100% - 38px);

  mask-size: 300px 20px, 300px 20px, 100% calc(100% - 38px);
}

/* Ajustement spécifique pour les titres dans les sections jaunes */
.section-yellow h2,
.section-yellow h3 {
  color: #000;
  text-transform: uppercase;
  font-weight: 800;
}
.section-yellow .line {
  background-color: #000;
}

/* 3. Section "À Propos" */
.about-text {
  font-size: 2rem; /* Gros texte */
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.1;
  text-transform: uppercase;
  font-family: var(--font-main);
  position: relative;
  z-index: 2;
}

/* 1. On crée une classe spécifique pour la section À Propos */
.about-section-decorated {
  position: relative; /* Indispensable pour positionner la tache */
  overflow: hidden; /* Pour couper l'image si elle dépasse */
}

/* 2. On insère l'image via un pseudo-élément CSS (c'est plus propre que le HTML) */
.about-section-decorated::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;

  /* On charge l'image */
  background-image: url("../uploads/ink_splash.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;

  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

/* --- 4. Section CTA (Défilement infini) --- */
.cta-marquee-section {
  padding: 140px 0;
  overflow: hidden;
  height: 120px;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: scrollText 20s linear infinite;
}

.marquee-item {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-main);
  margin-right: 80px;
  display: flex;
  align-items: center;
  gap: 20px;

  /* EFFET CONTOUR (OUTLINE) */
  color: transparent;
  -webkit-text-stroke: 2px var(--primary-yellow);
}

/* Style spécifique pour l'icône */
.marquee-item i {
  font-size: 3rem;
  color: var(--primary-yellow);
  -webkit-text-stroke: 0;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 5. Ajustement Footer Jaune */
footer.section-yellow {
  border-top: none;
  padding: 140px 0;
  margin-top: 0;
}
footer.section-yellow p,
footer.section-yellow a {
  color: #000;
  font-weight: bold;
}
footer.section-yellow .socials a:hover {
  color: #fff;
}

/* --- PAGE ROSTER DETAILS --- */

/* 1. Roster Hero */
.roster-hero {
  height: 60vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), #000);
  z-index: 1;
}

.roster-hero-content {
  position: relative;
  z-index: 2;
}

.roster-game-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  box-shadow: 0 0 15px var(--primary-yellow);
  margin-bottom: 15px;
}

.roster-hero h1 {
  font-size: 4rem;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
}

/* Badge Recrutement */
.roster-status-badge {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid;
}
.roster-status-badge.open {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 15px var(--primary-yellow);
}
.roster-status-badge.closed {
  border-color: #ff4444;
  color: #ff4444;
  background: rgba(0, 0, 0, 0.8);
}

/* 2. Description */
.roster-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.desc-content {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-join-roster {
  display: inline-block;
  padding: 15px 30px;
  background: #000;
  color: var(--primary-yellow);
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #000;
  transition: 0.3s;
}
.btn-join-roster:hover {
  background: transparent;
  border-color: #000;
  color: #000;
}

/* 3. Members Grid (Cartes Joueurs) */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.member-card {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: 0.3s;
  overflow: hidden;
}

.member-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-yellow);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.member-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333;
  margin-bottom: 15px;
  transition: 0.3s;
}

.member-card:hover .member-avatar img {
  border-color: var(--primary-yellow);
}

.member-info h3 {
  margin: 0 0 5px 0;
  color: #fff;
  font-size: 1.2rem;
}

.member-role {
  font-size: 0.8rem;
  color: var(--primary-yellow);
  font-weight: bold;
}

/* Coin décoratif jaune sur la carte */
.card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 30px 30px 0;
  border-color: transparent var(--primary-yellow) transparent transparent;
  opacity: 0;
  transition: 0.3s;
}

.member-card:hover .card-corner {
  opacity: 1;
}

/* --- PROFIL PRIVÉ (Formulaire) --- */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-section {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 25px;
  border-radius: 8px;
}

.form-section h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--primary-yellow);
  font-size: 1.2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #aaa;
  font-size: 0.9rem;
}

.form-group label i {
  width: 20px;
  text-align: center;
  color: var(--primary-yellow);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: #111;
  border: 1px solid #444;
  color: #fff;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-yellow);
  outline: none;
}

.input-file {
  display: none;
}
.input-file + label {
  display: inline-block;
  padding: 8px 15px;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.3s;
}
.input-file + label:hover {
  background: var(--primary-yellow);
  color: #000;
}

.btn-save {
  background: var(--primary-yellow);
  color: #000;
  font-weight: 900;
  padding: 15px;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 20px;
}
.btn-save:hover {
  background: #fff;
}

/* --- PROFIL PUBLIC --- */
.profile-header-public {
  position: relative;
  padding-top: 150px;
  padding-bottom: 60px;
  text-align: center;
  background: #111;
  border-bottom: 2px solid var(--primary-yellow);
}

.profile-avatar-public img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--primary-yellow);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  object-fit: cover;
  margin-bottom: 20px;
}

.role-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  margin: 10px 0;
}
.role-badge.admin {
  background: var(--primary-yellow);
  color: #000;
}
.role-badge.member {
  background: #333;
  color: #fff;
  border: 1px solid #555;
}

.join-date {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

.profile-grid-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.profile-box {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #333;
}
.profile-box h3 {
  margin-top: 0;
  color: var(--primary-yellow);
  margin-bottom: 20px;
}

/* Liste Socials */
.social-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #222;
}
.social-row i {
  font-size: 1.2rem;
  width: 30px;
  text-align: center;
  color: #fff;
}
.social-row a {
  color: var(--primary-yellow);
  text-decoration: none;
}
.social-row a:hover {
  text-decoration: underline;
}

/* Liste Gaming */
.game-id-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #222;
}
.game-label {
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 10px;
}
.game-val {
  font-family: monospace;
  font-size: 1.1rem;
  color: #fff;
  background: #000;
  padding: 2px 8px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .form-grid,
  .profile-grid-display {
    grid-template-columns: 1fr;
  }
}

/* --- PROFILS PUBLICS : CARTES ROSTERS --- */
.member-rosters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.mini-roster-card {
  display: flex;
  align-items: center;
  background: #111;
  border: 1px solid #333;
  padding: 15px;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 4px;
}

.mini-roster-card:hover {
  border-color: var(--primary-yellow);
  transform: translateX(5px);
  background: #222;
}

.mini-roster-icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  border-radius: 4px;
  margin-right: 15px;
  border: 1px solid #333;
}

.mini-roster-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mini-roster-icon i {
  font-size: 1.5rem;
  color: #666;
}

.mini-roster-info {
  flex: 1;
}

.mini-game-name {
  display: block;
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mini-roster-name {
  margin: 2px 0 5px 0;
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.mini-roster-role {
  font-size: 0.85rem;
  color: #ccc;
}

.mini-roster-arrow {
  color: #444;
  transition: 0.3s;
}

.mini-roster-card:hover .mini-roster-arrow {
  color: var(--primary-yellow);
}

.profile-header-public {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #111;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}

.profile-cover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.4) blur(0px);
}

/* Optionnel: Ajout d'un dégradé pour mieux fondre le bas de l'image */
.profile-cover-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, #0f0f0f, transparent);
}

.profile-content-public {
  position: relative;
  z-index: 1;
  width: 100%;
}

.profile-avatar-public img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--primary-yellow, #ffd700);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  margin-bottom: 15px;
}

.profile-content-public h1 {
  font-family: "Teko", sans-serif;
  font-size: 3rem;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* --- PAGE ROSTERS (GRILLE) --- */
.rosters-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding-bottom: 50px;
}

/* On force la largeur à 100% quand c'est dans la grille de page (pour écraser le style du carousel) */
.rosters-page-grid .roster-card {
  width: 100%;
  min-width: auto;
  height: 500px;
}

/* Petit ajustement pour l'en-tête responsive */
@media (max-width: 768px) {
  .page-header-section h1 {
    font-size: 2.5rem !important;
  }
}

/* --- PAGE PARTENAIRES --- */

.partners-page-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto; /* Centré */
}

.partner-full-card {
  display: flex;
  background: #111;
  border: 1px solid #333;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  transition: 0.3s;
  min-height: 200px;
}

.partner-full-card:hover {
  border-color: var(--primary-yellow);
  transform: translateX(10px);
  background: #161616;
}

/* Zone Logo (Gauche) */
.partner-card-logo {
  width: 250px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #333;
  padding: 20px;
  flex-shrink: 0;
}

.partner-card-logo img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: 0.3s;
  opacity: 0.8;
}

.partner-full-card:hover .partner-card-logo img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Zone Info (Droite) */
.partner-card-info {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-card-info h3 {
  margin: 0 0 15px 0;
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.partner-desc {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 20px;
}

.partner-desc p {
  margin-bottom: 10px;
}

.visit-btn {
  color: var(--primary-yellow);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  align-self: flex-start;
}

.partner-full-card:hover .visit-btn i {
  margin-left: 10px;
  transition: 0.3s;
}

/* RESPONSIVE (Mobile) */
@media (max-width: 768px) {
  .partner-full-card {
    flex-direction: column;
  }
  .partner-card-logo {
    width: 100%;
    height: 150px;
    border-right: none;
    border-bottom: 1px solid #333;
  }
}

/* --- BOUTON DISCORD --- */
.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Taille fixe pour faire un carré/rond parfait */
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 1.3rem;
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animation avec un petit rebond */
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: none;
  /* Bordure transparente par défaut pour éviter le décalage au hover */
  border: 1px solid transparent;
}

.btn-discord:hover {
  /* Couleur officielle de Discord (Blurple) */
  background-color: #5865f2;
  border-color: #5865f2;
  color: #ffffff;
  /* Effet de lueur (Glow) violet */
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.7);
  /* Petit effet de zoom et de levée */
  transform: translateY(-3px) scale(1.1);
}

.btn-discord:hover i {
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* --- RESPONSIVE IMAGES & VIDÉOS  --- */

/* On cible toutes les zones où tu affiches du contenu TinyMCE */
.article-content img,
.desc-content img,
.partner-desc img,
.profile-box p img {
  /* Au cas où dans la bio */
  max-width: 100% !important; /* Force l'image à ne jamais dépasser son parent */
  height: auto !important; /* Ajuste la hauteur automatiquement pour garder le ratio */
  display: block; /* Évite les espaces fantômes sous l'image */
  margin: 20px auto; /* Centre l'image horizontalement avec de l'espace */
  border-radius: 4px; /* Petit arrondi esthétique */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Optionnel : jolie ombre */
}

/* la même chose pour les vidéos (YouTube/Twitch embed) */
.article-content iframe,
.desc-content iframe {
  max-width: 100% !important;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .hero-banner {
    height: calc(100dvh - 79px);
    min-height: calc(100dvh - 79px);
  }

  .bg-video {
    /* On force la vidéo à rester centrée */
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
  }

  /* On réduit le texte par-dessus pour laisser voir la vidéo */
  .hero-content h1 {
    font-size: 2.5rem; /* Beaucoup plus petit que sur PC */
    line-height: 1.1;
  }

  .hero-content h4 {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 20px;
  }

  .btn-hero {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .apropos {
    font-size: 14px;
  }
}

/* --- ENLEVER LES DÉGRADÉS ROSTERS --- */
@media (max-width: 768px) {
  .rosters-fade-container::before,
  .rosters-fade-container::after,
  .rosters-fade-container.show-left::before,
  .rosters-fade-container.show-right::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    background: none !important;
  }

  /* On s'assure que le conteneur prend bien toute la largeur */
  .rosters-fade-container {
    width: 100%;
    overflow: visible; /* Laisse le scroll natif gérer */
  }
  .rosters-scroll-wrapper {
    /* 1. On active le "magnétisme" horizontal */
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    /* 2. On s'assure que le conteneur prend toute la largeur pour que le centrage marche */
    width: 100% !important;
    max-width: 100% !important;

    /* 3. Padding astucieux pour que la première et dernière carte puissent être centrées */
    /* (50% de l'écran - la moitié de la carte (160px)) */
    padding-left: calc(50% - 160px);
    padding-right: calc(50% - 160px);
  }

  /* cible le lien <a> qui entoure la carte */
  .rosters-scroll-wrapper a {
    /* 4. On dit à l'élément de s'aligner sur son CENTRE par rapport à l'écran */
    scroll-snap-align: center;

    /* Petit ajustement pour que le scroll s'arrête net sur la carte */
    scroll-snap-stop: always;
  }
}

@media (max-width: 768px) {
  .about-section-decorated::after {
    display: none !important; /* Cache l'image de fond (la tache) */
    content: none; /* Sécurité pour être sûr qu'elle disparait */
  }
}

/* --- STREAMER CARD V2 (MODERNE) --- */

.streamers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.streamer-card {
  background: #151515; /* Fond gris très foncé */
  border: 1px solid #333;
  border-radius: 12px; /* Arrondi plus doux */
  overflow: hidden;
  transition: 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Effet de survol global */
.streamer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: #1a1a1a;
}

/* --- BANNIÈRE (HAUT) --- */
.streamer-header {
  height: 100px;
  background-size: cover;
  background-position: center;
  position: relative;
  /* Un overlay sombre pour faire ressortir les badges */
  background-color: #222;
}
.streamer-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

/* Badge Viewers (Top Gauche) */
.viewer-count-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.viewer-count-badge i {
  color: #ff0000;
} /* Oeil rouge */

/* --- AVATAR (MILIEU) --- */
.streamer-avatar-container {
  position: relative;
  margin-top: -50px; /* Remonte pour chevaucher la bannière */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Pour coller le badge LIVE en bas */
}

.streamer-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #151515; /* Couleur du fond de la carte pour faire la découpe */
  object-fit: cover;
  background: #000;
  z-index: 2;
  transition: 0.3s;
}

/* --- ETAT LIVE --- */
/* Bordure Jaune sur toute la carte */
.streamer-card.live {
  border: 1px solid var(--primary-yellow);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Avatar avec bordure jaune */
.streamer-card.live .streamer-avatar {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Badge Statut (Sous l'avatar) */
.stream-status {
  position: absolute;
  bottom: -12px;
  background: #333;
  color: #888;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 3;
  border: 2px solid #151515; /* Petite marge visuelle */
}

.streamer-card.live .stream-status {
  background: var(--primary-yellow); /* Fond JAUNE  */
  color: #000;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

/* --- CORPS DE LA CARTE --- */
.streamer-body {
  padding: 25px 20px 20px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.streamer-pseudo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 5px;
  margin-top: 10px;
}

.streamer-game-name {
  color: var(--primary-yellow);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.streamer-title {
  font-size: 0.85rem;
  color: #aaa;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 20px;
  /* Coupe proprement le texte après 2 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bouton en bas */
.streamer-action {
  margin-top: auto; /* Pousse le bouton tout en bas */
}

.btn-live-action {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background: #6441a5; /* Twitch Purple */
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-live-action:hover {
  background: #7d5bbe;
  transform: scale(1.02);
}

.btn-offline-action {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background: transparent;
  color: #666;
  font-weight: 700;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}
.btn-offline-action:hover {
  border-color: #666;
  color: #fff;
}

/* --- BOUTON VIOLET (Comme sur l'image) --- */
.btn-twitch-action {
  margin-top: 20px;
  width: 100%;
  background-color: #6441a5; /* Violet Twitch */
  color: #fff;
  border: none;
  padding: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-twitch-action:hover {
  background-color: #7d5bbe;
  transform: translateY(-2px);
}

/* Bouton gris si hors ligne */
.btn-twitch-offline {
  margin-top: 20px;
  width: 100%;
  background-color: transparent;
  border: 1px solid #444;
  color: #888;
  padding: 10px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: 0.3s;
}
.btn-twitch-offline:hover {
  border-color: #fff;
  color: #fff;
}

/* --- MODALE TWITCH --- */
.twitch-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.twitch-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.twitch-modal-content {
  width: 90%;
  max-width: 1000px;
  background: #000;
  border: 1px solid var(--primary-yellow);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.twitch-video-container {
  width: 100%;
  aspect-ratio: 16/9; /* Force le format vidéo */
  background: #000;
}

.modal-footer {
  padding: 20px;
  text-align: right;
  background: #111;
}

.btn-go-channel {
  background: var(--primary-yellow);
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
}

/* --- PAGE VODS --- */

/* Barre de filtres */
.vod-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #333;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.search-box input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: #000;
  border: 1px solid #444;
  color: #fff;
  border-radius: 4px;
}

.search-box input:focus {
  border-color: var(--primary-yellow);
  outline: none;
}

.categories-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #000;
  border: 1px solid #444;
  color: #aaa;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: 0.3s;
  border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-yellow);
  color: #000;
  border-color: var(--primary-yellow);
}

/* Grille VODs */
.vods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.vod-card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid #333;
}

.vod-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-yellow);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.vod-thumb-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.vod-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.vod-card:hover .vod-thumb-wrapper img {
  transform: scale(1.1);
  opacity: 0.7;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #000;
  transition: 0.3s;
  opacity: 0;
}

.vod-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.platform-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
}

.vod-info {
  padding: 20px;
}

.vod-category {
  font-size: 0.75rem;
  color: var(--primary-yellow);
  text-transform: uppercase;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.vod-info h3 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.vod-info h3 a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.vod-info h3 a:hover {
  color: var(--primary-yellow);
}

.vod-date {
  font-size: 0.8rem;
  color: #666;
}

.btn-load-more {
  background: transparent;
  border: 2px solid var(--primary-yellow);
  color: var(--primary-yellow);
  padding: 12px 30px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
}

.btn-load-more:hover {
  background: var(--primary-yellow);
  color: #000;
}

/* Responsive Filtres */
@media (max-width: 768px) {
  .vod-filters-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .categories-filter {
    justify-content: center;
  }
}

/* --- BOUTON PAYPAL --- */
.btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  color: #fff;
  font-size: 1.3rem;
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* On réduit un peu les marges pour qu'ils soient groupés avec Discord */
  margin-left: 5px;
  margin-right: 5px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-paypal:hover {
  /* Bleu Officiel PayPal */
  background-color: #0070ba;
  border-color: #0070ba;
  color: #ffffff;

  /* Effet Glow Bleu */
  box-shadow: 0 0 15px rgba(0, 112, 186, 0.7);

  /* Animation Pop */
  transform: translateY(-3px) scale(1.1);
}

/* Petite animation de l'icone au survol */
.btn-paypal:hover i {
  animation: pulse-paypal 1s infinite;
}

@keyframes pulse-paypal {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* --- PAGE DONATION --- */
.donation-card {
  background: #1a1a1a;
  padding: 50px 40px;
  border-radius: 12px;
  border: 1px solid #333;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Petit effet de brillance en haut */
.donation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    var(--primary-yellow),
    #000,
    var(--primary-yellow)
  );
}

.donation-icon {
  font-size: 4rem;
  color: var(--primary-yellow);
  margin-bottom: 30px;
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.donation-text {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.donation-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  display: inline-block;
  text-align: left;
}

.donation-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #ddd;
}

.donation-list li i {
  width: 30px;
  text-align: center;
}

/* GROS BOUTON PAYPAL */
.btn-donate-large {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #0070ba; /* Bleu PayPal */
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 20px 50px;
  border-radius: 50px; /* Forme pilule */
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 112, 186, 0.4);
  text-transform: uppercase;
  border: 2px solid transparent;
}

.btn-donate-large:hover {
  background-color: #005ea6;
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 112, 186, 0.6);
  color: #fff;
  border-color: #fff;
}

.btn-donate-large i {
  font-size: 2rem;
}

/* --- PAGE BOUTIQUE --- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.product-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-yellow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Zone Image */
.product-image {
  position: relative;
  height: 300px;
  /*background: #fff;  Fond blanc souvent mieux pour les détourages produits */
  background-color: #333;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Bouton Acheter (Apparition au survol) */
.btn-buy-overlay {
  position: absolute;
  bottom: -50px; /* Caché en bas */
  left: 0;
  width: 100%;
  background: var(--primary-yellow);
  color: #000;
  font-weight: 900;
  text-align: center;
  padding: 15px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.1rem;
}

.product-card:hover .btn-buy-overlay {
  bottom: 0; /* Apparaît */
}

/* Infos */
.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-yellow);
  margin-bottom: 15px;
}

.product-sizes {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.size-badge {
  background: #333;
  color: #ccc;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: bold;
}

.product-desc-short {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.4;
  margin-top: auto; /* Pousse vers le bas si besoin */
}

/* --- PAGE DÉTAIL PRODUIT --- */

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main-image-frame {
  background: #333;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #333;
  position: relative;
  cursor: zoom-in;
}
.main-image-frame img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  transition: transform 0.3s;
}
.main-image-frame:hover img {
  transform: scale(1.05);
}
.zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}
.main-image-frame:hover .zoom-hint {
  opacity: 1;
}
.thumbnails-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.thumb-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #444;
  cursor: pointer;
  transition: 0.3s;
  background: #333;
}
.thumb-img:hover {
  border-color: var(--primary-yellow);
  opacity: 0.8;
}
.product-title-large {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
  color: #fff;
}
.product-price-large {
  font-size: 2rem;
  color: var(--primary-yellow);
  font-weight: 900;
  margin-bottom: 30px;
}
.sizes-block {
  margin-bottom: 30px;
}
.sizes-label {
  display: block;
  color: #888;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.sizes-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.size-box {
  border: 1px solid #444;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  background: #111;
}
.size-box:hover {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
  z-index: 2;
}
.btn-buy-large {
  display: block;
  width: 100%;
  background: var(--primary-yellow);
  color: #000;
  font-weight: 900;
  text-align: center;
  padding: 18px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.2rem;
  transition: 0.3s;
  margin-bottom: 40px;
}
.btn-buy-large:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}
.btn-buy-large.disabled {
  background: #333;
  color: #666;
  cursor: not-allowed;
}
.product-description-full {
  border-top: 1px solid #333;
  padding-top: 30px;
}
.product-description-full h3 {
  margin-top: 0;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.product-description-full .desc-content {
  color: #ccc;
  line-height: 1.6;
}

/* Lightbox Produit */
.image-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}
.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  border-radius: 5px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s;
}
@keyframes zoomIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.close-image-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}
.close-image-modal:hover {
  color: var(--primary-yellow);
  text-decoration: none;
}

/* --- SECTION BOUTIQUE HOME --- */

.shop-scroll-card {
  flex: 0 0 auto;
  width: 280px;
  background: #151515;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  position: relative;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.shop-scroll-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-yellow);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.shop-card-image {
  height: 250px;
  /*background: #fff;*/
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 15px;
}

.shop-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: 0.3s;
  -webkit-user-drag: none;
}

.shop-scroll-card:hover .shop-card-image img {
  transform: scale(1.05);
}

.shop-price-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-yellow);
  color: #000;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.shop-card-info {
  padding: 15px;
  text-align: center;
}

.shop-card-info h4 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-shop-mini {
  color: #888;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
}

.shop-scroll-card:hover .btn-shop-mini {
  color: var(--primary-yellow);
}

.shop-scroll-card:hover .btn-shop-mini i {
  margin-left: 5px;
}

/* Carte Spéciale "Tout Voir" */
.view-all-card {
  background: transparent;
  border: 2px dashed #333;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.view-all-card:hover {
  border-color: var(--primary-yellow);
  background: rgba(255, 215, 0, 0.05);
  transform: none;
}

.view-all-content {
  text-align: center;
  color: #666;
  transition: 0.3s;
}

.view-all-card:hover .view-all-content {
  color: var(--primary-yellow);
}

.view-all-content i {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}

.view-all-content span {
  font-weight: 900;
  text-transform: uppercase;
}

.shop-scroll-card img {
  pointer-events: none;
}
/* --- CONTENEUR SCROLL BOUTIQUE (SANS DÉGRADÉ JAUNE) --- */
.shop-scroll-container {
  position: relative;
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
}

/* Optionnel : Si tu veux un léger dégradé NOIR pour fondre vers le fond de la section */
.shop-scroll-container::before,
.shop-scroll-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* Dégradé vers le fond sombre */
.shop-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-bg), transparent);
}
.shop-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-bg), transparent);
}

.shop-scroll-container.show-left::before {
  opacity: 1;
}
.shop-scroll-container.show-right::after {
  opacity: 1;
}

/* --- BLOQUER LE SCROLL (NO-SCROLL) --- */
body.no-scroll {
    overflow: hidden; /* Empêche tout défilement */
    height: 100vh; /* Force la hauteur à l'écran */
}
