/**
 * Promotional Banner Styles
 */

.promotional-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.promotional-banner-wrapper {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.promotional-banner.hide {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.promotional-banner.hide .promotional-banner-wrapper {
    animation: scaleOut 0.3s ease-out forwards;
}

@keyframes scaleOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.9);
        opacity: 0;
    }
}

.promotional-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.promotional-banner-image {
    flex-shrink: 0;
    width: 200px;
}

.promotional-banner-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.promotional-banner-text {
    flex: 1;
}

.promotional-banner-title {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.promotional-banner-description {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.promotional-banner-button {
    flex-shrink: 0;
    margin-left: 0;
}

.btn-banner {
    display: inline-block;
    padding: 12px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.promotional-banner-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
    color: #999;
}

.promotional-banner-close:hover {
    opacity: 1;
    color: #333;
}
}

/* Responsive Design */
@media (max-width: 992px) {
    .promotional-banner-wrapper {
        max-width: 500px;
        padding: 35px;
    }
    
    .promotional-banner-image {
        width: 150px;
    }
    
    .promotional-banner-title {
        font-size: 24px;
    }
    
    .promotional-banner-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .promotional-banner-wrapper {
        max-width: 450px;
        padding: 30px;
    }
    
    .promotional-banner-image {
        width: 120px;
    }
    
    .promotional-banner-title {
        font-size: 22px;
    }
    
    .promotional-banner-description {
        font-size: 14px;
    }
    
    .btn-banner {
        padding: 10px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .promotional-banner-wrapper {
        max-width: 95%;
        padding: 25px;
    }
    
    .promotional-banner-image {
        display: none;
    }
    
    .promotional-banner-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .promotional-banner-description {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .btn-banner {
        padding: 10px 25px;
        font-size: 13px;
    }
}
