/**
 * Styles pour le widget de donation "Thanks"
 * VERSION ULTRA MODERNE AVEC ANIMATIONS ATTRACTIVES
 */

/* Bouton Café Animé */
.coffee-btn {
    position: relative !important;
    z-index: 10000 !important;
    
    /* Design minimaliste et élégant */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    
    /* Fond translucide */
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    
    cursor: pointer !important;
    pointer-events: auto !important;
    overflow: visible !important;
    
    /* Transitions fluides */
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* Animations combinées : respiration RAPIDE + secousse périodique */
    animation: 
        coffeeBreathing 2s ease-in-out infinite,
        coffeeShake 8s ease-in-out infinite 4s !important;
}

/* Contenu du bouton */
.btn-content {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Wrapper de l'icône */
.icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
}

/* Icône SVG */
.support-icon {
    width: 18px !important;
    height: 18px !important;
    color: white !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    transition: all 300ms ease !important;
}

/* Texte du bouton */
.btn-text {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    letter-spacing: 0.5px !important;
}

/* Effet de glow animé */
.btn-glow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%) !important;
    opacity: 0 !important;
    transition: opacity 300ms ease !important;
}

/* SVG du café - Style blanc minimaliste avec animation */
.coffee-svg {
    width: 32px !important;
    height: 32px !important;
    color: white !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2)) !important;
    z-index: 2 !important;
    position: relative !important;
    
    /* Animation de secousse du café */
    animation: coffeeInternalShake 8s ease-in-out infinite 4.2s !important;
}

/* Tous les éléments du SVG en blanc */
.coffee-svg path,
.coffee-svg circle,
.coffee-svg ellipse {
    fill: white !important;
    stroke: white !important;
}

/* Animation de pulsation moderne - Plus douce */
@keyframes modernPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 32px rgba(99, 102, 241, 0.3),
            0 4px 16px rgba(139, 92, 246, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 
            0 10px 36px rgba(99, 102, 241, 0.35),
            0 5px 20px rgba(139, 92, 246, 0.25),
            0 0 0 2px rgba(99, 102, 241, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
}

/* Animations SVG - Vapeur qui monte */
@keyframes steamRise {
    0% {
        opacity: 0.6;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: translateY(-10px) scale(0.8);
    }
}

/* Animation d'intensification de la vapeur pendant les secousses */
@keyframes steamIntensify {
    0%, 88%, 100% {
        opacity: 0.7;
        stroke-width: 1.5;
    }
    89%, 95% {
        opacity: 1;
        stroke-width: 2.5;
    }
}

/* Animation de respiration du bouton café - PLUS SPECTACULAIRE AVEC CLIGNOTEMENT */
@keyframes coffeeBreathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(255, 193, 7, 0.3),
            0 0 60px rgba(255, 152, 0, 0.2),
            0 0 90px rgba(255, 87, 34, 0.1);
        filter: brightness(1) saturate(1);
    }
    25% {
        transform: scale(1.08);
        box-shadow: 
            0 0 50px rgba(255, 193, 7, 0.6),
            0 0 100px rgba(255, 152, 0, 0.4),
            0 0 150px rgba(255, 87, 34, 0.3);
        filter: brightness(1.2) saturate(1.3);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 
            0 0 60px rgba(255, 193, 7, 0.8),
            0 0 120px rgba(255, 152, 0, 0.6),
            0 0 180px rgba(255, 87, 34, 0.4);
        filter: brightness(1.4) saturate(1.6);
    }
    75% {
        transform: scale(1.08);
        box-shadow: 
            0 0 50px rgba(255, 193, 7, 0.6),
            0 0 100px rgba(255, 152, 0, 0.4),
            0 0 150px rgba(255, 87, 34, 0.3);
        filter: brightness(1.2) saturate(1.3);
    }
}

/* Animation de respiration intense au hover */
@keyframes coffeeBreathingIntense {
    0%, 100% {
        transform: scale(1.02);
        box-shadow: 
            0 0 40px rgba(255, 255, 255, 0.4),
            0 0 80px rgba(255, 255, 255, 0.3),
            0 0 120px rgba(255, 255, 255, 0.2),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 
            0 0 50px rgba(255, 255, 255, 0.5),
            0 0 100px rgba(255, 255, 255, 0.4),
            0 0 150px rgba(255, 255, 255, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

/* Animation de respiration intense au hover avec grossissement */
@keyframes coffeeBreathingIntenseHover {
    0%, 100% {
        transform: scale(1.1);
        box-shadow: 
            0 0 40px rgba(255, 255, 255, 0.4),
            0 0 80px rgba(255, 255, 255, 0.3),
            0 0 120px rgba(255, 255, 255, 0.2),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 
            0 0 50px rgba(255, 255, 255, 0.5),
            0 0 100px rgba(255, 255, 255, 0.4),
            0 0 150px rgba(255, 255, 255, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

/* Animation de respiration réduite pour mobile très étroit */
@keyframes coffeeBreathingMobile {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.1),
            0 0 25px rgba(255, 255, 255, 0.05);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.15),
            0 0 35px rgba(255, 255, 255, 0.08);
    }
}

/* Animation de secousse périodique du café - PLUS SPECTACULAIRE */
@keyframes coffeeShake {
    0%, 86%, 100% {
        transform: scale(1) rotate(0deg);
    }
    87% {
        transform: scale(1.05) rotate(-3deg);
    }
    88% {
        transform: scale(1.1) rotate(3deg);
    }
    89% {
        transform: scale(1.08) rotate(-2deg);
    }
    90% {
        transform: scale(1.12) rotate(2deg);
    }
    91% {
        transform: scale(1.1) rotate(-3deg);
    }
    92% {
        transform: scale(1.15) rotate(3deg);
    }
    93% {
        transform: scale(1.12) rotate(-2deg);
    }
    94% {
        transform: scale(1.18) rotate(2deg);
    }
    95% {
        transform: scale(1.15) rotate(-1deg);
    }
    96% {
        transform: scale(1.12) rotate(1deg);
    }
    97% {
        transform: scale(1.08) rotate(0deg);
    }
    98% {
        transform: scale(1.05) rotate(0deg);
    }
}

/* Animation de spirale tournoyante du SVG café - EFFET SPECTACULAIRE */
@keyframes coffeeInternalShake {
    0%, 86%, 100% {
        transform: rotate(0deg) scale(1);
        filter: blur(0px) hue-rotate(0deg);
    }
    87% {
        transform: rotate(-5deg) scale(1.05);
        filter: blur(0.5px) hue-rotate(10deg);
    }
    88% {
        transform: rotate(15deg) scale(0.8);
        filter: blur(1px) hue-rotate(30deg);
    }
    89% {
        transform: rotate(90deg) scale(0.5);
        filter: blur(2px) hue-rotate(90deg);
    }
    90% {
        transform: rotate(180deg) scale(0.3);
        filter: blur(3px) hue-rotate(180deg);
    }
    91% {
        transform: rotate(270deg) scale(0.2);
        filter: blur(4px) hue-rotate(270deg);
    }
    92% {
        transform: rotate(360deg) scale(0.1);
        filter: blur(5px) hue-rotate(360deg);
    }
    93% {
        transform: rotate(450deg) scale(0.3);
        filter: blur(3px) hue-rotate(270deg);
    }
    94% {
        transform: rotate(540deg) scale(0.6);
        filter: blur(2px) hue-rotate(180deg);
    }
    95% {
        transform: rotate(630deg) scale(0.8);
        filter: blur(1px) hue-rotate(90deg);
    }
    96% {
        transform: rotate(720deg) scale(1);
        filter: blur(0.5px) hue-rotate(30deg);
    }
    97% {
        transform: rotate(0deg) scale(1.02);
        filter: blur(0px) hue-rotate(10deg);
    }
    98% {
        transform: rotate(0deg) scale(1);
        filter: blur(0px) hue-rotate(0deg);
    }
}

/* Animation de pulsation du café liquide */
@keyframes coffeeLiquidPulse {
    0%, 100% {
        fill: rgba(139, 69, 19, 0.8);
        transform: scale(1);
    }
    50% {
        fill: rgba(160, 82, 45, 0.9);
        transform: scale(1.02);
    }
}

/* Animation des grains de café */
@keyframes beanFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-2px) rotate(180deg);
        opacity: 1;
    }
}

/* Styles d'animation pour les éléments SVG */
.steam-1 {
    animation: 
        steamRise 2s ease-in-out infinite,
        steamIntensify 8s ease-in-out infinite 4s !important;
}

.steam-2 {
    animation: 
        steamRise 2s ease-in-out infinite 0.3s,
        steamIntensify 8s ease-in-out infinite 4.1s !important;
}

.steam-3 {
    animation: 
        steamRise 2s ease-in-out infinite 0.6s,
        steamIntensify 8s ease-in-out infinite 4.2s !important;
}

.coffee-liquid {
    animation: coffeeLiquidPulse 3s ease-in-out infinite !important;
}

.bean-1 {
    animation: beanFloat 4s ease-in-out infinite !important;
}

.bean-2 {
    animation: beanFloat 4s ease-in-out infinite 2s !important;
}

/* Animation de rotation de la tasse au hover */
.thanks-btn:hover .cup {
    animation: cupTilt 0.6s ease-in-out !important;
}

@keyframes cupTilt {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg);
    }
}

/* Animations des flèches crayonnées avec effet de tremblement */
@keyframes arrowLeftCrayon {
    0%, 70%, 100% {
        opacity: 0;
        transform: translateY(-50%) rotate(-10deg) translateX(-25px) scale(0.8);
    }
    75% {
        opacity: 1;
        transform: translateY(-50%) rotate(-8deg) translateX(-5px) scale(1.1);
    }
    80% {
        opacity: 1;
        transform: translateY(-50%) rotate(-12deg) translateX(0) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateY(-50%) rotate(-9deg) translateX(-2px) scale(1.05);
    }
    90% {
        opacity: 0.8;
        transform: translateY(-50%) rotate(-11deg) translateX(0) scale(0.95);
    }
}

@keyframes arrowRightCrayon {
    0%, 70%, 100% {
        opacity: 0;
        transform: translateY(-50%) rotate(170deg) translateX(-25px) scale(0.8);
    }
    75% {
        opacity: 1;
        transform: translateY(-50%) rotate(172deg) translateX(-5px) scale(1.1);
    }
    80% {
        opacity: 1;
        transform: translateY(-50%) rotate(168deg) translateX(0) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateY(-50%) rotate(171deg) translateX(-2px) scale(1.05);
    }
    90% {
        opacity: 0.8;
        transform: translateY(-50%) rotate(169deg) translateX(0) scale(0.95);
    }
}

@keyframes arrowTopCrayon {
    0%, 70%, 100% {
        opacity: 0;
        transform: translateX(-50%) rotate(-95deg) translateY(-25px) scale(0.8);
    }
    75% {
        opacity: 1;
        transform: translateX(-50%) rotate(-93deg) translateY(-5px) scale(1.1);
    }
    80% {
        opacity: 1;
        transform: translateX(-50%) rotate(-97deg) translateY(0) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateX(-50%) rotate(-94deg) translateY(-2px) scale(1.05);
    }
    90% {
        opacity: 0.8;
        transform: translateX(-50%) rotate(-96deg) translateY(0) scale(0.95);
    }
}

@keyframes arrowBottomCrayon {
    0%, 70%, 100% {
        opacity: 0;
        transform: translateX(-50%) rotate(85deg) translateY(25px) scale(0.8);
    }
    75% {
        opacity: 1;
        transform: translateX(-50%) rotate(87deg) translateY(5px) scale(1.1);
    }
    80% {
        opacity: 1;
        transform: translateX(-50%) rotate(83deg) translateY(0) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateX(-50%) rotate(86deg) translateY(2px) scale(1.05);
    }
    90% {
        opacity: 0.8;
        transform: translateX(-50%) rotate(84deg) translateY(0) scale(0.95);
    }
}

/* Effet hover spectaculaire */
/* Effet de halo élégant au hover - Respiration intensifiée */
.coffee-btn:hover {
    /* Halo doux et élégant qui respire */
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 80px rgba(255, 255, 255, 0.3),
        0 0 120px rgba(255, 255, 255, 0.2),
        inset 0 0 25px rgba(255, 255, 255, 0.15) !important;
    
    /* Fond légèrement plus opaque */
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    
    /* Animation de respiration plus intense au hover avec grossissement */
    animation: 
        coffeeBreathingIntenseHover 2s ease-in-out infinite,
        coffeeShake 8s ease-in-out infinite 4s !important;
}

/* Animation du café au hover */
.coffee-btn:hover .coffee-svg {
    transform: scale(1.1) !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)) !important;
}



/* Animation de la vapeur plus intense au hover */
.coffee-btn:hover .steam-1,
.coffee-btn:hover .steam-2,
.coffee-btn:hover .steam-3 {
    animation-duration: 1.5s !important;
    opacity: 1 !important;
}

/* Masquer la flèche marketing au hover du bouton */
.thanks-container:hover .marketing-arrow {
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

/* Effet de clic avec animation */
.coffee-btn:active {
    transform: scale(0.95) !important;
    transition: all 150ms ease !important;
}

/* Animation de clic sur le café */
.coffee-btn:active .coffee-svg {
    animation: coffeeClick 0.3s ease !important;
}

@keyframes coffeeClick {
    0% { transform: scale(1.1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}



/* Conteneur pour le bouton moderne */
.thanks-container {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    z-index: 9999 !important;
    pointer-events: none !important;
}

/* Flèche marketing style crayonné élégante */
.marketing-arrow {
    position: absolute !important;
    top: -70px !important;
    left: -80px !important;
    width: 120px !important;
    height: 80px !important;
    pointer-events: none !important;
    z-index: 10000 !important;
    opacity: 0 !important;
    animation: 
        arrowAppear 3s ease-in-out infinite 2s,
        arrowFloat 4s ease-in-out infinite 2s !important;
}

/* Animation d'apparition et de dessin de la flèche */
@keyframes arrowAppear {
    0%, 15% {
        opacity: 0;
    }
    20%, 85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Animation de flottement */
@keyframes arrowFloat {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

/* Animation de dessin de la flèche */
.marketing-arrow .arrow-outline {
    animation: drawArrow 2s ease-in-out infinite 2.2s !important;
}

.marketing-arrow .arrow-path {
    animation: drawArrow 2s ease-in-out infinite 2.5s !important;
}

@keyframes drawArrow {
    0% {
        stroke-dashoffset: 200;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Animation du texte */
.marketing-arrow .arrow-text {
    opacity: 0 !important;
    animation: textPulse 2s ease-in-out infinite 3s !important;
}

@keyframes textPulse {
    0%, 20% {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    30%, 70% {
        opacity: 1;
        transform: rotate(-10deg) scale(1);
    }
    80%, 100% {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
}



/* Flèches crayonnées pointant vers le bouton - Style dessiné à la main */
/* FLÈCHES SUPPRIMÉES - Plus d'éléments parasites */
.arrow-left,
.arrow-right,
.arrow-top,
.arrow-bottom {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Responsive pour mobile - BOUTON CENTRÉ POUR MEILLEURE UX */
@media (max-width: 768px) {
    .thanks-container {
        bottom: 1.5rem !important;
        left: 50% !important; /* Centré horizontalement */
        transform: translateX(-50%) !important; /* Compensation pour le centrage parfait */
        right: unset !important; /* Force la suppression de la propriété right */
        margin-right: 0 !important; /* Supprime toute marge droite */
    }
    
    .coffee-btn {
        width: 60px !important;
        height: 60px !important;
        /* COULEURS VIVES PAR DÉFAUT SUR MOBILE - Pas de hover nécessaire */
        background: linear-gradient(135deg, 
            rgba(255, 193, 7, 0.9) 0%,
            rgba(255, 152, 0, 0.9) 50%,
            rgba(255, 87, 34, 0.9) 100%) !important;
        border: 2px solid rgba(255, 193, 7, 0.6) !important;
        box-shadow: 
            0 0 30px rgba(255, 193, 7, 0.4),
            0 0 60px rgba(255, 152, 0, 0.3),
            0 0 90px rgba(255, 87, 34, 0.2),
            inset 0 0 25px rgba(255, 255, 255, 0.2) !important;
    }
    
    .coffee-svg {
        width: 28px !important;
        height: 28px !important;
    }
    
    .marketing-arrow {
        top: -60px !important;
        left: 50% !important; /* Centré avec le bouton */
        transform: translateX(-50%) !important; /* Compensation pour le centrage */
        width: 100px !important;
        height: 65px !important;
    }
    

}

/* Responsive pour très petits écrans - BOUTON CENTRÉ */
@media (max-width: 480px) {
    .thanks-container {
        bottom: 1rem !important;
        left: 50% !important; /* Centré horizontalement */
        transform: translateX(-50%) !important; /* Compensation pour le centrage parfait */
        right: unset !important; /* Force la suppression de la propriété right */
        margin-right: 0 !important; /* Supprime toute marge droite */
    }
    
    .coffee-btn {
        width: 52px !important;
        height: 52px !important;
        /* COULEURS VIVES PAR DÉFAUT SUR MOBILE - Pas de hover nécessaire */
        background: linear-gradient(135deg, 
            rgba(255, 193, 7, 0.9) 0%,
            rgba(255, 152, 0, 0.9) 50%,
            rgba(255, 87, 34, 0.9) 100%) !important;
        border: 2px solid rgba(255, 193, 7, 0.6) !important;
        box-shadow: 
            0 0 25px rgba(255, 193, 7, 0.4),
            0 0 50px rgba(255, 152, 0, 0.3),
            0 0 75px rgba(255, 87, 34, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
    }
    
    .coffee-svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .marketing-arrow {
        top: -50px !important;
        left: 50% !important; /* Centré avec le bouton */
        transform: translateX(-50%) !important; /* Compensation pour le centrage */
        width: 85px !important;
        height: 55px !important;
    }
    

}

/* Responsive pour écrans très étroits (téléphones portrait) - BOUTON CENTRÉ */
@media (max-width: 360px) {
    .thanks-container {
        bottom: 0.8rem !important;
        left: 50% !important; /* Centré horizontalement */
        transform: translateX(-50%) !important; /* Compensation pour le centrage parfait */
        right: unset !important; /* Force la suppression de la propriété right */
        margin-right: 0 !important; /* Supprime toute marge droite */
    }
    
    .coffee-btn {
        width: 48px !important;
        height: 48px !important;
        /* COULEURS VIVES PAR DÉFAUT SUR MOBILE - Pas de hover nécessaire */
        background: linear-gradient(135deg, 
            rgba(255, 193, 7, 0.9) 0%,
            rgba(255, 152, 0, 0.9) 50%,
            rgba(255, 87, 34, 0.9) 100%) !important;
        border: 2px solid rgba(255, 193, 7, 0.6) !important;
        box-shadow: 
            0 0 20px rgba(255, 193, 7, 0.4),
            0 0 40px rgba(255, 152, 0, 0.3),
            0 0 60px rgba(255, 87, 34, 0.2),
            inset 0 0 15px rgba(255, 255, 255, 0.2) !important;
        /* Réduction des effets de halo en mobile très étroit */
        animation: 
            coffeeBreathingMobile 3s ease-in-out infinite,
            coffeeShake 8s ease-in-out infinite 4s !important;
    }
    
    .coffee-svg {
        width: 22px !important;
        height: 22px !important;
    }
    
    .marketing-arrow {
        top: -40px !important;
        left: 50% !important; /* Centré avec le bouton */
        transform: translateX(-50%) !important; /* Compensation pour le centrage */
        width: 70px !important;
        height: 45px !important;
    }
    
    .marketing-arrow .arrow-text {
        font-size: 8px !important;
    }
    

}

/* Styles pour le mode sombre */
@media (prefers-color-scheme: dark) {
    .thanks-btn {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #92400e 100%) !important;
        border-color: rgba(245, 158, 11, 0.6) !important;
    }
    
    .thanks-btn:hover::before {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #7f1d1d 100%) !important;
    }
}

/* =============================================================================
   MODAL ULTRA-ATTRACTIVE - DESIGN COLORÉ ET MODERNE 2025
   ============================================================================= */

/* Base modal styles - Design ultra-coloré */
.thanks-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal visible avec animation moderne */
.thanks-modal.active {
    opacity: 1;
    visibility: visible;
}

.thanks-modal.active .modal-content {
    animation: modalSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animation moderne et fluide */
@keyframes modalSlideIn {
    0% {
        transform: translateY(30px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Contenu principal de la modale - DESIGN ULTRA-COLORÉ - TAILLE RÉDUITE */
.modal-content {
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    border-radius: 24px;
    padding: 3px; /* Pour créer un border gradient */
    max-width: 480px; /* Réduit de 600px à 480px */
    width: 90%; /* Réduit de 92% à 90% */
    max-height: 85vh; /* Réduit de 90vh à 85vh */
    overflow: hidden;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contenu interne avec fond */
.modal-content::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 21px; /* Ajusté pour correspondre au nouveau border-radius */
    z-index: 1;
}

/* Tous les éléments internes au-dessus du pseudo-élément */
.modal-header,
.modal-body {
    position: relative;
    z-index: 2;
}

/* Header ultra-coloré - TAILLE RÉDUITE */
.modal-header {
    padding: 2rem 2rem 1.25rem; /* Réduit le padding */
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(240, 147, 251, 0.1) 100%);
    border-radius: 21px 21px 0 0; /* Ajusté pour correspondre */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Effet de particules animées dans le header */
.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(245, 87, 108, 0.2) 0%, transparent 50%);
    animation: particleFloat 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.modal-header h3 {
    font-size: 1.75rem; /* Réduit de 2rem à 1.75rem */
    font-weight: 800;
    margin: 0 0 0.5rem; /* Réduit la marge */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Bouton de fermeture ultra-stylé */
.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.3) 100%);
    border-radius: 16px;
    color: #f8fafc;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}

/* Corps de la modale - TAILLE RÉDUITE */
.modal-body {
    padding: 0 2rem 2rem; /* Réduit le padding */
    overflow-y: auto;
    max-height: calc(85vh - 180px); /* Ajusté pour la nouvelle hauteur */
}

.modal-description {
    text-align: center;
    color: #cbd5e1;
    font-size: 1rem; /* Réduit de 1.125rem à 1rem */
    line-height: 1.6; /* Réduit légèrement */
    margin-bottom: 2rem; /* Réduit de 2.5rem à 2rem */
    font-weight: 500;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Options crypto ultra-colorées */
.crypto-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.crypto-option {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid transparent;
    border-radius: 16px; /* Réduit de 20px à 16px */
    padding: 1.5rem; /* Réduit de 2rem à 1.5rem */
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Bordures colorées spécifiques - SUPPRIMÉES pour un look plus épuré */
.crypto-option.btc {
    background: linear-gradient(135deg, 
        rgba(247, 147, 26, 0.05) 0%, 
        rgba(232, 137, 11, 0.02) 100%);
}

.crypto-option.sol {
    background: linear-gradient(135deg, 
        rgba(153, 69, 255, 0.05) 0%, 
        rgba(124, 58, 237, 0.02) 100%);
}

.crypto-option.eth {
    background: linear-gradient(135deg, 
        rgba(98, 126, 234, 0.05) 0%, 
        rgba(79, 70, 229, 0.02) 100%);
}

.crypto-option:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Effet de brillance animé */
.crypto-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.crypto-option:hover::before {
    left: 100%;
}

/* Header des options crypto */
.crypto-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.crypto-icon {
    width: 56px; /* Réduit de 64px à 56px */
    height: 56px; /* Réduit de 64px à 56px */
    border-radius: 16px; /* Réduit de 20px à 16px */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem; /* Réduit de 2rem à 1.75rem */
    font-weight: 700;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.crypto-info h4 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.crypto-info p {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0;
    font-weight: 500;
}

/* Actions des crypto ultra-stylées - PLUS COMPACTES */
.crypto-actions {
    display: flex;
    gap: 0.75rem; /* Réduit de 1rem à 0.75rem */
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 120px; /* Réduit de 140px à 120px */
    padding: 0.75rem 1rem; /* Réduit de 1rem 1.5rem à 0.75rem 1rem */
    border: 2px solid transparent;
    border-radius: 12px; /* Réduit de 16px à 12px */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    color: #f8fafc;
    font-size: 0.85rem; /* Réduit de 0.95rem à 0.85rem */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Réduit de 0.75rem à 0.5rem */
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.action-btn i {
    font-size: 1rem; /* Réduit de 1.125rem à 1rem */
}

/* Boutons spécialisés ultra-colorés */
.qr-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #60a5fa;
}

.qr-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.address-btn {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-color: #34d399;
}

.address-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #065f46 100%);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.wallet-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #fbbf24;
}

.wallet-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

/* Couleurs spécifiques pour chaque crypto avec gradients */
.btc .crypto-icon { 
    background: linear-gradient(135deg, #f7931a 0%, #e8890b 50%, #d97706 100%);
    box-shadow: 0 10px 25px rgba(247, 147, 26, 0.4);
}

.sol .crypto-icon { 
    background: linear-gradient(135deg, #9945ff 0%, #7c3aed 50%, #6d28d9 100%);
    box-shadow: 0 10px 25px rgba(153, 69, 255, 0.4);
}

.eth .crypto-icon { 
    background: linear-gradient(135deg, #627eea 0%, #4f46e5 50%, #4338ca 100%);
    box-shadow: 0 10px 25px rgba(98, 126, 234, 0.4);
}

/* Zone d'affichage des informations ultra-stylée */
.payment-status {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(29, 78, 216, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.payment-status.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.status-message {
    text-align: center;
    color: #60a5fa;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer ultra-moderne - TAILLE RÉDUITE */
.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.8) 0%, 
        rgba(51, 65, 85, 0.6) 100%);
    border-radius: 0 0 21px 21px; /* Ajusté pour correspondre */
    padding: 1.5rem 2rem; /* Réduit le padding */
    backdrop-filter: blur(10px);
}

.footer-note {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive ultra-moderne */
/* RESPONSIVE MOBILE - CORRECTION COMPLÈTE */
@media (max-width: 768px) {
    .thanks-modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        border-radius: 1.5rem;
        padding: 1.5rem;
        overflow-y: auto;
    }
    
    .modal-content::before {
        border-radius: 1.25rem;
    }
    
    .modal-header {
        padding: 1rem 0 1rem 0;
        border-radius: 1.25rem 1.25rem 0 0;
        margin-bottom: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .modal-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .modal-body {
        padding: 0;
    }
    
    .crypto-options {
        gap: 1rem;
    }
    
    .crypto-option {
        padding: 1rem;
        border-radius: 1rem;
        margin-bottom: 1rem;
    }
    
    .crypto-header {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .crypto-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .crypto-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .crypto-info p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .crypto-actions {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .action-btn {
        min-width: auto;
        padding: 0.6rem 0.8rem; /* Plus compact sur mobile */
        font-size: 0.75rem; /* Plus petit sur mobile */
        flex: 1;
        min-width: calc(50% - 0.25rem);
        border-radius: 10px; /* Plus petit border-radius */
    }
    
    .action-btn i {
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
}

/* RESPONSIVE TRÈS PETITS ÉCRANS (comme votre capture) */
@media (max-width: 480px) {
    .thanks-modal {
        padding: 0.25rem;
    }
    
    .modal-content {
        margin: 0.25rem;
        max-width: calc(100vw - 0.5rem);
        width: calc(100vw - 0.5rem);
        max-height: calc(100vh - 0.5rem);
        border-radius: 1rem;
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.25rem;
        line-height: 1.2;
    }
    
    .modal-description {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .crypto-option {
        padding: 0.75rem;
        border-radius: 0.75rem;
    }
    
    .crypto-header {
        gap: 0.75rem;
    }
    
    .crypto-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .crypto-info h4 {
        font-size: 1rem;
    }
    
    .crypto-info p {
        font-size: 0.75rem;
    }
    
    .crypto-actions {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .action-btn {
        padding: 0.5rem 0.7rem; /* Encore plus compact sur très petits écrans */
        font-size: 0.7rem; /* Plus petit texte */
        border-radius: 8px; /* Border-radius plus petit */
    }
    
    .action-btn i {
        font-size: 0.8rem;
        margin-right: 0.4rem;
    }
    
    /* Bouton de fermeture plus accessible sur mobile */
    .close-btn {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

/* Animations supplémentaires pour plus d'attractivité */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

.crypto-option:hover .crypto-icon {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* =============================================================================
   MODAL TWITTER - DESIGN MODERNE
   ============================================================================= */

/* Modal Twitter base avec SPOTLIGHT EFFECT FLUIDE */
.twitter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000; /* Plus élevé que la modale Thanks */
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fond de base stable */
    background: 
        radial-gradient(circle at center, 
            rgba(29, 155, 240, 0.2) 0%, 
            rgba(29, 155, 240, 0.1) 30%, 
            rgba(0, 0, 0, 0.85) 60%, 
            rgba(0, 0, 0, 0.95) 100%);
}

/* Effet de spotlight fluide avec pseudo-élément */
.twitter-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, 
            rgba(29, 155, 240, 0.1) 0%, 
            rgba(29, 155, 240, 0.05) 25%, 
            transparent 50%);
    animation: spotlightPulseSmooth 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Animation fluide et douce du spotlight */
@keyframes spotlightPulseSmooth {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.twitter-modal.active {
    opacity: 1;
    visibility: visible;
}

.twitter-modal.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Contenu de la modale Twitter avec PARTICULES FLOTTANTES */
.twitter-modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden; /* Changé de overflow-y: auto à overflow: hidden pour les particules */
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(29, 155, 240, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10; /* S'assurer que le contenu est au-dessus du spotlight */
}

/* Particules flottantes autour du bouton Follow */
.twitter-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(29, 155, 240, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(29, 155, 240, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(29, 155, 240, 0.08) 3px, transparent 3px),
        radial-gradient(circle at 30% 70%, rgba(29, 155, 240, 0.12) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90% 60%, rgba(29, 155, 240, 0.1) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 120px 120px, 80px 80px, 110px 110px;
    animation: floatingParticles 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Animation des particules flottantes */
@keyframes floatingParticles {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-10px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-5px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 1;
    }
}

.twitter-modal.active .twitter-modal-content {
    transform: scale(1) translateY(0);
}

/* Header Twitter */
.twitter-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
}

.twitter-header h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.twitter-header p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Profil Twitter */
.twitter-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
}

.twitter-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1d9bf0;
}

.twitter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twitter-info strong {
    color: #f8fafc;
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.twitter-info p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

/* Actions Twitter */
.twitter-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

/* BOUTON FOLLOW AVEC SPOTLIGHT ET BOUNCE ANIMATION */
.twitter-follow-btn {
    background: linear-gradient(135deg, #1d9bf0 0%, #1a8cd8 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 15;
    
    /* Animation de bounce continue */
    animation: followBounce 2s ease-in-out infinite;
    
    /* Effet de glow spectaculaire */
    box-shadow: 
        0 0 30px rgba(29, 155, 240, 0.6),
        0 0 60px rgba(29, 155, 240, 0.4),
        0 0 90px rgba(29, 155, 240, 0.2),
        0 10px 25px rgba(29, 155, 240, 0.3);
}

/* Animation de bounce élégante */
@keyframes followBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.05);
    }
    60% {
        transform: translateY(-4px) scale(1.02);
    }
}

/* Effet de pulsation du glow */
.twitter-follow-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(29, 155, 240, 0.3) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Effet de brillance qui traverse le bouton */
.twitter-follow-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: shine 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.twitter-follow-btn:hover {
    background: linear-gradient(135deg, #1a8cd8 0%, #1976d2 100%);
    transform: translateY(-4px) scale(1.08);
    animation: none; /* Arrêter l'animation bounce au hover */
    box-shadow: 
        0 0 40px rgba(29, 155, 240, 0.8),
        0 0 80px rgba(29, 155, 240, 0.6),
        0 0 120px rgba(29, 155, 240, 0.4),
        0 15px 35px rgba(29, 155, 240, 0.5);
}

.twitter-skip-btn {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.twitter-skip-btn:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.5);
}

/* Bénéfices Twitter */
.twitter-benefits {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.twitter-benefits p {
    color: #f8fafc;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
}

.twitter-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.twitter-benefits li {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}

.twitter-benefits li:last-child {
    margin-bottom: 0;
}

.twitter-benefits li::before {
    content: attr(data-emoji);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

/* Bouton de fermeture Twitter */
.twitter-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #f8fafc;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.twitter-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 640px) {
    .twitter-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .twitter-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .twitter-actions {
        gap: 0.75rem;
    }
} 