/*
 * Pop Rétro Radio - Styles principaux
 * popretroradio.ca
 *
 * BRANDING (basé sur le logo officiel):
 * - Marine foncé:  #1A1A3E  (fond principal)
 * - Indigo:        #2D2D5E  (fond secondaire)
 * - Mauve/violet:  #7B4B8A  (accent secondaire)
 * - Rouge néon:    #D42B3C  (accent primaire / néon)
 * - Bordeaux:      #9E2235  (rouge profond)
 * - Rose néon:     #FF4D6A  (glow néon titres)
 * - Bleu néon:     #4DA6FF  (glow néon accent)
 *
 * POLICES:
 * - Titres: 'Righteous', cursive (rétro/groovy)
 * - Corps: 'Inter', sans-serif (moderne, lisible)
 */

@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Inter:wght@300;400;500;600;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --marine: #1A1A3E;
    --marine-rgb: 26, 26, 62;
    --indigo: #2D2D5E;
    --indigo-rgb: 45, 45, 94;
    --mauve: #7B4B8A;
    --mauve-rgb: 123, 75, 138;
    --rouge: #D42B3C;
    --rouge-hover: #B8222F;
    --bordeaux: #9E2235;
    --rose-neon: #FF4D6A;
    --rose-neon-rgb: 255, 77, 106;
    --bleu-neon: #4DA6FF;
    --bleu-neon-rgb: 77, 166, 255;
    --texte-clair: #EDEDF0;
    --texte-muted: rgba(237, 237, 240, 0.6);
    --gradient-hero: linear-gradient(135deg, #0F0F2A 0%, #1A1A3E 40%, #2A1A35 100%);
    --gradient-neon: linear-gradient(135deg, var(--rose-neon), var(--mauve), var(--bleu-neon));
    --gradient-neon-btn: linear-gradient(135deg, var(--rouge), var(--rose-neon));
    --glow-rose: 0 0 15px rgba(255, 77, 106, 0.5), 0 0 40px rgba(255, 77, 106, 0.2);
    --glow-bleu: 0 0 15px rgba(77, 166, 255, 0.5), 0 0 40px rgba(77, 166, 255, 0.2);
    --glow-mauve: 0 0 15px rgba(123, 75, 138, 0.5), 0 0 40px rgba(123, 75, 138, 0.2);
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.25);
    --shadow-card: 0 8px 30px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--texte-clair);
    background-color: var(--marine);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Righteous', cursive;
    line-height: 1.2;
}

a {
    color: var(--rose-neon);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--bleu-neon);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === NEON TEXT UTILITY === */
.neon-rose {
    color: var(--rose-neon);
    text-shadow: 0 0 7px rgba(255, 77, 106, 0.8), 0 0 20px rgba(255, 77, 106, 0.4), 0 0 40px rgba(255, 77, 106, 0.2);
}

.neon-bleu {
    color: var(--bleu-neon);
    text-shadow: 0 0 7px rgba(77, 166, 255, 0.8), 0 0 20px rgba(77, 166, 255, 0.4), 0 0 40px rgba(77, 166, 255, 0.2);
}

.neon-mauve {
    color: var(--mauve);
    text-shadow: 0 0 7px rgba(123, 75, 138, 0.8), 0 0 20px rgba(123, 75, 138, 0.4);
}

/* === LECTEUR FLOTTANT (STICKY PLAYER) === */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(45, 45, 94, 0.95), rgba(26, 26, 62, 0.98));
    border-top: 2px solid var(--rose-neon);
    box-shadow: 0 -4px 30px rgba(255, 77, 106, 0.15);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.player-bar .player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-bar .vinyl-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rouge), var(--mauve));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 3s linear infinite paused;
    box-shadow: 0 0 12px rgba(212, 43, 60, 0.4);
}

.player-bar .vinyl-icon.playing {
    animation-play-state: running;
}

/* Pochette album dans la barre du lecteur — carré, ne tourne pas */
.player-thumb {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.player-cover-img {
    display: none;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.player-cover-img.visible {
    display: block;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.player-bar .station-name {
    font-family: 'Righteous', cursive;
    font-size: 1rem;
    color: var(--rose-neon);
    text-shadow: 0 0 8px rgba(255, 77, 106, 0.4);
}

.player-bar .station-tagline {
    font-size: 0.75rem;
    color: var(--bleu-neon);
    opacity: 0.8;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--rouge);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(212, 43, 60, 0.5), 0 0 40px rgba(212, 43, 60, 0.2);
}

.btn-play:hover {
    background: var(--rose-neon);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 77, 106, 0.7), 0 0 60px rgba(255, 77, 106, 0.3);
}

.quality-selector select {
    padding: 6px 10px;
    border: 1px solid rgba(123, 75, 138, 0.3);
    border-radius: 6px;
    background: rgba(15, 15, 42, 0.6);
    color: var(--texte-clair);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    transition: border-color var(--transition);
}

.quality-selector select:focus {
    outline: none;
    border-color: var(--rose-neon);
}

.quality-selector select option {
    background: var(--marine);
    color: var(--texte-clair);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-control input[type="range"] {
    width: 100px;
    accent-color: var(--rose-neon);
}

/* === HEADER / NAVIGATION === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(26, 26, 62, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(123, 75, 138, 0.2);
    transition: all var(--transition);
    overflow: visible;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(255, 77, 106, 0.15);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    position: absolute;
    top: -14px;
    filter: drop-shadow(0 0 12px rgba(255, 58, 108, 0.35));
    transition: transform var(--transition), filter var(--transition);
}

.logo-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 58, 108, 0.5));
}

/* Espace réservé pour le logo dans le flow */
.logo {
    width: 150px;
    height: 55px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--texte-clair);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: width var(--transition);
    box-shadow: 0 0 8px rgba(255, 77, 106, 0.4);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--rose-neon);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--texte-clair);
    border-radius: 2px;
    transition: all var(--transition);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: visible;
    clip-path: inset(0);
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 77, 106, 0.1) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 75, 138, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 8px;
    color: var(--texte-clair);
}

.hero-text h1 .neon-word-pop {
    color: var(--rose-neon);
    text-shadow: 0 0 10px rgba(255, 77, 106, 0.9), 0 0 30px rgba(255, 77, 106, 0.5), 0 0 60px rgba(255, 77, 106, 0.25);
}

.hero-text h1 .neon-word-retro {
    color: var(--rose-neon);
    text-shadow: 0 0 10px rgba(255, 77, 106, 0.9), 0 0 30px rgba(255, 77, 106, 0.5), 0 0 60px rgba(255, 77, 106, 0.25);
    font-style: italic;
}

.hero-text h1 .neon-word-radio {
    color: var(--bleu-neon);
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.9), 0 0 30px rgba(77, 166, 255, 0.5), 0 0 60px rgba(77, 166, 255, 0.25);
}

.hero-text .tagline {
    font-size: 2.9rem;
    color: var(--rose-neon);
    font-family: 'Righteous', cursive;
    margin-top: 0;
    margin-bottom: 72px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 58, 108, 0.5), 0 0 30px rgba(255, 58, 108, 0.2);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(237, 237, 240, 0.8);
    max-width: 520px;
    margin-bottom: 56px;
    line-height: 1.75;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vinyl-record {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        #0a0a1e 0%, #0a0a1e 14%,
        var(--rose-neon) 14.5%, var(--rose-neon) 15.5%,
        #12122e 16%, #12122e 18%,
        var(--bleu-neon) 18.2%, var(--bleu-neon) 18.8%,
        #15153a 19.5%, #15153a 28%,
        #1e1e4a 28.5%, #1e1e4a 29%,
        #15153a 29.5%, #15153a 42%,
        #1e1e4a 42.5%, #1e1e4a 43%,
        #15153a 43.5%, #15153a 55%,
        #1e1e4a 55.5%, #1e1e4a 56%,
        #15153a 56.5%, #15153a 82%,
        #252555 82.5%
    );
    box-shadow:
        0 0 40px rgba(255, 77, 106, 0.25),
        0 0 80px rgba(123, 75, 138, 0.15),
        0 0 120px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    animation: spin 8s linear infinite;
    position: relative;
}

.vinyl-record::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-neon), var(--mauve), var(--bleu-neon), var(--mauve), var(--rose-neon));
    z-index: -1;
    opacity: 0.5;
    filter: blur(2px);
}

.vinyl-record::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0a0a1e;
    box-shadow: 0 0 6px rgba(0,0,0,0.8), inset 0 0 4px rgba(0,0,0,0.6);
    z-index: 2;
}

/* Pochette album dans le centre du vinyle */
.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rouge), var(--mauve), var(--bordeaux));
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4), 0 0 20px rgba(255, 77, 106, 0.3);
    z-index: 1;
}

.vinyl-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.vinyl-label img.visible {
    opacity: 1;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--rouge);
    color: white;
    font-family: 'Righteous', cursive;
    font-size: 1.05rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(212, 43, 60, 0.4), 0 0 40px rgba(212, 43, 60, 0.15);
}

.btn-primary:hover {
    background: var(--rose-neon);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 77, 106, 0.6), 0 0 60px rgba(255, 77, 106, 0.2);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--bleu-neon);
    font-family: 'Righteous', cursive;
    font-size: 1.05rem;
    border: 2px solid var(--bleu-neon);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.15);
}

.btn-secondary:hover {
    background: var(--bleu-neon);
    color: var(--marine);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(77, 166, 255, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* === SECTIONS COMMUNES === */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--texte-clair);
}

.section-header h2 span {
    color: var(--rose-neon);
    text-shadow: 0 0 10px rgba(255, 77, 106, 0.5), 0 0 25px rgba(255, 77, 106, 0.2);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--texte-muted);
    max-width: 600px;
    margin: 0 auto;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-neon);
    border-radius: 2px;
    margin: 16px auto;
    box-shadow: 0 0 10px rgba(255, 77, 106, 0.3);
}

/* === EN ONDES (On Air) === */
.section-ondes {
    background: var(--marine);
}

.ondes-card {
    background: linear-gradient(135deg, rgba(45, 45, 94, 0.6), rgba(123, 75, 138, 0.1));
    border: 1px solid rgba(255, 77, 106, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(255, 77, 106, 0.05), inset 0 0 30px rgba(0,0,0,0.1);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--rouge);
    color: white;
    border-radius: 50px;
    font-family: 'Righteous', cursive;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(212, 43, 60, 0.5);
}

.live-badge .dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ondes-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--rose-neon);
    text-shadow: 0 0 8px rgba(255, 77, 106, 0.4);
}

.ondes-card .horaire {
    color: var(--bleu-neon);
    font-size: 1rem;
    margin-bottom: 16px;
    text-shadow: 0 0 6px rgba(77, 166, 255, 0.3);
}

/* === EN ONDES — Now Playing & Widgets === */
.ondes-now-playing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 48px;
}

.now-playing-card {
    background: linear-gradient(135deg, rgba(45, 45, 94, 0.6), rgba(123, 75, 138, 0.15));
    border: 1px solid rgba(255, 77, 106, 0.25);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 0 30px rgba(255, 77, 106, 0.08), inset 0 0 20px rgba(0,0,0,0.1);
}

.now-playing-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.now-cover {
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--rouge), var(--mauve));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(212, 43, 60, 0.3);
    overflow: hidden;
}

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

.now-details {
    flex: 1;
    min-width: 0;
}

.now-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--texte-muted);
    margin-bottom: 6px;
}

.now-title {
    font-family: 'Righteous', cursive;
    font-size: 1.4rem;
    color: var(--rose-neon);
    text-shadow: 0 0 10px rgba(255, 77, 106, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.now-artist {
    font-size: 1rem;
    color: var(--bleu-neon);
    text-shadow: 0 0 6px rgba(77, 166, 255, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-track {
    padding-top: 16px;
    border-top: 1px solid rgba(123, 75, 138, 0.15);
}

.next-track .next-info {
    color: rgba(237, 237, 240, 0.7);
    font-size: 0.95rem;
}

.rk-player-widget {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rk-player-widget iframe {
    border-radius: var(--radius) !important;
}

.ondes-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.widget-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(123, 75, 138, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.widget-card:hover {
    border-color: rgba(255, 77, 106, 0.3);
    box-shadow: 0 0 20px rgba(255, 77, 106, 0.06);
}

.widget-title {
    font-family: 'Righteous', cursive;
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--texte-clair);
    text-shadow: 0 0 6px rgba(255, 77, 106, 0.2);
}

.widget-content {
    min-height: 100px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

/* Style RadioKing widget overrides */
.widget-content [id^="rk-"] {
    width: 100% !important;
}

/* === AUDIO DEDICATION === */
.audio-dedication {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(123, 75, 138, 0.15);
}

.audio-dedication h4 {
    font-family: 'Righteous', cursive;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--rose-neon);
    text-shadow: 0 0 8px rgba(255, 77, 106, 0.3);
}

.audio-dedication-desc {
    font-size: 0.9rem;
    color: var(--texte-muted);
    margin-bottom: 16px;
}

.audio-dedication iframe {
    border-radius: var(--radius) !important;
    box-shadow: 0 0 20px rgba(255, 77, 106, 0.1);
}

/* === Now Playing Bar info === */
.now-playing-bar {
    display: flex;
    align-items: center;
    gap: 4px;
}

.player-track-info {
    min-width: 0;
}

.player-next {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(15, 15, 42, 0.5);
    border-radius: 50px;
    border: 1px solid rgba(123, 75, 138, 0.2);
    white-space: nowrap;
    max-width: 280px;
    overflow: hidden;
}

.player-next-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--texte-muted);
    flex-shrink: 0;
}

.player-next-title {
    font-size: 0.8rem;
    color: var(--bleu-neon);
    text-shadow: 0 0 6px rgba(77, 166, 255, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === PROGRAMMATION === */
.section-programmation {
    background: linear-gradient(180deg, var(--marine) 0%, #151538 50%, var(--indigo) 100%);
}

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

.prog-jour {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(123, 75, 138, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.prog-jour:hover {
    border-color: rgba(255, 77, 106, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2), 0 0 15px rgba(255, 77, 106, 0.08);
}

.prog-jour-header {
    background: rgba(123, 75, 138, 0.2);
    padding: 16px 20px;
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    color: var(--rose-neon);
    border-bottom: 1px solid rgba(123, 75, 138, 0.15);
    text-shadow: 0 0 8px rgba(255, 77, 106, 0.3);
}

.prog-emission {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.prog-emission:last-child {
    border-bottom: none;
}

.prog-emission .heures {
    font-size: 0.85rem;
    color: var(--bleu-neon);
    font-weight: 600;
    margin-bottom: 4px;
}

.prog-emission .titre {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.prog-emission .animateur {
    font-size: 0.85rem;
    color: var(--texte-muted);
}

/* === ACTUALITÉS / ÉVÉNEMENTS === */
.section-actualites {
    background: var(--marine);
}

.billets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.billet-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(123, 75, 138, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.billet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(255, 77, 106, 0.25);
}

.billet-card .billet-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--indigo);
}

.billet-card .billet-body {
    padding: 24px;
}

.billet-card .categorie-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.categorie-badge.actualite { background: rgba(212, 43, 60, 0.15); color: var(--rose-neon); }
.categorie-badge.evenement { background: rgba(123, 75, 138, 0.2); color: var(--mauve); }
.categorie-badge.information { background: rgba(77, 166, 255, 0.12); color: var(--bleu-neon); }

.billet-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.billet-card .billet-date {
    font-size: 0.85rem;
    color: var(--texte-muted);
    margin-top: 12px;
}

.billet-card .billet-extrait {
    color: rgba(237, 237, 240, 0.7);
    font-size: 0.95rem;
}

/* === TÉMOIGNAGES === */
.section-temoignages {
    background: linear-gradient(180deg, var(--indigo), var(--marine));
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.temoignage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(123, 75, 138, 0.15);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all var(--transition);
}

.temoignage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 106, 0.25);
    box-shadow: var(--shadow-card);
}

.temoignage-card .quote-icon {
    font-size: 3rem;
    color: var(--rose-neon);
    opacity: 0.25;
    font-family: serif;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(255, 77, 106, 0.3);
}

.temoignage-card p {
    color: rgba(237, 237, 240, 0.8);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.temoignage-card .auteur {
    font-family: 'Righteous', cursive;
    color: var(--bleu-neon);
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(77, 166, 255, 0.3);
}

/* === DEMANDE SPÉCIALE === */
.section-demande {
    background: var(--marine);
    position: relative;
}

.demande-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.demande-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.demande-info p {
    color: rgba(237, 237, 240, 0.7);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(237, 237, 240, 0.8);
}

.contact-list .icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 43, 60, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-neon);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 77, 106, 0.1);
}

/* === FORMULAIRES === */
.form-card {
    background: rgba(45, 45, 94, 0.3);
    border: 1px solid rgba(123, 75, 138, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(237, 237, 240, 0.9);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(123, 75, 138, 0.25);
    border-radius: var(--radius-sm);
    background: rgba(15, 15, 42, 0.5);
    color: var(--texte-clair);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--rose-neon);
    box-shadow: 0 0 0 3px rgba(255, 77, 106, 0.1), 0 0 15px rgba(255, 77, 106, 0.08);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.alert-error {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* === INFOLETTRE === */
.section-infolettre {
    background: linear-gradient(135deg, var(--bordeaux), var(--mauve), var(--indigo));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section-infolettre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 77, 106, 0.15) 0%, transparent 60%);
}

.infolettre-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.infolettre-content h2 {
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 77, 106, 0.3);
}

.infolettre-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.infolettre-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}

.infolettre-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.infolettre-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.infolettre-form input:focus {
    outline: none;
    border-color: var(--rose-neon);
    box-shadow: 0 0 15px rgba(255, 77, 106, 0.2);
}

.infolettre-form button {
    padding: 14px 28px;
    background: var(--rose-neon);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Righteous', cursive;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(255, 77, 106, 0.3);
}

.infolettre-form button:hover {
    background: var(--rouge);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 77, 106, 0.5);
}

/* === FOOTER === */
.site-footer {
    background: #0D0D22;
    padding: 60px 0 100px;
    border-top: 1px solid rgba(123, 75, 138, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-family: 'Righteous', cursive;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--rose-neon);
    text-shadow: 0 0 8px rgba(255, 77, 106, 0.4);
}

.footer-brand p {
    color: var(--texte-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-family: 'Righteous', cursive;
    margin-bottom: 16px;
    color: var(--bleu-neon);
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(77, 166, 255, 0.3);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--texte-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col ul a:hover {
    color: var(--rose-neon);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(123, 75, 138, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texte-clair);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--rose-neon);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 77, 106, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(123, 75, 138, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(237, 237, 240, 0.35);
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-admin-link {
    color: rgba(237, 237, 240, 0.18) !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-admin-link:hover {
    color: rgba(237, 237, 240, 0.5) !important;
}

/* === ANIMATIONS SCROLL === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .hero {
        min-height: unset;
        height: auto;
        padding-top: 90px;
        padding-bottom: 60px;
        overflow: visible;
        clip-path: none;
    }

    /* Cacher les pseudo-éléments décoratifs sur mobile */
    .hero::before, .hero::after {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .hero-text .tagline {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .hero-text p {
        margin: 0 auto 20px;
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 0;
    }

    .vinyl-record {
        width: 200px;
        height: 200px;
    }

    .ondes-now-playing {
        grid-template-columns: 1fr;
    }

    .ondes-widgets {
        grid-template-columns: 1fr;
    }

    .demande-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .logo-icon {
        width: 120px;
        height: 120px;
    }

    .logo {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 62, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(123, 75, 138, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .logo-icon {
        width: 95px;
        height: 95px;
    }

    .logo {
        width: 95px;
    }

    .hero-text .tagline {
        font-size: 1.7rem;
        white-space: normal;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .prog-grid {
        grid-template-columns: 1fr;
    }

    .billets-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .player-bar {
        padding: 10px 16px;
        gap: 10px;
    }

    .player-bar .station-name {
        display: none;
    }

    .volume-control,
    .quality-selector,
    .player-next {
        display: none;
    }

    .infolettre-form {
        flex-direction: column;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 80px;
        height: 80px;
    }

    .logo {
        width: 80px;
    }

    .hero-text .tagline {
        font-size: 1.4rem;
        white-space: normal;
    }

    .vinyl-record {
        width: 220px;
        height: 220px;
    }
}

/* === PROGRAMMATION — 2 RANGÉES === */
.prog-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}
.prog-row-1 {
    grid-template-columns: repeat(4, 1fr);
}
.prog-row-2 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.badge-speciale {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 77, 106, 0.15);
    color: var(--rose-neon);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
    border: 1px solid rgba(255, 77, 106, 0.3);
}

.emission-speciale {
    border-left: 3px solid var(--rose-neon);
}

/* === BILLETS CAROUSEL === */
.billets-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.billets-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    flex: 1;
    min-width: 0;
}

.billet-card {
    display: none;
    cursor: pointer;
}

.billet-card.visible {
    display: block;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(123, 75, 138, 0.25);
    border: 1px solid rgba(123, 75, 138, 0.4);
    color: var(--texte-clair);
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.carousel-btn:hover {
    background: var(--rouge);
    border-color: var(--rouge);
    box-shadow: 0 0 15px rgba(212, 43, 60, 0.4);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(237, 237, 240, 0.2);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--rose-neon);
    box-shadow: 0 0 8px rgba(255, 77, 106, 0.5);
}

.billet-video-thumb {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--marine), var(--indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--rose-neon);
    position: relative;
    overflow: hidden;
}

.billet-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.video-play-icon {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    background: rgba(212, 43, 60, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 24px rgba(212, 43, 60, 0.5);
    transition: transform var(--transition), background var(--transition);
}

.billet-card:hover .video-play-icon {
    transform: scale(1.1);
    background: var(--rose-neon);
}

.billet-redacteur {
    font-size: 0.8rem;
    color: var(--texte-muted);
    font-style: italic;
    margin-top: 4px;
}

/* === POPUP BILLET === */
.billet-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 30, 0.88);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
}

.billet-popup {
    background: var(--indigo);
    border: 1px solid rgba(123, 75, 138, 0.4);
    border-radius: var(--radius-lg);
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px;
    position: relative;
    box-shadow: 0 0 60px rgba(255, 77, 106, 0.15), 0 20px 60px rgba(0,0,0,0.5);
}

.billet-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--texte-clair);
    font-size: 2.2rem;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
    transition: opacity var(--transition);
    padding: 4px;
}

.billet-popup-close:hover { opacity: 1; }

.billet-popup img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 28px;
    display: block;
}

.billet-popup h2 {
    font-family: 'Righteous', cursive;
    font-size: 1.9rem;
    margin-bottom: 8px;
    color: var(--rose-neon);
    text-shadow: 0 0 10px rgba(255, 77, 106, 0.3);
}

.billet-popup .popup-meta {
    font-size: 0.85rem;
    color: var(--texte-muted);
    margin-bottom: 28px;
}

.billet-popup .popup-body {
    color: rgba(237, 237, 240, 0.85);
    line-height: 1.85;
    font-size: 1rem;
}

.billet-popup .popup-body p { margin-bottom: 16px; }
.billet-popup .popup-body h1,
.billet-popup .popup-body h2,
.billet-popup .popup-body h3 {
    font-family: 'Righteous', cursive;
    color: var(--texte-clair);
    margin: 24px 0 12px;
}
.billet-popup .popup-body a { color: var(--bleu-neon); }
.billet-popup .popup-body ul,
.billet-popup .popup-body ol { padding-left: 24px; margin-bottom: 16px; }
.billet-popup .popup-body blockquote {
    border-left: 3px solid var(--rose-neon);
    padding-left: 16px;
    margin: 16px 0;
    opacity: 0.8;
    font-style: italic;
}

/* === TÉMOIGNAGES CAROUSEL === */
.temoignages-carousel-outer {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.temoignages-carousel {
    display: flex;
    gap: 28px;
    animation: scrollLeft 35s linear infinite;
    width: max-content;
}

.temoignages-carousel:hover {
    animation-play-state: paused;
}

.temoignages-carousel .temoignage-card {
    flex-shrink: 0;
    width: 340px;
}

@keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === CAPTCHA === */
.captcha-group label {
    font-weight: 600;
    color: var(--bleu-neon);
    font-size: 0.95rem;
}

/* === RESPONSIVE NOUVEAUX ÉLÉMENTS === */
@media (max-width: 1100px) {
    .prog-row-1 { grid-template-columns: repeat(2, 1fr); }
    .prog-row-2 { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
    .billets-carousel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .prog-row-1 { grid-template-columns: 1fr 1fr; }
    .prog-row-2 { grid-template-columns: 1fr 1fr; }
    .billets-carousel { grid-template-columns: 1fr; }
    .carousel-btn { width: 38px; height: 38px; font-size: 1.5rem; }
    .temoignages-carousel .temoignage-card { width: 280px; }
    .billet-popup { padding: 32px 24px; }
    .billet-popup h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .prog-row-1, .prog-row-2 { grid-template-columns: 1fr; }
    .billets-carousel-wrapper { flex-direction: column; gap: 16px; }
    .billets-carousel { grid-template-columns: 1fr; }
    .carousel-btn { width: 44px; height: 44px; }
    .billet-popup-overlay { padding: 12px; }
    .billet-popup { padding: 24px 16px; }

    /* Player mobile: show minimal */
    .player-next, .quality-selector, .volume-control {
        display: none;
    }
}

/* === RADIOKING WIDGET OVERRIDES === */

/* ---- Dernières diffusions (played-tracks) ---- */

/* Formulaire Date / Heure / Rechercher : compact et stylé */
#rk-played-tracks-widget [class*="form--"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: flex-end !important;
    margin-bottom: 12px !important;
    background: transparent !important;
}

#rk-played-tracks-widget [class*="form-input--"] {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

#rk-played-tracks-widget [class*="form-input--"] label {
    color: rgba(237, 237, 240, 0.45) !important;
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    font-family: 'Inter', sans-serif !important;
}

#rk-played-tracks-widget [class*="form-input--"] input[type="date"],
#rk-played-tracks-widget [class*="form-input--"] input[type="time"] {
    background: rgba(15, 15, 42, 0.7) !important;
    border: 1px solid rgba(123, 75, 138, 0.35) !important;
    border-radius: 5px !important;
    color: var(--texte-clair) !important;
    padding: 4px 6px !important;
    font-size: 0.75rem !important;
    width: auto !important;
    max-width: 120px !important;
    color-scheme: dark !important;
    height: 28px !important;
}

#rk-played-tracks-widget [class*="form-input--"] input[type="time"] {
    max-width: 80px !important;
}

#rk-played-tracks-widget [class*="search-button--"] {
    background: rgba(77, 166, 255, 0.15) !important;
    color: var(--bleu-neon) !important;
    border: 1px solid rgba(77, 166, 255, 0.3) !important;
    border-radius: 5px !important;
    padding: 0 10px !important;
    height: 28px !important;
    cursor: pointer !important;
    font-size: 0.75rem !important;
    font-family: 'Inter', sans-serif !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: background 0.2s, border-color 0.2s !important;
}

#rk-played-tracks-widget [class*="search-button--"]:hover {
    background: rgba(77, 166, 255, 0.28) !important;
    border-color: rgba(77, 166, 255, 0.6) !important;
}

/* Icône SVG dans le bouton Rechercher */
#rk-played-tracks-widget [class*="search-button--"] svg .st0 {
    fill: var(--bleu-neon) !important;
}

/* Lignes de pistes */
#rk-played-tracks-widget [class*="track-line--"] {
    border-bottom: 1px solid rgba(123, 75, 138, 0.15) !important;
    padding: 10px 4px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Pochette */
#rk-played-tracks-widget [class*="image--"] {
    border-radius: 6px !important;
    box-shadow: 0 0 8px rgba(0,0,0,0.4) !important;
}

/* Titre de la chanson */
#rk-played-tracks-widget [class*="title--"]:not([class*="title-block"]) {
    color: var(--texte-clair) !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
}

/* Artiste */
#rk-played-tracks-widget [class*="artist--"] {
    color: var(--bleu-neon) !important;
    font-size: 0.82rem !important;
    opacity: 0.9 !important;
}

/* Date/heure de diffusion */
#rk-played-tracks-widget [class*="date--"] {
    color: rgba(237, 237, 240, 0.45) !important;
    font-size: 0.78rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

#rk-played-tracks-widget [class*="date--"] span {
    color: rgba(237, 237, 240, 0.45) !important;
}

/* Icône horloge SVG */
#rk-played-tracks-widget [class*="date--"] svg .st0 {
    fill: rgba(237, 237, 240, 0.3) !important;
}

/* Bouton Acheter — Dernières diffusions : carré icône téléchargement */
#rk-played-tracks-widget a,
#rk-played-tracks-widget [class*="buy"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    background: rgba(77, 166, 255, 0.1) !important;
    background-color: rgba(77, 166, 255, 0.1) !important;
    border: 1px solid rgba(77, 166, 255, 0.25) !important;
    border-radius: 6px !important;
    color: transparent !important;
    font-size: 0 !important;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s !important;
    overflow: hidden !important;
    position: relative !important;
    vertical-align: middle !important;
}

#rk-played-tracks-widget a::after,
#rk-played-tracks-widget [class*="buy"]::after {
    content: '' !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(77,166,255,0.8)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    position: absolute !important;
    transition: background-image 0.2s !important;
}

#rk-played-tracks-widget a:hover,
#rk-played-tracks-widget [class*="buy"]:hover {
    background: rgba(77, 166, 255, 0.22) !important;
    border-color: rgba(77, 166, 255, 0.5) !important;
}

#rk-played-tracks-widget a:hover::after,
#rk-played-tracks-widget [class*="buy"]:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234DA6FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E") !important;
}

#rk-played-tracks-widget [class*="buy"] svg {
    display: none !important;
}

/* ---- Top 10 ---- */

/* Ligne de piste */
#rk-top-tracks-widget [class*="vGHw"] {
    border-bottom: 1px solid rgba(123, 75, 138, 0.15) !important;
    padding: 10px 4px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Numéro de rang */
#rk-top-tracks-widget [class*="s60Z"] {
    color: var(--rose-neon) !important;
    font-family: 'Righteous', cursive !important;
    font-size: 1rem !important;
    min-width: 20px !important;
    text-shadow: 0 0 8px rgba(255, 77, 106, 0.4) !important;
}

/* Pochette */
#rk-top-tracks-widget [class*="_4HXr"] {
    border-radius: 6px !important;
    box-shadow: 0 0 8px rgba(0,0,0,0.4) !important;
}

/* Titre de la chanson */
#rk-top-tracks-widget [class*="qLcl"] {
    color: var(--texte-clair) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

/* Artiste */
#rk-top-tracks-widget [class*="SHHOEd"] {
    color: var(--bleu-neon) !important;
    font-size: 0.82rem !important;
}

/* Bouton Acheter — Top 10 : carré icône téléchargement */
#rk-top-tracks-widget a,
#rk-top-tracks-widget [class*="buy"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    background: rgba(77, 166, 255, 0.1) !important;
    background-color: rgba(77, 166, 255, 0.1) !important;
    border: 1px solid rgba(77, 166, 255, 0.25) !important;
    border-radius: 6px !important;
    color: transparent !important;
    font-size: 0 !important;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s !important;
    overflow: hidden !important;
    position: relative !important;
    vertical-align: middle !important;
}

#rk-top-tracks-widget a::after,
#rk-top-tracks-widget [class*="buy"]::after {
    content: '' !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(77,166,255,0.8)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    position: absolute !important;
    transition: background-image 0.2s !important;
}

#rk-top-tracks-widget a:hover,
#rk-top-tracks-widget [class*="buy"]:hover {
    background: rgba(77, 166, 255, 0.22) !important;
    border-color: rgba(77, 166, 255, 0.5) !important;
}

#rk-top-tracks-widget a:hover::after,
#rk-top-tracks-widget [class*="buy"]:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234DA6FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E") !important;
}

#rk-top-tracks-widget [class*="buy"] svg,
#rk-top-tracks-widget svg .st0 {
    display: none !important;
}

/* Fix white/gray backgrounds in RadioKing widgets */

/* Top 10 — container principal et sous-conteneurs blancs */
#rk-top-tracks-widget [class*="ZtrSJ"] {
    background: transparent !important;
    color: var(--texte-clair) !important;
}

/* Top 10 — numéro de rang (badge gris) */
#rk-top-tracks-widget [class*="s60Z"] {
    background: rgba(255, 77, 106, 0.12) !important;
    border-radius: 6px !important;
}

/* Top 10 — catch-all pour tout fond blanc ou gris clair dans le widget */
#rk-top-tracks-widget * {
    box-sizing: border-box;
}
#rk-top-tracks-widget [style*="background: rgb(255, 255, 255)"],
#rk-top-tracks-widget [style*="background:rgb(255,255,255)"],
#rk-top-tracks-widget [style*="background-color: rgb(255, 255, 255)"],
#rk-top-tracks-widget [style*="background-color:rgb(255,255,255)"] {
    background: transparent !important;
    background-color: transparent !important;
}

/* Dernières diffusions — card article blanche */
#rk-played-tracks-widget [class*="articleCard"],
#rk-played-tracks-widget [class*="article-card"],
#rk-played-tracks-widget [class*="ArticleCard"] {
    background: transparent !important;
    border-color: rgba(123, 75, 138, 0.15) !important;
}

/* Dernières diffusions — catch-all fond blanc */
#rk-played-tracks-widget [style*="background: rgb(255, 255, 255)"],
#rk-played-tracks-widget [style*="background:rgb(255,255,255)"],
#rk-played-tracks-widget [style*="background-color: rgb(255, 255, 255)"],
#rk-played-tracks-widget [style*="background-color:rgb(255,255,255)"] {
    background: transparent !important;
    background-color: transparent !important;
}

/* Forcer fond transparent sur les deux widgets en général */
#rk-top-tracks-widget,
#rk-played-tracks-widget {
    background: transparent !important;
    color: var(--texte-clair) !important;
}

#rk-top-tracks-widget > *,
#rk-played-tracks-widget > * {
    background: transparent !important;
}

/* === CARTE "EN DIRECT" (remplace iframe RadioKing player) === */
.rk-live-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(45, 45, 94, 0.4);
    border: 1px solid rgba(255, 77, 106, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 4px;
    box-shadow: 0 0 20px rgba(255, 77, 106, 0.06);
}

.rk-live-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.rk-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rose-neon);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 77, 106, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

.rk-live-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rk-live-track {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--texte-clair);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rk-live-artist {
    font-size: 0.82rem;
    color: var(--bleu-neon);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rk-live-play-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--rouge);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(212, 43, 60, 0.4);
    transition: all var(--transition);
}

.rk-live-play-btn:hover {
    background: var(--rose-neon);
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(255, 77, 106, 0.5);
}

/* === PWA — SAFE AREA (notch / home bar) === */
@supports (padding: env(safe-area-inset-bottom)) {
    .player-bar {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .site-footer {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
}

/* === MOBILE — LARGEURS UNIFORMES ET OVERFLOW === */

/* Empêcher tout débordement horizontal global */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Iframes RadioKing : toujours responsives */
#rk-top-tracks-widget,
#rk-played-tracks-widget {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* iframe lecteur et dédicace audio : responsifs */
.rk-player-widget iframe,
.audio-dedication iframe,
#rk-player-iframe,
#AudioDedication {
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    /* Réduire le padding container sur mobile */
    .container {
        padding: 0 18px;
    }

    /* Sections : espacement cohérent */
    section {
        padding: 56px 0;
    }

    /* Boutons hero pleine largeur sur très petit écran */
    .hero-buttons {
        width: 100%;
    }

    /* Carte en direct (RadioKing live) */
    .rk-live-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .rk-live-play-btn {
        align-self: flex-end;
    }

    /* Widgets et widget-card : pleine largeur */
    .widget-card {
        width: 100%;
        overflow: hidden;
    }

    /* form-card et demande-info : pleine largeur */
    .form-card,
    .demande-info {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Carousel boutons — cachés sur mobile (swipe à la place) */
    .billets-carousel-wrapper {
        overflow: hidden;
    }
    .carousel-btn {
        display: none;
    }

    /* Vinyl — centrer sur mobile */
    .vinyl-record {
        margin: 0 auto;
    }

    /* Footer — consistent */
    .footer-grid > * {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    section {
        padding: 44px 0;
    }

    /* Réduire taille tagline pour éviter overflow */
    .hero-text .tagline {
        font-size: 1.25rem;
    }

    /* Boutons pleine largeur */
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Formulaire contact */
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        box-sizing: border-box;
    }
}
