/* Cache la version mobile par défaut */
.home-mobile {
  display: none !important;
}


/* ===== Base ===== */
:root{
  --bg:#0a0a0a;
  --panel:#181818;
  --line:#222;
  --text:#f3f3f3;
  --muted:#888;
  --link:#00c9ff;
  --link-2:#05a9db;
  --accent:#ffd000;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Genos', 'Poppins', 'Segoe UI', Roboto, sans-serif;
  background:var(--bg);
  color:var(--text);
}


a, a:visited { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; color: var(--link, #00c9ff); }

/* ===== Header / Nav ===== */
.main-header{
  background:#0a0a0a;
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:1000;
  padding:10px 0;
}
.header-inner{
  width:90%; max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
}
.logo img{height:60px; transition:transform .3s}
.logo img:hover{transform:scale(1.05)}

.main-nav ul{list-style:none; margin:0; padding:0; display:flex; gap:40px}
.main-nav li{margin:0; padding:0}
.main-nav a{
  text-decoration:none; color:#fff; font-weight:600; font-size:1.1em;
  transition:color .2s, text-shadow .2s;
}
.main-nav a:hover{color:var(--accent); text-shadow:0 0 6px #ffd00080}
.main-nav a.active{color:var(--accent)}
@media (max-width:768px){
  .header-inner{flex-direction:column; gap:10px}
  .main-nav ul{gap:20px; flex-wrap:wrap; justify-content:center}
  .logo img{height:50px}
}

/* ===== Swiper / Carousel ===== */
.swiper-container{width:100%; overflow:hidden; padding:20px 0}
.swiper-wrapper{display:flex}
.swiper-slide{width:auto; flex-shrink:0; box-sizing:border-box}

.carousel-card{
  width:300px; margin:0 auto;
  background:var(--panel); border-radius:10px; overflow:hidden;
  transition:transform .2s;
}
.carousel-card:hover{transform:scale(1.04)}
.carousel-img{width:100%; aspect-ratio:16/9; overflow:hidden}
.carousel-img img{width:100%; height:100%; object-fit:cover; display:block}
.carousel-info{padding:10px 15px; text-align:left}
.carousel-info h5{margin:5px 0 0; font-size:1em; color:var(--text)}
.carousel-info h5:hover{color:var(--link)}

/* ===== Stats bar en boxes ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  background: #0f0f0f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.stat-box {
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 20px 25px;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 14px rgba(0, 201, 255, 0.25);
}

.stat-label {
  color: #aaa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9em;
}

.stat-value {
  color: var(--link);
  font-weight: 800;
  font-size: 2em;
  margin-top: 5px;
  text-shadow: 0 0 8px rgba(0, 201, 255, 0.4);
  transition: color 0.3s;
}

.stat-box.special {
  background: linear-gradient(135deg, #002233, #004466);
  border-color: #00c9ff66;
}

.stat-box.special .stat-label {
  color: #cdeaff;
}

.stat-box.special .stat-value {
  color: #fff;
  font-size: 1.6em;
}

.stat-more {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffffcc;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    padding: 2px 7px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: 0.2s ease;
}

.stat-more:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
    transform: scale(1.12);
}

@media (max-width: 600px) {
  .stat-box {
    min-width: 130px;
    padding: 15px;
  }
}



/* ===== Top boxes (Top DJs / Top Lieux) ===== */
.top-boxes{
  width:90%; max-width:1000px; margin:50px auto;
  display:flex; flex-wrap:wrap; justify-content:center; gap:40px;
}
.top-card{
  flex:1 1 300px; background:var(--panel); padding:20px; border-radius:12px;
  box-shadow:0 0 10px rgba(0,0,0,.4); transition:transform .2s;
}
.top-card:hover{transform:scale(1.02)}
.top-card h1{margin:0 0 15px; color:var(--link); border-bottom:1px solid #333; padding-bottom:8px}
.top-card h2{margin:0 0 15px; color:var(--link); border-bottom:1px solid #333; padding-bottom:8px}
.top-card h3{margin:0 0 15px; color:var(--link); border-bottom:1px solid #333; padding-bottom:8px}
.top-card ul{list-style:none; margin:0; padding:0}
.top-card li{margin-bottom:14px}
.top-card mini{font-size: 12px}
.top-entry{display:flex; align-items:center; gap:14px; text-decoration:none; color:var(--text)}
.top-entry:hover .top-name{color:var(--link)}
.top-image{width:55px; height:55px; border-radius:50%; overflow:hidden; flex-shrink:0; border:2px solid #00c9ff33}
.top-image img{width:100%; height:100%; object-fit:cover; display:block}
.top-info{display:flex; flex-direction:column; justify-content:center}
.top-name{font-weight:600; font-size:1.5em}
.top-count{color:#888; font-size:.85em}
@media (max-width:700px){ .top-boxes{flex-direction:column; gap:20px} .top-entry{gap:10px} }

/* ===== Grid des derniers sets ===== */
.container{
  width:90%; max-width:1200px; margin:40px auto;
  display:grid; grid-template-columns:repeat(auto-fill, minmax(320px,1fr)); gap:20px;
}
.card{background:var(--panel); border-radius:10px; overflow:hidden; transition:transform .2s}
.card:hover{transform:scale(1.03)}
.thumb{width:100%; height:180px; object-fit:cover}
.info{padding:15px}
.info a{text-decoration:none}
.dj a{font-weight:700; color:var(--link)}
.dj a:hover{color:var(--link-2)}
.lieu a{color:#ccc; font-size:.9em}
.lieu a:hover{color:var(--link)}
.date{font-size:.8em; color:var(--muted); margin-top:5px}

/* Barre de tri centrÃ©e */
.sort-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1em;
}

.sort-bar label {
  color: #ccc;
}

/* Toggle affichage */
.view-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

/* Ajustement de la grille 
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
}
*/

/* Cartes centrÃ©es et Ã©quilibrÃ©es */
/*
.dj-card {
  background: #181818;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 15px;
  width: 100%;
  max-width: 240px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
.dj-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 10px rgba(0, 201, 255, 0.3);
}

/* Image du DJ */
.dj-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}
.dj-card:hover img { opacity: 0.95; }

/* Texte */
.dj-card h3 {
  font-size: 1.05em;
  color: #fff;
  margin: 5px 0;
}
.dj-card p {
  margin: 3px 0;
  color: #aaa;
  font-size: 0.9em;
}
*/
/* Responsif */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .dj-card { max-width: 180px; }
}


/* Centrage pagination */
.pagination {
  text-align: center;
  margin: 40px 0 20px;
}

/* --- conteneur de la grille --- */
#gridContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}
/*
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}
*/
/* --- centrage des barres --- */
.sort-bar,
.view-toggle {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}


/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(90deg, #101010, #171717);
  border-top: 1px solid #222;
  padding: 40px 20px;
  text-align: center;
  color: #aaa;
  margin-top: 60px;
  font-family: 'Genos', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.site-footer .footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.site-footer p {
  margin: 8px 0;
  font-size: 0.95em;
}

.site-footer strong {
  color: #00c9ff;
  text-shadow: 0 0 6px rgba(0, 201, 255, .35);
}

.site-footer .links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 8px;
  transition: color .2s;
}

.site-footer .links a:hover {
  color: #00c9ff;
}

/* enlever le violet visited */
.site-footer .links a:visited {
  color: #ccc;
}

/* === Stats section === */
.stats-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  overflow: hidden;
}

.stats-bar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  z-index: 1;
  border-radius: 0;
  padding: 60px 0;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.stats-bar .stats-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 0;
}

/* âœ… lÃ©gÃ¨re ombre pour lisibilitÃ© */
.stats-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
}

/* ðŸ§± contenu au-dessus de la vidÃ©o */
.stat-box {
  position: relative;
  z-index: 2;
  min-width: 140px;
  text-align: center;
  opacity: 65%;
}

.stat-label {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #ccc;
  margin-bottom: 5px;
}

.stat-value {
  font-family: 'Genos', sans-serif;
  color: #00c9ff;
  font-weight: 700;
  font-size: 2rem;
  text-shadow: 0 0 10px rgba(0, 201, 255, 0.8);
}

/* âœ… Responsive : recadrage et empilement */
@media (max-width: 991px) {
  .stats-bar {
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
  }
  .stat-value {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .stats-bar .stats-bg {
    object-position: center 30%; /* recentre la vidÃ©o verticalement */
    opacity: 0.35;
  }
  .stats-bar {
    padding: 30px 10px;
    gap: 15px;
  }
  .stat-box {
    width: 100%;
    max-width: 280px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 10px 0;
  }
  .stat-label {
    font-size: 0.8rem;
  }
  .stat-value {
    font-size: 1.4rem;
  }
}

.profile {
  display:flex;
  align-items:center;
  gap:20px;
  background:#181818;
  padding:20px;
  border-radius:10px;
}
.profile img {
  width:150px;
  height:150px;
  border-radius:10px;
  object-fit:cover;
}
.profile-info {
  flex:1;
}
.profile-info h2 {
  margin:0;
  color:#00c9ff;
}
.bio {
  margin-top:20px;
  color:#ddd;
  line-height:1.5em;
  white-space:pre-line;
}
.socials a {
  display:inline-block;
  margin-right:10px;
  color:#00c9ff;
  text-decoration:none;
}
.socials a:hover { color:#05a9db; }
.country { color:#888; font-size:.9em; margin-top:5px; }

.lieu { font-size:.85em; color:#888; }
.date { font-size:.8em; color:#666; margin-top:5px; }

/* === DJ PAGE / SITE PAGE === */
.profile-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 40px 60px;
  background: #0a0a0a;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.profile-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.profile-info h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #b0b8ff;
}

.profile-info p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

.socials {
  margin-top: 10px;
}

.socials a {
  display: inline-block;
  margin-right: 10px;
  color: #00c9ff;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease;
}
.socials a:hover {
  transform: scale(1.2);
  color: #fff;
}

/* === ACCORDÉON === */
.accordion {
  margin: 30px auto;
  max-width: 1100px;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background: #1a1a1a;
  color: #f7d84a;
  font-weight: 600;
  font-size: 1rem;
}

.accordion-header.active {
  background: #222;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #101010;
}

.clubs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  justify-content: center;
}

.club-item {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.club-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.3s;
}
.club-item:hover img {
  filter: brightness(1);
}
.club-item .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 0;
  color: #fff;
  font-size: 0.85rem;
}

/* === SETS SECTION === */
.sets-section {
  margin: 40px auto;
  max-width: 1200px;
  padding: 10px 20px;
}

.sets-section h3 {
  color: #b0b8ff;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}
/*
.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.set-card {
  background: #0e0e0e;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.set-card:hover {
  transform: translateY(-5px);
}
*/

.set-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.set-info {
  padding: 10px 15px;
  color: #ccc;
}

.set-info a {
  color: #00c9ff;
  text-decoration: none;
  font-weight: 600;
}
.set-info a:hover {
  color: #fff;
}

/*import*/

.import-actions {
  text-align:center;
  margin-top:40px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:15px;
}

.action-btn, .main-btn {
  background:#00c9ff;
  border:none;
  color:#000;
  padding:10px 20px;
  border-radius:6px;
  font-weight:bold;
  cursor:pointer;
  transition:background .2s, transform .2s;
}
.action-btn:hover, .main-btn:hover {
  background:#05a9db;
  transform:scale(1.05);
}
.main-btn {
  background:#ffd000;
}
.main-btn:hover {
  background:#f0c000;
}


.pagination {
  text-align:center;
  margin:30px 0;
}
.pagination a {
  color:#ccc;
  text-decoration:none;
  margin:0 8px;
  padding:6px 12px;
  border-radius:6px;
  background:#1a1a1a;
  transition:background .2s, color .2s;
}
.pagination a:hover {
  background:#00c9ff;
  color:#0a0a0a;
}
.pagination .current {
  background:#00c9ff;
  color:#0a0a0a;
  font-weight:bold;
  text-decoration:none;
  margin:0 8px;
  padding:6px 12px;
  border-radius:6px;
  transition:background .2s, color .2s;
}

.pagination .dots {
  padding: 0 8px;
  color: #888;
}

/* HERO */
.dj-hero {
  padding: 60px 5%;
  background: linear-gradient(180deg, #111, #0c0c0c);
  display: flex;
  justify-content: center;
}

.dj-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.dj-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333;
}

.dj-info h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.dj-origin {
  opacity: 0.8;
}

.dj-bio {
  margin-top: 10px;
  max-width: 600px;
  opacity: 0.9;
}

.dj-socials a {
  margin-right: 10px;
  font-size: 1.3rem;
  color: #aaa;
  text-decoration: none;
}
.dj-socials a:hover { color: #fff; }


/* CLUBS */
.clubs-section {
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 5%;
}

.clubs-section h2 {
  margin-bottom: 20px;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.club-card {
  display: block;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
}

.club-card:hover {
  transform: scale(1.03);
}

.club-thumb img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.club-name {
  padding: 10px;
  text-align: center;
  font-weight: bold;
}


/* SETS */
.sets-section {
  margin: 40px auto 80px;
  max-width: 1200px;
  padding: 0 5%;
}

.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.set-card {
  background: #151515;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
}

.set-card:hover {
  transform: scale(1.03);
}

.set-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.set-info {
  padding: 12px;
}
.set-title { font-weight: bold; }
.set-location { opacity: 0.7; }

.dj-stats {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-top: 5px;
}

.dj-socials i {
  font-size: 1.6rem;
  margin-right: 12px;
  color: #aaa;
  transition: 0.2s;
}

.dj-socials i:hover {
  color: #fff;
}

.dj-info {
  min-height: 200px; /* valeur adaptable */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dj-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 430px; /* hauteur du header */
  overflow: hidden;
  z-index: 0;
  opacity: 0.22; /* parfait pour la lisibilité */
}

.dj-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.dj-hero,
.tabs,
.tab-content {
  position: relative;
  z-index: 1;
}


.profile-wrapper {
  position: relative;
  z-index: 1;
}

.dj-hero-spacer {
  height: 420px; /* même valeur que .dj-video-bg height */
}

.djs-section h2 {
  margin-top: 40px;
}

.club-card img {
  object-fit: cover;
  border-radius: 12px;
}


.set-page {
  padding: 40px 0 80px;
}

/* HERO SET : player + meta */
.set-hero {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.sets-section {
  display: block;              /* on annule un éventuel flex */
  margin-top: 40px;
}

/* La grille des sets */
.sets-section .sets-grid {
  width: 100%;                 /* très important */
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}


.set-player {
  flex: 2;
}

.set-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: none;
}

/* Bloc infos à droite */
.set-meta {
  flex: 1.5;
}

.set-meta h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.set-meta-line {
  opacity: 0.85;
  margin-bottom: 8px;
}

.set-date {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

/* Cartes DJ / Lieu */
.set-meta-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #151515;
  border-radius: 12px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.meta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.meta-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
}

.meta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-text {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.6;
}

.meta-title {
  font-weight: 600;
}

/* Description */
.set-description {
  margin-bottom: 40px;
}

.set-description h2 {
  margin-bottom: 10px;
}

.set-description p {
  opacity: 0.9;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .set-hero {
    flex-direction: column;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #111;
  color: #ddd;
  width: 90%;
  max-width: 600px;
  margin: 100px auto;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  font-size: 1rem;
  line-height: 1.5;
  font-family: Genos, sans-serif;

  /* NEW ? */
  max-height: 70vh;       /* ne dépasse jamais 70% de l'écran */
  overflow-y: auto;       /* scroll interne si trop long */

  /* Bonus smooth */
  scrollbar-width: thin;
  scrollbar-color: #00c9ff #222;
}

.modal h3 {
  margin-top: 0;
  color: #00c9ff;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #222;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #00c9ff;
  border-radius: 4px;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #bbb;
}

.close:hover {
  color: #fff;
}

.desc-link {
  color: #00c9ff;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9em;
}

.desc-link:hover {
  color: #7feaff;
}


.stats-card {
    position: relative;
}

/* Le petit + */
.stats-plus {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    font-size: 12px;
    padding: 2px 6px;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
    backdrop-filter: blur(3px);
}

/* effet hover */
.stats-plus:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.15);
}

.stats-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.stats-modal-content {
    background: rgba(40, 40, 50, 0.8);
    border-radius: 14px;
    padding: 30px;
    width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 8vh auto;
    color: #fff;
    box-shadow: 0 0 20px #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-stats {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #bbb;
}
.close-stats:hover {
    color: #fff;
}

.stat-open-modal { cursor: pointer; }


.main-title {
	font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 2px;
    font-weight: 400;
    text-align: center;
    width: 100%;
    display: block;
    margin: 40px 0;
    color: white;
	margin-left: auto;
    margin-right: auto;
	flex: 0 0 100%;
	text-shadow:
        0 0 10px rgba(255,255,255,0.7),
        0 0 20px rgba(255,255,255,0.4),
        0 0 30px rgba(0,153,255,0.4),
        0 0 40px rgba(0,153,255,0.6);
}


.video-preview {
    position: relative;
    display: block;
    max-width: 1200px;
    margin: 20px auto 50px auto;
}

.video-preview img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.video-preview .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 0 15px rgba(0,0,0,0.7);
    pointer-events: none;
}

/* === MOSAÏQUE — RATIOS VARIÉS === */
.mosaic {
  display: block;
  column-count: 3;
  column-gap: 18px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

@media(max-width: 991px) { .mosaic { column-count: 2; } }
@media(max-width: 600px) { .mosaic { column-count: 1; } }

.mosaic-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  transition: transform .25s ease;
  break-inside: avoid;
}

.mosaic-item:hover {
  transform: scale(1.03);
}

/* === RATIOS === */

.mosaic-item.ratio-1 {
  aspect-ratio: 4 / 5;
}

.mosaic-item.ratio-2 {
  aspect-ratio: 1 / 1;
}

.mosaic-item.ratio-3 {
  aspect-ratio: 16 / 9;
}

/* images */
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === OVERLAY — DÉTAILS AU SURVOL === */
.mosaic-item .overlay {
  opacity: 1 !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

.mosaic-item:hover .overlay {
  opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.mosaic-item .title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
    line-height: 1.2;
}

.mosaic-item .dj {
  color: #00c9ff;
  font-weight: 600;
  margin-top: 3px;
}

.mosaic-item .dj {
    font-size: 13px;
    color: #ddd;
}

/* === MOBILE : afficher toujours l'overlay === */
@media (max-width: 700px) {
  .mosaic-item .overlay {
    opacity: 1 !important;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.75));
    padding: 10px;
  }

  .mosaic-item .title {
    font-size: 1em;
  }

  .mosaic-item .dj {
    font-size: 0.9em;
  }

  .mosaic-item .lieu,
  .mosaic-item .annee {
    font-size: 0.75em;
  }
}

/* ===== SEARCH ICON ===== */
.search-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.search-toggle .search-icon {
  width: 26px;
  filter: brightness(0.9);
  opacity: 0.7;
  transition: opacity .25s ease, transform .25s ease;
}

.search-toggle:hover .search-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== SLIDE SEARCH BAR ===== */
.search-bar-slide {
  width: 100%;
  background: #0f0f0f;
  border-bottom: 1px solid #222;
  padding: 12px 0;
  display: none;
  justify-content: center;
}

.search-bar-slide form {
  display: flex;
  gap: 10px;
  width: 90%;
  max-width: 600px;
}

.search-bar-slide input {
  flex: 1;
  padding: 10px 14px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
}

.search-bar-slide button {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: #00c9ff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background .2s;
}

.search-bar-slide button:hover {
  background: #05a9db;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 20px;
}

.tab-button {
  background: #111;
  border: 1px solid #333;
  padding: 10px 18px;
  border-radius: 8px;
  color: #ccc;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
}

.tab-button.active {
  background: #00c9ff;
  color: #000;
  border-color: #00c9ff;
}

.tab-button:hover {
  background: #222;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.search-results {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-results h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    padding-left: 5px;
}

/* Barre de recherche dans la page search */
.search-page-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px auto 10px auto;
    width: 100%;
    max-width: 600px;
}

.search-page-bar input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 6px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 1.1rem;
}

.search-page-bar button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.search-page-bar button:hover {
    background: #ffea57;
}

.sticker-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0048;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(255,0,80,0.6);
    z-index: 10;

    /* ANIMATION */
    animation: pulseNew 1.6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulseNew {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.dj-tabs-bar {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.dj-tab {
    background: none;
    border: none;
    color: #888;
    font-family: 'Genos', sans-serif;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.25s;
}

.dj-tab.active {
    color: #00c9ff;
}

.dj-tab:hover {
    color: #fff;
}

.dj-tab-underline {
    position: absolute;
    bottom: -2px;
    height: 3px;
    width: 0px;
    background: #00c9ff;
    transition: transform .3s ease, width .3s ease;
}


@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===========================
   MOBILE STRUCTURE LAYOUT (ESSENTIAL)
   =========================== */

@media (max-width: 768px) {

  .home-desktop { display: none !important; }
  .home-mobile { display: block !important; padding: 16px 12px 80px; }

  /* HERO */
  .bs-mobile-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }
  .bs-mobile-hero-logo img {
    height: 54px;
    display: block;
  }
/* --- HERO TEXT GLOW (mobile) --- */
.bs-mobile-hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    text-align: center;  /* tu peux mettre center si tu préfères */

    /* effet glow electro */
    color: #ffffff;
    text-shadow:
        0 0 8px #8fdfff,
        0 0 15px #5dcfff,
        0 0 25px #4abaff,
        0 0 45px rgba(0, 180, 255, 0.6);
}
  .bs-mobile-hero-text p {
    margin: 0;
    font-size: 0.95rem;
  }

  /* SECTIONS */
  .bs-mobile-section {
    margin: 18px 0 10px;
  }
  .bs-mobile-section-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
  }

  /* HORIZONTAL SCROLL */
  .bs-mobile-chip-row,
  .bs-mobile-horizontal-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .bs-mobile-chip-row::-webkit-scrollbar,
  .bs-mobile-horizontal-cards::-webkit-scrollbar {
    height: 4px;
  }

  /* PILL CARDS */
  .bs-mobile-pill-card {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 210px;
    padding: 8px 10px;
    border-radius: 999px;
    text-decoration: none;
  }
  .bs-mobile-pill-thumb {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .bs-mobile-pill-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bs-mobile-pill-info { display: flex; flex-direction: column; }

  /* STATS GRID */
  .bs-mobile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .bs-mobile-stat-card {
    padding: 10px 8px;
    text-align: center;
    border-radius: 14px;
  }

  /* LISTS */
  .bs-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .bs-mobile-list-item + .bs-mobile-list-item {
    margin-top: 8px;
  }
  .bs-mobile-list-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
  }
  .bs-mobile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .bs-mobile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* HORIZONTAL CLUB CARDS */
  .bs-mobile-hcard {
    flex: 0 0 260px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
  }
  .bs-mobile-hcard-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
  }
  .bs-mobile-hcard-body {
    padding: 8px 10px 10px;
  }

  /* LAST SETS LIST */
  .bs-mobile-set-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .bs-mobile-set-card {
    display: flex;
    gap: 10px;
    border-radius: 14px;
    padding: 8px;
    text-decoration: none;
  }
  .bs-mobile-set-thumb {
    width: 38%;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .bs-mobile-set-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bs-mobile-set-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* BOTTOM NAV */
  .bs-mobile-bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 58px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
  }
  .bs-mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
}


/* ===========================
   MOBILE THEME PATCH — DARK SOFT (SAFE VERSION)
   =========================== */

@media (max-width: 768px) {

  .home-desktop {
    display: none !important;
  }

  .home-mobile {
    display: block !important;
    padding: 16px 12px 80px;
    background: #0f1116 !important;
    color: #f1f4f9 !important;
  }

  body {
    background: #0f1116 !important;
    color: #f1f4f9 !important;
  }

  /* Header */
  .main-header {
    background: #0f1116 !important;
    border-bottom: 1px solid #1c1f25 !important;
  }
  .main-nav a {
    color: #dbe2ec !important;
  }
  .main-nav a.active {
    color: var(--link) !important;
  }

  /* Sections */
  .bs-mobile-section-header h2 {
    color: #dbe2ec !important;
  }
  .bs-mobile-section-header span {
    color: #9aa6b8 !important;
  }

  /* Cards */
  .bs-mobile-pill-card,
  .bs-mobile-list-link,
  .bs-mobile-hcard,
  .bs-mobile-set-card,
  .bs-mobile-stat-card {
    background: #161920 !important;
    border: 1px solid #1f232b !important;
    color: #f1f4f9 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35) !important;
  }

  /* Avatars */
  .bs-mobile-avatar {
    border: 2px solid rgba(0,201,255,0.4) !important;
  }

  /* Text */
  .bs-mobile-list-title,
  .bs-mobile-hcard-title,
  .bs-mobile-set-info h3 {
    color: #f1f4f9 !important;
  }

  .bs-mobile-list-sub,
  .bs-mobile-hcard-sub,
  .bs-mobile-set-meta {
    color: #9aa6b8 !important;
  }

  .bs-mobile-pill-name {
    color: #f1f4f9 !important;
  }

  .bs-mobile-pill-type {
    color: var(--link) !important;
  }

  /* Bottom nav */
  .bs-mobile-bottom-nav {
    background: #161920 !important;
    border-top: 1px solid #1f232b !important;
  }

  .bs-mobile-bottom-nav a {
    color: #9aa6b8 !important;
  }
  .bs-mobile-bottom-nav a.active {
    color: var(--link) !important;
    font-weight: 700 !important;
  }
}
