 /* --- CONFIGURATION GENERALE --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --primary-green: #00cc66;
    --primary-red: #ff3344;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.accent-red { color: var(--primary-red); }
.accent-green { color: var(--primary-green); }

.badge-fm {
    background-color: var(--primary-green);
    color: var(--bg-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 900;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 35px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-white);
}

.btn-live {
    background: rgba(255, 51, 68, 0.1);
    color: var(--primary-red);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 51, 68, 0.2);
    transition: var(--transition);
}

.btn-live:hover {
    background: var(--primary-red);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(255, 51, 68, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.btn-live:hover .live-dot {
    background-color: var(--text-white);
}

/* --- HERO SECTION --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 90vh;
    padding: 60px 7% 35px 8%;
    gap: 50px;
}

.hero-tagline {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-dark);
    border: none;
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 204, 102, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    object-fit: fill;
    height: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- L'ÉCOUTE ET LECTEUR FLOUTÉ --- */
.now-playing-container {
    padding: 0 8% 80px 8%;
}

.player-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-wave {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 30px;
}

.audio-wave span {
    width: 4px;
    height: 100%;
    background-color: var(--primary-green);
    border-radius: 2px;
    animation: bounce 1s ease-in-out infinite alternate;
}
.audio-wave span:nth-child(2) { animation-delay: 0.2s; background-color: var(--primary-red); }
.audio-wave span:nth-child(3) { animation-delay: 0.4s; }
.audio-wave span:nth-child(4) { animation-delay: 0.1s; background-color: var(--primary-red); }
.audio-wave span:nth-child(5) { animation-delay: 0.3s; }

.track-info {
    flex-grow: 1;
    margin-left: 30px;
}

.track-info .status {
    font-size: 0.75rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 1px;
}

.track-info .track-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2px 0;
}

.track-info .artist-name {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    color: var(--text-white);
}

.control-btn.play-main {
    background-color: var(--text-white);
    color: var(--bg-dark);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(255,255,255,0.1);
}

.control-btn.play-main:hover {
    transform: scale(1.05);
    background-color: var(--primary-green);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 40px;
    color: var(--text-muted);
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
}

.volume-progress {
    width: 70%;
    height: 100%;
    background-color: var(--text-white);
    border-radius: 2px;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes bounce {
    0% { height: 5px; }
    100% { height: 30px; }
}

/* --- RESPONSIVE DE BASE --- */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
    }
    .hero h1 { font-size: 2.8rem; }
    .hero p { margin: 0 auto 30px auto; }
    .hero-buttons { justify-content: center; }
    .nav-links { display: none; } /* Idéalement à remplacer par un menu burger */
    .player-card { flex-direction: column; text-align: center; gap: 20px; }
    .track-info { margin-left: 0; }
    .volume-container { margin-left: 0; }
}