/* ===== VARIABLES GLOBALES ===== */
:root {
    --gold: #d4af37;
    --dark-gold: #c9a428;
    --light-gold: #f0e68c;
    --primary-black: #000;
}

/* ===== ANIMATIONS GLOBALES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
}

@keyframes orbPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes orbRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbFloatLeft {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
}

@keyframes orbFloatRight {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, 60px) scale(1.15); }
    66% { transform: translate(60px, -80px) scale(0.95); }
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.6);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 4px 25px rgba(239, 68, 68, 0.9);
    }
}

@keyframes lineGlow {
    0%, 100% { 
        opacity: 0.5; 
        transform: scaleX(1);
        box-shadow: 0 0 10px var(--gold);
    }
    50% { 
        opacity: 1; 
        transform: scaleX(1.2);
        box-shadow: 0 0 20px var(--gold);
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes iconFloatSlow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.08); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes iconPulseEnd {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
    }
    50% { 
        transform: scale(1.15);
        filter: drop-shadow(0 0 60px rgba(212, 175, 55, 0.9));
    }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

@keyframes livePulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.3);
    }
}

@keyframes livePulseGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 50px rgba(239, 68, 68, 0.7);
        transform: scale(1.03);
    }
}

@keyframes liveDotPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 20px #ef4444;
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.3);
        box-shadow: 0 0 35px #ef4444;
    }
}

@keyframes textShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes valueShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes progressShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes progressScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes headerShimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

@keyframes statGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -50px); }
}

@keyframes shareIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

/* ===== DOCK BAR FLOTTANT (Style macOS) ===== */
.floating-dock-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: dockFadeIn 0.6s ease;
}

@keyframes dockFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.floating-dock-bar:hover {
    transform: translateX(-50%) translateY(-10px);
}

.dock-items {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 10px 15px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.dock-items::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.floating-dock-bar:hover .dock-items::before {
    opacity: 1;
}

.dock-item {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible;
    animation: dockItemBounce 0.6s ease;
    animation-fill-mode: both;
}

.dock-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.15));
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dock-item:hover {
    transform: translateY(-20px) scale(1.2);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    box-shadow: 
        0 20px 50px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dock-item:hover::before {
    opacity: 1;
}

.dock-item:hover .dock-label {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dock-item:active {
    transform: translateY(-18px) scale(1.15);
}

.dock-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px currentColor);
    transition: all 0.3s ease;
}

.dock-item:hover .dock-icon {
    transform: scale(1.15) rotate(-8deg);
    filter: drop-shadow(0 0 20px currentColor);
}

.dock-label {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.dock-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(212, 175, 55, 0.4);
}

.dock-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.6);
    animation: badgePulse 2s ease-in-out infinite;
    display: none;
}

.dock-badge:not(:empty) {
    display: block;
}

.dock-item:nth-child(1) { animation-delay: 0.1s; }
.dock-item:nth-child(2) { animation-delay: 0.15s; }
.dock-item:nth-child(3) { animation-delay: 0.2s; }
.dock-item:nth-child(4) { animation-delay: 0.25s; }
.dock-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes dockItemBounce {
    0% {
        opacity: 0;
        transform: scale(0) translateY(30px);
    }
    60% {
        transform: scale(1.1) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Bouton compte dans le dock */
.dock-item-account {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.dock-item-account:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.dock-icon-account {
    color: var(--gold);
}

.dock-icon-account.has-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-black);
    border: 2px solid rgba(212, 175, 55, 0.5);
}

/* ===== BOUTONS FLOTTANTS (PROFIL + AUTH) ===== */
.user-profile-button,
.floating-auth-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile-button:hover,
.floating-auth-button:hover {
    transform: scale(1.08);
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-black);
    border: 3px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-profile-button:hover .user-avatar {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

.floating-auth-button {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border: 3px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    color: var(--primary-black);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-auth-button:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
    border-color: var(--gold);
}

.floating-auth-button:active {
    transform: scale(1.02);
}

.auth-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.6);
    animation: badgePulse 2s ease-in-out infinite;
    pointer-events: none;
}

/* ===== MENU DÉROULANT UTILISATEUR ===== */
.user-dropdown {
    position: fixed;
    top: 90px;
    right: 20px;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 15px 0;
    min-width: 260px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.user-dropdown-item:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding-left: 28px;
}

.user-dropdown-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--dark-gold));
    border-radius: 0 4px 4px 0;
}

.user-dropdown-item span:first-child {
    font-size: 22px;
    flex-shrink: 0;
}

.user-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin: 10px 0;
}

.dropdown-badge-new {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
}

/* ===== MODAL PROGRAMME ULTRA-MODERNE ===== */
.program-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: all 0.4s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.program-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.program-modal {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
    border: 2px solid var(--gold);
    border-radius: 30px;
    width: 95%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(212, 175, 55, 0.3);
    position: relative;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.program-modal-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.program-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: headerShimmer 8s ease-in-out infinite;
}

.program-modal-title {
    position: relative;
    z-index: 2;
}

.program-modal-title h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-black);
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.program-modal-subtitle {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.program-modal-close {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: var(--primary-black);
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.program-modal-close:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.program-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.program-modal-body {
    padding: 30px 35px;
    overflow-y: auto;
    max-height: calc(85vh - 120px);
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
}

.program-modal-body::-webkit-scrollbar {
    width: 10px;
}

.program-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 10px 0;
}

.program-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--dark-gold));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.program-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--light-gold), var(--gold));
}

.program-modal-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-modal-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.program-modal-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-modal-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.program-modal-item:hover::before {
    opacity: 1;
}

.program-modal-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.program-modal-item-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
    padding: 8px 16px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.program-modal-item-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.program-modal-item-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.program-modal-item-icon {
    font-size: 52px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px currentColor);
    animation: iconFloat 3s ease-in-out infinite;
}

.program-modal-item-details {
    flex: 1;
}

.program-modal-item-title {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.program-modal-item-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--primary-black);
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.program-modal-empty {
    text-align: center;
    padding: 60px 30px;
}

.program-modal-empty-icon {
    font-size: 80px;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

.program-modal-empty h3 {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.program-modal-empty p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    line-height: 1.6;
}

.program-modal-loading {
    text-align: center;
    padding: 60px 30px;
}

.program-modal-loading .spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

.program-modal-loading p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.program-modal-overlay.closing .program-modal {
    animation: modalSlideDown 0.3s ease forwards;
}

@keyframes modalSlideDown {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
}

/* ===== MENU DE PARTAGE ULTRA-MODERNE ===== */
.share-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10001;
    display: none;
    opacity: 0;
    transition: all 0.4s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.share-menu-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.share-menu-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
    border: 2px solid var(--gold);
    border-radius: 30px;
    width: 95%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: shareMenuSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(212, 175, 55, 0.3);
}

@keyframes shareMenuSlideUp {
    from {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.share-menu-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.share-menu-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: headerShimmer 8s ease-in-out infinite;
}

.share-menu-header h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-black);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.share-menu-close {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: var(--primary-black);
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.share-menu-close:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.share-menu-content {
    padding: 35px;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
}

.share-menu-content::-webkit-scrollbar {
    width: 8px;
}

.share-menu-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.share-menu-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--dark-gold));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.share-link-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 35px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-link-container input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.share-link-container input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.share-link-container input::selection {
    background: var(--gold);
    color: var(--primary-black);
}

.share-link-container button {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    color: var(--primary-black);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.share-link-container button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.share-link-container button:active {
    transform: translateY(-1px);
}

.share-social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-login-btn,
.share-social-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px 20px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.social-login-btn::before,
.share-social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-login-btn:hover,
.share-social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.social-login-btn:hover::before,
.share-social-btn:hover::before {
    opacity: 1;
}

.social-login-btn:active,
.share-social-btn:active {
    transform: translateY(-3px);
}

.share-social-btn .icon {
    font-size: 24px;
    filter: drop-shadow(0 0 10px currentColor);
}

.share-social-btn .label {
    flex: 1;
    text-align: left;
}

/* Couleurs spécifiques par réseau */
.social-login-btn.google {
    border-color: rgba(219, 68, 55, 0.5);
}

.social-login-btn.google:hover {
    background: rgba(219, 68, 55, 0.2);
    border-color: #db4437;
    box-shadow: 0 10px 30px rgba(219, 68, 55, 0.4);
}

.social-login-btn.facebook {
    border-color: rgba(66, 103, 178, 0.5);
}

.social-login-btn.facebook:hover {
    background: rgba(66, 103, 178, 0.2);
    border-color: #4267B2;
    box-shadow: 0 10px 30px rgba(66, 103, 178, 0.4);
}

.share-social-btn:nth-child(1) {
    border-color: rgba(24, 119, 242, 0.5);
}

.share-social-btn:nth-child(1):hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.share-social-btn:nth-child(2) {
    border-color: rgba(29, 155, 240, 0.5);
}

.share-social-btn:nth-child(2):hover {
    background: rgba(29, 155, 240, 0.2);
    border-color: #1d9bf0;
    box-shadow: 0 10px 30px rgba(29, 155, 240, 0.4);
}

.share-social-btn:nth-child(3) {
    border-color: rgba(10, 102, 194, 0.5);
}

.share-social-btn:nth-child(3):hover {
    background: rgba(10, 102, 194, 0.2);
    border-color: #0a66c2;
    box-shadow: 0 10px 30px rgba(10, 102, 194, 0.4);
}

.share-social-btn:nth-child(4) {
    border-color: rgba(37, 211, 102, 0.5);
}

.share-social-btn:nth-child(4):hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.share-social-btn:nth-child(5) {
    border-color: rgba(36, 161, 222, 0.5);
}

.share-social-btn:nth-child(5):hover {
    background: rgba(36, 161, 222, 0.2);
    border-color: #24a1de;
    box-shadow: 0 10px 30px rgba(36, 161, 222, 0.4);
}

.share-social-btn:nth-child(6) {
    border-color: rgba(255, 69, 0, 0.5);
}

.share-social-btn:nth-child(6):hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: #ff4500;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.4);
}

.share-social-btn:nth-child(7) {
    border-color: rgba(230, 0, 35, 0.5);
}

.share-social-btn:nth-child(7):hover {
    background: rgba(230, 0, 35, 0.2);
    border-color: #e60023;
    box-shadow: 0 10px 30px rgba(230, 0, 35, 0.4);
}

.share-social-btn:nth-child(8) {
    border-color: rgba(212, 175, 55, 0.5);
}

.share-social-btn:nth-child(8):hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.share-menu-overlay.closing .share-menu-container {
    animation: shareMenuSlideDown 0.3s ease forwards;
}

@keyframes shareMenuSlideDown {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
}

/* ===== ZONE CONTENU PREMIUM (sous vidéo) ===== */
.tv-content-section {
    position: relative;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
    padding: 100px 0 120px;
    overflow: hidden;
}

.tv-content-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloatLeft 25s ease-in-out infinite;
}

.tv-content-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    animation: orbFloatRight 30s ease-in-out infinite;
}

.content-orb-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.content-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: orbFloat 25s ease-in-out infinite;
}

.content-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #d4af37, transparent);
    top: -150px;
    right: -150px;
    animation-delay: -3s;
}

.content-orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #ff6b6b, transparent);
    bottom: -200px;
    left: -200px;
    animation-delay: -8s;
}

.content-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4ecdc4, transparent);
    top: 40%;
    left: 30%;
    animation-delay: -15s;
}

.tv-header-premium {
    margin-bottom: 60px;
}

.tv-video-section {
    padding: 0;
    margin-bottom: 80px;
}


.tv-current-program-card,
.upcoming-program-card,
.tv-stats-card,
.sidebar-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 30px;
    padding: 45px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tv-current-program-card::before,
.upcoming-program-card::before,
.tv-stats-card::before,
.sidebar-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tv-current-program-card:hover::before,
.upcoming-program-card:hover::before,
.tv-stats-card:hover::before,
.sidebar-card:hover::before {
    opacity: 1;
    animation: shimmer 3s ease-in-out infinite;
}

.tv-current-program-card:hover,
.upcoming-program-card:hover,
.tv-stats-card:hover,
.sidebar-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.program-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.program-card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    box-shadow: 0 0 15px var(--gold);
    animation: lineGlow 2s ease-in-out infinite;
}

.card-title,
.sidebar-title {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-badge-small {
    background: rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid #ef4444;
    border-radius: 50px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    box-shadow: 
        0 0 30px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: livePulseGlow 2s ease-in-out infinite;
}

.live-dot-small {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 20px #ef4444;
    animation: liveDotPulse 1.5s ease-in-out infinite;
}

.current-program-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.current-program-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.current-program-info:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
}

.current-program-info:hover::before {
    opacity: 1;
}

.current-program-icon {
    font-size: 80px;
    filter: drop-shadow(0 0 25px currentColor);
    animation: iconFloatSlow 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.current-program-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.current-program-details h4 {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #d4af37 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s linear infinite;
    margin-bottom: 18px;
    line-height: 1.2;
}

.current-program-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.current-program-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.current-program-meta span:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}


.program-progress-bar {
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    margin: 25px 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.program-progress-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%
    );
    animation: progressScan 2s linear infinite;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #f0e68c 50%, #d4af37 100%);
    background-size: 200% 100%;
    animation: progressShimmer 3s linear infinite;
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    position: relative;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-reactions {
    display: flex;
    gap: 18px;
    justify-content: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 25px;
}

.reaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 18px;
    padding: 18px 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reaction-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reaction-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.reaction-btn:hover::before {
    opacity: 1;
}

.reaction-btn:active {
    transform: translateY(-5px) scale(1.05);
}

.reaction-emoji {
    font-size: 38px;
    filter: drop-shadow(0 0 15px currentColor);
    transition: all 0.4s ease;
}

.reaction-btn:hover .reaction-emoji {
    transform: scale(1.25) rotate(15deg);
    filter: drop-shadow(0 0 25px currentColor);
}

.reaction-count {
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tv-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-box:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.stat-box:hover::before {
    opacity: 1;
    animation: statGlow 2s ease-in-out infinite;
}

.stat-icon {
    font-size: 56px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 20px currentColor);
    animation: iconBounce 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.stat-value {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37, #f0e68c, #d4af37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: valueShimmer 3s linear infinite;
    margin-bottom: 12px;
    font-family: 'Georgia', serif;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.tv-sidebar {
    position: relative;
    z-index: 10;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.program-count {
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.program-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 12px;
    max-height: 900px;
}

.program-list::-webkit-scrollbar {
    width: 8px;
}

.program-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.program-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--dark-gold));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.program-item {
    display: flex;
    gap: 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.program-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateX(12px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.program-item:hover::before {
    opacity: 1;
}

.program-item.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.program-item.active::before {
    opacity: 1;
    width: 8px;
}

.program-thumbnail {
    font-size: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 15px currentColor);
}

.program-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.program-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* ===== SÉLECTEUR DE SEMAINE ULTRA-MODERNE ===== */
.week-selector-modern {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    padding: 40px;
    margin: 60px auto;
    overflow: hidden;
    max-width: 1600px;
}

.week-selector-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: orbPulse 8s ease-in-out infinite;
}

.week-selector-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.week-selector-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    animation: iconFloat 3s ease-in-out infinite;
}

.week-selector-title-content {
    flex: 1;
}

.week-selector-title-modern {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.week-selector-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 500;
}

.week-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.week-tab {
    flex: 1;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.week-tab:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.week-tab.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.week-tab-icon {
    font-size: 20px;
}

.week-days-slider-container {
    position: relative;
    z-index: 2;
}

.week-days-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.week-days-slider::-webkit-scrollbar {
    display: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    color: var(--gold);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: none;
}

.slider-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

.week-day-card {
    min-width: 180px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.week-day-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.week-day-card:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.week-day-card:hover::before {
    opacity: 1;
}

.week-day-card.today {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.week-day-card.today::after {
    content: 'AUJOURD\'HUI';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: #000;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.day-icon {
    font-size: 36px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px currentColor);
    transition: transform 0.4s ease;
}

.week-day-card:hover .day-icon {
    transform: scale(1.2) rotate(10deg);
}

.day-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.day-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.day-programs-count {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* ===== FIN DE DIFFUSION - ÉCRAN MODERNE ===== */
.end-broadcast-screen {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.98) 0%, 
        rgba(26, 26, 26, 0.98) 50%,
        rgba(0, 0, 0, 0.98) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 100;
    animation: fadeIn 0.6s ease;
}

.end-broadcast-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: orbRotate 20s linear infinite;
}

.end-broadcast-icon {
    font-size: 100px;
    margin-bottom: 35px;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
    animation: iconPulseEnd 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.end-broadcast-title {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #d4af37 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s linear infinite;
    margin: 0 0 20px 0;
    letter-spacing: 3px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.end-broadcast-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 45px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.reload-tv-button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 20px 50px;
    color: var(--primary-black);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.reload-tv-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reload-tv-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 60px rgba(212, 175, 55, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.reload-tv-button:hover::before {
    opacity: 1;
    animation: buttonShine 1.5s ease-in-out infinite;
}

.reload-tv-button:active {
    transform: translateY(-3px) scale(1.02);
}

.no-program-icon {
    font-size: 90px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.5));
    animation: iconFloat 4s ease-in-out infinite;
}

.loading-spinner h3 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px 0;
}

.loading-spinner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ===== NAVIGATION BOTTOM (MOBILE) ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 999;
    display: none;
}

.bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    border-radius: 15px;
}

.bottom-nav-item:active {
    transform: scale(0.95);
}

.bottom-nav-icon {
    font-size: 26px;
    transition: all 0.3s ease;
    filter: grayscale(1);
}

.bottom-nav-item.active .bottom-nav-icon {
    filter: grayscale(0);
    transform: scale(1.2);
}

.bottom-nav-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.bottom-nav-item.active .bottom-nav-label {
    color: var(--gold);
}

.bottom-nav-badge {
    position: absolute;
    top: 5px;
    right: 10px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ===== BOUTON PARTAGE FLOTTANT ===== */
.floating-share-button {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37, #c9a428);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
}

.floating-share-button:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.7);
    background: linear-gradient(135deg, #f0d77e, #d4af37);
}

.floating-share-button:active {
    transform: translateY(-50%) scale(1.05);
}

.share-icon {
    font-size: 28px;
    color: rgba(0, 0, 0, 0.8);
    animation: shareIconFloat 3s ease-in-out infinite;
}

.share-label {
    display: none;
}

.floating-share-button::before {
    content: 'Partager';
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: #d4af37;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.floating-share-button::after {
    content: '';
    position: absolute;
    right: 65px;
    border: 8px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-share-button:hover::before,
.floating-share-button:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
    .tv-content-grid {
        gap: 50px;
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .tv-content-grid {
        grid-template-columns: 1fr 380px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .floating-dock-bar {
        bottom: 25px;
    }
    
    .tv-header-premium {
        margin-bottom: 40px;
    }
    
    .tv-video-section {
        margin-bottom: 60px;
    }
    
    .tv-content-section {
        padding: 80px 0 100px;
    }
    
    .tv-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }
    
    .sidebar-card {
        max-height: none;
    }
    
    .week-days-slider {
        gap: 12px;
    }
    
    .week-day-card {
        min-width: 160px;
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    /* Dock caché, bottom nav visible */
    .floating-dock-bar {
        bottom: 90px;
        display: none !important;
    }
    
    .bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    /* Cacher les boutons flottants */
    .floating-auth-button,
    .user-profile-button,
    .floating-chat-button,
    .floating-party-button,
    .floating-effects-button,
    .floating-polls-button {
        display: none !important;
    }
    
    /* Bouton partage repositionné */
    .floating-share-button {
        top: auto;
        bottom: 100px;
        right: 20px;
        transform: none;
        width: 56px;
        height: 56px;
    }
    
    .floating-share-button:hover {
        transform: scale(1.12);
    }
    
    .floating-share-button:active {
        transform: scale(1.02);
    }
    
    .share-icon {
        font-size: 26px;
    }
    
    .floating-share-button::before,
    .floating-share-button::after {
        display: none;
    }
    
    /* Profil et auth */
    .user-profile-button,
    .floating-auth-button {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-width: 2px;
    }
    
    .floating-auth-button {
        font-size: 24px;
        border-width: 2px;
    }
    
    .auth-badge {
        font-size: 8px;
        padding: 2px 6px;
        top: -5px;
        right: -5px;
    }
    
    .user-dropdown {
        top: 75px;
        right: 15px;
        min-width: 240px;
        padding: 12px 0;
    }
    
    .user-dropdown-item {
        padding: 11px 20px;
        font-size: 13px;
        gap: 12px;
    }
    
    .user-dropdown-item span:first-child {
        font-size: 20px;
    }
    
    /* Modals */
    .program-modal {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        border-radius: 25px;
    }
    
    .program-modal-header {
        padding: 25px;
    }
    
    .program-modal-title h2 {
        font-size: 24px;
    }
    
    .program-modal-subtitle {
        font-size: 13px;
    }
    
    .program-modal-close {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .program-modal-body {
        padding: 25px;
        max-height: calc(90vh - 100px);
    }
    
    .program-modal-list {
        gap: 18px;
    }
    
    .program-modal-item {
        padding: 20px;
        border-radius: 18px;
    }
    
    .program-modal-item-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .program-modal-item-icon {
        font-size: 48px;
    }
    
    .program-modal-item-title {
        font-size: 18px;
    }
    
    .program-modal-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Menu partage */
    .share-menu-container {
        width: 95%;
        max-width: none;
        border-radius: 25px;
    }
    
    .share-menu-header {
        padding: 25px;
    }
    
    .share-menu-header h3 {
        font-size: 24px;
    }
    
    .share-menu-close {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .share-menu-content {
        padding: 25px;
    }
    
    .share-social-buttons {
        gap: 12px;
    }
    
    .share-social-btn,
    .social-login-btn {
        padding: 16px 18px;
        font-size: 14px;
    }
    
    /* Contenu TV */
    .tv-header-premium {
        margin-bottom: 30px;
    }
    
    .tv-video-section {
        margin-bottom: 40px;
    }
    
    .tv-content-section {
        padding: 60px 0 80px;
    }
    
    .tv-content-grid {
        gap: 30px;
        padding: 0 20px;
    }
    
    .tv-current-program-car,
.upcoming-program-card,
.tv-stats-card,
.sidebar-card {
padding: 30px;
border-radius: 25px;
}
.program-card-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.card-title,
.sidebar-title {
    font-size: 22px;
}

.current-program-info {
    flex-direction: column;
    gap: 20px;
    padding: 25px;
}

.current-program-icon {
    font-size: 64px;
}

.current-program-details h4 {
    font-size: 26px;
}

.quick-reactions {
    gap: 12px;
    padding: 20px;
}

.reaction-btn {
    padding: 15px 18px;
}

.reaction-emoji {
    font-size: 32px;
}

.tv-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-box {
    padding: 28px;
}

.stat-icon {
    font-size: 48px;
}

.stat-value {
    font-size: 36px;
}

/* Sélecteur semaine */
.week-selector-modern {
    padding: 30px 20px;
    margin: 40px 20px;
    border-radius: 25px;
}

.week-selector-header-modern {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.week-selector-icon {
    font-size: 42px;
}

.week-selector-title-modern {
    font-size: 24px;
}

.week-tabs {
    flex-direction: column;
    gap: 10px;
}

.week-tab {
    padding: 15px 20px;
    font-size: 14px;
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-size: 24px;
}

.slider-prev {
    left: -15px;
}

.slider-next {
    right: -15px;
}

.week-days-slider {
    gap: 10px;
    padding: 10px 20px;
}

.week-day-card {
    min-width: 140px;
    padding: 18px 15px;
}

.day-icon {
    font-size: 32px;
}

.day-name {
    font-size: 16px;
}

.day-date {
    font-size: 13px;
}

/* Fin diffusion */
.end-broadcast-icon,
.no-program-icon {
    font-size: 80px;
}

.end-broadcast-title {
    font-size: 38px;
}

.end-broadcast-text {
    font-size: 18px;
}

.reload-tv-button {
    padding: 18px 40px;
    font-size: 16px;
}
}
@media (max-width: 480px) {
/* Dock items */
.dock-items {
gap: 6px;
padding: 8px 12px;
border-radius: 20px;
}
.dock-item {
    width: 50px;
    height: 50px;
    border-radius: 15px;
}

.dock-icon {
    font-size: 24px;
}

.dock-item:hover {
    transform: translateY(-15px) scale(1.15);
}

.dock-label {
    bottom: 65px;
    font-size: 10px;
    padding: 5px 10px;
}

/* Bouton partage */
.floating-share-button {
    bottom: 95px;
    right: 15px;
    width: 52px;
    height: 52px;
}

.share-icon {
    font-size: 24px;
}

/* Profil */
.user-profile-button,
.floating-auth-button {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
}

.user-avatar {
    width: 46px;
    height: 46px;
    font-size: 18px;
}

.floating-auth-button {
    font-size: 22px;
}

.auth-badge {
    font-size: 7px;
    padding: 2px 5px;
}

.user-dropdown {
    top: 68px;
    right: 12px;
    min-width: 220px;
    border-radius: 16px;
    padding: 10px 0;
}

.user-dropdown-item {
    padding: 10px 18px;
    font-size: 13px;
    gap: 11px;
}

.user-dropdown-item span:first-child {
    font-size: 19px;
}

.user-dropdown-item:hover {
    padding-left: 24px;
}

/* Modals */
.program-modal-overlay,
.share-menu-overlay {
    padding: 10px;
}

.program-modal {
    width: 100%;
    max-height: 95vh;
    border-radius: 20px;
}

.program-modal-header {
    padding: 20px;
}

.program-modal-title h2 {
    font-size: 20px;
}

.program-modal-subtitle {
    font-size: 12px;
}

.program-modal-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
}

.program-modal-body {
    padding: 20px;
}

.program-modal-item {
    padding: 18px;
}

.program-modal-item-icon {
    font-size: 42px;
}

.program-modal-item-title {
    font-size: 16px;
}

.program-modal-item-time,
.program-modal-item-duration {
    font-size: 13px;
    padding: 6px 12px;
}

.program-modal-item-category {
    font-size: 11px;
    padding: 5px 14px;
}

/* Menu partage */
.share-menu-container {
    width: 100%;
    border-radius: 20px;
}

.share-menu-header {
    padding: 20px;
}

.share-menu-header h3 {
    font-size: 20px;
}

.share-menu-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
}

.share-menu-content {
    padding: 20px;
}

.share-link-container {
    flex-direction: column;
    padding: 18px;
}

.share-link-container input {
    font-size: 13px;
    padding: 12px 16px;
}

.share-link-container button {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
}

.share-social-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
}

.share-social-btn,
.social-login-btn {
    padding: 14px 16px;
    font-size: 13px;
}

/* Contenu TV */
.tv-content-section {
    padding: 40px 0 60px;
}

.tv-content-grid {
    padding: 0 15px;
    gap: 25px;
}

.tv-current-program-card,
.upcoming-program-card,
.tv-stats-card,
.sidebar-card {
    padding: 25px;
    border-radius: 20px;
}

.card-title,
.sidebar-title {
    font-size: 20px;
}

.current-program-icon {
    font-size: 56px;
}

.current-program-details h4 {
    font-size: 22px;
}

.current-program-meta {
    font-size: 13px;
    gap: 10px;
}

.quick-reactions {
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
}

.reaction-btn {
    flex: 1;
    min-width: calc(50% - 5px);
    padding: 12px 15px;
}

.reaction-emoji {
    font-size: 28px;
}

.stat-icon {
    font-size: 42px;
}

.stat-value {
    font-size: 32px;
}

.program-item {
    padding: 18px;
    gap: 15px;
}

.program-thumbnail {
    font-size: 40px;
}

/* Sélecteur semaine */
.week-selector-modern {
    padding: 25px 15px;
    margin: 30px 15px;
}

.week-selector-title-modern {
    font-size: 20px;
}

.week-selector-subtitle {
    font-size: 12px;
}

.week-day-card {
    min-width: 130px;
    padding: 15px 12px;
}

.day-icon {
    font-size: 28px;
}

.day-name {
    font-size: 15px;
}

/* Fin diffusion */
.end-broadcast-screen {
    padding: 30px 20px;
}

.end-broadcast-icon,
.no-program-icon {
    font-size: 70px;
}

.end-broadcast-title {
    font-size: 32px;
    letter-spacing: 2px;
}

.end-broadcast-text {
    font-size: 16px;
}

.reload-tv-button {
    padding: 16px 35px;
    font-size: 15px;
    letter-spacing: 1.5px;
}
}
@media (max-width: 360px) {
.user-profile-button,
.floating-auth-button {
width: 44px;
height: 44px;
}
.user-avatar {
    width: 44px;
    height: 44px;
    font-size: 17px;
}

.floating-auth-button {
    font-size: 20px;
}

.user-dropdown {
    min-width: 200px;
}
}
/* Desktop specific */
@media (min-width: 769px) {
.bottom-nav {
display: none !important;
}
body:has(.floating-dock-bar[style*="display: block"]) .floating-share-button {
    bottom: 120px;
    top: auto;
    transform: none;
}

body:has(.floating-dock-bar[style*="display: block"]) .floating-share-button:hover {
    transform: scale(1.15);
}
}

/* ===== BOUTONS FAVORIS DANS LE PLANNING ===== */

.program-favorite-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    opacity: 0.5;
    margin-left: 10px;
}

.program-favorite-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

.program-favorite-btn.active {
    opacity: 1;
    animation: starPulse 0.5s ease;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Header de programme modal avec favoris */
.program-modal-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.program-modal-item-time {
    flex: 1;
}

.program-modal-item-duration {
    flex-shrink: 0;
}