/* ===========================================
 * CARD CAROUSEL - Show/Hide Implementation
 * One card visible at a time
 * =========================================== */

/* Grid wrapper for 3 carousels side-by-side on desktop */
.carousel-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--space-xl) var(--space-md);
}

@media (min-width: 1200px) {
    .carousel-grid {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: var(--space-sm);
        max-width: 1400px;
        margin: 0 auto;
        padding: var(--space-2xl) var(--space-lg);
    }

    .carousel-grid .card-section {
        flex: 1;
        max-width: 380px;
        padding: var(--space-lg) 0;
    }
}

.card-section {
    padding: var(--space-xl) var(--space-lg);
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.card-section .section-title {
    font-family: var(--font-heading);
    font-size: var(--size-xl);
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-primary);
}

.card-section .section-subtitle {
    font-size: var(--size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.card-section .section-subtitle a {
    color: var(--pink-accent);
    text-decoration: underline;
}

/* Carousel container with arrows */
.card-carousel {
    position: relative;
}

/* The viewport - just holds the track */
.carousel-viewport {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

/* Track - just a container now */
.carousel-track {
    position: relative;
    width: 100%;
}

/* Individual card - display controlled by JS */
.card-item {
    width: 100%;
    max-width: 240px;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #14050f 0%, #280a19 100%);
    transition: opacity 0.3s ease;
}

/* Media container - 800x1200 ratio (2:3) */
.card-media-container {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

/* Video/image background */
.card-media-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.card-media-bg video,
.card-media-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay - subtle fade at bottom */
.card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 80%,
            rgba(15, 5, 20, 0.4) 100%);
}

/* Content overlaid at bottom - transparent background */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 16px 12px;
    text-align: center;
}

.card-title {
    display: block;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: var(--size-lg, 20px);
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.card-desc {
    display: block;
    font-family: var(--font, 'Inter', sans-serif);
    font-size: var(--size-sm, 14px);
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    line-height: 1.4;
}

/* Arrow buttons */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 0, 85, 0.4);
    border-radius: 50%;
    background: rgba(20, 5, 15, 0.9);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 40px;
}

.carousel-next {
    right: 40px;
}

.carousel-arrow:hover {
    border-color: var(--pink-hot, #FF0055);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
    background: var(--pink-hot, #FF0055);
    transform: scale(1.2);
}

/* Strikethrough contrast cards */
.card-struck {
    display: block;
    font-family: var(--font, 'Inter', sans-serif);
    font-size: var(--size-sm, 14px);
    color: var(--text-muted, rgba(255, 255, 255, 0.5));
    text-decoration: line-through;
    margin-bottom: 4px;
}

.card-real {
    display: block;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: var(--size-lg, 20px);
    font-weight: 600;
    color: var(--text-primary, #fff);
}

/* Mobile responsive - arrows inside card, full width cards */
@media (max-width: 768px) {
    .card-item {
        max-width: 100%;
        width: 100%;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .card-section {
        padding: var(--space-lg) var(--space-sm);
        max-width: 100%;
    }
}

/* rebuilt 02/03/2026 17:00:00 */