/* Promo Banner Carousel Styles */

.promo-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.15), inset 0 0 60px rgba(139, 92, 246, 0.03);
}

/* Animated gradient background */
.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(139, 92, 246, 0.1) 0%,
            rgba(59, 130, 246, 0.05) 25%,
            rgba(236, 72, 153, 0.1) 50%,
            rgba(34, 197, 94, 0.05) 75%,
            rgba(139, 92, 246, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Glowing border effect */
.promo-banner::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(90deg,
            #8b5cf6, #3b82f6, #ec4899, #22c55e, #8b5cf6);
    background-size: 300% 100%;
    border-radius: 17px;
    z-index: -1;
    animation: borderGlow 4s linear infinite;
    opacity: 0.6;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* Slides container */
.promo-slides {
    position: relative;
    z-index: 2;
    min-height: 100px;
}

/* Individual slide */
.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s ease-in-out;
}

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

/* Slide content layout */
.promo-slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Text section */
.promo-text {
    flex: 1;
    min-width: 250px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.promo-badge.hot {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.promo-badge.new {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.promo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.promo-title .highlight {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Stats/Features section */
.promo-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.promo-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    min-width: 80px;
}

.promo-stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #22c55e;
    margin: 0;
}

.promo-stat-value.orange {
    color: #f59e0b;
}

.promo-stat-value.purple {
    color: #a78bfa;
}

.promo-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* CTA Button */
.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    filter: brightness(1.1);
}

.promo-cta.green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.promo-cta.green:hover {
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
}

.promo-cta.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.promo-cta.orange:hover {
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

/* Navigation dots */
.promo-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    position: relative;
    z-index: 3;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.promo-dot.active {
    background: #8b5cf6;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Progress bar for auto-slide */
.promo-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 0 0 16px 16px;
    animation: progressSlide 6s linear infinite;
    z-index: 4;
}

@keyframes progressSlide {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Sparkle effects */
.promo-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.promo-sparkle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.promo-sparkle:nth-child(2) {
    top: 70%;
    left: 25%;
    animation-delay: 0.5s;
}

.promo-sparkle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.promo-sparkle:nth-child(4) {
    top: 80%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .promo-banner {
        padding: 16px 18px;
        margin-bottom: 20px;
    }

    .promo-slide-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .promo-text {
        min-width: 100%;
    }

    .promo-title {
        font-size: 1.15rem;
    }

    .promo-description {
        font-size: 0.8rem;
    }

    .promo-stats {
        justify-content: center;
    }

    .promo-stat {
        padding: 10px 14px;
        min-width: 70px;
    }

    .promo-stat-value {
        font-size: 1.1rem;
    }

    .promo-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .promo-slides {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 14px 14px;
    }

    .promo-title {
        font-size: 1rem;
    }

    .promo-stat {
        padding: 8px 10px;
        min-width: 60px;
    }

    .promo-stat-value {
        font-size: 0.95rem;
    }

    .promo-stat-label {
        font-size: 0.55rem;
    }

    .promo-slides {
        min-height: 200px;
    }
}