/* Styles personnalisés pour le site de voyance */

/* Animation de flottement */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Animation de brillance/glow */
@keyframes glow {
    from {
        text-shadow: 0 0 20px #c084fc, 0 0 30px #c084fc, 0 0 40px #c084fc;
    }
    to {
        text-shadow: 0 0 30px #f472b6, 0 0 40px #f472b6, 0 0 50px #f472b6;
    }
}

/* Étoiles en arrière-plan */
.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.star {
    position: absolute;
    background: linear-gradient(45deg, #ffffff, #c084fc);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star-1 {
    width: 2px;
    height: 2px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.star-2 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 80%;
    animation-delay: 1s;
}

.star-3 {
    width: 1px;
    height: 1px;
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

.star-4 {
    width: 2px;
    height: 2px;
    top: 80%;
    left: 70%;
    animation-delay: 1.5s;
}

.star-5 {
    width: 2px;
    height: 2px;
    top: 30%;
    left: 50%;
    animation-delay: 0.5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Effet de survol pour les cartes de service */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

/* Effet de particules mystiques */
.mystical-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Style pour les formulaires */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.3);
}

/* Animation des boutons */
.btn-mystical {
    position: relative;
    overflow: hidden;
}

.btn-mystical::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;
}

.btn-mystical:hover::before {
    left: 100%;
}

/* Effet de cristal pour les cartes */
.crystal-card {
    backdrop-filter: blur(10px);
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
}

/* Animation des icônes */
.floating-icon {
    animation: float 3s ease-in-out infinite;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(147, 51, 234, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a855f7, #ec4899);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9333ea, #db2777);
}

/* Effet de focus pour l'accessibilité */
*:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

/* Responsive design amélioré */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mystical-bg {
        padding: 2rem 1rem;
    }
}

/* Animation des testimonials */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* Effet de loader mystique */
.mystical-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    border-top-color: #a855f7;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Style pour les modals */
.modal-backdrop {
    backdrop-filter: blur(5px);
}

/* Effet de typing */
.typing-effect::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Style pour les notifications */
.notification {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* Amélioration des transitions globales */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Style pour les éléments interactifs */
.interactive-element {
    cursor: pointer;
    user-select: none;
}

.interactive-element:active {
    transform: scale(0.98);
}

/* Animation d'apparition progressive */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay pour l'animation en cascade */
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}