.wine-meme {
    background: linear-gradient(45deg, #8B0000, #DC143C);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: wine-bounce 3s ease-in-out infinite;
}

.wine-meme::before {
    content: '🍷';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.meme-content {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.wine-meme.auto-rotate {
    transition: all 0.5s ease;
}

.floating-meme {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    z-index: 9999;
    animation: float 4s ease-in-out infinite;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.floating-meme:hover {
    animation: spin 0.5s ease-in-out;
}

@keyframes wine-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Wine glass sparkle effect */
.wine-meme::after {
    content: '✨';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

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