/* Banner Styles */
.banners-container {
    position: relative;
    z-index: 1000;
}

.banner-offer {
    position: fixed;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: bannerSlideIn 0.5s ease-out;
}

.banner-offer.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-offer.top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.banner-offer.bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.banner-offer.sidebar {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.banner-content {
    position: relative;
}

.banner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.banner-text {
    margin-bottom: 20px;
}

.banner-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.banner-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.95;
}

.banner-description {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

.banner-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Overlay for center position */
.banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    animation: fadeIn 0.3s ease-out;
}

@keyframes bannerSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .banner-offer {
        padding: 20px;
        max-width: 95%;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-offer.sidebar {
        right: 10px;
        max-width: 280px;
    }
}