/* ========== LOGO ARTISTIQUE 3D - GOUTTE D'EAU ABSTRAITE ========== */
.logo-3d {
    width: 70px;
    height: 70px;
    perspective: 1000px;
    margin-right: 15px;
    cursor: pointer;
}

.artistic-logo {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: floatRotate 12s ease-in-out infinite;
}

/* Forme de goutte d'eau organique */
.drop-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 35%, 
        rgba(212, 175, 55, 0.95), 
        rgba(255, 215, 0, 0.8),
        rgba(180, 130, 30, 0.9));
    border-radius: 45% 55% 48% 52% / 35% 40% 60% 65%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3),
                inset 0 -10px 20px rgba(0,0,0,0.2),
                inset 0 10px 20px rgba(255,255,255,0.4);
    animation: morphDrop 6s ease-in-out infinite;
}

/* Effet de brillance / reflet */
.drop-shine {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 25%;
    height: 20%;
    background: radial-gradient(circle, rgba(255,255,255,0.8), rgba(255,255,255,0));
    border-radius: 50%;
    filter: blur(3px);
    animation: pulseShine 3s ease-in-out infinite;
}

/* Petite bulle d'air à l'intérieur */
.inner-bubble {
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 15%;
    height: 15%;
    background: radial-gradient(circle, rgba(255,245,180,0.6), rgba(212,175,55,0.2));
    border-radius: 50%;
    filter: blur(2px);
    animation: bubbleFloat 4s ease-in-out infinite;
}

/* Effet de vague / ondulation */
.ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 45% 55% 48% 52% / 35% 40% 60% 65%;
    background: transparent;
    box-shadow: 0 0 0 2px rgba(212,175,55,0.4),
                inset 0 0 20px rgba(212,175,55,0.3);
    animation: ripplePulse 3s ease-out infinite;
}

/* Lettre A intégrée artistiquement */
.drop-letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: bold;
    color: rgba(255,255,255,0.9);
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 10;
    animation: letterFloat 3s ease-in-out infinite;
}

/* Particules flottantes */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212,175,55,0.6);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle-1 { top: 10%; left: 80%; animation-delay: 0s; }
.particle-2 { top: 70%; left: 15%; animation-delay: 1s; width: 3px; height: 3px; }
.particle-3 { top: 30%; left: 85%; animation-delay: 2s; width: 5px; height: 5px; }
.particle-4 { top: 85%; left: 70%; animation-delay: 1.5s; }
.particle-5 { top: 15%; left: 10%; animation-delay: 2.5s; width: 3px; height: 3px; }

/* Animations */
@keyframes floatRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) translateY(0px);
    }
    25% {
        transform: rotateX(5deg) rotateY(10deg) translateY(-5px);
    }
    50% {
        transform: rotateX(0deg) rotateY(20deg) translateY(0px);
    }
    75% {
        transform: rotateX(-5deg) rotateY(10deg) translateY(5px);
    }
    100% {
        transform: rotateX(0deg) rotateY(0deg) translateY(0px);
    }
}

@keyframes morphDrop {
    0% {
        border-radius: 45% 55% 48% 52% / 35% 40% 60% 65%;
    }
    25% {
        border-radius: 55% 45% 52% 48% / 40% 55% 45% 60%;
    }
    50% {
        border-radius: 48% 52% 55% 45% / 45% 40% 60% 55%;
    }
    75% {
        border-radius: 52% 48% 45% 55% / 50% 45% 55% 50%;
    }
    100% {
        border-radius: 45% 55% 48% 52% / 35% 40% 60% 65%;
    }
}

@keyframes pulseShine {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-5px, -8px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes ripplePulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

@keyframes letterFloat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-15px) translateX(5px);
        opacity: 0.8;
    }
}

/* Hover effect - pause et intensification */
.logo-3d:hover .artistic-logo {
    animation-play-state: paused;
}

.logo-3d:hover .drop-shape {
    background: radial-gradient(ellipse at 30% 35%, 
        rgba(255, 215, 0, 1), 
        rgba(212, 175, 55, 0.95),
        rgba(255, 200, 50, 0.95));
    box-shadow: 0 8px 30px rgba(0,0,0,0.4),
                inset 0 -10px 20px rgba(0,0,0,0.2),
                inset 0 10px 25px rgba(255,255,255,0.5);
}

.logo-3d:hover .ripple {
    animation: ripplePulse 1.5s ease-out infinite;
}

/* Version responsive */
@media (max-width: 768px) {
    .logo-3d {
        width: 50px;
        height: 50px;
    }
    
    .drop-letter {
        font-size: 20px;
    }
    
    .particle {
        display: none;
    }
}