/* ================================ */
/* LF Folder Lock System - Carousel */
/* ================================ */

.screenshot-carousel {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    user-select: none;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
    background: var(--card-bg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    z-index: 10;
    line-height: 1;
}

.carousel-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Dot Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
    background: var(--primary-light);
    transform: scale(1.1);
}

/* Counter */
.carousel-counter {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* MS Store Hero Button (product page) */
.ms-store-btn-lg {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 28px 10px 10px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ms-store-btn-lg img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.ms-store-btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, #222244 0%, #1a2a4e 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .carousel-prev {
        left: 10px;
    }
    .carousel-next {
        right: 10px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 768px) {
    .screenshot-carousel {
        margin: 0 -10px;
    }
    .carousel-slide img {
        max-height: 360px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
    .carousel-prev {
        left: 8px;
    }
    .carousel-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        max-height: 260px;
    }
    .carousel-dots {
        gap: 6px;
    }
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    .ms-store-btn-lg {
        padding: 8px 20px 8px 8px;
        font-size: 0.88rem;
    }
    .ms-store-btn-lg img {
        width: 30px;
        height: 30px;
    }
}
