/* Offers Banners Carousel Styles */

/* Carousel Container */
.offers-banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

@media (min-width: 768px) {
    .offers-banner-carousel {
        border-radius: 1.5rem;
    }
}

/* Banner Wrapper */
.offers-banner-wrapper {
    position: relative;
    width: 100%;
    min-height: 300px;
}

@media (min-width: 768px) {
    .offers-banner-wrapper {
        min-height: 350px;
    }
}

/* Individual Banner */
.offers-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
}

.offers-banner-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* RTL Support */
[dir="rtl"] .offers-banner-slide {
    transform: translateX(-100%);
}

[dir="rtl"] .offers-banner-slide.active {
    transform: translateX(0);
}

/* Banner Content */
.offers-banner-content {
    position: relative;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .offers-banner-content {
        padding: 3rem 3rem;
    }
}

/* Decorative Background Elements */
.offers-banner-bg-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
    pointer-events: none;
}

.offers-banner-bg-decoration-1 {
    width: 8rem;
    height: 8rem;
    top: 0;
}

.offers-banner-bg-decoration-2 {
    width: 10rem;
    height: 10rem;
    bottom: 0;
}

[dir="rtl"] .offers-banner-bg-decoration-1 {
    right: 0;
    left: auto;
}

[dir="ltr"] .offers-banner-bg-decoration-1 {
    left: 0;
    right: auto;
}

[dir="rtl"] .offers-banner-bg-decoration-2 {
    left: 0;
    right: auto;
}

[dir="ltr"] .offers-banner-bg-decoration-2 {
    right: 0;
    left: auto;
}

/* Badge */
.offers-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
}

@media (min-width: 768px) {
    .offers-banner-badge {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
    }
}

.offers-banner-badge i {
    font-size: 1.125rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

/* Title */
.offers-banner-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .offers-banner-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .offers-banner-title {
        font-size: 3.75rem;
    }
}

/* Subtitle */
.offers-banner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .offers-banner-subtitle {
        font-size: 1.25rem;
    }
}

/* CTA Button */
.offers-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
}

.offers-banner-cta:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.offers-banner-cta i {
    font-size: 1.125rem;
}

/* Stats Container */
.offers-banner-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .offers-banner-stats {
        gap: 1.5rem;
    }
}

.offers-banner-stat {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.offers-banner-stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.offers-banner-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Navigation Dots */
.offers-banner-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.offers-banner-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.offers-banner-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.offers-banner-dot.active {
    background: white;
    border-color: white;
    width: 2rem;
    border-radius: 9999px;
}

/* Gradient Backgrounds */
.offers-banner-gradient-1 {
    background: linear-gradient(to right, #dc2626, #ef4444, #f97316);
}

.dark .offers-banner-gradient-1 {
    background: linear-gradient(to right, #b91c1c, #dc2626, #ea580c);
}

.offers-banner-gradient-2 {
    background: linear-gradient(to right, #2563eb, #6366f1, #8b5cf6);
}

.dark .offers-banner-gradient-2 {
    background: linear-gradient(to right, #1d4ed8, #4f46e5, #7c3aed);
}

.offers-banner-gradient-3 {
    background: linear-gradient(to right, #16a34a, #22c55e, #3b82f6);
}

.dark .offers-banner-gradient-3 {
    background: linear-gradient(to right, #15803d, #16a34a, #2563eb);
}

/* Animations */
@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.offers-banner-float {
    animation: float 3s ease-in-out infinite;
}

/* Typing Effect Container */
.offers-banner-typing {
    display: inline-block;
}

.offers-banner-typing::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .offers-banner-content {
        padding: 1.5rem 1rem;
    }
    
    .offers-banner-title {
        font-size: 1.5rem;
    }
    
    .offers-banner-subtitle {
        font-size: 0.875rem;
    }
    
    .offers-banner-cta {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .offers-banner-stats {
        gap: 0.75rem;
    }
    
    .offers-banner-stat {
        padding: 0.5rem 0.75rem;
    }
    
    .offers-banner-stat-number {
        font-size: 1.25rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .offers-banner-slide,
    .offers-banner-cta,
    .offers-banner-dot,
    .offers-banner-badge i {
        animation: none !important;
        transition: none !important;
    }
}

/* Loading State */
.offers-banner-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* User Message for Logged In Users */
.offers-banner-user-message {
    margin-top: 1rem;
}

.offers-banner-user-message p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

