:root {
    --vssc-blue: #2a5aa5;
    --vssc-teal: #00a79d;
    --vssc-green: #38b449;
    --vssc-white: #ffffff;
    --vssc-gray: #f4f6f8;
    --vssc-text-dark: #1a202c;
    --vssc-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --vssc-gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --vssc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --vssc-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --vssc-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
}

/* Carousel Styles - Modern Design */
.vssc-lv-carousel-container {
    width: 100%;
    padding: 20px 0 60px;
    position: relative;
}

.vssc-lv-carousel-item {
    display: block;
    text-decoration: none;
    background: var(--vssc-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--vssc-shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.vssc-lv-carousel-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--vssc-shadow-lg);
}

.vssc-lv-image-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.vssc-lv-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vssc-lv-carousel-item:hover .vssc-lv-image-wrapper::before {
    opacity: 1;
}

.vssc-lv-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vssc-lv-carousel-item:hover .vssc-lv-image-wrapper img {
    transform: scale(1.1);
}

.vssc-lv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.vssc-lv-carousel-item:hover .vssc-lv-overlay {
    opacity: 1;
}

.vssc-lv-overlay .dashicons {
    color: #fff;
    font-size: 56px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* Gallery Styles - Modern Design */
.vssc-lv-filters {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 20px;
}

.vssc-lv-filter {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--vssc-text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--vssc-shadow-sm);
    font-size: 14px;
    outline: none;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vssc-lv-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.vssc-lv-filter:hover::before {
    left: 100%;
}

.vssc-lv-filter:hover {
    transform: translateY(-2px);
    box-shadow: var(--vssc-shadow-md);
    border-color: rgba(102, 126, 234, 0.3);
}

.vssc-lv-filter.active {
    background: var(--vssc-gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* Grid System */
.vssc-lv-grid {
    width: 100%;
    /* Clearfix for Isotope */
}

.vssc-lv-grid:after {
    content: '';
    display: block;
    clear: both;
}

.vssc-lv-grid-item {
    /* Default to 3 columns if variable not set */
    width: calc(100% / var(--vssc-lv-columns, 3));
    margin-bottom: 30px;
    float: left;
    padding: 0 15px;
    /* Gutter */
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .vssc-lv-grid-item {
        width: 50%;
        /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .vssc-lv-grid-item {
        width: 100%;
        /* 1 column on mobile */
    }
}

.vssc-lv-grid-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--vssc-shadow-md);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
}

.vssc-lv-grid-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--vssc-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vssc-lv-grid-inner:hover::before {
    transform: scaleX(1);
}

.vssc-lv-grid-inner:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--vssc-shadow-lg);
}

.vssc-lv-title {
    padding: 24px 20px;
    margin: 0;
    font-size: 1.1em;
    color: var(--vssc-text-dark);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.5;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
}

.vssc-lv-carousel-item:hover .vssc-lv-title {
    color: var(--vssc-blue);
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Play Overlay for Gallery - Modern Design */
.vssc-lv-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 1;
}

.vssc-lv-grid-inner:hover .vssc-lv-play-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.5) 100%);
    backdrop-filter: blur(4px);
}

.vssc-lv-play-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.vssc-lv-play-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.vssc-lv-grid-inner:hover .vssc-lv-play-icon {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

/* Swiper Pagination - Modern Style */
.vssc-lv-carousel-container .swiper-pagination {
    bottom: 10px !important;
}

.vssc-lv-carousel-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(102, 126, 234, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vssc-lv-carousel-container .swiper-pagination-bullet-active {
    background: var(--vssc-blue);
    width: 32px;
    border-radius: 6px;
    border-color: rgba(102, 126, 234, 0.2);
}

/* Swiper Navigation Arrows - Modern Style */
.vssc-lv-carousel-container .swiper-button-next,
.vssc-lv-carousel-container .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: var(--vssc-shadow-md);
    transition: all 0.3s ease;
}

.vssc-lv-carousel-container .swiper-button-next:hover,
.vssc-lv-carousel-container .swiper-button-prev:hover {
    background: var(--vssc-blue);
    transform: scale(1.1);
}

.vssc-lv-carousel-container .swiper-button-next::after,
.vssc-lv-carousel-container .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
    color: var(--vssc-text-dark);
    transition: color 0.3s ease;
}

.vssc-lv-carousel-container .swiper-button-next:hover::after,
.vssc-lv-carousel-container .swiper-button-prev:hover::after {
    color: white;
}

/* Lightbox */
.vssc-lv-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vssc-lv-lightbox.active {
    display: flex;
    opacity: 1;
}

.vssc-lv-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 32, 44, 0.95) 100%);
    backdrop-filter: blur(10px);
}

.vssc-lv-lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: lightboxSlideIn 0.4s ease;
}

@keyframes lightboxSlideIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.vssc-lv-lightbox-content {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.vssc-lv-lightbox-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.vssc-lv-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vssc-lv-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
    border-color: var(--vssc-green);
}

.vssc-lv-lightbox-close:hover {
    color: var(--vssc-green);
}

/* Modern Responsive Enhancements */
@media (max-width: 768px) {
    .vssc-lv-carousel-container {
        padding: 10px 0 50px;
    }
    
    .vssc-lv-carousel-item {
        border-radius: 16px;
    }
    
    .vssc-lv-title {
        font-size: 1em;
        padding: 18px 16px;
        min-height: 80px;
    }
    
    .vssc-lv-carousel-container .swiper-button-next,
    .vssc-lv-carousel-container .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .vssc-lv-carousel-container .swiper-button-next::after,
    .vssc-lv-carousel-container .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.vssc-lv-carousel-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth Scroll Behavior */
.vssc-lv-carousel-container * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus States for Accessibility */
.vssc-lv-carousel-item:focus,
.vssc-lv-filter:focus,
.vssc-lv-carousel-container .swiper-button-next:focus,
.vssc-lv-carousel-container .swiper-button-prev:focus {
    outline: 3px solid var(--vssc-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .vssc-lv-carousel-container .swiper-button-next,
    .vssc-lv-carousel-container .swiper-button-prev,
    .vssc-lv-carousel-container .swiper-pagination {
        display: none;
    }
}
/* Mod
ern Container Wrapper */
.vssc-lv-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Slide Animation Enhancement */
.swiper-slide {
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.swiper-slide-active,
.swiper-slide-next,
.swiper-slide-prev {
    opacity: 1;
}

/* Modern Tooltip Effect */
.vssc-lv-carousel-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.vssc-lv-carousel-item:hover::after {
    transform: translateX(-50%) translateY(-10px);
    opacity: 1;
}

/* Skeleton Loading State */
.vssc-lv-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .vssc-lv-carousel-item,
    .vssc-lv-grid-inner {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .vssc-lv-title {
        color: #e2e8f0;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .vssc-lv-filter {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        color: #e2e8f0;
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .vssc-lv-carousel-item,
    .vssc-lv-grid-inner {
        border: 2px solid currentColor;
    }
    
    .vssc-lv-filter {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom Scrollbar for Modern Browsers */
.vssc-lv-carousel-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.vssc-lv-carousel-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.vssc-lv-carousel-container::-webkit-scrollbar-thumb {
    background: var(--vssc-blue);
    border-radius: 4px;
}

.vssc-lv-carousel-container::-webkit-scrollbar-thumb:hover {
    background: var(--vssc-teal);
}
