/* Animated Background CSS - Richesse et Professionnel */

/* Animation de particules dorées */
.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Animation des éléments qui symbolisent la richesse */
@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(5px); }
    100% { transform: translateY(0) translateX(0); }
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

@keyframes glitter {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

/* Éléments de richesse en arrière-plan */
.wealth-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.wealth-element {
    position: absolute;
    opacity: 0.2;
    z-index: -1;
}

.wealth-element.chart {
    width: 150px;
    height: 150px;
    background-image: url('../images/chart-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 8s ease-in-out infinite;
}

.wealth-element.coin {
    width: 80px;
    height: 80px;
    background-image: url('../images/coin-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 6s ease-in-out infinite, glitter 4s ease-in-out infinite;
}

.wealth-element.arrow-up {
    width: 100px;
    height: 100px;
    background-image: url('../images/arrow-up.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 7s ease-in-out infinite;
}

/* Animation d'arrière-plan élégante */
.hero-background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
               radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    animation: pulse 10s infinite ease-in-out;
    z-index: -1;
}

/* Effet de vagues lumineuses */
.wave-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.15;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    border-radius: 40%;
    background: rgba(212, 175, 55, 0.2);
    animation: wave 20s infinite linear;
}

.wave:nth-child(2) {
    background: rgba(30, 58, 138, 0.2);
    animation: wave 18s infinite linear;
    animation-delay: -2s;
}

.wave:nth-child(3) {
    background: rgba(255, 255, 255, 0.1);
    animation: wave 15s infinite linear;
    animation-delay: -5s;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Effet de lumière brillante */
.light-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    animation: pulse 8s infinite;
}

/* Étoiles scintillantes */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #d4af37;
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}

/* Responsive design pour tous les appareils */
@media (max-width: 1200px) {
    .wealth-element {
        transform: scale(0.8);
    }
}

@media (max-width: 991px) {
    .wealth-element {
        transform: scale(0.7);
    }
}

@media (max-width: 767px) {
    .wealth-element {
        transform: scale(0.6);
    }
}

@media (max-width: 576px) {
    .wealth-element {
        transform: scale(0.5);
    }
    .wave {
        opacity: 0.1;
    }
}
