/* Skynars Video Carousel Responsive Styling */
.skynars-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 40px;
}
.skynars-carousel-container .swiper {
    width: 100%;
    height: 100%;
    overflow: visible !important;
}
.skynars-carousel-container .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}
.skynars-video-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}
.skynars-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}
.skynars-video-card.format-reel {
    aspect-ratio: 9 / 16;
}
.skynars-video-card.format-landscape {
    aspect-ratio: 16 / 9;
}
.skynars-video-card.format-custom {
    min-height: 250px;
}
.skynars-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.skynars-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}
.skynars-video-card:hover .skynars-play-overlay {
    background: rgba(0, 0, 0, 0.45);
}
.skynars-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}
.skynars-video-card:hover .skynars-play-btn {
    transform: scale(1.12);
}
.skynars-play-btn svg {
    width: 22px;
    height: 22px;
    fill: #111;
    margin-left: 3px;
}
.skynars-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #0073e6;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 3;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Title Area Footer */
.skynars-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    z-index: 3;
    transition: background 0.3s ease;
}
.skynars-card-footer.gradient-bg {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}
.skynars-card-footer.custom-bg {
    background: rgba(0, 0, 0, 0.75);
}

/* Swiper navigation buttons */
.skynars-carousel-container .swiper-button-prev,
.skynars-carousel-container .swiper-button-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}
.skynars-carousel-container .swiper-button-prev:after,
.skynars-carousel-container .swiper-button-next:after {
    font-size: 14px;
    font-weight: bold;
}
.skynars-carousel-container .swiper-button-prev:hover,
.skynars-carousel-container .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
}
.skynars-carousel-container .swiper-pagination {
    bottom: 5px !important;
}
.skynars-carousel-container .swiper-pagination-bullet {
    background: #bbb;
    opacity: 0.7;
}
.skynars-carousel-container .swiper-pagination-bullet-active {
    background: #0073e6 !important;
    opacity: 1;
}

/* Mobile & Popup Lightbox Modal */
.skynars-modal-wrap {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}
.skynars-modal-wrap.active {
    display: flex;
}
.skynars-modal-inner {
    position: relative;
    width: 90%;
    max-width: 820px;
}
.skynars-modal-inner.reel-view {
    max-width: 420px;
}
.skynars-modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}
.skynars-modal-inner iframe,
.skynars-modal-inner video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
