:root {
    /* Palette principale */
    --color-black-dark: #0A0A0A;
    --color-gold-primary: #FFD700;
    --color-gold-medium: #D4A017;
    --color-gold-dark: #B8860B;
    --color-white: #FFFFFF;
    
    /* Dégradés */
    --gradient-horizontal: linear-gradient(90deg, var(--color-black-dark) 0%, #1A1A1A 100%);
    --gradient-vertical: linear-gradient(180deg, #1A1A1A 0%, var(--color-black-dark) 100%);
    
    /* Effets spatiaux */
    --nebula-color-1: rgba(255, 215, 0, 0.08);
    --nebula-color-2: rgba(212, 160, 23, 0.06);
    --color-star: rgba(255, 255, 255, 0.8);
    --color-comet: var(--color-gold-primary);

    /* Éléments d'interface */
    --color-primary: var(--color-black-dark);
    --color-secondary: #1A1A1A;
    --color-accent: var(--color-gold-medium);
    --color-success: #FFD700;
    --color-warning: #D4A017;
    --color-danger: #B8860B;
    --color-info: var(--color-gold-dark);
    
    /* Ombres et transparences */
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-hard: 0 12px 36px rgba(0, 0, 0, 0.5);
    --overlay-dark: rgba(10, 10, 10, 0.7);
    --overlay-light: rgba(255, 255, 255, 0.08);
    
    /* Variables premium pour les modals */
    --premium-black: #0a0a0a;
    --premium-dark: #1a1a1a;
    --premium-gold: #ffd700;
    --premium-gold-light: #ffb347;
    --premium-blue: #00d4ff;
    --premium-blue-dark: #0099cc;
    --premium-red: #ff3333;
    --premium-gray: #e0e0e0;
    --premium-gray-dark: #666666;
    
    --shadow-premium: 0 20px 60px rgba(255, 215, 0, 0.3);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.8);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5);
    --glow-blue: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* 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');

a.info-filter-link {
    color: #ffd700; 
    text-decoration: none; 
    font-weight: 500;      
    transition: color 0.2s;
}
a.info-filter-link:hover, 
a.info-filter-link:focus {
    color: #c0a00f; 
    text-decoration: underline; 
}

a.btn-read-chapter:hover,
a.btn-read-chapter:focus {
    background: #222;        
    color: #ffd700;          
    text-decoration: none;
}

a.btn-edit:hover,
a.btn-edit:focus {   
    color: #ffd700;  
}

/* Styles généraux de la page projet */
.project-page {
    font-family: 'Poppins', sans-serif;
    color: var(--color-white);
    background: var(--gradient-vertical);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Section héro avec image de couverture */
.project-hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
}

.project-hero-main {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.project-cover-container {
    flex: 0 0 250px;
    position: relative;
    margin-top: 20px;
}

.project-cover {
    width: 100%;
    height: 350px !important;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-hard);
    border: 2px solid rgba(212, 160, 23, 0.3);
}

.project-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: var(--shadow-soft);
}

.project-hero-info {
    display: grid;
    width: 700px;
}

.project-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem !important;
    margin: 0 0 10px 0 !important;
    color: var(--color-white) !important;
    text-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
    white-space: normal !important;
}

.project-alternative {
    font-size: 1.2rem;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E0E0E0;
}

.project-meta-item i {
    color: var(--color-accent);
}

.project-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.project-stat {
    background-color: rgba(212, 160, 23, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex: 1;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 160, 23, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.9rem;
    color: #E0E0E0;
}

.rating-stars {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.rating-stars i {
    color: var(--color-gold-primary);
    margin: 0 2px;
}

/* Styles pour le système de vote */
.rating-vote {
    margin-top: 10px;
    text-align: center;
}

.rating-vote-stars {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.vote-star {
    cursor: pointer;
    color: #E0E0E0;
    font-size: 1.2rem;
    margin: 0 2px;
    transition: color 0.3s ease;
}

.rating-vote-stars:hover .vote-star {
    color: var(--color-gold-primary);
}

.vote-star:hover ~ .vote-star {
    color: #E0E0E0;
}

.vote-star.active {
    color: var(--color-gold-primary);
}

.rating-vote-label {
    font-size: 0.8rem;
    color: #E0E0E0;
    margin-top: 5px;
}

.project-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-favorite, .btn-edit, .btn-report {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-favorite {
    background-color: rgba(212, 160, 23, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(212, 160, 23, 0.5);
}

.btn-edit {
    background-color: rgba(184, 134, 11, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(184, 134, 11, 0.5);
}

.btn-report {
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.btn-favorite:hover, .btn-edit:hover, .btn-report:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-favorite:hover {
    background-color: rgba(212, 160, 23, 0.3);
}

.btn-edit:hover {
    background-color: rgba(184, 134, 11, 0.3);
}

.btn-report:hover {
    background-color: rgba(255, 215, 0, 0.3);
}

.btn-favorite.favorite.active i {
    color: #ff0000; /* Rouge pour l'icône du cœur */
}

.btn-favorite i.active {
    color: var(--color-gold-dark);
}

/* Styles pour les sections de contenu */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--color-accent);
}

/* Styles pour les cartes */
.project-info-card, .project-description-card, .project-chapters-card {
    background-color: rgba(26, 26, 26, 0.4);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(212, 160, 23, 0.3);
    margin-bottom: 30px;
}

.card-header {
    background: linear-gradient(90deg, #D4A0171F 0%, transparent 100%);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(212, 160, 23, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: 20px;
}

/* Styles pour la section d'informations */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item-full {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 0.9rem;
    color: #E0E0E0;
}

.info-value {
    font-size: 1.1rem;
    color: var(--color-white);
}

.genres-list, .categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.genre-tag, .category-tag {
    background-color: rgba(212, 160, 23, 0.2);
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 160, 23, 0.3);
}

/* Styles pour la section de description */
.project-description {
    line-height: 1.6;
    color: #E6E6E6;
}

.project-description p {
    margin-bottom: 15px;
}

.project-description img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
}

.chapter-new-badge {
    display: inline-block;
    background-color: rgba(255, 215, 0, 0.6);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

.chapter-title-text {
    vertical-align: middle;
}

/* Styles pour la section des chapitres */
.chapters-controls {
    display: flex;
    gap: 15px;
}

.chapters-sort {
    position: relative;
}

.btn-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    background-color: rgba(212, 160, 23, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(212, 160, 23, 0.2);
}

.btn-sort:hover {
    background-color: rgba(212, 160, 23, 0.4);
}

/* Liste des chapitres (défilement) */
.chapters-list-container {
    max-height: 500px;
    overflow-y: auto;
    margin-top: 15px;
    padding-right: 10px;
}

.chapters-list {
    display: flex;
    flex-direction: column;
}

.chapter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--color-black-dark), #1A1A1A);
    border-radius: 5px;
    border: 1px solid rgba(212, 160, 23, 0.2);
    transition: all 0.3s ease;
}

.chapter-item:hover {
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.chapter-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chapter-name {
    font-size: 1.1rem;
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.chapter-date {
    font-size: 0.8rem;
    color: #E0E0E0;
}

.chapter-stats {
    display: flex;
    gap: 15px;
}

.chapter-views, .chapter-comments {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #E0E0E0;
}

.no-chapters {
    text-align: center;
    padding: 30px 0;
}

.no-chapters-icon {
    font-size: 3rem;
    color: #E0E0E0;
    margin-bottom: 15px;
}

/* Styles du formulaire de notification */
.notify-form-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.notify-form-container {
    width: 100%;
    max-width: 600px;
}

.notify-form-card {
    background-color: var(--color-black-dark);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.2);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.notify-form-card .card-header {
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-black-dark) 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 160, 23, 0.3);
}

.notify-form-card .card-header h2 {
    color: var(--color-white);
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notify-form-card .card-header h2 i {
    color: var(--color-gold-medium);
}

.notify-form-card .card-body {
    padding: 25px;
}

.notify-form-card .form-group {
    margin-bottom: 20px;
}

.notify-form-card .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-white);
    font-weight: 500;
}

.notify-form-card .form-input,
.notify-form-card .form-textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.notify-form-card .form-input:focus,
.notify-form-card .form-textarea:focus {
    outline: none;
    border-color: var(--color-gold-medium);
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.2);
}

.notify-form-card .form-textarea {
    min-height: 120px;
    resize: vertical;
}

.notify-form-card .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

.notify-form-card .btn-cancel {
    padding: 10px 20px;
    background-color: rgba(26, 26, 26, 0.7);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notify-form-card .btn-cancel:hover {
    background-color: rgba(26, 26, 26, 0.9);
}

.notify-form-card .btn-submit {
    padding: 10px 20px;
    background-color: var(--color-gold-medium);
    color: var(--color-black-dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notify-form-card .btn-submit:hover {
    background-color: var(--color-gold-primary);
    transform: translateY(-2px);
}

.notify-form-card .btn-close-form {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(212, 160, 23, 0.2);
}

.notify-form-card .btn-close-form:hover {
    background-color: rgba(212, 160, 23, 0.5);
    color: var(--color-white);
}

.chapter-item-wrapper {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}
.chapter-item-wrapper:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.chapter-thumbnail-container {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}
.chapter-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.chapter-item-wrapper:hover .chapter-thumbnail-img {
    transform: scale(1.05);
}
.chapter-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-size: 1.5rem;
}

/* Badge NEW collé à droite du titre */
.chapter-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    line-height: 1.3;
    display: flex;
    align-items: center;
}
.chapter-new-badge {
    margin-left: 8px;
    position: static;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 0 6px 0 6px;
    animation: pulse-gold 2s infinite;
    z-index: 2;
}
.chapter-content {
    flex: 1;
    min-width: 0;
}
.chapter-header {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.chapter-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
.chapter-link:hover {
    color: #ffd700;
}
.chapter-vip-message {
    font-size: 0.95rem;
    margin-left: 0;
    text-align: right;
    white-space: nowrap;
    background: none;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
/* Toujours à droite, centré verticalement */
.chapter-actions {
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    margin-left: 15px;
}
.chapter-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #ccc;
}
.chapter-date i,
.chapter-read-status i {
    margin-right: 5px;
    color: #ffd700;
}
.chapter-read-status {
    color: #2ecc71;
}
.btn-read-chapter {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-read-chapter:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}
/* Chapitres lus */
.chapter-item-wrapper.read {
    opacity: 0.7;
}
.chapter-item-wrapper.read .chapter-title {
    color: #607d8b;
}

/* ===== STYLES PREMIUM POUR LES CHAPITRES VERROUILLÉS ===== */

.chapter-locked-info {
    display: flex;
    align-items: center;
    color: var(--premium-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: var(--glow-gold);
}

.chapter-locked-info:hover {
    color: var(--premium-gold-light);
    transform: scale(1.05);
    filter: drop-shadow(var(--glow-gold));
}

.chapter-locked-info i {
    margin-right: 10px;
    color: var(--premium-gold);
    font-size: 1.1rem;
    animation: premium-icon-glow 2s ease-in-out infinite alternate;
}

@keyframes premium-icon-glow {
    0% { 
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
        transform: scale(1.05);
    }
}

.chapter-item-wrapper.locked .chapter-item {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(184, 134, 11, 0.1)) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    border-radius: 8px !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 30px rgba(184, 134, 11, 0.2);
    animation: premium-glow-enhanced 3s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

.chapter-item-wrapper.locked .chapter-item::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%; }
}

@keyframes premium-glow-enhanced {
    0% { 
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 30px rgba(184, 134, 11, 0.2);
        border-color: rgba(255, 215, 0, 0.4);
    }
    50% { 
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.6), 0 0 50px rgba(184, 134, 11, 0.4);
        border-color: rgba(255, 215, 0, 0.6);
    }
    100% { 
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 30px rgba(184, 134, 11, 0.2);
        border-color: rgba(255, 215, 0, 0.4);
    }
}

.chapter-item-wrapper.vip-locked .chapter-title,
.chapter-item-wrapper.vip-locked .chapter-link,
.chapter-item-wrapper.vip-locked .chapter-locked-info,
.chapter-item-wrapper.vip-locked .chapter-vip-message,
.chapter-item-wrapper.vip-locked .chapter-meta,
.chapter-item-wrapper.vip-locked .chapter-date,
.chapter-item-wrapper.vip-locked .chapter-new-badge {
    color: var(--premium-black) !important;
}
.chapter-item-wrapper.vip-locked .chapter-new-badge {
    background: linear-gradient(45deg, #ffe066, #ffd700) !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}
.chapter-item-wrapper.vip-locked .chapter-locked-info i,
.chapter-item-wrapper.vip-locked .chapter-meta i {
    color: var(--premium-black) !important;
}

.chapter-item-wrapper.vip-locked .chapter-item {
    animation: premium-glow-enhanced 3s infinite ease-in-out;
}


/* 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-locked-info:focus {
    outline: 3px solid var(--premium-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.chapter-link.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::after {
    content: '';
    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: 2;
}

@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: 1;
}

/* 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-blue);
    font-style: normal;
    font-weight: 500;
    text-shadow: var(--glow-blue);
}

/* 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-locked-info {
        animation: none !important;
        transition: none !important;
    }
    
    .premium-glow-enhanced,
    .premium-shine,
    .premium-particles-float,
    .premium-border-glow,
    .premium-icon-pulse,
    .premium-countdown-shine,
    .premium-countdown-pulse,
    .character-glow {
        animation: none !important;
    }
    
    .wmcl-lock-modal::before,
    .wmcl-lock-modal-content::after {
        display: none;
    }
}

/* Animation pour le badge NEW */
@keyframes pulse-gold {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

/* Responsive */
@media (max-width: 768px) {
    .project-info-grid {
        grid-template-columns: 1fr;
    }
    
    .project-cover {
        max-width: 300px;
        margin: 0 auto;
        height: 380px !important;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .chapters-controls {
        width: 100%;
        justify-content: flex-end;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .project-hero-main {
        flex-direction: column;
        align-items: center;
    }
    
    .project-cover-container {
        flex: none;
        width: 80%;
        max-width: 300px;
        margin: 0 auto 20px auto;
    }
    
    .project-hero-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .project-title {
        text-align: center;
        font-size: 1.8rem !important;
    }
    
    .project-alternative {
        text-align: center;
    }
    
    .project-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .project-stats .project-stat {
        flex: 0 1 calc(50% - 10px);
        min-width: 130px;
    }
    
    .project-stats .project-stat:nth-child(3) {
        flex: 1 1 100%;
        margin-top: 10px;
    }
    
    .rating-vote-stars {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .rating-vote-label {
        text-align: center;
    }
    
    .project-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
        width: 100%;
    }
    
    .project-actions .btn-favorite,
    .project-actions .btn-edit,
    .project-actions .btn-report {
        flex: 1 1 90px;
        max-width: 110px;
        min-width: 80px;
        padding: 10px;
        font-size: 0.9rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }
    
    .project-actions .btn-favorite span,
    .project-actions .btn-edit span,
    .project-actions .btn-report span {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .project-actions .btn-favorite i,
    .project-actions .btn-edit i,
    .project-actions .btn-report i {
        font-size: 1.2rem;
    }
    
    /* Modal responsive premium */
    .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;
    }
    
    .wmcl-lock-modal-content::after {
        width: 150px;
        height: 200px;
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 600px) {
  .btn-read-chapter {
    display: none !important;
  }
  .chapter-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-size: 1rem;
    margin-bottom: 3px;
  }
  .chapter-date {
    white-space: nowrap;
    display: block;
  }
  .chapter-item {
    position: relative;
  }
  .chapter-new-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 0;
    z-index: 10;
    font-size: 0.78rem;
    padding: 2px 9px;
    border-radius: 5px;
  }
  .chapter-vip-message {
    display: none;
  }
}

