/* ==========================================================
   MOBILE — GLOBAL SETTINGS (≤ 768px)
   ========================================================== */

@media (max-width: 768px) {

  /* ----------------------------------------------
     RESET & STRUCTURE
  ---------------------------------------------- */

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

  /* On masque tout le desktop (toutes pages confondues) */
  .home-desktop,
  .stats-section,
  .stats-bar,
  .stats-bg {
    display: none !important;
  }

  /* Activation du layout mobile */
  .home-mobile {
    display: block !important;
    padding-bottom: 80px;
  }


  /* ==========================================================
     HEADER — MODE COMPACT
     ========================================================== */

  .main-header {
    padding: 8px 0;
    background: #0f1116;
    border-bottom: 1px solid #1c1f25;
  }

  .header-inner {
    flex-direction: column;
    gap: 8px;
  }

  .logo img {
    height: 42px !important;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 14px;
  }

  .main-nav a {
    font-size: .92rem !important;
    color: #dbe2ec !important;
  }

  .main-nav a.active {
    color: var(--link) !important;
  }



  /* ==========================================================
     DISCOVER HERO MOBILE
     ========================================================== */

  .bs-mobile-discover-hero {
    position: relative;
    width: 100%;
    height: 72vh;
    overflow: hidden;
  }

  .bs-mobile-discover-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
  }

  .bs-mobile-discover-slide.active {
    opacity: 1;
  }

  .bs-mobile-discover-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.65);
  }

  .bs-mobile-discover-overlay {
    position: absolute;
    bottom: 14%;
    left: 8%;
    color: white;
    text-shadow: 0 0 12px rgba(0,200,255,.6);
  }

  .bs-mobile-discover-type {
    font-size: .8rem;
    opacity: .8;
    text-transform: uppercase;
  }

  .bs-mobile-discover-name {
    margin-top: 4px;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
  }



  /* ==========================================================
     SECTIONS MOBILE (titles + spacing)
     ========================================================== */

  .bs-mobile-section {
    margin: 18px 16px 10px;
  }

  .bs-mobile-section-header {
    margin-bottom: 10px;
  }

  .bs-mobile-section-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #dbe2ec;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .bs-mobile-section-header span {
    color: #9aa6b8;
    font-size: .78rem;
  }



  /* ==========================================================
     LISTES MOBILES (Top DJs / Clubs / Général)
     ========================================================== */

  .bs-mobile-list,
  .bs-mobile-section ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .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;
    text-decoration: none;

    background: #161920;
    border: 1px solid #1f232b;
    border-radius: 12px;

    color: #f1f4f9;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
  }

  .bs-mobile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid rgba(0,201,255,.4);
    flex-shrink: 0;
  }

  .bs-mobile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bs-mobile-list-title {
    font-size: .95rem;
    font-weight: 700;
  }

  .bs-mobile-list-sub {
    font-size: .78rem;
    color: #9aa6b8;
  }



  /* ==========================================================
     HORIZONTAL SCROLL CARDS (ex: Top Clubs)
     ========================================================== */

  .bs-mobile-hscroll {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 6px 8px 12px;
    scroll-snap-type: x mandatory;
  }

  .bs-mobile-hscroll::-webkit-scrollbar {
    display: none;
  }

  .bs-mobile-hcard.small {
    min-width: 120px;
    max-width: 120px;
    scroll-snap-align: start;
    text-decoration: none;
    color: white;
  }

  .bs-mobile-hcard-thumb.small {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
  }

  .bs-mobile-hcard-thumb.small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bs-mobile-hcard-body.small {
    margin-top: 6px;
  }

  .bs-mobile-hcard-title {
    font-size: 14px;
    font-weight: 600;
  }

  .bs-mobile-hcard-sub {
    font-size: 12px;
    opacity: .6;
  }



  /* ==========================================================
     LISTE DES SETS (thumb + info)
     ========================================================== */

  .bs-mobile-set-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 12px;
  }

  .bs-mobile-set-card {
    display: flex;
    gap: 12px;
    background: #161920;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    text-decoration: none;
    color: #f1f4f9;
  }

  .bs-mobile-set-thumb {
    width: 35%;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
  }

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

  .bs-mobile-set-info h3 {
    font-size: .95rem;
    margin: 0 0 3px;
  }



  /* ==========================================================
     LISTE DES DJs — version mobile
     ========================================================== */

  .dj-mobile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;

    background: #161920;
    border-radius: 14px;
    border: 1px solid #1f232b;

    text-decoration: none;
    color: #dbe2ec;

    margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
  }

  .dj-mobile-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
  }

  .dj-mobile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .dj-mobile-name {
    font-size: 1.05rem;
    font-weight: 700;
  }

  .dj-mobile-sets {
    font-size: .85rem;
    color: #9aa6b8;
  }



  /* ==========================================================
     BOTTOM NAVIGATION
     ========================================================== */

  .bs-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: #161920;
    border-top: 1px solid #1f232b;

    display: flex;
    justify-content: space-around;
    align-items: center;

    z-index: 999;
  }

  .bs-mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    font-size: .72rem;

    text-decoration: none;
    color: #9aa6b8;

    display: flex;
    flex-direction: column;
    gap: 2px;
  }

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

}

/* ============================================
   MOBILE — COMPACT STATS BAR
   ============================================ */
@media (max-width: 768px) {

  /* On vire complètement la version desktop */
  .stats-section,
  .stats-bar,
  .stats-bg {
    display: none !important;
  }

  /* Nouveau conteneur mobile */
  .stats-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    text-align: center;
    font-family: 'Genos', sans-serif;
    background: #0f1116;
    border-bottom: 1px solid #1c1f25;
  }

  .stats-mobile-item {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .stats-mobile-label {
    color: #9aa6b8;
    font-size: 0.70rem;
    letter-spacing: 0.5px;
  }

  .stats-mobile-value {
    color: #00c9ff;
    font-weight: 700;
    font-size: 0.95rem;
  }

  .stats-mobile-special {
    color: #ffd000;
    font-size: 0.85rem;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
    .home-desktop {
        display: none !important;
    }

    .home-mobile {
        display: block !important;
        padding-bottom: 80px;
    }
}

/* =========================================
   DJ PAGE — VERSION MOBILE EXCLUSIVE
   ========================================= */
@media (max-width: 768px) {

    /* Cacher le hero desktop */
    .dj-hero {
        display: none !important;
    }

    /* Afficher le hero mobile */
    .dj-mobile-hero {
        position: relative;
        width: 100%;
        height: 75vh;
        overflow: hidden;
        display: block;
    }

    .dj-mobile-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.45);
        z-index: -1;
    }

    .dj-mobile-overlay {
        position: absolute;
        bottom: 12%;
        left: 6%;
        right: 6%;
        z-index: 2;
        color: #fff;
    }

    .dj-mobile-photo {
        width: 130px;
        height: 130px;
        border-radius: 18px;
        border: 2px solid rgba(255,255,255,0.35);
        object-fit: cover;
        margin-bottom: 14px;
    }

    .dj-mobile-name {
        font-size: 1.5rem;
        font-weight: 800;
        line-height: 1.1;
        margin: 0 0 12px 0;
        text-shadow: 0 0 14px rgba(0,0,0,0.8);
    }

    .dj-mobile-socials {
        display: flex;
        gap: 18px;
        margin-top: 6px;
    }

    .dj-mobile-socials a {
        color: #fff;
        font-size: 1.6rem;
        opacity: 0.85;
    }

    .dj-mobile-socials a:hover {
        opacity: 1;
    }
}
/* Version mobile désactivée par défaut */
.dj-mobile-hero {
    display: none;
}

/* MOBILE : on inverse tout */
@media (max-width: 768px) {

    /* on cache la version desktop */
    .dj-hero {
        display: none !important;
    }

    /* on affiche la version mobile */
    .dj-mobile-hero {
        display: block !important;
    }
	
}

@media (max-width: 768px) {
    .dj-photo,
    .dj-info {
        display: none !important;
    }
}

.set-mobile-hero {
    padding: 18px;
    text-align: center;
}

.set-mobile-thumb {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.set-mobile-title {
    font-family: 'Genos', sans-serif;
    font-size: 28px;
    color: #fff;
    margin: 5px 0 8px;
}

.set-mobile-meta {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.set-mobile-player iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
}

.bs-mobile-bottom-nav .icon i {
    font-size: 20px;
    color: #ffffff;
}

.bs-mobile-bottom-nav a.active .icon i {
    color: #00c9ff; /* bleu BeatSessions, change si tu veux */
}

.bs-mobile-bottom-nav a .label {
    color: #ffffff;
}

.bs-mobile-bottom-nav a.active .label {
    color: #00c9ff;
}

.set-player iframe {
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

body * {
    z-index: 2;
}
.set-player {
    z-index: 1;
}