/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.header h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #b8b8ff;
    opacity: 0.9;
}

/* Section livre */
.book-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.book-cover img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.book-cover img:hover {
    transform: scale(1.05);
}

.book-info h2 {
    font-size: 2rem;
    color: #ffa500;
    margin-bottom: 20px;
    font-style: italic;
}

.book-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.book-description ul {
    list-style: none;
    padding-left: 0;
}

.book-description li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #d0d0d0;
}

.book-description li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-size: 0.8rem;
}

/* Section audio */
.audio-section {
    margin-bottom: 60px;
}

.audio-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.audio-player-container {
    display: grid;
    gap: 30px;
}

.audio-player {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.audio-player:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.audio-player h3 {
    font-size: 1.4rem;
    color: #ffa500;
    margin-bottom: 10px;
}

.audio-comment {
    font-style: italic;
    color: #b8b8ff;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(184, 184, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ff6b6b;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

audio {
    flex: 1;
    min-width: 250px;
    height: 40px;
    border-radius: 20px;
}

.download-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.download-btn:hover {
    background: linear-gradient(45deg, #ff5252, #ff7043);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.feedback-section textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    color: #ffffff;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.feedback-section textarea:focus {
    outline: none;
    border-color: #ffa500;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.feedback-section textarea::placeholder {
    color: #b0b0b0;
}

/* Feedback global */
.feedback-global {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feedback-global h2 {
    font-size: 2rem;
    color: #ffa500;
    margin-bottom: 25px;
    text-align: center;
}

.global-feedback textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.1rem;
    margin-bottom: 20px;
    resize: vertical;
}

.global-feedback textarea:focus {
    outline: none;
    border-color: #ffa500;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.submit-feedback-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-feedback-btn:hover {
    background: linear-gradient(45deg, #45a049, #3d8b40);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #b0b0b0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .book-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }
    
    .book-cover img {
        max-width: 300px;
    }
    
    .book-info h2 {
        font-size: 1.5rem;
    }
    
    .audio-section h2 {
        font-size: 2rem;
    }
    
    .audio-player {
        padding: 20px;
    }
    
    .player-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    audio {
        min-width: auto;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .download-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .audio-player h3 {
        font-size: 1.2rem;
    }
    
    .book-info h2 {
        font-size: 1.3rem;
    }
    
    .audio-section h2 {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.audio-player {
    animation: fadeInUp 0.6s ease-out;
}

.audio-player:nth-child(1) { animation-delay: 0.1s; }
.audio-player:nth-child(2) { animation-delay: 0.2s; }
.audio-player:nth-child(3) { animation-delay: 0.3s; }
.audio-player:nth-child(4) { animation-delay: 0.4s; }
.audio-player:nth-child(5) { animation-delay: 0.5s; }

