/* Buy Me A Coffee Popup Public Styles */

.buy-me-coffee-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.buy-me-coffee-popup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.5s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.buy-me-coffee-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-me-coffee-close:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}

.buy-me-coffee-qr {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.buy-me-coffee-logo {
    width: 48px;
    height: 48px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.buy-me-coffee-popup h3 {
    color: #fff;
    font-size: 1.2em;
    margin: 20px 0;
    line-height: 1.4;
    font-weight: 300;
}

.buy-me-coffee-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    animation: buttonGlow 2s ease-in-out infinite alternate;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

@keyframes buttonGlow {
    from { box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4); }
    to { box-shadow: 0 5px 25px rgba(255, 107, 107, 0.8); }
}

.buy-me-coffee-button:hover {
    transform: translateY(-3px);
    background-position: right center;
}

.buy-me-coffee-countdown {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 20px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 480px) {
    .buy-me-coffee-popup {
        padding: 20px;
        max-width: 300px;
    }

    .buy-me-coffee-popup h3 {
        font-size: 1em;
    }

    .buy-me-coffee-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}