/* =====================================================
   BUY ME A COFFEE - OFFICIAL WIDGET STYLES
   Official Buy Me a Coffee brand integration
   ===================================================== */

/* ? The button component itself (_BuyMeACoffeeButton.cshtml) 
   now uses inline styles to maintain official brand consistency */

/* Footer specific spacing */
footer .bmc-button {
    margin-top: 0.5rem;
}

/* Support Section on About Page */
.support-section {
    background: linear-gradient(135deg, rgba(255, 221, 0, 0.05) 0%, rgba(251, 176, 52, 0.05) 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.support-section .bmc-button {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.support-section .bmc-logo {
    width: 28px;
    height: 28px;
}

.support-icon {
    font-size: 3rem;
    color: #FBB034;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Dark Mode Support */
[data-theme="dark"] .support-section {
    background: linear-gradient(135deg, rgba(255, 221, 0, 0.08) 0%, rgba(251, 176, 52, 0.08) 100%);
    border: 1px solid rgba(251, 176, 52, 0.2);
}

/* Homepage Sidebar - Buy Me a Coffee Card */
.bmc-sidebar-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #FFDD00 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bmc-sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(251, 176, 52, 0.2) !important;
}

.bmc-sidebar-icon i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

.bmc-benefits {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

[data-theme="dark"] .bmc-sidebar-card {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: rgba(255, 221, 0, 0.3) !important;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .support-section {
        padding: 1.5rem;
    }
    
    .support-icon {
        font-size: 2rem;
    }
}

/* =====================================================
   ACCESSIBILITY & PERFORMANCE
   ===================================================== */

/* Ensure proper focus states */
.bmc-button:focus {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .support-icon,
    .bmc-sidebar-icon i {
        animation: none;
    }
    
    .bmc-button {
        transition: none;
    }
}
