.vcp-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    margin: 0 auto;
}

.vcp-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    height: auto;
    min-height: 200px;
}

/* LANDSCAPE VIDEO ASPECT RATIO - 16:9 */
.vcp-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

/* Username Tag with TikTok Icon - Top Left Corner */
a.vcp-username-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff !important;  /* WHITE text always */
    padding: 6px 12px 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 20;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* TikTok Icon */
.vcp-tiktok-icon {
    width: 16px;
    height: 16px;
    fill: #fff;
    transition: transform 0.3s ease;
}

/* Hover Effects */
a.vcp-username-tag:hover {
    color: #fff !important;  /* Keep WHITE on hover */
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

a.vcp-username-tag:hover .vcp-tiktok-icon {
    transform: scale(1.1);
}

/* Active/Click Effect */
a.vcp-username-tag:active {
    color: #fff !important;
    transform: scale(0.98);
}

/* Visited state - keep white */
a.vcp-username-tag:visited {
    color: #fff !important;
}

/* Focus state - keep white */
a.vcp-username-tag:focus {
    color: #fff !important;
    outline: none;
}

.vcp-video-wrapper:hover a.vcp-username-tag {
    color: #fff !important;  /* Keep white when video is hovered */
    opacity: 0.9;
}

/* For portrait videos use 9:16 */
.vcp-video-wrapper.portrait {
    padding-bottom: 177.78%; /* 9:16 Aspect Ratio */
}

/* Video and Thumbnail */
.vcp-video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcp-video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vcp-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vcp-video-wrapper.is-playing .vcp-video-thumbnail {
    display: none;
}

/* Play/Pause Button Overlay - Only on Hover */
.vcp-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    z-index: 15;
    pointer-events: none;
}

/* Only show on hover */
.vcp-video-wrapper:hover .vcp-play-overlay {
    opacity: 1;
    pointer-events: all;
}

.vcp-play-overlay svg {
    width: 32px;
    height: 32px;
    fill: rgba(255, 255, 255, 0.9);
}

/* Minimal Progress Bar - Bottom Only */
.vcp-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 10;
}

.vcp-progress-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.1s linear;
}

/* Time Display - Small, Bottom Right */
.vcp-time-display {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    font-size: 11px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.vcp-video-wrapper:hover .vcp-time-display {
    opacity: 1;
}

/* Sound Button - Minimal like Pause Button */
.vcp-sound-overlay {
    position: absolute;
    top: 50%;
    left: calc(50% - 80px);
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    z-index: 15;
    pointer-events: none;
}

.vcp-video-wrapper:hover .vcp-sound-overlay {
    opacity: 1;
    pointer-events: all;
}

.vcp-sound-overlay svg {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.9);
}

/* Hide old mute button */
.vcp-mute-btn {
    display: none;
}

.vcp-mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.vcp-mute-btn svg {
    width: 16px;
    height: 16px;
    fill: white;
}

/* Loading State */
.vcp-video-wrapper.is-loading {
    background: #1a1a1a;
}

.vcp-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.vcp-video-wrapper.is-buffering .vcp-loader {
    display: block;
}

.vcp-loader-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Swiper Navigation - Clean & Modern */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
}

/* Hide pagination dots */
.swiper-pagination {
    display: none;
}

/* Container heights for different breakpoints */
@media (min-width: 1024px) {
    .vcp-carousel-container {
        min-height: 400px;
    }
    .swiper-slide {
        min-height: 300px;
    }
}

/* Mobile Responsive with Peek Effect */
@media (max-width: 768px) {
    .vcp-carousel-container {
        min-height: 250px;
        /* Allow overflow for peek effect */
        overflow: visible !important;
    }

    .vcp-swiper {
        /* Allow slides to peek */
        overflow: visible !important;
        padding: 0 10px;
    }

    /* Adjust wrapper to prevent cut-off */
    .swiper-wrapper {
        padding-right: 20px;
    }

    .swiper-slide {
        min-height: 180px;
        /* Make sure slides are visible for peek */
        opacity: 1 !important;
    }
    .vcp-video-wrapper {
        border-radius: 8px;
    }

    a.vcp-username-tag {
        color: #fff !important;  /* Keep WHITE on mobile */
        font-size: 11px;
        padding: 4px 8px 4px 6px;
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .vcp-tiktok-icon {
        width: 14px;
        height: 14px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }

    .vcp-play-overlay,
    .vcp-sound-overlay {
        width: 48px;
        height: 48px;
    }

    .vcp-play-overlay svg,
    .vcp-sound-overlay svg {
        width: 24px;
        height: 24px;
    }

    .vcp-sound-overlay {
        left: calc(50% - 70px);
    }
}