/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #34C334 0%, #28a745 50%, #20c997 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    color: white;
}

/* WhatsApp Logo Animation */
.whatsapp-logo {
    margin-bottom: 30px;
}

.logo-square {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #34C334, #28a745);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(52, 195, 52, 0.3);
    animation: logoFloat 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-square::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Phone Icon */
.phone-icon {
    position: relative;
    width: 60px;
    height: 60px;
    animation: phonePulse 1.5s ease-in-out infinite;
}

.phone-body {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: #34C334;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-symbol {
    width: 30px;
    height: 30px;
    position: relative;
    animation: symbolGlow 2s ease-in-out infinite;
}

.message-bubble {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    animation: bubbleBounce 1s ease-in-out infinite;
}

.message-dot {
    width: 4px;
    height: 4px;
    background: #34C334;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.message-dot:nth-child(1) {
    animation-delay: 0s;
}

.message-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.message-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes symbolGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    }
}

@keyframes bubbleBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes dotPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-square {
        width: 100px;
        height: 100px;
    }
    
    .phone-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-symbol {
        width: 25px;
        height: 25px;
    }
    
    .message-dot {
        width: 3px;
        height: 3px;
    }
} 