/* Styles pour l'affichage Premium PayPal */

/* Badge Abonné Premium */
.premium-subscriber-badge {
    animation: premiumGlow 2s ease-in-out infinite alternate;
}

.premium-subscriber-badge .bg-gradient {
    background: linear-gradient(135deg, #28a745 0%, #20c997 50%, #17a2b8 100%);
    position: relative;
    overflow: hidden;
}

.premium-subscriber-badge .bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes premiumGlow {
    0% { box-shadow: 0 0 20px rgba(40, 167, 69, 0.3); }
    100% { box-shadow: 0 0 30px rgba(40, 167, 69, 0.6); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.premium-icon {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    animation: crownRotate 4s ease-in-out infinite;
}

@keyframes crownRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

/* Section détails abonnement */
.subscription-details {
    border: 2px solid #ffc107 !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.subscription-details .card-header {
    background: linear-gradient(135deg, #ffc107, #ffb300) !important;
    border-bottom: 2px solid #ff8c00;
}

.benefit-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(40, 167, 69, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(40, 167, 69, 0.05);
    padding-left: 10px;
    border-radius: 5px;
}

.benefit-item:last-child {
    border-bottom: none;
}

/* Badge statut dans hero */
.premium-status-badge {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border: 2px solid #ffc107;
    position: relative;
    overflow: hidden;
}

.premium-status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: premiumShimmer 2s infinite;
}

@keyframes premiumShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive */
@media (max-width: 768px) {
    .premium-subscriber-badge .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .premium-icon {
        margin: 0 auto 1rem auto !important;
    }
    
    .premium-status-badge {
        padding: 1rem !important;
        font-size: 0.9rem;
    }
}

/* Effets d'animation au chargement */
.premium-subscriber-badge,
.subscription-details,
.premium-status-badge {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Améliorations pour les couleurs */
.text-success {
    color: #28a745 !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.border-warning {
    border-color: #ffc107 !important;
}