/* Styles pour la vignette de bienvenue */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
    pointer-events: auto;
}

.welcome-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.welcome-popup-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
    border: 3px solid #ec994b;
    z-index: 1000000;
    pointer-events: auto;
}

.welcome-popup-header {
    position: relative;
    background: linear-gradient(135deg, #ec994b 0%, #d4852a 100%);
    padding: 15px 20px;
    text-align: right;
}

.welcome-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 1000001;
}

.welcome-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.welcome-popup-body {
    padding: 30px 25px;
    text-align: center;
}

.welcome-icon {
    font-size: 60px;
    color: #ec994b;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.discount-badge {
    background: linear-gradient(135deg, #ec994b 0%, #d4852a 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(236, 153, 75, 0.4);
    animation: pulse 2s infinite;
}

.discount-percentage {
    font-size: 36px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.discount-text {
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.welcome-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.welcome-btn {
    background: linear-gradient(135deg, #ec994b 0%, #d4852a 100%);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 153, 75, 0.3);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1000001;
}

.welcome-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 153, 75, 0.4);
    background: linear-gradient(135deg, #d4852a 0%, #ec994b 100%);
}

.welcome-btn-secondary {
    background: transparent;
    border: 2px solid #ddd;
    color: #666;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1000001;
}

.welcome-btn-secondary:hover {
    border-color: #ec994b;
    color: #ec994b;
    background: rgba(236, 153, 75, 0.1);
}

.welcome-note {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #ec994b;
}

.welcome-note small {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.welcome-note i {
    color: #ec994b;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-popup-content {
        max-width: 95%;
        margin: 20px;
    }
    
    .welcome-popup-body {
        padding: 25px 20px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .discount-percentage {
        font-size: 32px;
    }
    
    .welcome-icon {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .welcome-popup-body {
        padding: 20px 15px;
    }
    
    .welcome-title {
        font-size: 22px;
    }
    
    .discount-percentage {
        font-size: 28px;
    }
    
    .welcome-actions {
        gap: 10px;
    }
    
    .welcome-btn, .welcome-btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
}
