/**
 * Styles pour le système de verrouillage des chapitres - Version Premium Clean FINAL
 * WP Manga Chapter Lock Integration avec personnages réels et aura
 * Version: 1.0.2 - Juillet 2025 - BORDURE SUBTILE ET SANS FILTRE JAUNE
 */

/* Import Google Fonts pour une typographie premium */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

/* Variables CSS pour le thème premium - PALETTE NOIR/BLANC/OR UNIQUEMENT */
:root {
    --premium-black: #0a0a0a;
    --premium-dark: #1a1a1a;
    --premium-gold: #ffd700;
    --premium-gold-light: #ffb347;
    --premium-gold-dark: #b8860b;
    --premium-red: #ff3333;
    --premium-white: #ffffff;
    --premium-gray: #e0e0e0;
    --premium-gray-dark: #666666;
    --premium-gray-light: #f5f5f5;
    
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.8);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.9);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5);
    --glow-red: 0 0 15px rgba(255, 51, 51, 0.4);
}

/* Indicateur Premium pour les chapitres verrouillés */
.chapter-premium-indicator {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--premium-gold) !important;
    text-shadow: var(--glow-gold);
}

.chapter-premium-indicator:hover {
    color: var(--premium-gold-light) !important;
    transform: scale(1.05);
    filter: drop-shadow(var(--glow-gold));
}

.chapter-premium-indicator .premium-label {
    margin-right: 4px;
}

/* Styles pour les chapitres verrouillés */
.chapter-item.chapter-locked {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(184, 134, 11, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.4);
    opacity: 0.9;
    animation: premium-glow 3s infinite ease-in-out;
    min-width: 200px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chapter-item.chapter-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: premium-shine 4s ease-in-out infinite;
}

@keyframes premium-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.chapter-premium-indicator { color: var(--premium-gold) !important; }
.chapter-premium-indicator i { color: inherit; }

@keyframes premium-glow {
    0% { 
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
        border-color: rgba(255, 215, 0, 0.4);
    }
    50% { 
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.3);
        border-color: rgba(255, 215, 0, 0.6);
    }
    100% { 
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
        border-color: rgba(255, 215, 0, 0.4);
    }
}

.chapter-locked .chapter-name.locked {
    color: var(--premium-gray-dark);
    cursor: not-allowed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.chapter-locked .chapter-name.locked:hover {
    color: var(--premium-gold);
    text-decoration: none;
}

/* Styles pour les chapitres dans les dernières sorties */
.release-chapters .chapter-item.chapter-locked {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(184, 134, 11, 0.08));
    border-radius: 6px;
    min-width: 200px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Ajustement pour éviter le chevauchement avec new-indicator */
.chapter-link, .chapter-name.locked {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chapter-link:hover, .chapter-name.locked:hover {
    color: var(--premium-gold);
    text-shadow: var(--glow-gold);
}

.chapter-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.chapter-link.visited {
    color: #607d8b;
}

.chapter-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chapter-name-container {
    display: flex;
    align-items: center;
    min-height: 24px;
    min-width: 230px;
}

.chapter-item:hover .chapter-name {
    color: var(--premium-gold);
    text-shadow: var(--glow-gold);
}

.chapter-meta {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.chapter-date {
    opacity: 0.7;
}

.chapter-date i {
    margin-right: 5px;
    color: var(--premium-gold);
}

/* Modal de message de verrouillage - VERSION PREMIUM CLEAN SANS FILTRE JAUNE */
.wmcl-lock-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: premium-fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: inherit !important;
    visibility: inherit !important;
}

/* Particules d'arrière-plan premium - SANS FILTRE JAUNE */
.wmcl-lock-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 51, 51, 0.15), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.25), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 51, 51, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: premium-particles-float 20s linear infinite;
    pointer-events: none;
}

@keyframes premium-particles-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -200px); }
}

.wmcl-lock-modal.show {
    display: flex;
}

/* Contenu du modal premium avec personnages - BORDURE SUBTILE ET SANS FILTRE JAUNE */
.wmcl-lock-modal-content {
    background: linear-gradient(145deg, var(--premium-dark) 0%, var(--premium-black) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 60px;
    max-width: 900px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-premium), var(--shadow-dark);
    animation: premium-slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: 'Exo 2', sans-serif;
}

/* Bordure subtile sans animation agressive */
.wmcl-lock-modal-content > * {
    position: relative;
    z-index: 2;
}

/* Icône de verrouillage premium */
.wmcl-lock-modal-icon {
    font-size: 64px;
    margin-bottom: 25px;
    color: var(--premium-gold) !important;
    text-shadow: var(--glow-gold);
    animation: premium-icon-pulse 2s ease-in-out infinite alternate;
    font-family: 'Orbitron', monospace;
    position: relative;
    z-index: 3;
}

.wmcl-lock-modal-icon i {
    color: inherit !important;
}

@keyframes premium-icon-pulse {
    0% { 
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
        transform: scale(1.1);
    }
}

/* Titre premium */
.wmcl-lock-modal-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--premium-white);
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, var(--premium-gold), var(--premium-gold-light), var(--premium-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 3;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% { 
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
}

/* Message premium */
.wmcl-lock-modal-message {
    font-size: 18px;
    color: var(--premium-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 300;
    position: relative;
    z-index: 3;
}

/* Compteur premium - SANS FILTRE JAUNE */
.wmcl-lock-modal-countdown {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 51, 51, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: bold;
    color: var(--premium-gold) !important;
    text-shadow: var(--glow-gold);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.wmcl-lock-modal-countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: premium-countdown-shine 3s ease-in-out infinite;
}

@keyframes premium-countdown-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.wmcl-countdown-timer {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    color: var(--premium-gold);
    text-shadow: var(--glow-gold);
    position: relative;
    z-index: 1;
}

.wmcl-countdown-expired {
    color: var(--premium-gold) !important;
    text-shadow: var(--glow-gold);
    animation: premium-countdown-pulse 1s ease-in-out infinite;
}

@keyframes premium-countdown-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Boutons premium */
.wmcl-lock-modal-close {
    background: linear-gradient(135deg, var(--premium-gold) 0%, var(--premium-gold-light) 100%);
    color: var(--premium-black);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Exo 2', sans-serif;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.wmcl-lock-modal-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wmcl-lock-modal-close:hover::before {
    left: 100%;
}

.wmcl-lock-modal-close:hover {
    background: linear-gradient(135deg, var(--premium-gold-light) 0%, var(--premium-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.wmcl-lock-modal-confirm {
    background: linear-gradient(135deg, var(--premium-gold) 0%, var(--premium-gold-light) 100%);
    color: var(--premium-black);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Exo 2', sans-serif;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.wmcl-lock-modal-confirm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wmcl-lock-modal-confirm:hover::before {
    left: 100%;
}

.wmcl-lock-modal-confirm:hover {
    background: linear-gradient(135deg, var(--premium-gold-light) 0%, var(--premium-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

/* Bouton de fermeture X premium */
.wmcl-lock-modal-close-x {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 20px;
    color: var(--premium-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 4;
}

.wmcl-lock-modal-close-x:hover {
    background: rgba(255, 51, 51, 0.2);
    border-color: var(--premium-red);
    color: var(--premium-red);
    transform: scale(1.1);
}

/* Conteneur des boutons dynamiques */
.wmcl-lock-modal-buttons {
    margin-top: 25px;
    position: relative;
    z-index: 3;
}

.wmcl-lock-modal-buttons a {
    display: inline-block;
    text-decoration: none;
}

/* Animations premium */
@keyframes premium-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes premium-slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive premium */
@media (max-width: 768px) {
    .wmcl-lock-modal-content {
        padding: 30px 25px;
        margin: 20px;
        max-width: none;
    }
    
    .wmcl-lock-modal-title {
        font-size: 24px;
    }
    
    .wmcl-lock-modal-icon {
        font-size: 48px;
    }
    
    .wmcl-lock-modal-message {
        font-size: 16px;
    }
    
    .wmcl-lock-modal-countdown {
        font-size: 18px;
        padding: 15px;
    }
    
    .chapter-premium-indicator {
        font-size: 0.7rem;
    }
    
    .chapter-item.chapter-locked .new-indicator {
        top: 20px;
        right: 4px;
    }
}

/* Styles pour les notifications de déverrouillage premium */
.wmcl-unlock-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--premium-gold) 0%, var(--premium-gold-light) 100%);
    color: var(--premium-black);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-premium);
    z-index: 10001;
    animation: premium-slideInRight 0.4s ease;
    font-weight: 600;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.wmcl-unlock-notification.hide {
    animation: premium-slideOutRight 0.4s ease;
}

@keyframes premium-slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes premium-slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Styles pour les badges de statut premium */
.wmcl-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wmcl-status-badge.locked {
    background: linear-gradient(135deg, var(--premium-red) 0%, #c62828 100%);
    color: var(--premium-white);
}

.wmcl-status-badge.unlocked {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: var(--premium-white);
}

.wmcl-status-badge.premium {
    background: linear-gradient(135deg, var(--premium-gold) 0%, #ef6c00 100%);
    color: var(--premium-black);
}

/* Amélioration de l'accessibilité premium */
.chapter-premium-indicator:focus {
    outline: 3px solid var(--premium-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.chapter-name.locked:focus {
    outline: 3px solid var(--premium-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.wmcl-lock-modal-close:focus,
.wmcl-lock-modal-confirm:focus {
    outline: 3px solid var(--premium-gold);
    outline-offset: 3px;
}

/* Styles pour l'état de chargement premium */
.wmcl-lock-modal-content.loading {
    opacity: 0.7;
    pointer-events: none;
}

.wmcl-lock-modal-content.loading .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid var(--premium-gold);
    border-radius: 50%;
    animation: premium-spin 1s linear infinite;
    z-index: 5;
}

@keyframes premium-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles pour les messages d'erreur premium */
.wmcl-lock-modal-error {
    color: var(--premium-red);
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-size: 14px;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 3;
}

/* Amélioration de la lisibilité premium */
.wmcl-lock-modal-message strong {
    color: var(--premium-gold);
    font-weight: 600;
    text-shadow: var(--glow-gold);
}

.wmcl-lock-modal-message em {
    color: var(--premium-gold-light);
    font-style: normal;
    font-weight: 500;
    text-shadow: var(--glow-gold);
}

/* Styles pour éviter les conflits avec d'autres modals */
body.wmcl-modal-open {
    overflow: hidden;
    padding-right: 0;
}

.wmcl-lock-modal {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Réduction des animations pour les utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
    .wmcl-lock-modal,
    .wmcl-lock-modal-content,
    .wmcl-lock-modal-close,
    .wmcl-lock-modal-confirm,
    .chapter-premium-indicator {
        animation: none !important;
        transition: none !important;
    }
    
    .premium-glow,
    .premium-shine,
    .premium-particles-float,
    .premium-icon-pulse,
    .premium-countdown-shine,
    .premium-countdown-pulse,
    .title-glow {
        animation: none !important;
    }
    
    .wmcl-lock-modal::before {
        display: none;
    }
}

/* Styles spéciaux pour l'intégration avec le thème Starbound */
.starbound-theme .wmcl-lock-modal-content {
    border-color: rgba(255, 255, 255, 0.1);
}

.starbound-theme .chapter-premium-indicator {
    color: var(--premium-gold) !important;
}

/* Effets de hover premium pour les éléments interactifs */
.chapter-lock-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(var(--glow-gold));
}

/* Animation de pulsation pour les éléments importants */
@keyframes premium-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.chapter-premium-indicator.pulse {
    animation: premium-pulse 2s ease-in-out infinite;
}

/* Effet de particules d'énergie autour du modal - SANS POINTS ET SANS FILTRE JAUNE */
.wmcl-lock-modal-content .energy-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* SUPPRESSION DES PETITS POINTS - Remplacé par des lueurs subtiles SANS FILTRE JAUNE */
.wmcl-lock-modal-content .energy-particles::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 8px;
    height: 8px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.2),
        30px 40px 0 0 transparent,
        60px 20px 0 0 transparent,
        -30px 60px 0 0 transparent,
        90px 80px 0 0 transparent;
    animation: energy-float 6s ease-in-out infinite;
}

@keyframes energy-float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.4;
    }
}

@keyframes character-aura-left {
    0% { 
        opacity: 0.5;
        filter: 
            drop-shadow(0 0 20px rgba(255, 51, 51, 0.4))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.2))
            brightness(1.0)
            contrast(1.1)
            saturate(1.0);
        transform: scale(1) translateX(0);
    }
    100% { 
        opacity: 0.7;
        filter: 
            drop-shadow(0 0 40px rgba(255, 51, 51, 0.8))
            drop-shadow(0 0 80px rgba(255, 215, 0, 0.4))
            brightness(1.1)
            contrast(1.2)
            saturate(1.1);
        transform: scale(1.05) translateX(10px);
    }
}

@keyframes character-aura-right {
    0% { 
        opacity: 0.5;
        filter: 
            drop-shadow(0 0 20px rgba(255, 215, 0, 0.4))
            drop-shadow(0 0 40px rgba(255, 51, 51, 0.2))
            brightness(1.0)
            contrast(1.1)
            saturate(0.8)
            hue-rotate(20deg);
        transform: scale(1) translateX(0);
    }
    100% { 
        opacity: 0.7;
        filter: 
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 80px rgba(255, 51, 51, 0.4))
            brightness(1.1)
            contrast(1.2)
            saturate(1.0)
            hue-rotate(40deg);
        transform: scale(1.05) translateX(-10px);
    }
}

/* Responsive pour les personnages */
@media (max-width: 768px) {
    .wmcl-lock-modal-content::before,
    .wmcl-lock-modal-content::after {
        width: 250px;
        height: 350px;
        top: -10px;
    }
    
    .wmcl-lock-modal-content::before {
        left: -100px;
    }
    
    .wmcl-lock-modal-content::after {
        right: -100px;
    }
}

/* Désactiver les personnages sur les appareils avec mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    .wmcl-lock-modal-content::before,
    .wmcl-lock-modal-content::after {
        display: none;
    }
    
    .character-aura-left,
    .character-aura-right {
        animation: none !important;
    }
}

/* Styles spécifiques pour unifier l'affichage sur toutes les pages - SANS FILTRE JAUNE */
.wmcl-lock-modal-content {
    /* Force l'affichage uniforme SANS FILTRE JAUNE */
    background: linear-gradient(145deg, var(--premium-dark) 0%, var(--premium-black) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Override pour les modals existants avec des styles différents - SANS FILTRE JAUNE */
.wmcl-lock-modal .wmcl-lock-modal-content {
    background: linear-gradient(145deg, var(--premium-dark) 0%, var(--premium-black) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    filter: none !important;
}

/* Forcer l'affichage des personnages sur toutes les pages - SANS FILTRE JAUNE */
.wmcl-lock-modal-content {
    position: relative;
}

/* Suppression de tous les filtres jaunes et réduction de l'opacité des personnages pour plus de clarté */
.wmcl-lock-modal-content::before {
    opacity: 0.6 !important;
    filter: 
        drop-shadow(0 0 30px rgba(255, 51, 51, 0.6))
        drop-shadow(0 0 60px rgba(255, 215, 0, 0.3))
        brightness(1.0)
        contrast(1.1)
        saturate(1.0) !important;
}

.wmcl-lock-modal-content::after {
    opacity: 0.6 !important;
    filter: 
        drop-shadow(0 0 30px rgba(255, 215, 0, 0.6))
        drop-shadow(0 0 60px rgba(255, 51, 51, 0.3))
        brightness(1.0)
        contrast(1.1)
        saturate(0.9)
        hue-rotate(30deg) !important;
}

@media (max-width: 600px) {
  .wmcl-lock-modal-message-bg {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* bande noire avec transparence */
    border-radius: 14px;
    z-index: 2;
    pointer-events: none;
  }
  .wmcl-lock-modal-title,
  .wmcl-lock-modal-message,
  .wmcl-lock-modal-countdown,
  .wmcl-lock-modal-icon {
    position: relative;
    z-index: 3;
  }
  /* Optionnel : pour renforcer la lisibilité */
  .wmcl-lock-modal-title,
  .wmcl-lock-modal-message,
  .wmcl-lock-modal-countdown {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  }
}
