/* PayPal Donation Button */
.paypal-donate-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffc439 0%, #ff8c00 100%);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 196, 57, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.paypal-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 196, 57, 0.6);
    color: white;
}

.paypal-donate-btn i.fa-paypal {
    font-size: 20px;
}

.paypal-donate-btn .heart-beat {
    font-size: 16px;
    color: #ff3860;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.2); }
    20%, 40% { transform: scale(1.1); }
}

/* Premium Upgrade Button - Even Better Than Donate! */
.premium-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 14px 24px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5),
                0 0 20px rgba(118, 75, 162, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: visible;
    min-width: 160px;
    width: auto;
}

.premium-upgrade-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.7),
                0 0 30px rgba(118, 75, 162, 0.5);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(135deg, #667eea 0%, #764ba2 100%),
        linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: gradientBorderShift 3s ease infinite;
}

@keyframes gradientBorderShift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.premium-upgrade-btn i.fa-crown {
    font-size: 22px;
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.premium-upgrade-btn .premium-star {
    font-size: 18px;
    color: #ffd700;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: scale(1.3) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: scale(1.3) rotate(270deg);
        opacity: 0.8;
    }
}

/* Premium badge for users who have premium */
.premium-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
}

.premium-badge i {
    color: #ffd700;
    font-size: 12px;
}

/* User buttons in top navbar */
#user-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

#user-buttons .btn {
    margin: 0 !important;
}

/* My Benefits Button (Premium Users - in top navbar) */
.my-benefits-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: white;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.my-benefits-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    border-color: #ffd700;
}

.my-benefits-btn i.fa-star {
    font-size: 14px;
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

.my-benefits-btn i.fa-crown {
    font-size: 14px;
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}
