/* ===== SYSTÈME DE MONÉTISATION BMS CALCULATOR PRO ===== */

/* ===== SECTION SUPPORT ET DONS ===== */
.support-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.support-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.support-header h3 i {
    color: #e74c3c;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.support-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.support-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.support-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
    opacity: 0.1;
}

.support-btn:hover::before {
    left: 0;
}

.support-btn:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-color-hover);
}

.support-btn i {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.support-btn:hover i {
    transform: scale(1.2);
}

.support-btn span {
    font-size: 1.2rem;
    font-weight: 700;
}

.support-btn small {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Boutons spécifiques */
.coffee-btn:hover i { color: #8B4513; }
.meal-btn:hover i { color: #FF6B6B; }
.custom-btn:hover i { color: #4ECDC4; }

/* ===== MODAL DE DON ===== */
.donation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.donation-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.donation-content {
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.donation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
}

.donation-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.donation-header h3 i {
    color: #e74c3c;
}

.close-modal {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

.donation-body {
    padding: 32px;
}

.donation-methods h4,
.donation-amount h4,
.donation-message h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.payment-btn {
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.payment-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-color-hover);
}

.payment-btn i {
    font-size: 1.5rem;
}

.payment-btn small {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

/* Styles spécifiques pour les méthodes de paiement RDC */
.payment-btn[onclick*="orangeMoney"] {
    border-color: #ff6600;
}

.payment-btn[onclick*="orangeMoney"]:hover {
    background: rgba(255, 102, 0, 0.1);
    border-color: #ff6600;
}

.payment-btn[onclick*="vodacomMpesa"] {
    border-color: #e60000;
}

.payment-btn[onclick*="vodacomMpesa"]:hover {
    background: rgba(230, 0, 0, 0.1);
    border-color: #e60000;
}

.payment-btn:nth-child(1) i { color: #ff6600; } /* Orange Money */
.payment-btn:nth-child(2) i { color: #e60000; } /* Vodacom M-Pesa */

.amount-input {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.currency {
    padding: 16px 20px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

#donationAmount {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.quick-amounts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.quick-amounts button {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.quick-amounts button:hover,
.quick-amounts button.active {
    border-color: var(--primary-color);
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

#donationMessage {
    width: 100%;
    min-height: 100px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

#donationMessage:focus {
    border-color: var(--primary-color);
}

.donation-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.donation-footer .btn {
    margin-bottom: 16px;
}

.donation-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donation-note i {
    color: var(--success-color);
}

/* ===== BANNIÈRE PUBLICITAIRE ===== */
.ad-banner {
    margin-top: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.ad-content {
    padding: 24px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ad-label {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-close {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.ad-close:hover {
    background: var(--danger-color);
    color: white;
}

.ad-body {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.ad-logo {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ad-text h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.ad-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.ad-cta {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .support-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .support-btn {
        padding: 24px 16px;
    }
    
    .donation-content {
        margin: 20px;
        max-height: 95vh;
    }
    
    .donation-body {
        padding: 24px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .quick-amounts {
        justify-content: center;
    }
    
    .ad-banner {
        margin: 20px;
    }
    
    .ad-body {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.donation-modal.show .donation-content {
    animation: slideInUp 0.3s ease;
}
