:root {
    --blue-neon: #0044ff;
    --blue-glow: #00d4ff;
    --dark-bg: #020205;
    --card-bg: #0a0a0f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- SPLASH SCREEN --- */
#splash {
    position: fixed; inset: 0;
    background: radial-gradient(circle at center, #0a0a1a 0%, #000 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 9999; text-align: center;
    transition: opacity 0.8s;
}

#splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.logo-splash { 
    width: 100%; 
    max-width: 450px; 
    margin-bottom: 2rem; 
    filter: drop-shadow(0 0 20px var(--blue-neon)); 
}

.glitch { font-size: 3rem; font-weight: 800; letter-spacing: 4px; margin-bottom: 10px; text-shadow: 2px 2px var(--blue-neon); }
.tagline { color: #888; margin-bottom: 3rem; font-style: italic; }

/* RE-STYLE DU BOUTON SPLASH */
.btn-enter {
    background: transparent;
    border: 2px solid var(--blue-neon);
    color: white;
    padding: 1.2rem 3rem;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 68, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-enter:hover {
    background: var(--blue-neon);
    box-shadow: 0 0 40px var(--blue-neon);
    transform: scale(1.05);
}

/* Container des icônes */
.podcast-links {
    display: flex;
    justify-content: center;
    gap: 30px; /* Espace entre les deux icônes */
    margin-top: 2.5rem;
}

/* Style des icônes */
.podcast-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    color: #666; /* Couleur par défaut (discrète) */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.podcast-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor; /* Permet de changer la couleur via le CSS */
}

/* Effet au survol (Néon) */
.podcast-icon:hover {
    color: var(--blue-neon); /* Devient bleu néon */
    transform: translateY(-5px); /* Petit saut vers le haut */
    filter: drop-shadow(0 0 10px var(--blue-neon)); /* Halo lumineux */
}

/* --- MAIN SITE --- */
#main-site { width: 100%; max-width: 500px; padding: 2rem; text-align: center; }
#main-site.hidden { display: none; }

.mini-logo { width: 250px; margin-bottom: 1rem; filter: drop-shadow(0 0 10px var(--blue-neon)); }

#episode-nav { display: flex; gap: 10px; justify-content: center; margin-bottom: 2rem; }
.btn-ep {
    background: #111; border: 1px solid #333; color: #888;
    padding: 10px 20px; cursor: pointer; font-weight: bold; transition: 0.3s;
}
.btn-ep.active { background: var(--blue-neon); color: white; border-color: var(--blue-neon); box-shadow: 0 0 10px var(--blue-neon); }

/* --- FLIP CARD --- */
.flip-container {
    perspective: 1200px; width: 100%; height: 400px; margin-bottom: 1.5rem;
    position: relative; z-index: 1;
}
.card {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.card.is-flipped { transform: rotateY(180deg); }

.face {
    position: absolute; inset: 0; backface-visibility: hidden;
    background: var(--card-bg); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.side-b { transform: rotateY(180deg); border-color: var(--blue-glow); }

/* --- PLAYER --- */
.play-btn {
    width: 60px; height: 60px; border-radius: 50%; border: none;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    background: var(--blue-neon); transition: 0.3s;
    margin: auto;
}
.side-b .play-btn { background: var(--blue-glow); }
.play-btn svg { width: 30px; height: 30px; fill: white; }
.play-btn:hover { transform: scale(1.1); }

.timer { font-family: monospace; font-size: 1.2rem; color: #fff; margin-top: 1rem;}

.progress-container {
    width: 100%; height: 6px; background: #222; border-radius: 3px;
    margin-top: 15px; cursor: pointer; overflow: hidden;
}
.progress-bar { height: 100%; width: 0%; background: var(--blue-neon); transition: width 0.1s linear; }
.side-b .progress-bar { background: var(--blue-glow); }

/* --- BOUTON BASCULE --- */
.btn-flip {
    position: relative; z-index: 100;
    background: white; color: black; border: none;
    padding: 15px 40px; border-radius: 50px; font-weight: 800;
    cursor: pointer; text-transform: uppercase; letter-spacing: 2px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: 0.3s;
    margin-bottom: 2rem;
}
.btn-flip:hover { background: var(--blue-glow); color: white; transform: scale(1.05); }

.label { font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.side-a .label { color: var(--blue-neon); }
.side-b .label { color: var(--blue-glow); }
.episode-desc { color: #888; font-size: 0.95rem; line-height: 1.6; }