/* styles.css */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Mono', monospace;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Animation des étoiles */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Header */
header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0,255,127,0.1) 0%, transparent 70%);
}

/* S'assurer que l'indicateur de scroll est centré */
header .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.crocodile-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ff7f, #00bfff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0,255,127,0.5); }
    to { text-shadow: 0 0 30px rgba(0,255,127,0.8); }
}

.subtitle {
    font-size: 1.2rem;
    color: #00bfff;
    margin-bottom: 2rem;
}

.scroll-icon {
    width: 120px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(89%) saturate(1357%) hue-rotate(95deg) brightness(102%) contrast(101%);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-icon {
    transform: scale(1.2);
    filter: brightness(0) saturate(100%) invert(67%) sepia(89%) saturate(1357%) hue-rotate(95deg) brightness(120%) contrast(120%);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive pour l'icône de scroll */
@media (max-width: 768px) {
    .scroll-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .scroll-icon {
        width: 30px;
        height: 30px;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}


/* Sections */
.section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #00ff7f;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ff7f, transparent);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Livres - Effet 3D */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    overflow: visible;
}

.book-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 650px; /* Hauteur minimale pour uniformiser */
    z-index: 1;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    z-index: 10;
}

.book-cover-container {
    position: relative;
    width: 250px;
    height: 350px;
    margin: 2rem auto 1rem;
    perspective: 1000px;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 5;
}

.book-cover-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    z-index: 5;
}

.book-cover {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.1);
    z-index: 5;
}

.book-cover:hover {
    z-index: 20;
}

.book-cover-link:hover .book-cover {
    z-index: 20;
}

.book-cover:hover {
    transform: 
        rotateY(-15deg) 
        rotateX(10deg) 
        translateZ(50px) 
        scale(1.05);
    box-shadow: 
        -20px 20px 40px rgba(0,0,0,0.8),
        -10px 10px 20px rgba(0,255,127,0.2),
        0 0 0 1px rgba(255,255,255,0.2);
}

.book-cover-link:hover .book-cover {
    transform: 
        rotateY(-15deg) 
        rotateX(10deg) 
        translateZ(50px) 
        scale(1.05);
    box-shadow: 
        -20px 20px 40px rgba(0,0,0,0.8),
        -10px 10px 20px rgba(0,255,127,0.2),
        0 0 0 1px rgba(255,255,255,0.2);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.book-cover:hover img {
    filter: brightness(1.1) contrast(1.1);
}

.book-cover-link:hover .book-cover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Effet de brillance sur la couverture */
.book-cover::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.6s ease;
    z-index: 1;
}

.book-cover:hover::before {
    left: 100%;
}

.book-cover-link:hover .book-cover::before {
    left: 100%;
}

/* Effet de reflet sur le côté */
.book-cover::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.1)
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    transform: skewY(-45deg);
    transform-origin: top;
}

.book-cover:hover::after {
    opacity: 1;
}

.book-cover-link:hover .book-cover::after {
    opacity: 1;
}

/* Section texte détachée */
.book-info {
    padding: 1.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 0 0 20px 20px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 280px;
}

.book-number {
    font-size: 1.5rem;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.book-title {
    font-size: 1.4rem;
    color: #00bfff;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.book-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 0.95rem;
    flex-grow: 1; /* Prend l'espace disponible */
}

/* Container pour les boutons - toujours en bas */
.book-actions {
    margin-top: auto; /* Pousse les boutons vers le bas */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.book-status {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.book-status:hover {
    transform: scale(1.05);
}

/* Liens Amazon */
.amazon-link {
    display: inline-block;
    background: linear-gradient(45deg, #FF9900, #FF7700);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255,153,0,0.3);
    position: relative;
    overflow: hidden;
}

.amazon-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255,153,0,0.5);
}

.amazon-link::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;
}

.amazon-link:hover::before {
    left: 100%;
}

.amazon-link:active {
    transform: translateY(0) scale(1.02);
}

/* États des livres */
.disponible {
    background: linear-gradient(45deg, #00ff7f, #00cc66);
    color: #000;
    box-shadow: 0 5px 15px rgba(0,255,127,0.3);
}

.nouveaute {
    background: linear-gradient(45deg, #ff6b6b, #ff4444);
    color: #fff;
    animation: pulse-status 2s infinite;
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

@keyframes pulse-status {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(255,107,107,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(255,107,107,0.6); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(255,107,107,0.4); }
}

.bientot {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    color: #000;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

/* Responsive pour les livres */
@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .book-card {
        min-height: 580px;
    }
    
    .book-cover-container {
        width: 200px;
        height: 280px;
    }
    
    .book-cover:hover {
        transform: 
            rotateY(-10deg) 
            rotateX(5deg) 
            translateZ(30px) 
            scale(1.03);
    }
    
    .book-info {
        min-height: 260px;
    }
    
    .book-title {
        font-size: 1.2rem;
    }
    
    .book-description {
        font-size: 0.9rem;
    }
    
    .amazon-link {
        padding: 0.7rem 1.3rem;
        font-size: 0.8rem;
    }
    
    .book-status {
        min-width: 100px;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .book-card {
        min-height: 520px;
    }
    
    .book-cover-container {
        width: 180px;
        height: 250px;
    }
    
    .book-cover:hover {
        transform: 
            rotateY(-8deg) 
            rotateX(4deg) 
            translateZ(20px) 
            scale(1.02);
    }
    
    .book-info {
        min-height: 240px;
        padding: 1rem;
    }
    
    .book-title {
        font-size: 1.1rem;
    }
    
    .book-number {
        font-size: 1.3rem;
    }
    
    .amazon-link {
        padding: 0.6rem 1.1rem;
        font-size: 0.75rem;
    }
}
/* Section Factions */
.factions-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(20,20,40,0.9));
    position: relative;
    overflow: hidden;
}

.factions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,107,107,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,255,127,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0,191,255,0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: factionAura 8s ease-in-out infinite alternate;
}

@keyframes factionAura {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0,255,127,0.5);
    position: relative;
    z-index: 1;
}

.title-icon {
    color: #00ff7f;
    margin: 0 1rem;
    animation: iconPulse 2s ease-in-out infinite alternate;
}

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.factions-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    
    /* Responsive grid */
    grid-template-columns: repeat(1, 1fr); /* Mobile par défaut */
}

/* Breakpoints pour responsive */
@media (min-width: 480px) {
    .factions-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .factions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .factions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* GRAND ÉCRAN - 4 colonnes */
@media (min-width: 1200px) {
    .factions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .factions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Cartes de faction */
.faction-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1200px) {
    .faction-card {
        padding: 1.5rem;
        min-height: 400px;
    }
}

@media (min-width: 1400px) {
    .faction-card {
        padding: 2rem;
        min-height: 380px;
    }
}

.faction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.faction-card:hover::before {
    opacity: 1;
}

.faction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,255,127,0.2);
    border-color: rgba(0,255,127,0.3);
}

.faction-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

@media (min-width: 1200px) {
    .faction-icon {
        font-size: 2.5rem;
    }
}

@media (min-width: 1400px) {
    .faction-icon {
        font-size: 3rem;
    }
}

.faction-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0,255,127,0.5);
}

@media (min-width: 1200px) {
    .faction-name {
        font-size: 1.3rem;
    }
}

@media (min-width: 1400px) {
    .faction-name {
        font-size: 1.5rem;
    }
}

.faction-description {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

@media (min-width: 1200px) {
    .faction-description {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
    }
}

@media (min-width: 1400px) {
    .faction-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

/* Statistiques de faction */
.faction-stats {
    margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
    .faction-stats {
        margin-bottom: 1.2rem;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

@media (min-width: 1200px) {
    .stat-item {
        gap: 0.6rem;
        margin-bottom: 0.5rem;
    }
}

.stat-label {
    font-size: 0.8rem;
    color: #aaa;
    min-width: 70px;
    font-family: 'Orbitron', sans-serif;
    flex-shrink: 0; /* Empêche le rétrécissement */
}

@media (min-width: 1200px) {
    .stat-label {
        font-size: 0.75rem;
        min-width: 60px;
    }
}

@media (min-width: 1400px) {
    .stat-label {
        font-size: 0.8rem;
        min-width: 70px;
    }
}

.stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    min-width: 0; /* Permet la flexibilité */
}

@media (min-width: 1200px) {
    .stat-bar {
        height: 5px;
    }
}

@media (min-width: 1400px) {
    .stat-bar {
        height: 6px;
    }
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff7f, #00bfff);
    border-radius: 3px;
    transition: width 0.8s ease;
    position: relative;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: statShine 2s ease-in-out infinite;
}

@keyframes statShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Traits de faction */
.faction-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

@media (min-width: 1200px) {
    .faction-traits {
        gap: 0.3rem;
    }
}

.trait {
    background: rgba(0,255,127,0.1);
    color: #00ff7f;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    border: 1px solid rgba(0,255,127,0.2);
    transition: all 0.3s ease;
}

@media (min-width: 1200px) {
    .trait {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
        border-radius: 10px;
    }
}

@media (min-width: 1400px) {
    .trait {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }
}

.trait:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* Couleurs spécifiques par faction */
.faction-card.angels {
    border-color: rgba(255,215,0,0.3);
}

.faction-card.angels:hover {
    box-shadow: 0 20px 40px rgba(255,215,0,0.2);
    border-color: rgba(255,215,0,0.5);
}

.faction-card.angels .faction-icon {
    color: #ffd700;
}

.faction-card.angels .faction-name {
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.faction-card.angels .trait {
    background: rgba(255,215,0,0.1);
    color: #ffd700;
    border-color: rgba(255,215,0,0.2);
}

.faction-card.crocodiles {
    border-color: rgba(0,255,127,0.3);
}

.faction-card.crocodiles:hover {
    box-shadow: 0 20px 40px rgba(0,255,127,0.2);
    border-color: rgba(0,255,127,0.5);
}

.faction-card.crocodiles .faction-icon {
    color: #00ff7f;
}

.faction-card.crocodiles .faction-name {
    text-shadow: 0 0 10px rgba(0,255,127,0.5);
}

.faction-card.crocodiles .trait {
    background: rgba(0,255,127,0.1);
    color: #00ff7f;
    border-color: rgba(0,255,127,0.2);
}

.faction-card.sanguinistes {
    border-color: rgba(255,68,68,0.3);
}

.faction-card.sanguinistes:hover {
    box-shadow: 0 20px 40px rgba(255,68,68,0.2);
    border-color: rgba(255,68,68,0.5);
}

.faction-card.sanguinistes .faction-icon {
    color: #ff4444;
}

.faction-card.sanguinistes .faction-name {
    text-shadow: 0 0 10px rgba(255,68,68,0.5);
}

.faction-card.sanguinistes .trait {
    background: rgba(255,68,68,0.1);
    color: #ff4444;
    border-color: rgba(255,68,68,0.2);
}

.faction-card.front-lutte {
    border-color: rgba(222,109,2,0.3);
}

.faction-card.front-lutte:hover {
    box-shadow: 0 20px 40px rgba(222,109,2,0.2);
    border-color: rgba(222,109,2,0.5);
}

.faction-card.front-lutte .faction-icon {
    color: #de6d02;
}

.faction-card.front-lutte .faction-name {
    text-shadow: 0 0 10px rgba(222,109,2,0.5);
}

.faction-card.front-lutte .trait {
    background: rgba(222,109,2,0.1);
    color: #de6d02;
    border-color: rgba(222,109,2,0.2);
}

/* Couleurs des barres de progression par faction */
.faction-card.angels .stat-fill {
    background: linear-gradient(90deg, #ffd700, #ffffff);
}

.faction-card.crocodiles .stat-fill {
    background: linear-gradient(90deg, #00ff7f, #00bfff);
}

.faction-card.sanguinistes .stat-fill {
    background: linear-gradient(90deg, #ff4444, #880000);
}

.faction-card.front-lutte .stat-fill {
    background: linear-gradient(90deg, #de6d02, #ff8c00);
}

/* Responsive pour petits écrans - CORRIGÉ */
@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .faction-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .faction-icon {
        font-size: 2.5rem;
    }
    
    .faction-name {
        font-size: 1.3rem;
    }
    
    /* GARDE LA DIRECTION ROW POUR LES STATS */
    .stat-item {
        flex-direction: row; /* Forcer direction row */
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .stat-label {
        min-width: 60px; /* Réduire mais garder une largeur */
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    .stat-bar {
        flex: 1;
        height: 6px;
        min-width: 0;
    }
    
    .faction-traits {
        justify-content: flex-start;
    }
}

@media (max-width: 479px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .title-icon {
        margin: 0 0.5rem;
    }
    
    .faction-card {
        padding: 1rem;
    }
    
    .faction-icon {
        font-size: 2rem;
    }
    
    .faction-name {
        font-size: 1.2rem;
    }
    
    /* STATS OPTIMISÉES POUR TRÈS PETIT ÉCRAN */
    .stat-item {
        flex-direction: row; /* Toujours en ligne */
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .stat-label {
        min-width: 50px; /* Plus petit mais visible */
        font-size: 0.7rem;
        flex-shrink: 0;
    }
    
    .stat-bar {
        flex: 1;
        height: 5px;
        min-width: 0;
    }
    
    .faction-traits {
        justify-content: center;
    }
}


/* Section Personnages */
.characters-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,50,0,0.3));
    position: relative;
    overflow: hidden;
}

.characters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="70" r="1" fill="rgba(0,255,127,0.1)"/><circle cx="60" cy="20" r="1" fill="rgba(0,191,255,0.1)"/></svg>');
    pointer-events: none;
}

.character-cards {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.character-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,255,127,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,255,127,0.1);
    border-color: rgba(0,255,127,0.3);
}

.character-card.right {
    flex-direction: row-reverse;
}

.character-image {
    position: relative;
    width: 350px;
    height: 450px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,255,127,0.1), rgba(0,191,255,0.1));
    border: 2px solid rgba(0,255,127,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.character-artwork {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.character-card:hover .character-artwork {
    transform: scale(1.1);
}

.character-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,255,127,0.1), rgba(0,191,255,0.1));
}

.placeholder-content {
    text-align: center;
    color: #666;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.placeholder-content span {
    font-size: 1.2rem;
    font-weight: bold;
}

.character-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.character-card:hover .character-overlay {
    opacity: 0;
}

.character-type {
    background: linear-gradient(45deg, #00ff7f, #00bfff);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.character-info {
    flex: 1;
    min-width: 0;
}

.character-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff7f, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 2rem;
}

.character-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trait {
    background: rgba(0,255,127,0.1);
    color: #00ff7f;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(0,255,127,0.3);
    transition: all 0.3s ease;
}

.trait:hover {
    background: rgba(0,255,127,0.2);
    transform: translateY(-2px);
}

/* ============================================
   COULEURS DES FACTIONS POUR LES PERSONNAGES
============================================ */

/* Couleurs des encarts d'images par faction */
.character-neutral .character-image {
    background: linear-gradient(135deg, rgba(0,191,255,0.15), rgba(0,191,255,0.05));
    border: 2px solid rgba(0,191,255,0.3);
}

.character-crocodiles .character-image {
    background: linear-gradient(135deg, rgba(0,255,127,0.15), rgba(0,255,127,0.05));
    border: 2px solid rgba(0,255,127,0.3);
}

.character-angels .character-image {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
    border: 2px solid rgba(255,215,0,0.3);
}

.character-resistance .character-image {
    background: linear-gradient(135deg, rgba(222,109,2,0.15), rgba(222,109,2,0.05));
    border: 2px solid rgba(222,109,2,0.3);
}

/* Personnage des Anges */
.character-angels {
    border: 1px solid rgba(255,215,0,0.4);
    background: rgba(255,215,0,0.05);
}

.character-angels:hover {
    border-color: rgba(255,215,0,0.8);
    box-shadow: 0 10px 30px rgba(255,215,0,0.2);
}

.character-angels .character-name {
    background: linear-gradient(45deg, #ffd700, #fff8dc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-angels .trait {
    background: rgba(255,215,0,0.1);
    color: #ffd700;
    border-color: rgba(255,215,0,0.3);
}

/* Personnage des Crocodiles */
.character-crocodiles {
    border: 1px solid rgba(0,255,127,0.4);
    background: rgba(0,255,127,0.05);
}

.character-crocodiles:hover {
    border-color: rgba(0,255,127,0.8);
    box-shadow: 0 10px 30px rgba(0,255,127,0.2);
}

.character-crocodiles .character-name {
    background: linear-gradient(45deg, #00ff7f, #32cd32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-crocodiles .trait {
    background: rgba(0,255,127,0.1);
    color: #00ff7f;
    border-color: rgba(0,255,127,0.3);
}

/* Personnage de la Résistance */
.character-resistance {
    border: 1px solid rgba(222,109,2,0.4);
    background: rgba(222,109,2,0.05);
}

.character-resistance:hover {
    border-color: rgba(222,109,2,0.8);
    box-shadow: 0 10px 30px rgba(222,109,2,0.2);
}

.character-resistance .character-name {
    background: linear-gradient(45deg, #de6d02, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-resistance .trait {
    background: rgba(222,109,2,0.1);
    color: #de6d02;
    border-color: rgba(222,109,2,0.3);
}

/* Personnage Sanguiniste */
.character-sanguinistes {
    border: 1px solid rgba(255,68,68,0.4);
    background: rgba(255,68,68,0.05);
}

.character-sanguinistes:hover {
    border-color: rgba(255,68,68,0.8);
    box-shadow: 0 10px 30px rgba(255,68,68,0.2);
}

.character-sanguinistes .character-image {
    background: linear-gradient(135deg, rgba(255,68,68,0.15), rgba(255,68,68,0.05));
    border: 2px solid rgba(255,68,68,0.3);
}

.character-sanguinistes .character-name {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-sanguinistes .trait {
    background: rgba(255,68,68,0.1);
    color: #ff4444;
    border-color: rgba(255,68,68,0.3);
}

/* Personnage Neutre/Élu */
.character-neutral {
    border: 1px solid rgba(0,191,255,0.4);
    background: rgba(0,191,255,0.05);
}

.character-neutral:hover {
    border-color: rgba(0,191,255,0.8);
    box-shadow: 0 10px 30px rgba(0,191,255,0.2);
}

.character-neutral .character-name {
    background: linear-gradient(45deg, #00bfff, #87ceeb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-neutral .trait {
    background: rgba(0,191,255,0.1);
    color: #00bfff;
    border-color: rgba(0,191,255,0.3);
}

/* ============================================
   NOUVEAUX BLASONS DES FACTIONS
============================================ */

.faction-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.faction-emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid;
    min-width: 100px;
    min-height: 100px;
    transition: all 0.3s ease;
    justify-content: center;
}

.faction-emblem:hover {
    transform: scale(1.15);
}

/* Emblème des Anges */
.angels-emblem {
    background: rgba(255,215,0,0.2);
    border-color: #ffd700;
    box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}

/* Emblème des Crocodiles */
.crocodiles-emblem {
    background: rgba(0,255,127,0.2);
    border-color: #00ff7f;
    box-shadow: 0 4px 20px rgba(0,255,127,0.3);
}

/* Emblème de la Résistance */
.resistance-emblem {
    background: rgba(222,109,2,0.2);
    border-color: #de6d02;
    box-shadow: 0 4px 20px rgba(222,109,2,0.3);
}

/* Emblème des Sanguinistes */
.sanguinistes-emblem {
    background: rgba(255,68,68,0.2);
    border-color: #ff4444;
    box-shadow: 0 4px 20px rgba(255,68,68,0.3);
}

/* Emblème Neutre/Élu */
.neutral-emblem {
    background: rgba(0,191,255,0.2);
    border-color: #00bfff;
    box-shadow: 0 4px 20px rgba(0,191,255,0.3);
}

.emblem-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

.emblem-icon {
    font-size: 2.5rem;
    text-shadow: 0 0 10px currentColor;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px currentColor; }
    to { text-shadow: 0 0 15px currentColor, 0 0 20px currentColor; }
}

/* Responsive pour les blasons */
@media (max-width: 768px) {
    .faction-badge {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .faction-emblem {
        padding: 0.4rem;
        min-width: 70px;
        min-height: 70px;
    }
    
    .emblem-image {
        width: 35px;
        height: 35px;
    }
    
    .emblem-icon {
        font-size: 1.3rem;
    }
    
    .emblem-text {
        font-size: 0.6rem !important;
    }
}

/* Section Soutien */
.support-container {
    text-align: center;
    background: rgba(0,191,255,0.1);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(0,191,255,0.3);
}

.thanks-nicolas {
    background: rgba(0,255,127,0.1);
    border: 1px solid rgba(0,255,127,0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.ko-fi-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b6b, #ff4444);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin: 2rem 0;
}

.ko-fi-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,107,107,0.4);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff7f, #00bfff);
    width: 35%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: #ffffff !important; /* Force la couleur blanche sur tous les navigateurs */
}

.progress-text small {
    color: #ffffff !important; /* Force la couleur blanche pour le texte small */
}

/* Section A propos de l'auteur */
.author-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, rgba(0,255,127,0.1), rgba(0,191,255,0.1));
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.author-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.author-image {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.author-avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00ff7f;
    box-shadow: 
        0 0 30px rgba(0,255,127,0.5),
        0 0 60px rgba(0,255,127,0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.author-avatar:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 40px rgba(0,255,127,0.7),
        0 0 80px rgba(0,255,127,0.4);
}

/* Effet de pulse autour de l'image */
.author-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    border: 2px solid rgba(0,255,127,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-author 2s infinite;
}

@keyframes pulse-author {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
}

.author-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00ff7f, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.author-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Réseaux sociaux de l'auteur - Amélioration placement */
.social-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
    min-width: 140px;
    justify-content: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* TikTok */
.social-link.tiktok {
    background: linear-gradient(45deg, #000000, #ff0050, #00f2ea);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link.tiktok::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff0050, #00f2ea, #ff0050);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link.tiktok:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.5);
}

.social-link.tiktok:hover::before {
    opacity: 0.1;
}

/* Twitch */
.social-link.twitch {
    background: linear-gradient(45deg, #9146FF, #772CE8);
    color: white;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
}

.social-link.twitch:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.5);
    background: linear-gradient(45deg, #a970ff, #9146FF);
}


/* Discord */
.social-link.discord {
    background: linear-gradient(45deg, #5865F2, #4752C4);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.social-link.discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
    background: linear-gradient(45deg, #6b73ff, #5865F2);
}

/* X (Twitter) */
.social-link.twitter {
    background: linear-gradient(45deg, #000000, #1a1a1a);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-link.twitter:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #1a1a1a, #333333);
}

/* YouTube */
.social-link.youtube {
    background: linear-gradient(45deg, #FF0000, #CC0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.social-link.youtube:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    background: linear-gradient(45deg, #ff1a1a, #FF0000);
}

/* Effet de brillance */
.social-link::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;
}

.social-link:hover::before {
    left: 100%;
}

/* Animation des icônes */
.social-link:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Statistiques auteur */
.author-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1.2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0,255,127,0.2);
    flex: 1;
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(0,255,127,0.4);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #00ff7f;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive pour la section auteur */

@media (max-width: 1024px) {
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 968px) {
    .author-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }
    
    .author-info {
        padding-top: 0;
        align-items: center;
    }
    
    .author-info h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    .author-info p {
        text-align: center;
        max-width: 600px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .author-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .author-section {
        padding: 3rem 1rem;
    }
    
    .author-avatar {
        width: 180px;
        height: 180px;
    }
    
    .author-image::before {
        width: 200px;
        height: 200px;
    }
    
    .author-info h2 {
        font-size: 1.8rem;
    }
    
    .author-info p {
        font-size: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .author-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .author-section {
        padding: 2rem 0.5rem;
    }
    
    .author-avatar {
        width: 150px;
        height: 150px;
    }
    
    .author-image::before {
        width: 170px;
        height: 170px;
    }
    
    .author-info h2 {
        font-size: 1.5rem;
    }
    
    .author-info p {
        font-size: 0.95rem;
    }
    
     .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 180px;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
    .social-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: 100%;
}

    
    .stat {
        min-width: 160px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}





/* Section Avis */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.review-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,127,0.2);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #00ff7f;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #00ff7f;
    opacity: 0.3;
}

.review-rating {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.review-author {
    color: #00bfff;
    font-weight: bold;
    text-align: right;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.8);
    padding: 3rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 4rem;
}

footer p {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    margin: 1rem 0;
}

.footer-cookie-link {
    color: #00bfff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #00bfff;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-cookie-link:hover {
    background: #00bfff;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.credits p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

.credits a {
    color: #00ff7f;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    background: rgba(0,255,127,0.1);
}

.credits a:hover {
    color: #ffffff;
    background: rgba(0,255,127,0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,255,127,0.3);
}

.credits a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ff7f, #00bfff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.credits a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    h1 {
        font-size: 2rem;
    }
    
    .crocodile-logo {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Livres */
    .book-cover-container {
        width: 200px;
        height: 280px;
    }
    
    .book-cover:hover {
        transform: 
            rotateY(-10deg) 
            rotateX(5deg) 
            translateZ(30px) 
            scale(1.03);
    }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Personnages */
    .character-card,
    .character-card.right {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .character-image {
        width: 280px;
        height: 360px;
        margin: 0 auto;
        padding: 1rem;
    }
    
    .character-name {
        font-size: 2rem;
    }
    
    .character-description {
        font-size: 1rem;
    }
    
    .character-traits {
        justify-content: center;
    }
    
    /* Auteur */
    .author-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .author-avatar {
        width: 150px;
        height: 150px;
    }
    
    .author-image::before {
        width: 170px;
        height: 170px;
    }
    
    .author-info h2 {
        font-size: 2rem;
    }
    
    .author-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: 100px;
    }
    
    /* Footer */
    .credits {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .credits p {
        font-size: 0.85rem;
    }
    
    .credits a {
        font-size: 0.9rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (max-width: 480px) {
    /* Livres */
    .book-cover-container {
        width: 180px;
        height: 250px;
    }
    
    .book-cover:hover {
        transform: 
            rotateY(-8deg) 
            rotateX(4deg) 
            translateZ(20px) 
            scale(1.02);
    }
    
    /* Personnages */
    .character-image {
        width: 250px;
        height: 320px;
        padding: 0.8rem;
    }
    
    .character-name {
        font-size: 1.8rem;
    }
    
    .character-card {
        padding: 1.5rem;
    }
}
/* Crédit général en haut de section */
.artist-credit {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(0,255,127,0.1);
    border: 1px solid rgba(0,255,127,0.3);
    border-radius: 15px;
    font-style: italic;
}

.artist-link {
    color: #00ff7f;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.artist-link:hover {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0,255,127,0.5);
}

/* Crédit sur chaque image */
.image-credit {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.image-credit a {
    color: #00ff7f;
    text-decoration: none;
    font-weight: bold;
}

.character-image:hover .image-credit {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .artist-credit {
        margin-bottom: 2rem;
        padding: 0.8rem;
    }
    
    .image-credit {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
}

/* ============================================
   SECTION ROADMAP
============================================ */

.roadmap-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
}

.roadmap-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0,255,127,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0,191,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #00ff7f, #00bfff, #ff6b6b);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0,255,127,0.3);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    width: 100%;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 4px solid #00ff7f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0,255,127,0.4);
    transition: all 0.3s ease;
}

.timeline-item.current .timeline-marker {
    border-color: #00ff7f;
    animation: pulse 2s infinite;
}

.timeline-item.upcoming .timeline-marker {
    border-color: #00bfff;
}

.timeline-item.future .timeline-marker {
    border-color: #ff6b6b;
}

@keyframes pulse {
    0% { box-shadow: 0 0 30px rgba(0,255,127,0.4); }
    50% { box-shadow: 0 0 40px rgba(0,255,127,0.8); }
    100% { box-shadow: 0 0 30px rgba(0,255,127,0.4); }
}

.timeline-icon {
    font-size: 2rem;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: rgba(26,26,46,0.8);
    border: 1px solid rgba(0,255,127,0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,255,127,0.2);
    border-color: rgba(0,255,127,0.5);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.timeline-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff7f;
}

.timeline-status {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.timeline-status.current {
    background: linear-gradient(45deg, #00ff7f, #32cd32);
    color: #0f0f23;
}

.timeline-status.upcoming {
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    color: #ffffff;
}

.timeline-status.future {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #ffffff;
}

.timeline-achievements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0,255,127,0.05);
    border-left: 3px solid #00ff7f;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement:hover {
    background: rgba(0,255,127,0.1);
    transform: translateX(5px);
}

.achievement-icon {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.achievement-text strong {
    color: #00bfff;
    display: block;
    margin-bottom: 0.5rem;
}

.achievement-text p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.roadmap-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.roadmap-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-style: italic;
    color: #00bfff;
    background: rgba(0,191,255,0.1);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0,191,255,0.3);
    max-width: 600px;
    margin: 0 auto;
}

.note-icon {
    font-size: 1.2rem;
}

/* Animations d'entrée */
.timeline-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Supporters */
.supporters-section {
    margin-top: 3rem;
    padding: 2rem 0;
}

.supporters-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff7f, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.supporters-subtitle {
    text-align: center;
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.supporters-icon {
    color: #00ff7f;
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.supporter-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Couleurs par rareté */
.supporter-card.legendary {
    border-color: #ff6b35;
    background: rgba(255,107,53,0.1);
}

.supporter-card.epic {
    border-color: #8b5cf6;
    background: rgba(139,92,246,0.1);
}

.supporter-card.rare {
    border-color: #06b6d4;
    background: rgba(6,182,212,0.1);
}

.supporter-card.uncommon {
    border-color: #10b981;
    background: rgba(16,185,129,0.1);
}

.supporter-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.supporter-faction {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 5px;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faction-mini-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.supporter-info {
    text-align: center;
}

.supporter-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.supporter-rank {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

.legendary-rank {
    background: rgba(255,107,53,0.2);
    color: #ff6b35;
    border: 1px solid #ff6b35;
}

.epic-rank {
    background: rgba(139,92,246,0.2);
    color: #8b5cf6;
    border: 1px solid #8b5cf6;
}

.rare-rank {
    background: rgba(6,182,212,0.2);
    color: #06b6d4;
    border: 1px solid #06b6d4;
}

.uncommon-rank {
    background: rgba(16,185,129,0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.supporter-amount {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00ff7f;
    margin-top: 0.5rem;
}

.supporter-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 15px;
    overflow: hidden;
}

.power-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.supporter-card:hover .power-glow {
    opacity: 0.3;
    animation: rotate 3s linear infinite;
}

.resistance-glow {
    background: radial-gradient(circle, #00ff7f 0%, transparent 70%);
}

.angels-glow {
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
}

.crocodiles-glow {
    background: radial-gradient(circle, #ff4444 0%, transparent 70%);
}

.sanguinistes-glow {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Stats des factions */
.supporters-stats {
    margin-top: 2rem;
    text-align: center;
}

.faction-count {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.faction-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.faction-stat-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.resistance-stat {
    border-color: rgba(0,255,127,0.3);
    background: rgba(0,255,127,0.05);
}

.angels-stat {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.crocodiles-stat {
    border-color: rgba(255,68,68,0.3);
    background: rgba(255,68,68,0.05);
}

.sanguinistes-stat {
    border-color: rgba(139,92,246,0.3);
    background: rgba(139,92,246,0.05);
}

.supporters-total {
    font-size: 1.2rem;
    color: #00ff7f;
    font-weight: bold;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
        width: 60px;
        height: 60px;
        transform: none;
    }
    
    .timeline-icon {
        font-size: 1.5rem;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px !important;
        margin-right: 0 !important;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .achievement {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .roadmap-note {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .supporters-grid {
        grid-template-columns: 1fr;
    }
    
    .faction-count {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 1rem;
        justify-items: center;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .faction-stat {
        width: 100%;
        max-width: 150px;
        min-height: 120px;
        justify-content: center;
        text-align: center;
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        border-radius: 12px;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
    }
    
    .faction-stat-icon {
        width: 30px;
        height: 30px;
        margin: 0 auto 0.5rem;
    }
    
    .faction-stat-info {
        align-items: center;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .supporters-title {
        font-size: 1.5rem;
    }
}

/* Media query pour très petits écrans (téléphones) */
@media (max-width: 480px) {
    .supporters-stats .faction-count {
        gap: 0.75rem;
        padding: 0 0.5rem;
        max-width: 280px;
    }
    
    .supporters-stats .faction-stat {
        max-width: 130px;
        min-height: 100px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .supporters-stats .faction-stat-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.25rem;
    }
    
    .supporters-stats .faction-stat-name {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .supporters-stats .faction-stat-details {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .supporters-stats .faction-crown {
        font-size: 1rem;
        position: absolute;
        top: 5px;
        right: 5px;
        margin: 0;
    }
}

/* Faction dominante */
.dominant-faction {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.dominant-faction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,215,0,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.dominant-faction-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.dominant-faction-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem;
}

.dominant-faction-info h4 {
    margin: 0;
    color: #FFD700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dominant-faction-name {
    margin: 0.5rem 0;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}

.dominant-faction-total {
    margin: 0;
    font-size: 1.2rem;
    color: #00ff88;
    font-weight: bold;
}

.dominant-faction-crown {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Styles spécifiques par faction dominante */
.crocodiles-dominant {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(255,107,53,0.05));
}

.angels-dominant {
    border-color: #00bfff;
    background: linear-gradient(135deg, rgba(0,191,255,0.2), rgba(0,191,255,0.05));
}

.sanguinistes-dominant {
    border-color: #dc143c;
    background: linear-gradient(135deg, rgba(220,20,60,0.2), rgba(220,20,60,0.05));
}

.resistance-dominant {
    border-color: #32cd32;
    background: linear-gradient(135deg, rgba(50,205,50,0.2), rgba(50,205,50,0.05));
}

/* Statistiques améliorées des factions */
.faction-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.faction-stat:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.faction-stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.faction-stat-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.25rem;
}

.faction-stat-details {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.faction-crown {
    margin-left: auto;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* Styles spécifiques pour les stats de faction */
.crocodiles-stat {
    border-left: 3px solid #ff6b35;
}

.angels-stat {
    border-left: 3px solid #00bfff;
}

.sanguinistes-stat {
    border-left: 3px solid #dc143c;
}

.resistance-stat {
    border-left: 3px solid #32cd32;
}

/* ============================================
   ANIMATION NOUVEAU DON - VAISSEAU SPATIAL
============================================ */

/* Overlay principal pour l'animation */
.donation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    pointer-events: none;
    transition: background 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.donation-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.85);
    pointer-events: all;
}

/* Container principal de l'animation */
.donation-animation {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Vaisseau spatial */
.spaceship {
    position: absolute;
    width: 200px;
    height: auto;
    z-index: 10001;
    filter: drop-shadow(0 0 20px rgba(0, 255, 127, 0.8));
    transform: translateY(-100vh) scale(0.5);
    transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.spaceship.flying {
    transform: translateY(20px) scale(1);
    animation: hover 3s ease-in-out infinite;
}

@keyframes hover {
    0%, 100% { transform: translateY(20px) scale(1) rotate(0deg); }
    50% { transform: translateY(0px) scale(1.05) rotate(2deg); }
}

/* Traînée lumineuse du vaisseau */
.spaceship-trail {
    position: absolute;
    width: 4px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 255, 127, 0.8), transparent);
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: trail 2s ease-out;
}

@keyframes trail {
    0% { 
        opacity: 1;
        height: 200px;
        background: linear-gradient(to bottom, rgba(0, 255, 127, 1), rgba(0, 191, 255, 0.5), transparent);
    }
    50% { 
        opacity: 0.8;
        height: 150px;
    }
    100% { 
        opacity: 0;
        height: 50px;
    }
}

/* Message de don */
.donation-message {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    text-align: center;
    opacity: 0;
    z-index: 10002;
    max-width: 90%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 127, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 255, 127, 0.3);
}

.donation-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition: all 1s ease 2s;
    animation: messageGlow 3s ease-in-out infinite 3s;
}

@keyframes messageGlow {
    0%, 100% { 
        border-color: rgba(0, 255, 127, 0.5);
        box-shadow: 0 20px 40px rgba(0, 255, 127, 0.3);
    }
    50% { 
        border-color: rgba(0, 255, 127, 1);
        box-shadow: 0 25px 50px rgba(0, 255, 127, 0.6);
    }
}

/* Titre du donateur */
.donor-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ff7f, #00bfff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: textShine 2s ease-in-out infinite 3s;
}

@keyframes textShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

/* Montant du don */
.donation-amount {
    font-size: 2rem;
    color: #00ff7f;
    font-weight: bold;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.8);
    animation: amountPulse 1s ease-in-out infinite 3s;
}

@keyframes amountPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Faction */
.donor-faction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.faction-icon-large {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px currentColor);
    animation: factionRotate 3s linear infinite 3s;
}

@keyframes factionRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.faction-name-large {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px currentColor;
    color: #00ff7f;
}

/* Message personnel */
.donor-message {
    font-style: italic;
    color: #ccc;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #00ff7f;
}

/* Particules d'étoiles */
.star-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    animation: particleFloat 4s linear infinite;
}

.particle:nth-child(2n) {
    background: #00ff7f;
    animation-delay: 0.5s;
}

.particle:nth-child(3n) {
    background: #00bfff;
    animation-delay: 1s;
}

.particle:nth-child(4n) {
    background: #ff6b6b;
    animation-delay: 1.5s;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
}

/* Particules de départ du vaisseau */
.departure-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff7f;
    box-shadow: 0 0 15px currentColor;
    animation: departureExplosion 3s ease-out forwards;
    pointer-events: none;
    z-index: 10001;
}

@keyframes departureExplosion {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
        box-shadow: 0 0 15px currentColor;
    }
    20% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
        box-shadow: 0 0 25px currentColor;
    }
    50% {
        opacity: 0.8;
        transform: scale(1) rotate(360deg) translateY(-200px);
        box-shadow: 0 0 35px currentColor;
    }
    100% {
        opacity: 0;
        transform: scale(0.2) rotate(720deg) translateY(-500px);
        box-shadow: 0 0 5px currentColor;
    }
}

/* Effets de couleur par faction */
.donation-overlay.angels .spaceship {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

.donation-overlay.angels .spaceship-trail {
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.8), transparent);
}

.donation-overlay.angels .faction-name-large {
    color: #ffd700;
}

.donation-overlay.crocodiles .spaceship {
    filter: drop-shadow(0 0 20px rgba(0, 255, 127, 0.8));
}

.donation-overlay.crocodiles .faction-name-large {
    color: #00ff7f;
}

.donation-overlay.sanguinistes .spaceship {
    filter: drop-shadow(0 0 20px rgba(255, 68, 68, 0.8));
}

.donation-overlay.sanguinistes .spaceship-trail {
    background: linear-gradient(to bottom, rgba(255, 68, 68, 0.8), transparent);
}

.donation-overlay.sanguinistes .faction-name-large {
    color: #ff4444;
}

.donation-overlay.resistance .spaceship {
    filter: drop-shadow(0 0 20px rgba(222, 109, 2, 0.8));
}

.donation-overlay.resistance .spaceship-trail {
    background: linear-gradient(to bottom, rgba(222, 109, 2, 0.8), transparent);
}

.donation-overlay.resistance .faction-name-large {
    color: #de6d02;
}

/* Animation de disparition */
.donation-overlay.fadeout {
    background: rgba(0, 0, 0, 0);
    transition: background 3s ease;
}

.donation-overlay.fadeout .spaceship {
    filter: drop-shadow(0 0 30px currentColor) brightness(1.5);
}

.donation-overlay.fadeout .donation-message {
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
    transition: all 1s ease;
}

/* Animation spéciale pour le départ du vaisseau */
.spaceship.departing {
    position: fixed !important;
    transform: translateY(-120vh) scale(0.2) rotate(25deg) !important;
    filter: drop-shadow(0 0 40px currentColor) brightness(2) !important;
    transition: all 4s cubic-bezier(0.15, 0, 0.25, 1) !important;
    z-index: 10010 !important;
    opacity: 1 !important;
    left: 50% !important;
    top: 50% !important;
    transform-origin: center !important;
}

/* Traînée créée par JavaScript */
.departure-trail {
    position: fixed;
    width: 8px;
    height: 300px;
    background: linear-gradient(to bottom, 
        rgba(0, 255, 127, 1), 
        rgba(0, 191, 255, 0.9), 
        rgba(255, 107, 107, 0.7),
        rgba(255, 215, 0, 0.5),
        transparent);
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-150px);
    box-shadow: 0 0 30px rgba(0, 255, 127, 1);
    animation: departureTrailMove 5s ease-out;
    z-index: 10005;
    pointer-events: none;
}

@keyframes departureTrailMove {
    0% { 
        height: 50px;
        opacity: 0;
        width: 4px;
        transform: translateX(-50%) translateY(-25px);
    }
    20% { 
        height: 200px;
        opacity: 1;
        width: 8px;
        transform: translateX(-50%) translateY(-100px);
    }
    40% { 
        height: 400px;
        opacity: 1;
        width: 12px;
        transform: translateX(-50%) translateY(-200px);
    }
    70% { 
        height: 600px;
        opacity: 0.8;
        width: 16px;
        transform: translateX(-50%) translateY(-300px);
    }
    100% { 
        height: 800px;
        opacity: 0;
        width: 8px;
        transform: translateX(-50%) translateY(-400px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .spaceship {
        width: 150px;
    }
    
    .donation-message {
        padding: 1.5rem;
        top: 55%;
    }
    
    .donor-name {
        font-size: 2rem;
    }
    
    .donation-amount {
        font-size: 1.5rem;
    }
    
    .faction-name-large {
        font-size: 1.2rem;
    }
    
    .faction-icon-large {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .spaceship {
        width: 120px;
    }
    
    .donation-message {
        padding: 1rem;
        top: 50%;
    }
    
    .donor-name {
        font-size: 1.5rem;
    }
    
    .donation-amount {
        font-size: 1.2rem;
    }
    
    .faction-name-large {
        font-size: 1rem;
    }
    
    .faction-icon-large {
        width: 40px;
        height: 40px;
    }
}

/* ============================================ */
/* COOKIE CONSENT BANNER - RGPD COMPLIANT */
/* ============================================ */

/* Animations pour les notifications */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 191, 255, 0.3);
    border-top: 2px solid #00bfff;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-family: 'Inter', sans-serif;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.cookie-consent-text a {
    color: #00bfff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #ffffff;
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #0080ff 0%, #0060ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #555;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #777;
}

.cookie-btn-settings {
    background: transparent;
    color: #00bfff;
    border: 2px solid #00bfff;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}

.cookie-btn-settings:hover {
    background: rgba(0, 191, 255, 0.1);
    color: #ffffff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00bfff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 191, 255, 0.3);
}

.cookie-settings-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(0, 191, 255, 0.3);
}

.cookie-settings-title {
    font-size: 1.5rem;
    color: #00bfff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-settings-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 191, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #00bfff;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

/* Checkboxes de cookies stylisées */
.cookie-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #00bfff;
    border-radius: 4px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-checkbox input[type="checkbox"]:checked {
    background: #00bfff;
    border-color: #00bfff;
}

.cookie-checkbox input[type="checkbox"]:checked::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.cookie-checkbox input[type="checkbox"]:disabled {
    background: #00bfff;
    border-color: #00bfff;
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-checkbox input[type="checkbox"]:disabled::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.cookie-checkbox .checkbox-label {
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.cookie-checkbox input[type="checkbox"]:disabled + .checkbox-label {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-checkbox input[type="checkbox"]:hover:not(:disabled) {
    border-color: #0099cc;
    background: rgba(0, 191, 255, 0.1);
}

.cookie-category-description {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-settings-footer {
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
    }
    
    .cookie-settings-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 1.5rem;
    }
}