* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    body::before {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    body {
        background-attachment: fixed;
    }
    
    body::before {
        background-attachment: fixed;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/Couv_bateau_v2carré.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero-section {
    text-align: center;
    padding: 60px 0;
    background: rgba(0, 20, 40, 0.7);
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 100, 150, 0.3);
}

.title-container {
    margin-bottom: 20px;
}

.title-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.subtitle {
    font-size: 1.5em;
    color: #b8c6db;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content {
    background: rgba(0, 30, 60, 0.8);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 100, 150, 0.2);
}

.promo-banner {
    text-align: center;
    margin-bottom: 40px;
}

.promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 150, 200, 0.3);
}

.story-summary {
    margin-bottom: 40px;
}

.story-summary h2 {
    color: #87ceeb;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.story-summary p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
    color: #e6f3ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.author-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 50, 100, 0.4), rgba(0, 80, 120, 0.3));
    border-radius: 15px;
    border: 2px solid rgba(135, 206, 235, 0.2);
}

.author-section h2 {
    color: #87ceeb;
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.author-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.author-photo {
    flex-shrink: 0;
}

.author-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(135, 206, 235, 0.5);
    box-shadow: 0 8px 24px rgba(0, 150, 200, 0.3);
    transition: transform 0.3s ease;
}

.author-image:hover {
    transform: scale(1.05);
}

.author-text {
    flex: 1;
}

.author-text p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
    color: #e6f3ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.contact {
    margin-top: 20px !important;
    text-align: center !important;
    font-style: italic;
}

.email-link {
    color: #87ceeb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #b8d4f0;
    text-decoration: underline;
}

.cta-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 100, 150, 0.3), rgba(0, 50, 100, 0.5));
    border-radius: 15px;
    border: 2px solid rgba(135, 206, 235, 0.3);
}

.cta-section h2 {
    color: #87ceeb;
    font-size: 2em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #b8d4f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.buy-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.buy-button:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.amazon-rating {
    margin: 20px auto;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: block;
    width: fit-content;
}

.stars {
    font-size: 1.5em;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.star {
    color: #ffd700;
    display: inline-block;
}

.star.full {
    color: #ffd700;
}

.star.half {
    position: relative;
    color: #ddd;
}

.star.half::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #ffd700;
    width: 50%;
    overflow: hidden;
}

.rating-text {
    color: #ffd700;
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    color: #87ceeb;
    font-style: italic;
    background: rgba(0, 20, 40, 0.5);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .content {
        padding: 25px;
    }
    
    .title-image {
        max-width: 90%;
    }
    
    .promo-image {
        content: url('img/publi-carre.png');
    }
    
    .story-summary h2 {
        font-size: 1.8em;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .author-image {
        width: 150px;
        height: 150px;
    }
    
    .author-section {
        padding: 20px 15px;
    }
    
    .author-section h2 {
        font-size: 1.8em;
    }
    
    .author-text p {
        font-size: 1em;
        text-align: justify;
    }
    
    .cta-section h2 {
        font-size: 1.6em;
    }
    
    .buy-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    
    .amazon-rating {
        margin: 15px auto;
        padding: 8px 12px;
        display: block;
        width: fit-content;
    }
    
    .stars {
        font-size: 1.3em;
        margin-bottom: 6px;
    }
    
    .star.full {
        color: #ffd700 !important;
    }
    
    .star.half {
        color: #ddd !important;
    }
    
    .star.half::before {
        color: #ffd700 !important;
    }
    
    .rating-text {
        font-size: 1em;
    }
}