/* Wine Bottle Loader Animation */
.wine-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.wine-loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.wine-loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.wine-gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.wine-loading-gif {
    max-width: 80px;
    max-height: 120px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: gifFloat 3s ease-in-out infinite;
}

@keyframes gifFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    25% { 
        transform: translateY(-10px) scale(1.02); 
    }
    50% { 
        transform: translateY(-5px) scale(1); 
    }
    75% { 
        transform: translateY(-15px) scale(1.02); 
    }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* Animations */


@keyframes dotPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wine-loading-gif {
        max-width: 60px;
        max-height: 90px;
    }
}
