:root {
    --gold: #FBBF24;
    --gold-light: #FDE047;
    --gold-dark: #D97706;
    --gold-glow: rgba(251, 191, 36, 0.35);
    --gold-gradient: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%);
    --discord: #5865F2;
    --discord-gradient: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
    --success: #10B981;
    --error: #EF4444;
    --jmradio-red: #E72535;
    --gradient-gold: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%);
    --gradient-warm: linear-gradient(135deg, #E72535 0%, #991B1B 100%);
    
    --bg-primary: #07090E;
    --bg-secondary: #0F172A;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --border-color: rgba(251, 191, 36, 0.2);
    --card-bg: rgba(15, 23, 42, 0.75);
    
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.55);
    --border-radius-md: 14px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background-color: var(--bg-primary, #0B0F19); min-height: 100vh; }
body { font-family: 'Inter', sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; display: flex; min-height: 100vh; font-size: 16px; }

/* CHARGEMENT SPLASH SCREEN */
#loader-wrapper {
    position: fixed; inset: 0; background: #030712; z-index: 99999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.loader-container { position: relative; display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; }
.loader-logo { width: 85px; height: 85px; object-fit: contain; animation: pulseLogo 1.8s infinite ease-in-out; z-index: 2; }
.loader-spinner {
    position: absolute; width: 130px; height: 130px;
    border: 3px solid transparent; border-top-color: var(--gold); border-bottom-color: var(--jmradio-red);
    border-radius: 50%; animation: spinLoader 1.2s linear infinite; z-index: 1;
}
.loader-text { margin-top: 20px; font-weight: 800; font-size: 0.9rem; color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; }

@keyframes spinLoader { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulseLogo { 0%, 100% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(251,191,36,0.2)); } 50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(231,37,53,0.5)); } }

/* FOND DE PAGE */
.bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(2px) brightness(1.0); opacity: 0.25; }
.overlay { position: fixed; inset: 0; background: radial-gradient(circle at 50% 25%, rgba(251, 191, 36, 0.06), var(--bg-primary) 90%); z-index: -1; opacity: 0.10; }

/* SIDEBAR GAUCHE PERSISTANTE */
.sidebar { position: fixed; top: 0; left: 0; width: 260px; height: 100vh; background: rgba(7, 11, 20, 0.65); backdrop-filter: blur(25px); border-right: 1px solid rgba(255, 255, 255, 0.03); display: flex; flex-direction: column; padding: 40px 24px; z-index: 2001; transition: transform 0.3s ease; margin: auto; }
.logo-zone { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 35px; text-align: center; }
.logo-zone img { height: 65px; filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.25)); }
.brand-name { font-weight: 900; font-size: 1.6rem; letter-spacing: 0.5px; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-tagline { font-size: 0.75rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.sidebar-nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 30px; }
.sidebar-nav a { color: #9ca3af; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 12px 16px; border-radius: 8px; transition: all 0.3s ease; display: flex; align-items: center; gap: 12px; }
.sidebar-nav a i { font-size: 1.1rem; width: 24px; color: #4b5563; transition: var(--transition); }
.sidebar-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); transform: translateX(5px); }
.sidebar-nav a:hover i { color: var(--gold); }
.sidebar-nav a.active { background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, transparent 100%); color: var(--gold); font-weight: 700; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.sidebar-nav a.active i { color: var(--gold); }

.sidebar-actions { display: flex; flex-direction: column; gap: 12px; }
.phone { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px); color: #fff; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; text-align: center; text-decoration: none; display: flex; justify-content: center; align-items: center; gap: 10px; transition: all 0.3s ease; }
.phone:hover { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.05); transform: translateY(-2px); color: var(--gold); }
.phone i { color: var(--gold); }
.dedicace-btn { background: linear-gradient(135deg, rgba(231, 37, 53, 0.15), rgba(231, 37, 53, 0.05)); border: 1px solid rgba(231, 37, 53, 0.3); backdrop-filter: blur(10px); color: #ffb3b3; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: all 0.3s ease; }
.dedicace-btn i { color: #f87171; }
.dedicace-btn:hover { background: linear-gradient(135deg, rgba(231, 37, 53, 0.25), rgba(231, 37, 53, 0.1)); border-color: rgba(231, 37, 53, 0.5); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(231, 37, 53, 0.2); }
.postule-btn { background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05)); border: 1px solid rgba(251, 191, 36, 0.3); backdrop-filter: blur(10px); color: #fde68a; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: all 0.3s ease; text-decoration: none; }
.postule-btn i { color: var(--gold); }
.postule-btn:hover { background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.1)); border-color: rgba(251, 191, 36, 0.5); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2); }

.sidebar-footer { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.sidebar-footer a { color: #6b7280; text-decoration: none; font-size: 0.75rem; font-weight: 500; transition: var(--transition); }
.sidebar-footer a:hover { color: var(--gold); }
.sidebar-social { display: flex; gap: 14px; margin-top: 8px; justify-content: flex-start; }
.sidebar-social a { color: #4b5563; font-size: 1.15rem; transition: var(--transition); }
.sidebar-social a:hover { color: var(--gold); transform: scale(1.1); }

.mobile-brand-header { display: none; }

.main-content { margin-left: 260px; width: calc(100% - 260px); display: flex; flex-direction: column; position: relative; z-index: 1; min-width: 0; }
.container { max-width: 1600px; width: 100%; margin: 0; padding: 40px 40px 140px; flex: 1; }

.section-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 25px; position: relative; padding-left: 16px; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.5px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 26px; background: var(--gradient-gold); border-radius: var(--border-radius-full); }

/* ACCUEIL HERO */
.hero-jm { 
    position: relative; width: 100%; min-height: 380px; 
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0; 
    overflow: hidden; display: flex; align-items: center; padding: 0 0 0 50px; 
    margin-bottom: 0; box-shadow: var(--shadow-xl); border: 1px solid var(--border-color); border-bottom: none; background: #030712;
}
.hero-jm-bg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.hero-jm-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: blur(15px) brightness(0.4); transform: scale(1.05); }
.hero-jm-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,7,18,0.92) 0%, rgba(3,7,18,0.75) 50%, rgba(3,7,18,0.2) 100%); z-index: 2; }
.hero-jm-content { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; width: 100%; height: 380px; }
.hero-main-info { display: flex; gap: 40px; align-items: center; z-index: 4; flex: 1; min-width: 0; padding: 40px 0; }
.hero-cover { width: 220px; height: 220px; border-radius: var(--border-radius-md); object-fit: cover; box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,0.1); flex-shrink: 0; transition: transform 0.3s ease; margin: auto; }
.hero-jm:hover .hero-cover { transform: scale(1.03) rotate(1deg); }
.hero-text { flex: 1; min-width: 0; word-wrap: break-word; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 6px 14px; border-radius: var(--border-radius-md); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 15px; }
.live-badge.on { background: white; color: var(--jmradio-red); border-color: white; box-shadow: 0 4px 10px rgba(0,0,0,0.3); animation: pulseBadge 2s infinite ease-in-out; }
.live-badge.on i { animation: pulse 1.5s infinite; }
.hero-jm-title { font-size: 3rem; font-weight: 900; color: white; line-height: 1.1; margin-bottom: 10px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; }
.hero-jm-artist { font-size: 1.4rem; font-weight: 600; color: var(--gold); margin-bottom: 25px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-jm-actions { display: flex; gap: 15px; }

.btn-ecouter { 
    background: var(--jmradio-red); color: white; border: none; padding: 14px 30px; 
    border-radius: 8px; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; 
    gap: 10px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 15px rgba(231, 37, 53, 0.4);
}
.btn-ecouter:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(231, 37, 53, 0.6); }
.btn-message { background: rgba(255,255,255,0.15); backdrop-filter: blur(5px); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 14px 30px; border-radius: 8px; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: background 0.2s; }
.btn-message:hover { background: rgba(255,255,255,0.25); }

.hero-host-right-wrap { position: absolute; right: 0; bottom: 0; top: 0; width: 45%; display: none; justify-content: flex-end; align-items: center; z-index: 3; pointer-events: none; }
.hero-host-right-wrap img { height: 100%; width: 100%; object-fit: cover; object-position: center; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 35%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 35%); }

@keyframes pulseBadge { 0%, 100% { box-shadow: 0 4px 10px rgba(231,37,53,0.2); } 50% { box-shadow: 0 4px 20px rgba(231,37,53,0.6); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.next-show-bar {
    width: 100%; background: #070b14; border: 1px solid var(--border-color); border-top: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); margin-bottom: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center;
    box-shadow: var(--shadow-md); position: relative; z-index: 5; overflow: hidden; padding: 14px 24px; min-height: 55px;
}
.next-show-slot {
    display: flex; align-items: center; justify-content: space-between; border-right: 1px solid rgba(255,255,255,0.15); padding-right: 20px;
}
.next-show-slot:last-child {
    padding-right: 0; padding-left: 20px;
}
@media (max-width: 992px) {
    .next-show-bar { grid-template-columns: 1fr; gap: 15px; }
    .next-show-slot { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.3); padding-right: 0; padding-bottom: 15px; }
    .next-show-slot:last-child { border-bottom: none; padding-bottom: 0; padding-left: 0; }
}
.next-show-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.next-show-meta { min-width: 0; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.next-show-label { font-size: 0.75rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 0.8px; display: inline-flex; align-items: center; gap: 6px; }
.next-show-title { font-size: 1.05rem; font-weight: 700; color: white; }
.next-show-title span { font-weight: 400; color: var(--text-secondary); font-size: 0.9rem; margin-left: 4px; }
.next-show-time-badge { background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.2); color: var(--gold); padding: 4px 12px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; white-space: nowrap; flex-shrink: 0; }

.recent-tracks { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.recent-tracks::-webkit-scrollbar { display: none; }

.track-card, .nouveaute-card { flex: 0 0 160px; scroll-snap-align: start; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--border-radius-md); overflow: hidden; transition: var(--transition); min-width: 0; position: relative; }
.nouveaute-card { flex: auto; text-align: center; }
.nouveautes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.track-card:hover, .nouveaute-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 10px 20px rgba(251,191,36,0.1); }
.track-img-wrap, .nouveaute-img-wrap { aspect-ratio: 1; overflow: hidden; background: #111519; }
.track-img-wrap img, .nouveaute-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; margin: auto; }
.track-card:hover .track-img-wrap img, .nouveaute-card:hover .nouveaute-img-wrap img { transform: scale(1.06); }
.track-info, .nouveaute-info { padding: 12px; min-width: 0; }
.song { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artist { font-weight: 500; font-size: 0.8rem; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.info-flash-box { background: var(--card-bg); border: 1px solid rgba(251, 191, 36, 0.2); border-radius: var(--border-radius-lg); padding: 24px; display: flex; align-items: center; gap: 24px; box-shadow: var(--shadow-lg); margin-top: 10px; text-decoration: none; color: inherit; transition: var(--transition); min-width: 0; }
.info-flash-box:hover { border-color: var(--gold); background: rgba(11, 15, 25, 0.8); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.info-badge-live { background: #E72535; color: white; padding: 6px 14px; font-weight: 900; font-size: 0.75rem; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 6px; }
.info-badge-live i { animation: pulse 2s infinite; }
.info-flash-img { width: 130px; height: 130px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; background: #1f2937; }
.info-flash-text-content { flex: 1; min-width: 0; word-wrap: break-word; }
.info-flash-text-content h3 { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.info-flash-text-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }

.une-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--border-radius-lg); gap: 20px; padding: 10px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.une-item { flex: 0 0 calc(50% - 10px); scroll-snap-align: start; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.une-item:hover { border-color: var(--gold); }
.une-item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.une-caption { padding: 20px; flex: 1; background: rgba(11, 15, 25, 0.4); }
.une-caption h3 { font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.une-caption p { font-size: 0.9rem; color: var(--text-secondary); }

.windows-hub-container { margin: 40px auto; max-width: 900px; display: block; }
.pc-monitor { background: #1e2638; border: 14px solid #0d121f; outline: 2px solid var(--gold); border-radius: var(--border-radius-md); box-shadow: var(--shadow-xl); position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.screen-content { width: 100%; height: 100%; background: #020617; display: flex; flex-direction: column; }
.pc-slider { display: flex; width: 400%; height: calc(100% - 40px); transition: transform 0.6s ease; }
.slide-panel { width: 25%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px 40px; color: white; }
.slide-app { background: radial-gradient(circle, #1e293b, #0f172a); }
.slide-insta { background: radial-gradient(circle, #8a1d41, #240514); }
.slide-tiktok { background: radial-gradient(circle, #262626, #000000); }
.slide-discord { background: radial-gradient(circle, #3c458a, #1a1b35); }
.slide-panel i.main-icon { font-size: 3.5rem; margin-bottom: 12px; }
.slide-panel h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 8px; }
.slide-panel p { font-size: 0.95rem; max-width: 600px; margin-bottom: 16px; color: rgba(255,255,255,0.85); }
.hub-action-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gradient-gold); color: #000; padding: 10px 24px; border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 0.9rem; box-shadow: 0 4px 12px rgba(251,191,36,0.2); transition: var(--transition); }
.hub-action-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hub-buttons { display: flex; gap: 12px; justify-content: center; }

.windows-taskbar { height: 40px; background: rgba(13,18,31,0.85); display: flex; justify-content: space-between; align-items: center; padding: 0 12px; z-index: 10; border-top: 1px solid rgba(255,255,255,0.08); position: relative; }
.taskbar-center { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.taskbar-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; color: white; line-height: 1.1; font-weight: 500; text-align: right; height: 100%; }
#winTime { font-size: 0.75rem; }
#winDate { font-size: 0.65rem; color: #9ca3af; margin-top: 1px; }
.tb-icon { color: white; opacity: 0.9; width: 32px; height: 32px; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.tb-icon.start { color: #0078d7; font-size: 1.1rem; }
.pc-stand { width: 110px; height: 50px; background: #94a3b8; margin: 0 auto; }
.pc-base { width: 250px; height: 12px; background: #cbd5e1; border-radius: 20px; margin: 0 auto; }

/* PROGRAMME PAGE STYLES */
.days-header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.days-navbar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; flex: 1; }
.days-navbar::-webkit-scrollbar { display: none; }

.day-tab {
    background: rgba(11, 15, 25, 0.65); border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary); padding: 12px 20px; border-radius: var(--border-radius-md);
    font-weight: 700; font-size: 0.95rem; cursor: pointer; text-align: center;
    transition: var(--transition); min-width: 110px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.timeline-line { 
    position: absolute; top: 25px; left: 80px; bottom: -50px; width: 2px; 
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.4) 0%, rgba(255, 255, 255, 0.05) 100%); z-index: 1; 
}
.timeline-item.live-now .timeline-line { background: linear-gradient(180deg, #EF4444 0%, rgba(239, 68, 68, 0.2) 100%); }
.timeline-item:last-child .timeline-line { display: none; }

.program-card {
    flex: 1; background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
    transition: var(--transition); position: relative; z-index: 2; display: flex; flex-direction: column;
}
.timeline-item:hover .program-card { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 25px rgba(251,191,36,0.12); }
.timeline-item.live-now .program-card { border-color: var(--jmradio-red); box-shadow: 0 8px 30px rgba(231, 37, 53, 0.15); }

.live-tag {
    position: absolute; top: 16px; right: 16px; background: #EF4444; color: white; padding: 6px 14px; 
    border-radius: var(--border-radius-full); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px; 
    z-index: 2; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.program-banner-wrap { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000000; position: relative; }
.program-banner-wrap img { width: 100%; height: 100%; object-fit: cover !important; object-position: center; transition: transform 0.4s ease; }

.program-body { padding: 25px 30px; display: flex; flex-direction: column; position: relative; }
.program-header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 12px; }
.program-title { font-size: 1.6rem; font-weight: 800; color: white; letter-spacing: -0.5px; }
.program-hours-badge { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); padding: 5px 16px; border-radius: var(--border-radius-full); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }

.timeline-item.live-now .program-hours-badge { background: var(--jmradio-red); border-color: var(--jmradio-red); color: white; }
.program-host { font-weight: 700; font-size: 0.9rem; color: var(--gold); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.program-desc { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.6; }

.empty-schedule { text-align: center; padding: 60px 20px; color: var(--text-secondary); background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); font-weight: 600; width: 100%; }

/* FOOTER & PLAYER BAR */
.player-bar { 
    position: fixed; bottom: 20px; left: 280px; width: calc(100% - 300px); 
    background: rgba(15, 20, 35, 0.75); backdrop-filter: blur(30px) saturate(150%); border: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 10px 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; z-index: 1000; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); height: 75px; border-radius: 40px;
    transition: all 0.3s ease;
}
.player-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-left img { width: 50px; height: 50px; border-radius: 8px; border: 1.5px solid var(--gold); object-fit: cover; flex-shrink: 0; }
.player-meta-info { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
#barTitle { font-weight: 800; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; line-height: 1.3; }
#barArtist { font-size: 0.85rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player-center { display: flex; justify-content: center; align-items: center; }
.playBtn { background: var(--gradient-gold); border: none; width: 55px; height: 55px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: black; box-shadow: 0 0 20px rgba(251,191,36,0.3); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.playBtn:hover { transform: scale(1.08); box-shadow: 0 0 20px rgba(251, 191, 36, 0.6); }

.volume { display: flex; align-items: center; gap: 12px; justify-content: flex-end; color: #9CA3AF; transition: color 0.3s; }
.volume:hover { color: #fff; }
.volume input { width: 100px; accent-color: var(--gold); cursor: pointer; height: 4px; opacity: 0.7; transition: opacity 0.3s; }
.volume input:hover { opacity: 1; }

.mobile-bottom-nav { display: none; }

.modal { display: none; position: fixed; inset: 0; background: rgba(3,7,18,0.8); backdrop-filter: blur(12px); z-index: 3000; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 20px; opacity: 0; transition: opacity 0.3s ease; }
.modal.active { display: flex; opacity: 1; }
.modal-content { background: #0b0f19; padding: 40px 30px; border-radius: var(--border-radius-lg); max-width: 480px; width: 100%; border: 1px solid var(--border-color); position: relative; box-shadow: var(--shadow-xl); transform: scale(0.9); transition: transform 0.3s ease; margin: auto; }
.modal.active .modal-content { transform: scale(1); }
.close-modal { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,0.05); border: none; color: #9ca3af; font-size: 1.2rem; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.close-modal:hover { background: rgba(239, 64, 64, 0.2); color: var(--error); }
.modal-content h2 { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 25px; color: white; display: flex; align-items: center; justify-content: center; gap: 10px; }

.input-group { position: relative; margin-bottom: 20px; }
.input-group i { position: absolute; left: 16px; top: 16px; color: var(--text-secondary); font-size: 1rem; }
.input-group input, .input-group textarea { width: 100%; padding: 14px 16px 14px 45px; background: rgba(255,255,255,0.03); border: 1px solid rgba(251,191,36,0.2); color: white; border-radius: 12px; font-family: inherit; font-size: 0.95rem; transition: var(--transition); outline: none; }
.input-group textarea { min-height: 120px; resize: none; }
.input-group textarea + i { top: 18px; }
.input-group input:focus, .input-group textarea:focus { border-color: var(--gold); background: rgba(251, 191, 36, 0.05); box-shadow: 0 0 15px rgba(251, 191, 36, 0.1); }
.char-count { text-align: right; font-size: 0.75rem; color: var(--text-secondary); margin-top: -15px; margin-bottom: 20px; display: block; padding-right: 5px; }
.modal-content button[type="submit"] { width: 100%; padding: 15px; background: var(--gradient-gold); border: none; border-radius: 12px; font-weight: 800; font-size: 1rem; cursor: pointer; color: black; box-shadow: var(--shadow-md); transition: var(--transition); }

/* =========================================================
   PROTECTION NAV DYNAMIQUE (SPA) & FIX HTML GLOBAL
   ========================================================= */

.equipe-grid, 
.equipe-grid-direction { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; 
    gap: 25px !important; 
    justify-content: center !important;
}

.membre-card, .track-card, .nouveaute-card, .program-card {
    max-width: 380px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.membre-card {
    background: var(--card-bg, rgba(11, 15, 25, 0.65)) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border-color, rgba(251, 191, 36, 0.12)) !important;
    border-radius: var(--border-radius-lg, 20px) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 auto !important;
    transition: var(--transition, all 0.25s ease) !important;
}

.membre-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--gold, #FBBF24) !important;
    box-shadow: var(--shadow-gold, 0 0 25px rgba(251, 191, 36, 0.25)) !important;
}

.membre-image-container, .track-img-wrap, .nouveaute-img-wrap {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 280px !important;
    overflow: hidden !important;
    background: #070b14 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.membre-image, .track-img-wrap img, .nouveaute-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
}

.membre-image.logo-placeholder {
    width: 55% !important;
    height: 55% !important;
    object-fit: contain !important;
}

@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); width: 280px; position: fixed; top: 0; bottom: 0; left: 0; }
    .sidebar.active { transform: translateX(0); box-shadow: 5px 0 30px rgba(0,0,0,0.8); }
    .main-content { margin-left: 0; width: 100%; }
    .mobile-brand-header { display: flex; justify-content: center; align-items: center; padding: 20px 0 10px; }
    .mobile-brand-header img { height: 45px; }
    .container { padding: 10px 12px 180px !important; }
    .section-title { font-size: 1.3rem; margin: 25px 0 12px; }
    .hero-jm { padding: 24px 16px; min-height: auto; border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0; width: 100%; }
    .hero-jm-content { flex-direction: column; text-align: center; height: auto; gap: 0; }
    .hero-main-info { flex-direction: column; gap: 16px; padding: 0; width: 100%; }
    .hero-cover { width: 160px; height: 160px; border-radius: var(--border-radius-md); margin: 0 auto; }
    .hero-text { width: 100%; }
    .hero-jm-title { font-size: 1.8rem; white-space: normal; line-height: 1.2; margin-bottom: 6px; }
    .hero-jm-artist { font-size: 1.1rem; margin-bottom: 18px; white-space: normal; }
    .hero-jm-actions { width: 100%; display: flex; flex-direction: row; gap: 10px; justify-content: center; }
    .btn-ecouter, .btn-message { flex: 1; justify-content: center; padding: 12px 10px; font-size: 0.95rem; max-width: 160px; }
    .hero-host-right-wrap { display: none !important; }
    
    .next-show-bar { flex-direction: column; padding: 14px 16px; text-align: center; border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); gap: 10px; height: auto; min-height: auto; }
    .next-show-left { flex-direction: column; gap: 4px; width: 100%; }
    .next-show-meta { flex-direction: column; gap: 6px; align-items: center; text-align: center; width: 100%; }
    .next-show-label { font-size: 0.72rem; justify-content: center; }
    .next-show-title { font-size: 1rem; white-space: normal; line-height: 1.3; }
    .next-show-title span { margin-left: 0; display: block; font-size: 0.85rem; margin-top: 2px; }
    .next-show-time-badge { margin-right: 0; display: inline-block; padding: 4px 12px; }
    .info-flash-box { flex-direction: column; text-align: center; gap: 15px; padding: 16px; }
    .info-flash-img { width: 100%; height: 180px; }
    .une-item { flex: 0 0 85%; }
    .nouveautes-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    .player-bar { 
        left: 0 !important; 
        width: 100% !important; 
        padding: 10px 16px !important; 
        grid-template-columns: 1fr auto !important; 
        height: 65px !important; 
        bottom: 60px !important; 
        border-radius: 16px 16px 0 0 !important; 
        border-top: 1px solid var(--border-color, rgba(251, 191, 36, 0.12)) !important;
        z-index: 9998 !important;
    }
    .player-center { grid-column: 2; grid-row: 1; }
    .volume { display: none !important; }
    .playBtn { width: 42px; height: 42px; font-size: 1rem; }
    .windows-hub-container { display: none !important; }

    .mobile-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        background: #070b14 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 9999 !important;
        backdrop-filter: blur(10px) !important;
    }

    .mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--text-secondary, #9CA3AF) !important;
        text-decoration: none !important;
        font-size: 0.65rem !important;
        font-weight: 700 !important;
        gap: 4px !important;
        border: none !important;
        background: transparent !important;
        cursor: pointer !important;
        flex: 1 !important;
    }

    .mobile-nav-item i {
        font-size: 1.1rem !important;
    }

    .mobile-nav-item.active {
        color: var(--gold, #FBBF24) !important;
    }
    
    .days-header-wrap { flex-direction: column; align-items: stretch; }
    .timeline-wrapper { margin-left: 0; }
    .timeline-line { left: 14px; top: 25px; }
    .timeline-time-col { width: 45px; font-size: 0.8rem; text-align: left; }
    .timeline-time-col::after { left: 10px; top: 20px; right: auto; }
    .program-card { border-radius: var(--border-radius-md); }
    .program-body { padding: 16px 20px; }
    .program-header-row { flex-direction: column; gap: 8px; align-items: flex-start; }
    .program-title { font-size: 1.25rem; }
    .program-hours-badge { font-size: 0.75rem; padding: 3px 12px; }
}

@media (max-width: 480px) {
    .nouveautes-grid { grid-template-columns: 1fr; }
    .une-item { flex: 0 0 100%; }
    .track-card { flex: 0 0 135px; }
    .hero-jm-actions { flex-direction: column; align-items: center; }
    .btn-ecouter, .btn-message { width: 100%; max-width: 240px; }
}
/* ============================================================ */
/* NOUVEAUTES PRO (KARAOKE, VOCAL, PIP, TICKER, TOP 5)          */
/* ============================================================ */

/* TICKER / FIL D'ACTUALITÉ */
.news-feed-ticker {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin: 20px 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-move {
    display: inline-block;
    animation: ticker 180s linear infinite;
}
.ticker-move:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: inline-block;
    padding: 0 20px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* TOP 5 DE LA SEMAINE */
.top5-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.top5-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.3s, background 0.3s;
}
.top5-item:hover {
    transform: translateX(10px);
    background: rgba(255, 0, 68, 0.1);
    border-color: rgba(255, 0, 68, 0.3);
}
.top5-rank {
    font-size: 2rem;
    font-weight: 900;
    color: var(--jmradio-red);
    width: 50px;
    text-align: center;
}
.top5-details {
    display: flex;
    flex-direction: column;
}
.top5-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}
.top5-artist {
    font-size: 0.9rem;
    color: #9CA3AF;
}

/* BOUTON VOCAL (HERO) */
.btn-vocal {
    background: linear-gradient(135deg, #111, #222);
    border: 1px solid var(--jmradio-red);
    color: var(--jmradio-red);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-vocal:hover {
    background: var(--jmradio-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 68, 0.4);
}

/* VOCAL RECORDER UI */
.vocal-recorder-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.record-btn {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: #ef4444;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.record-btn.recording {
    animation: pulse-red 1s infinite alternate;
}
@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0.7); }
    100% { transform: scale(1.1); box-shadow: 0 0 20px rgba(239, 68, 68, 0.7); }
}
.record-waves {
    display: flex;
    gap: 4px;
    height: 30px;
    align-items: center;
    visibility: hidden;
}
.record-waves.active {
    visibility: visible;
}
.record-waves span {
    width: 4px;
    background: var(--jmradio-red);
    border-radius: 2px;
    height: 5px;
    animation: wave 0.5s infinite alternate;
}
.record-waves span:nth-child(2) { animation-delay: 0.1s; }
.record-waves span:nth-child(3) { animation-delay: 0.2s; }
.record-waves span:nth-child(4) { animation-delay: 0.3s; }
.record-waves span:nth-child(5) { animation-delay: 0.4s; }
@keyframes wave {
    0% { height: 5px; }
    100% { height: 30px; }
}

/* EXTRA PLAYER CONTROLS (PiP + Karaoke) */
.player-controls-extra {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-right: 30px;
}
.pip-btn, .karaoke-btn {
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.pip-btn:hover, .karaoke-btn:hover {
    color: #fff;
}

/* KARAOKE OVERLAY */
.karaoke-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}
.karaoke-overlay.active {
    display: flex;
    opacity: 1;
}
.karaoke-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}
.karaoke-blur-bg {
    position: absolute;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.3);
    z-index: 1;
}
.karaoke-lyrics {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
    z-index: 2;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    padding: 50px 0;
}
.karaoke-lyrics p {
    margin: 20px 0;
    transition: color 0.3s, transform 0.3s;
}
.karaoke-lyrics p:hover {
    color: #fff;
    transform: scale(1.1);
}
.close-karaoke {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}
.next-show-bar:hover {
    background: rgba(15, 20, 35, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.next-show-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.next-show-badge {
    background: var(--gradient-gold);
    color: #000;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.next-show-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.next-show-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}
.next-show-host {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.next-show-time {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(251, 191, 36, 0.05);
}

/* NEWS CARD */
.news-card {
    background: rgba(15, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    margin-bottom: 20px;
}
.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.4);
}
.news-img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
}
.news-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-badge {
    background: #EF4444;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    width: fit-content;
    text-transform: uppercase;
}
.news-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
}
.news-desc {
    color: #9CA3AF;
    font-size: 0.95rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .news-card { flex-direction: column; text-align: left; }
    .news-img { width: 100%; height: 200px; }
}


/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


.top5-img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.top5-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== BENTO DASHBOARD ==================== */
.bento-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin: 40px 0;
    max-width: 100%;
}

.bento-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
}

.bento-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
}

.glass-panel {
    background: rgba(11, 15, 25, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

.bento-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.bento-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
    color: #f1f5f9;
}

/* TOP 5 BENTO */
.top5-item-bento {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.top5-item-bento:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.top5-rank-bento {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--jmradio-red);
    width: 35px;
    text-align: center;
    flex-shrink: 0;
}

.top5-item-bento:nth-child(1) .top5-rank-bento { color: #ffd700; font-size: 1.8rem; text-shadow: 0 0 10px rgba(255,215,0,0.5); }
.top5-item-bento:nth-child(2) .top5-rank-bento { color: #c0c0c0; }
.top5-item-bento:nth-child(3) .top5-rank-bento { color: #cd7f32; }

.top5-item-bento img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.top5-title-bento {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 3px;
}

.top5-artist-bento {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* SOCIAL CARDS */
.social-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-card i {
    font-size: 2rem;
    margin-bottom: 12px;
    transition: transform 0.3s ease; margin: auto;
}

.social-card h4 {
    font-size: 0.95rem;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    letter-spacing: 0.3px;
}

.social-card span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
}
.social-card:hover::before { opacity: 1; }
.social-card:hover i { transform: scale(1.15); }

/* Base colors for each card */
.android-card { background: linear-gradient(135deg, rgba(60, 223, 124, 0.08), rgba(60, 223, 124, 0.01)); border-color: rgba(60, 223, 124, 0.15); }
.android-card i { color: #3CDF7C; }

.windows-card { background: linear-gradient(135deg, rgba(0, 164, 239, 0.08), rgba(0, 164, 239, 0.01)); border-color: rgba(0, 164, 239, 0.15); }
.windows-card i { color: #00a4ef; }

.insta-card { background: linear-gradient(135deg, rgba(228, 64, 95, 0.08), rgba(228, 64, 95, 0.01)); border-color: rgba(228, 64, 95, 0.15); }
.insta-card i { color: #E4405F; }

.tiktok-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)); border-color: rgba(255, 255, 255, 0.15); }
.tiktok-card i { color: #fff; }

.discord-card { 
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.08), rgba(88, 101, 242, 0.01)); 
    border-color: rgba(88, 101, 242, 0.15);
    flex-direction: row; 
    gap: 15px; 
    text-align: left; 
    justify-content: flex-start; 
    padding: 20px 25px; 
}
.discord-card i { margin-bottom: 0; font-size: 2.5rem; color: #5865F2; }

/* Hover colors for each card */
.android-card:hover { background: linear-gradient(135deg, rgba(60, 223, 124, 0.2), rgba(60, 223, 124, 0.05)); border-color: #3CDF7C; box-shadow: 0 10px 25px rgba(60, 223, 124, 0.25); }
.windows-card:hover { background: linear-gradient(135deg, rgba(0, 164, 239, 0.2), rgba(0, 164, 239, 0.05)); border-color: #00a4ef; box-shadow: 0 10px 25px rgba(0, 164, 239, 0.25); }
.insta-card:hover { background: linear-gradient(135deg, rgba(228, 64, 95, 0.2), rgba(228, 64, 95, 0.05)); border-color: #E4405F; box-shadow: 0 10px 25px rgba(228, 64, 95, 0.25); }
.tiktok-card:hover { background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)); border-color: #fff; box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25); }
.discord-card:hover { background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.05)); border-color: #5865F2; box-shadow: 0 10px 25px rgba(88, 101, 242, 0.25); }

@media (max-width: 1024px) {
    .bento-dashboard {
        grid-template-columns: 1fr;
    }
}


/* ========================================= */
/* PROGRAMME STYLES */
/* ========================================= */

/* Espacement global */
body {
    padding-bottom: 90px !important;
}

/* 1. Largeur globale */
.page-programme .main-content,
.page-programme .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* 2. Timeline */
.timeline-wrapper {
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 35px !important;
}

.timeline-item {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    gap: 25px !important;
    align-items: flex-start !important;
}

.timeline-time-col {
    min-width: 80px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding-top: 20px !important;
    text-align: right !important;
}

.program-card {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(20, 20, 25, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

.program-banner-wrap {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    background: #000 !important;
}

.program-banner-wrap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

.program-body {
    padding: 25px 30px !important;
}

.program-header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.program-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.program-hours-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.program-host {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ff5500 !important;
    margin-bottom: 12px !important;
}

.program-desc {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
}

/* FIXATION ET MASQUAGE DU BUG DES JOURS SUR ORDINATEUR */
@media (min-width: 769px) {
    .mobile-day-controls {
        display: none !important;
    }
    .desktop-only-days {
        display: flex !important;
    }
}

/* STYLISATION DU LECTEUR FIXED (EXACTEMENT COMME SUR INDEX) */
.player-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 250px !important;
    width: calc(100% - 250px) !important;
    height: 75px !important;
    background: rgba(15, 15, 20, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
}

.player-left {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.player-left img {
    width: 45px !important;
    height: 45px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

.player-meta-info #barTitle {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}

.player-meta-info #barArtist {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem !important;
}

/* BOUTON JAUNE AVEC HALO */
.player-center .playBtn {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: #ffb700 !important;
    border: none !important;
    color: #000 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 15px rgba(255, 183, 0, 0.6) !important;
}

.volume {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #fff !important;
}

/* MOBILE ONLY */
@media (max-width: 768px) {
    body {
        padding-bottom: 140px !important;
    }

    .player-bar {
        left: 0 !important;
        width: 100% !important;
        bottom: 60px !important;
        padding: 0 15px !important;
        height: 65px !important;
    }

    .volume {
        display: none !important;
    }

    .timeline-item {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .timeline-time-col {
        text-align: center !important;
        width: 100% !important;
        padding-top: 0 !important;
    }

    .desktop-only-days,
    .desktop-only-week {
        display: none !important;
    }

    .mobile-day-controls {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 340px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px) !important;
        padding: 18px 20px !important;
        border-radius: 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin: 0 auto 25px auto !important;
    }

    .next-day-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 12px 24px !important;
        background: linear-gradient(135deg, #ff0055 0%, #ff5500 100%) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border: none !important;
        border-radius: 50px !important;
    }
}


/* ========================================= */
/* TITRES STYLES */
/* ========================================= */

        .now-playing-banner {
            background: var(--card-bg, rgba(11, 15, 25, 0.65)) !important;
            border: 1px solid var(--border-color, rgba(251, 191, 36, 0.12)) !important;
            border-radius: var(--border-radius-xl, 28px) !important;
            padding: 24px !important;
            display: flex !important;
            align-items: center !important;
            gap: 25px !important;
            margin-bottom: 35px !important;
            box-shadow: var(--shadow-lg, 0 16px 36px rgba(0, 0, 0, 0.16)) !important;
            backdrop-filter: blur(20px) !important;
        }
        .now-playing-banner img {
            width: 100px !important; height: 100px !important;
            border-radius: var(--border-radius-md, 12px) !important;
            object-fit: cover !important;
            border: 2px solid var(--gold, #FBBF24) !important;
            box-shadow: 0 0 25px rgba(251, 191, 36, 0.25) !important;
            flex-shrink: 0 !important;
        }
        .now-playing-info { flex: 1 !important; min-width: 0 !important; }
        .now-playing-tag { font-size: 0.8rem !important; font-weight: 800 !important; color: var(--jmradio-red, #E72535) !important; text-transform: uppercase !important; letter-spacing: 1px !important; }
        .now-playing-artist { font-size: 1.3rem !important; font-weight: 900 !important; color: #FFF !important; margin-top: 4px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
        .now-playing-title { font-size: 1.1rem !important; color: var(--text-secondary, #9CA3AF) !important; font-weight: 600 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

        .timeline-filters {
            display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 15px !important; margin-bottom: 30px !important;
            background: rgba(255,255,255,0.02) !important; padding: 15px 20px !important; border-radius: var(--border-radius-lg, 20px) !important; border: 1px solid rgba(255,255,255,0.05) !important;
            flex-wrap: wrap !important;
        }
        .date-display-fr { font-weight: 800 !important; font-size: 1.1rem !important; color: var(--gold, #FBBF24) !important; text-transform: capitalize !important; }
        .inputs-wrap { display: flex !important; gap: 10px !important; align-items: center !important; flex-wrap: wrap !important; }
        .timeline-filters input[type="date"], .timeline-filters input[type="time"] {
            background: #070b14 !important; border: 1px solid var(--border-color, rgba(251, 191, 36, 0.12)) !important;
            color: white !important; padding: 10px 14px !important; border-radius: var(--border-radius-md, 12px) !important;
            font-family: inherit !important; font-weight: 700 !important; outline: none !important; cursor: pointer !important;
        }
        .btn-reset-time {
            background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--border-color, rgba(251, 191, 36, 0.12)) !important;
            color: var(--text-secondary, #9CA3AF) !important; padding: 10px 14px !important; border-radius: var(--border-radius-md, 12px) !important;
            cursor: pointer !important; font-weight: 700 !important; font-size: 0.85rem !important; transition: var(--transition) !important;
        }
        .btn-reset-time:hover { background: var(--gold, #FBBF24) !important; color: black !important; }

        .timeline { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 15px !important; padding: 0 !important; max-width: 600px !important; margin: 0 auto !important; }
        .timeline::before { display: none !important; }

        .timeline-item { width: 100% !important; display: flex !important; flex-direction: column !important; align-items: center !important; position: relative !important; animation: fadeIn 0.4s ease-out !important; }

            .now-playing-artist { font-size: 1.1rem !important; }
            .now-playing-title { font-size: 0.95rem !important; }
            .timeline-filters { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; padding: 12px !important; }
            .inputs-wrap { justify-content: space-between !important; }
            .timeline { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 15px !important; padding: 0 !important; max-width: 600px !important; margin: 0 auto !important; }
            .timeline::before { display: none !important; }
            .timeline-time { background: var(--jmradio-red, #E60000) !important; color: white !important; font-weight: 700 !important; font-size: 0.85rem !important; padding: 4px 14px !important; border-radius: 12px !important; margin-bottom: -15px !important; z-index: 2 !important; box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important; text-align: center !important; }
            .timeline-card { background: rgba(255, 255, 255, 0.03) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: var(--border-radius-lg, 16px) !important; padding: 25px 20px 15px !important; display: flex !important; gap: 15px !important; align-items: center !important; width: 100% !important; transition: all 0.3s ease !important; cursor: pointer !important; position: relative !important; overflow: hidden !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important; justify-content: center !important; text-align: center !important; }
            .timeline-card img { width: 50px !important; height: 50px !important; }
            .timeline-artist { font-size: 0.9rem !important; }
            .timeline-title { font-size: 0.8rem !important; }
        }
    @media (max-width: 576px) { .modal-content { padding: 30px 20px; } .modal-content h2 { font-size: 1.3rem; } .input-group input, .input-group textarea { padding-left: 40px; } }
@media (max-width: 768px) { .info-flash-box { flex-direction: column; text-align: center; gap: 15px; padding: 15px; } .info-flash-img { width: 100%; height: 200px; } .info-flash-text-content { text-align: center; } }

/* METEO CAROUSEL */
.meteo-bento { aspect-ratio: 16/9; }
.meteo-carousel { position: relative; width: 100%; height: 100%; }
.meteo-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
.meteo-slide.active { opacity: 1; }
.meteo-slide img { width: 100%; height: 100%; object-fit: cover; }
.meteo-temp-box { position: absolute; top: 40%; left: 50%; transform: translate(-50%, 0); display: flex; align-items: center; justify-content: center; z-index: 10; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 12px 40px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.meteo-value { font-size: 3vw; font-weight: 800; color: #ffffff; font-family: 'Montserrat', sans-serif; text-shadow: 0 2px 4px rgba(0,0,0,0.3); letter-spacing: 1px; }
.meteo-carousel-2 { scrollbar-width: none; -ms-overflow-style: none; }
.meteo-carousel-2::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .meteo-value { font-size: 1.8vw; } }
@media (max-width: 768px) { .meteo-value { font-size: 4.5vw; } }

.dedicaces-vertical-container {
    display: flex;
    flex-direction: column;
    flex: 1; /* allow it to grow in the sidebar */
    min-height: 400px;
    max-height: 800px;
}
.dedicaces-vertical-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 15px;
    mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}
.dedicaces-content-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scroll-up-dedi 50s linear infinite;
}
.dedicaces-content-vertical:hover {
    animation-play-state: paused;
}
.dedi-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}
.dedi-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(251, 191, 36, 0.3);
}
.dedi-name {
    font-weight: 800;
    color: var(--gold);
    font-size: 0.95rem;
}
.dedi-msg {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}
@keyframes scroll-up-dedi {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}


/* --- FIXES APPENSES --- */
.day-tab:hover { color: var(--text-primary); border-color: rgba(251, 191, 36, 0.3); background: rgba(255, 255, 255, 0.02); }
.day-tab.active { background: rgba(251, 191, 36, 0.08); border: 1.5px solid rgba(251, 191, 36, 0.6); color: var(--gold); font-weight: 800; box-shadow: 0 0 15px rgba(251, 191, 36, 0.15); }
.day-tab .dot, .day-tab.active .dot { display: none !important; }
.timeline-time-col::after { display: none !important; }
.timeline-item.live-now .timeline-time-col::after { display: none !important; }
.program-banner-wrap img { object-fit: cover !important; }
html { background-color: var(--bg-primary, #0B0F19) !important; min-height: 100vh; }

.next-week-btn {
    background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--gold, #FBBF24); padding: 12px 20px; border-radius: 12px;
    font-weight: 800; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: all 0.3s ease; white-space: nowrap; flex-shrink: 0;
}
.next-week-btn:hover { background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #030712; border-color: transparent; transform: translateY(-2px); }
body { background-color: transparent !important; }

@media (min-width: 1025px) {
    .page-programme .player-bar { 
        position: fixed !important; 
        bottom: 20px !important; 
        left: 280px !important; 
        width: calc(100% - 300px) !important; 
        border-radius: 40px !important; 
        border: 1px solid rgba(255, 255, 255, 0.05) !important; 
    }
}
.days-navbar { min-width: 0 !important; }
.days-header-wrap { flex-wrap: nowrap !important; }

.days-navbar { flex-wrap: wrap !important; justify-content: center !important; overflow-x: visible !important; }
.page-programme .timeline-item { flex-direction: column !important; gap: 0 !important; align-items: center !important; }
.page-programme .timeline-time-col { background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05)) !important; border: 1px solid rgba(251, 191, 36, 0.3) !important; color: var(--gold, #FBBF24) !important; padding: 6px 18px !important; border-radius: 20px !important; display: inline-block !important; text-align: center !important; width: auto !important; font-size: 0.95rem !important; margin: 0 auto 12px auto !important; box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important; }
.page-programme .timeline-item.live-now .timeline-time-col { color: #E72535 !important; }

.days-navbar { flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto !important; min-width: 0 !important; padding-bottom: 8px !important; }
.days-navbar::-webkit-scrollbar { height: 6px; display: block !important; }
.days-navbar::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 4px; }
.days-navbar::-webkit-scrollbar-thumb { background: rgba(251, 191, 36, 0.4); border-radius: 4px; }

@media (min-width: 768px) {
    .page-programme .timeline-item { flex-direction: row !important; align-items: stretch !important; gap: 35px !important; }
}

.beautiful-timeline { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: space-between !important; background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; width: 65px !important; flex-shrink: 0 !important; padding-top: 10px !important; padding-bottom: 10px !important; }
.time-bound { font-weight: 800 !important; font-size: 1.05rem !important; color: #c4b5fd !important; background: transparent !important; line-height: 1 !important; letter-spacing: 0.5px !important; }
.time-line-vert { flex: 1 !important; width: 2px !important; background: #6d28d9 !important; box-shadow: 0 0 12px rgba(109, 40, 217, 0.8) !important; border-radius: 2px !important; margin: 8px 0 !important; }

.page-programme .timeline-item.live-now .time-bound { color: #f87171 !important; }
.page-programme .timeline-item.live-now .time-line-vert { background: #dc2626 !important; box-shadow: 0 0 12px rgba(220, 38, 38, 0.8) !important; }

/* Fix for Dimanche cut off */
.day-tab { min-width: auto !important; padding: 10px 12px !important; flex: 1 !important; }
.days-navbar { gap: 6px !important; justify-content: space-between !important; }

/* Yellow / Gold vertical timeline */
.time-line-vert {
    background: linear-gradient(to bottom, #FCD34D, #F59E0B) !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5) !important;
}
.time-bound { color: #FCD34D !important; }
.page-programme .timeline-time-col { border-color: rgba(251, 191, 36, 0.4) !important; }

.day-tab { flex: 0 0 auto !important; white-space: nowrap !important; padding: 10px 14px !important; min-width: auto !important; height: auto !important; }
.days-navbar { align-items: center !important; flex-wrap: nowrap !important; overflow-x: auto !important; }

/* Fix for the huge gaps and clipping */
.days-navbar { justify-content: flex-start !important; gap: 10px !important; }

/* + D INFO BUTTON */
.btn-info-plus { display: inline-flex; align-items: center; gap: 6px; background: rgba(251, 191, 36, 0.1); border: 1px solid var(--gold); color: var(--gold); padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; cursor: pointer; transition: all 0.3s; margin-top: 10px; align-self: flex-start; width: max-content; }
.btn-info-plus:hover { background: var(--gold); color: #000; box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4); transform: translateY(-2px); }

/* MODAL STYLES */
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.custom-modal-overlay.active { opacity: 1; pointer-events: auto; }
.custom-modal-content { background: var(--bg-primary); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 30px; width: 90%; max-width: 1100px; max-height: 85vh; overflow-y: auto; position: relative; transform: translateY(20px); transition: transform 0.3s; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.custom-modal-overlay.active .custom-modal-content { transform: translateY(0); }
.custom-modal-close { position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, 0.1); border: none; color: white; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; z-index: 10; }
.custom-modal-close:hover { background: #EF4444; transform: rotate(90deg); }

/* TOP 30 GRID */
.top30-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; margin-top: 20px; }
.top30-card { position: relative; background: rgba(11, 15, 25, 0.6); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s; }
.top30-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.top30-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; }
.top30-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.top30-badge { position: absolute; bottom: 0; left: 0; background: #E72535; color: white; font-weight: 900; font-size: 1.2rem; padding: 4px 12px; border-top-right-radius: 12px; box-shadow: 2px -2px 10px rgba(0,0,0,0.5); }
.top30-info { padding: 12px; }
.top30-artist { font-size: 0.75rem; color: #9CA3AF; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top30-title { font-size: 0.95rem; color: white; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* BIO MAT */
.bio-content { font-size: 1.05rem; line-height: 1.7; color: #D1D5DB; margin-top: 15px; }
.bio-content strong { color: var(--gold); }
/* --- OVERRIDES GLOBALS POUR PROGRAMME.HTML TIMELINE --- */
.page-programme .timeline-wrapper, .timeline-wrapper { position: relative !important; }
.page-programme .timeline-wrapper::before, 
.page-programme .timeline-item, .timeline-item {
    display: flex !important; flex-direction: row !important; gap: 45px !important;
    align-items: flex-start !important; position: relative !important; z-index: 1 !important;
}
.page-programme .timeline-time-col, .timeline-time-col {
    background: transparent !important; border: none !important; box-shadow: none !important;
    width: 110px !important; min-width: 110px !important; flex-shrink: 0 !important;
    font-size: 1.1rem !important; font-weight: 800 !important; color: rgba(255, 255, 255, 0.7) !important;
    padding-top: 20px !important; padding-bottom: 0 !important; padding-right: 0 !important;
    padding-left: 0 !important; text-align: right !important; position: relative !important;
    margin: 0 !important; border-radius: 0 !important;
}
.page-programme .timeline-time-col::after, .timeline-time-col::after {
    content: '' !important; display: block !important; position: absolute !important;
    right: -25px !important; top: 26px !important; width: 10px !important; height: 10px !important;
    background: #ffb700 !important; border-radius: 50% !important; box-shadow: 0 0 10px rgba(255, 183, 0, 0.8) !important;
    z-index: 2 !important;
}
.page-programme .timeline-item.live-now .timeline-time-col::after, .timeline-item.live-now .timeline-time-col::after {
    display: block !important; background: #E72535 !important; box-shadow: 0 0 15px rgba(231, 37, 53, 0.9) !important;
}
.page-programme .timeline-item.live-now .timeline-time-col, .timeline-item.live-now .timeline-time-col {
    color: #E72535 !important;
}
@media (max-width: 768px) {
    .page-programme .timeline-item, .timeline-item { flex-direction: column !important; gap: 8px !important; align-items: flex-start !important; }
    .page-programme .timeline-time-col, .timeline-time-col { text-align: left !important; width: 100% !important; padding-top: 0 !important; padding-left: 30px !important; margin-bottom: 5px !important; }
    .page-programme .timeline-wrapper::before, 
    .page-programme .timeline-time-col::after, .timeline-time-col::after { right: auto !important; left: 6px !important; top: 6px !important; }
}

.timeline-item::before, .page-programme .timeline-item::before {
    content: '' !important;
    position: absolute !important;
    top: 15px !important;
    bottom: 0px !important;
    left: 139px !important;
    width: 2px !important;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.05)) !important;
    z-index: 0 !important;
}


@media (max-width: 768px) {
    .timeline-item::before, .page-programme .timeline-item::before {
        left: 10px !important;
        top: 0px !important;
        bottom: 0px !important;
    }
}




/* EQUAL SIZE SIDEBAR BUTTONS */
.sidebar-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.sidebar-actions .phone,
.sidebar-actions .dedicace-btn,
.sidebar-actions .postule-btn {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    line-height: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    margin: 0 !important;
}
.sidebar-actions .phone {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFF !important;
}
.sidebar-actions .phone:hover {
    border-color: rgba(251, 191, 36, 0.4) !important;
    background: rgba(251, 191, 36, 0.08) !important;
    color: #FBBF24 !important;
    transform: translateY(-2px) !important;
}
.sidebar-actions .phone i { color: #FBBF24 !important; }
.sidebar-actions .dedicace-btn {
    background: linear-gradient(135deg, rgba(231, 37, 53, 0.15), rgba(231, 37, 53, 0.05)) !important;
    border: 1px solid rgba(231, 37, 53, 0.3) !important;
    color: #FFB3B3 !important;
}
.sidebar-actions .dedicace-btn:hover {
    background: linear-gradient(135deg, rgba(231, 37, 53, 0.3), rgba(231, 37, 53, 0.15)) !important;
    border-color: rgba(231, 37, 53, 0.6) !important;
    color: #FFF !important;
    transform: translateY(-2px) !important;
}
.sidebar-actions .dedicace-btn i { color: #F87171 !important; }
.sidebar-actions .postule-btn {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05)) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    color: #FDE68A !important;
}
.sidebar-actions .postule-btn:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.15)) !important;
    border-color: rgba(251, 191, 36, 0.6) !important;
    color: #FFF !important;
    transform: translateY(-2px) !important;
}
.sidebar-actions .postule-btn i { color: #FBBF24 !important; }


/* --- UNIFIED PLAYER EXTRA CONTROLS (PAROLES & MINI PLAYER) --- */
.player-right-controls {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.player-extra-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.player-extra-btn:hover {
    background: rgba(251, 191, 36, 0.2) !important;
    border-color: #FBBF24 !important;
    color: #FBBF24 !important;
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4) !important;
}

.player-extra-btn.active {
    background: #E72535 !important;
    border-color: #E72535 !important;
    color: #FFF !important;
    box-shadow: 0 0 15px rgba(231, 37, 53, 0.6) !important;
}

/* --- MINI PLAYER MODAL --- */
.mini-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 8, 15, 0.8);
    backdrop-filter: blur(18px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mini-player-overlay.active {
    display: flex;
    opacity: 1;
}

.mini-player-card {
    width: 100%;
    max-width: 360px;
    background: rgba(14, 18, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(231, 37, 53, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mini-player-overlay.active .mini-player-card {
    transform: scale(1);
}

.mini-player-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.mini-player-badge {
    background: rgba(231, 37, 53, 0.15);
    border: 1px solid rgba(231, 37, 53, 0.4);
    color: #E72535;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.mini-player-actions {
    display: flex;
    gap: 8px;
}
.mini-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFF;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mini-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FBBF24;
    transform: scale(1.1);
}

.mini-player-vinyl-wrap {
    margin: 10px 0 18px 0;
    position: relative;
}
.vinyl-record {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a1a 0%, #0d0d0d 100%);
    border: 4px solid #262626;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(251, 191, 36, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotateVinyl 12s linear infinite;
    animation-play-state: paused;
}
.vinyl-record.playing {
    animation-play-state: running;
}
@keyframes rotateVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mini-cover-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FBBF24;
    z-index: 2;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.mini-player-info {
    width: 100%;
    margin-bottom: 15px;
}
.mini-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-artist {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FBBF24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
    border: none;
    color: #000;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    transition: transform 0.2s ease;
    margin-bottom: 18px;
}
.mini-play-btn:hover {
    transform: scale(1.08);
}

.mini-volume-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
.mini-volume-row input[type="range"] {
    flex: 1;
    accent-color: #FBBF24;
    cursor: pointer;
}

/* --- LYRICS MODAL --- */
.lyrics-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 8, 15, 0.8);
    backdrop-filter: blur(18px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lyrics-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lyrics-card {
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    background: rgba(14, 18, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(251, 191, 36, 0.15);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.lyrics-modal-overlay.active .lyrics-card {
    transform: translateY(0);
}

.lyrics-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}
.lyrics-badge {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #FBBF24;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 6px;
}
.lyrics-title-group h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFF;
    margin: 0 0 4px 0;
}
.lyrics-title-group p {
    font-size: 0.92rem;
    font-weight: 700;
    color: #E72535;
    margin: 0;
}
.close-lyrics-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFF;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.close-lyrics-btn:hover {
    background: #E72535;
    color: #FFF;
}

.lyrics-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-wrap;
    font-weight: 500;
    text-align: center;
}
.lyrics-body::-webkit-scrollbar { width: 6px; }
.lyrics-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }

.lyrics-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 0;
    color: #FBBF24;
    font-size: 1.8rem;
    gap: 15px;
}
.lyrics-loading p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); margin: 0; }


/* --- DEEZER-STYLE LYRICS MODAL --- */
.lyrics-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 9, 20, 0.88);
    backdrop-filter: blur(25px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lyrics-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lyrics-card-deezer {
    width: 100%;
    max-width: 560px;
    height: 82vh;
    max-height: 720px;
    background: linear-gradient(165deg, #16152B 0%, #0D0C1B 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    padding: 28px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(168, 85, 247, 0.15);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lyrics-modal-overlay.active .lyrics-card-deezer {
    transform: scale(1) translateY(0);
}

.lyrics-card-deezer::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(231, 37, 53, 0.25) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.lyrics-header-deezer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.lyrics-cover-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lyrics-meta-deezer {
    flex: 1;
}
.lyrics-meta-deezer h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}
.lyrics-meta-deezer p {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FBBF24;
    margin: 0;
}

.lyrics-content-deezer {
    flex: 1;
    overflow-y: auto;
    padding: 24px 10px 24px 0;
    position: relative;
    z-index: 2;
}

.lyrics-content-deezer::-webkit-scrollbar {
    width: 5px;
}
.lyrics-content-deezer::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.deezer-lyric-line {
    font-size: 1.3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.35);
    margin: 18px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.4;
}
.deezer-lyric-line:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateX(4px);
}
.deezer-lyric-line.active {
    font-size: 1.65rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: scale(1.02);
}
