/* Ultra-Modern Glassmorphism Design for Donation Page */
/* Premium Glass Effects with Advanced Animations */

:root {
    /* Mouse tracking effect variables */
    --x: 50vw;
    --y: 50vh;
    --glow-color: transparent;
    
    /* Enhanced Glass Variables */
    --glass-ultra: rgba(255, 255, 255, 0.01);
    --glass-light: rgba(255, 255, 255, 0.03);
    --glass-medium: rgba(255, 255, 255, 0.05);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --glass-border-subtle: rgba(255, 255, 255, 0.06);
    --glass-border-light: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.2);
    
    /* Enhanced Blur Effects - Optimized for performance */
    --blur-subtle: 2px;
    --blur-medium: 4px;
    --blur-strong: 6px;
    --blur-ultra: 8px;
    
    /* Sophisticated Solid Colors */
    --primary-accent: rgba(139, 92, 246, 0.95);
    --primary-accent-hover: rgba(139, 92, 246, 1);
    --secondary-accent: rgba(236, 72, 153, 0.8);
    --tertiary-accent: rgba(6, 182, 212, 0.7);
    --glass-tint: rgba(255, 255, 255, 0.06);
    --text-accent: rgba(139, 92, 246, 1);
    --button-bg: rgba(139, 92, 246, 0.9);
    --button-bg-hover: rgba(139, 92, 246, 1);
    
    /* Sophisticated Shadows */
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.15);
    --shadow-glass-hover: 0 16px 48px rgba(31, 38, 135, 0.25);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.3);
    --shadow-depth: 
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.05),
        0 16px 32px rgba(0, 0, 0, 0.05);
}

/* Enhanced Donation Page Container */
.donation-page {
    position: relative;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 100px;
    /* background supprimé pour permettre l'effet de tracking de styles.css */
    overflow: hidden;
}

/* Mouse tracking luminous effect - Supprimé car déjà géré par styles.css */
/* L'effet est déjà défini dans styles.css avec le bon gradient */

.donation-container,
.main-content,
.container {
    background: transparent !important;
    backdrop-filter: none !important;
}

/* Supprimé car cela bloquait l'effet de tracking lumineux de la souris */
/* .donation-page::before était un overlay fixe qui cachait l'effet */

/* Removed floating orb animation for a cleaner, more static design */

/* Premium Container with Glass Effect */
.donation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

/* Ultra-Modern Header Section */
.donation-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 3;
    /* Animation removed for better loading performance */
}

/* headerReveal animation removed for performance */

.donation-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.02);
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: -1;
    /* Blur removed for performance */
    border-radius: 50%;
}

/* Premium Title with Advanced Effects */
.donation-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.donation-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.donation-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    /* Animation removed for better loading performance */
}

/* subtitleReveal animation removed for performance */

/* Ultra-Modern Glass Cards */
.ethics-section,
.usage-section {
    background: var(--glass-light);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--glass-border-subtle);
    border-radius: 32px;
    padding: 4rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ethics-section {
    /* Animation removed for better loading performance */
}

.usage-section {
    /* Animation removed for better loading performance */
}

/* slideInFromLeft animation removed for performance */

/* slideInFromRight animation removed for performance */

/* Glass Card Top Border Effect */
.ethics-section::before,
.usage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-accent);
    opacity: 0.4;
}

/* Removed shimmer effect for cleaner hover state */

.ethics-section:hover,
.usage-section:hover {
    background: var(--glass-medium);
    border-color: var(--glass-border-light);
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-glass-hover),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* Elegant Icon Design */
.ethics-icon {
    font-size: 4rem;
    display: block;
    color: var(--primary-accent);
    text-align: center;
    margin: 0 auto 2rem auto;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.2));
    transition: all 0.3s ease;
}

.ethics-section:hover .ethics-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 16px rgba(139, 92, 246, 0.25));
}

/* Clean Section Titles */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 60px;
    height: 2px;
    background: var(--primary-accent);
    border-radius: 1px;
    transform: translateX(-50%);
    opacity: 0.5;
}

/* Enhanced Content Text */
.content-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2.5rem;
    /* Animation removed for better loading performance */
}

/* Animation delays removed for performance */

/* textFadeIn animation removed for performance */

.content-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 4px;
    height: 4px;
    background: var(--primary-accent);
    border-radius: 50%;
    opacity: 0.6;
}

/* Elegant Highlight Text */
.highlight-text {
    color: var(--text-accent);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

/* Ultra-Modern Usage List */
.usage-list {
    list-style: none;
    padding: 0;
    margin: 3rem 0;
    display: grid;
    gap: 2rem;
}

.usage-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--glass-ultra);
    backdrop-filter: blur(var(--blur-subtle));
    -webkit-backdrop-filter: blur(var(--blur-subtle));
    border: 1px solid var(--glass-border-subtle);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animation removed for better loading performance */
}

/* Animation delays removed for performance */

/* itemSlideUp animation removed for performance */

/* Subtle Hover Overlay */
.usage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.usage-item:hover {
    background: var(--glass-medium);
    border-color: var(--glass-border-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.12);
}

.usage-item:hover::before {
    opacity: 1;
}

/* Minimalist Icon Design */
.usage-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
    transition: all 0.3s ease;
}

.usage-item:hover .usage-icon {
    transform: translateY(-2px);
    background: var(--primary-accent-hover);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

/* Removed icon shine animation for cleaner appearance */

/* Enhanced Typography */
.usage-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.usage-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    opacity: 0.9;
}

/* Ultra-Modern CTA Section */
.cta-section {
    text-align: center;
    margin-top: 6rem;
    position: relative;
    /* Animation removed for better loading performance */
}

/* ctaReveal animation removed for performance */

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.03);
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: -1;
    /* Blur removed for performance */
    border-radius: 50%;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Sophisticated Solid Button */
.donation-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--button-bg);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    text-transform: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.donation-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}


.donation-button:hover {
    transform: translateY(-2px);
    background: var(--button-bg-hover);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35);
}

.donation-button:hover::before {
    opacity: 1;
}


.donation-button i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.donation-button:hover i {
    transform: translateX(2px);
}

/* Responsive Design with Premium Feel */
@media (max-width: 1024px) {
    :root {
        --blur-strong: 20px;
        --blur-ultra: 30px;
    }
    
    .donation-container {
        padding: 2.5rem 1.5rem;
    }
    
    .ethics-section,
    .usage-section {
        padding: 3rem;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --blur-medium: 12px;
        --blur-strong: 16px;
        --blur-ultra: 24px;
    }
    
    .donation-title {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
    }
    
    .donation-subtitle {
        font-size: 1.2rem;
    }
    
    .ethics-section,
    .usage-section {
        padding: 2.5rem;
        border-radius: 20px;
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-text {
        font-size: 1.05rem;
        padding-left: 2rem;
    }
    
    .usage-item {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem;
    }
    
    .usage-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .donation-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    :root {
        --blur-subtle: 6px;
        --blur-medium: 10px;
        --blur-strong: 14px;
        --blur-ultra: 20px;
    }
    
    .donation-container {
        padding: 2rem 1rem;
    }
    
    .donation-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .donation-subtitle {
        font-size: 1.05rem;
    }
    
    .ethics-section,
    .usage-section {
        padding: 2rem;
        border-radius: 16px;
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .ethics-icon {
        font-size: 3rem;
    }
    
    .content-text {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }
    
    .usage-item {
        padding: 1.5rem;
        gap: 1.2rem;
        border-radius: 16px;
    }
    
    .usage-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        border-radius: 16px;
    }
    
    .usage-title {
        font-size: 1.1rem;
    }
    
    .usage-description {
        font-size: 0.9rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .donation-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        border-radius: 40px;
    }
    
    .donation-button i {
        font-size: 1.1rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .ethics-section:hover,
    .usage-section:hover,
    .usage-item:hover,
    .donation-button:hover {
        transform: none !important;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-ultra: rgba(255, 255, 255, 0.02);
        --glass-light: rgba(255, 255, 255, 0.04);
        --glass-medium: rgba(255, 255, 255, 0.06);
        --glass-strong: rgba(255, 255, 255, 0.1);
    }
}

/* Print Styles */
@media print {
    .donation-page::before,
    .donation-page::after,
    .donation-header::before {
        display: none;
    }
    
    .ethics-section,
    .usage-section {
        background: white !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}

/* GPU Acceleration - Optimized for performance */
.ethics-section,
.usage-section,
.usage-item,
.donation-button {
    /* translateZ removed for better performance */
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .ethics-section,
    .usage-section,
    .usage-item {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .donation-button {
        border: 2px solid white;
    }
}

/* Smooth Scroll for Internal Links */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Lazy Content */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}