/* Carousel — Nova Noir */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto 12px;
    overflow: hidden;
    border-radius: var(--r-xl, 28px);
    border: 1px solid var(--line-2, rgba(255, 255, 255, 0.12));
    background: var(--ink-1, #0e0e15);
    box-shadow: 0 24px 50px -24px rgba(107, 85, 255, 0.5);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.carousel-track {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom fade so indicators stay readable */
.carousel-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(180deg, transparent, rgba(6, 6, 9, 0.75));
    pointer-events: none;
    z-index: 1;
}

.carousel-indicators {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 10;
    display: flex;
    gap: 6px;
}

.indicator {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}

.indicator.active {
    width: 24px;
    background: var(--lime, #d6ff3d);
}

.carousel-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
}

.carousel-progress .progress-bar {
    height: 100%;
    width: 0%;
    background: var(--lime, #d6ff3d);
    box-shadow: 0 0 10px rgba(214, 255, 61, 0.7);
}
