/* ---------- Lightbox Caption ---------- */
.mfp-title {
    position: absolute;
    left: 50%;
    bottom: -70px !important;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    line-height: 1.65;
    background: rgba(39, 60, 68, .35);
    backdrop-filter: blur(1.5em);
    border-radius: 8px;
    padding: 10px 14px;
}

/* ---------- Card Caption ---------- */
.gallery-caption {
    font-size: .9rem;
    line-height: 1.4;
}

/* ---------- Image Upscale on Hover ---------- */
.gallery-page .col-md-3 a[data-lightbox] {
    display: block;
    overflow: hidden;
    border-radius: .375rem;
}

.gallery-page .col-md-3 a[data-lightbox] img {
    transition: transform .4s cubic-bezier(.25, .46, .45, .94);
    will-change: transform;
}

.gallery-page .col-md-3 a[data-lightbox]:hover img {
    transform: scale(1.15);
}

/* ---------- Gallery Pages ---------- */
.gallery-page {
    display: none;
}

.gallery-page.active {
    display: flex;
}

/* ---------- Pagination (LAW STYLE) ---------- */
.gallery-pagination {
    margin-top: 35px;
}

.gallery-pagination .page-item {
    margin: 0 4px;
}

.gallery-pagination .page-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #f1f5ff;
    color: #ff7900;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.gallery-pagination .page-link:hover {
    background: #ff7900;
    color: #fff;
    transform: translateY(-2px);
}

.gallery-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff7900, #ff7900cc);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 110, 253, .35);
}


/* ============================================================
   SINGLE VIDEO CARD  —  Clean Cinematic Style
   ============================================================ */

/* ---- Section heading ---- */
.vc-heading-block {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 680px;
    margin-bottom: 18px;
    overflow: hidden;
}

.vc-heading-line {
    flex: 1;
    min-width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,121,0,0.35), transparent);
}

.vc-heading-center {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
}

.vc-heading-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7900, #ff4500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255,121,0,0.35);
}

.vc-heading-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.vc-main-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc-sub-title {
    font-size: 0.78rem;
    color: #9ca3af;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc-section {
    display: flex;
    justify-content: center;
    position: relative;
}


/* ---- Outer card ---- */
.vc-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow:
        0 0 0 1px rgba(255, 121, 0, 0.18),
        0 24px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 680px;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

/* ---- Ambient glow blobs (behind the card — outside overflow) ---- */
.vc-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.vc-blob-a {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 121, 0, 0.28) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    animation: vcFloat 8s ease-in-out infinite;
}

.vc-blob-b {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(120, 40, 220, 0.18) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
    animation: vcFloat 11s ease-in-out infinite reverse;
}

@keyframes vcFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(18px, -22px) scale(1.06); }
    70%       { transform: translate(-12px, 14px) scale(0.94); }
}

/* ---- Animated gradient border ring ---- */
.vc-border-ring {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(255, 121, 0, 0.7) 0%,
        rgba(255, 60, 0, 0.3) 40%,
        rgba(120, 40, 220, 0.35) 75%,
        rgba(255, 121, 0, 0.5) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: vcRingPulse 4s ease-in-out infinite;
    z-index: 5;
    pointer-events: none;
}

@keyframes vcRingPulse {
    0%, 100% { opacity: 0.55; }
    50%       { opacity: 1; }
}

/* ---- Video element ---- */
.vc-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

/* ---- Bottom gradient overlay ---- */
.vc-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(
        to top,
        rgba(10, 8, 20, 0.88) 0%,
        rgba(10, 8, 20, 0.4) 60%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* ---- Bottom info bar ---- */
.vc-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 20px;
}

.vc-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: vcDotBlink 1.6s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
}

@keyframes vcDotBlink {
    0%, 100% { opacity: 1;  transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

.vc-title {
    font-size: clamp(0.78rem, 1.6vw, 1rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60vw;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.vc-quality-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ff9d4d;
    background: rgba(255, 121, 0, 0.14);
    border: 1px solid rgba(255, 121, 0, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

/* ---- Center play button ---- */
.vc-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -56%);
    z-index: 4;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vc-play-btn:hover {
    transform: translate(-50%, -56%) scale(1.1);
}

/* Background circle */
.vc-play-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7900, #ff4500);
    box-shadow:
        0 0 0 10px rgba(255, 121, 0, 0.18),
        0 10px 36px rgba(255, 100, 0, 0.55);
    z-index: 0;
}

/* Ripple rings */
.vc-ripple {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 121, 0, 0.45);
    animation: vcRipple 2.2s ease-out infinite;
}

.vc-ripple-2 {
    inset: -28px;
    border-color: rgba(255, 121, 0, 0.22);
    animation-delay: 0.9s;
}

@keyframes vcRipple {
    0%   { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.25); opacity: 0; }
}

.vc-play-icon {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin-left: 4px; /* optical centering */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .vc-card { max-width: 100%; }
    .vc-play-btn { width: 60px; height: 60px; }
    .vc-play-icon { width: 24px; height: 24px; }
    .vc-blob-a { width: 220px; height: 220px; }
    .vc-blob-b { width: 180px; height: 180px; }
    .vc-info-bar { padding: 12px 16px 14px; }
    .vc-heading-block { max-width: 100%; gap: 10px; }
    .vc-heading-line { min-width: 10px; }
    .vc-main-title { font-size: 1rem; }
    .vc-sub-title { font-size: 0.72rem; }
}

@media (max-width: 480px) {
    .vc-quality-badge { display: none; }
    .vc-title { font-size: 0.75rem; }
    /* On very small screens, drop the side lines and centre the heading */
    .vc-heading-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .vc-heading-line { display: none; }
    .vc-main-title { font-size: 0.95rem; white-space: normal; }
    .vc-sub-title  { font-size: 0.7rem;  white-space: normal; }
}



.video-showcase-subtitle {
    color: #6b7280;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Card wrapper (the big card) --- */
.video-card-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: visible;
}

/* Decorative floating blobs */
.video-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.video-blob-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,121,0,0.22) 0%, transparent 70%);
    top: -60px;
    right: -60px;
    animation: floatBlob 7s ease-in-out infinite;
}

.video-blob-2 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(109,40,217,0.14) 0%, transparent 70%);
    bottom: -40px;
    left: -50px;
    animation: floatBlob 9s ease-in-out infinite reverse;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -20px) scale(1.06); }
    66%       { transform: translate(-10px, 15px) scale(0.94); }
}

/* --- Inner card layout (two columns) --- */
.video-card-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 40%, #16213e 100%);
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow:
        0 32px 80px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,121,0,0.08) inset;
    overflow: hidden;
    min-height: 340px;
}

/* --- Left panel --- */
.video-info-panel {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(255,121,0,0.04) 0%, transparent 100%);
}

.video-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,121,0,0.15);
    color: #ff9d4d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,121,0,0.25);
    width: fit-content;
}

.video-card-title {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
}

.video-card-title span {
    background: linear-gradient(90deg, #ff7900, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-card-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.video-meta-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.video-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.5);
    font-size: 0.83rem;
}

.video-meta-item svg {
    color: #ff7900;
    flex-shrink: 0;
}

/* --- Right panel (video player) --- */
.video-player-panel {
    display: flex;
    flex-direction: column;
    padding: 28px;
    gap: 14px;
    background: linear-gradient(135deg, rgba(255,121,0,0.03), rgba(16,16,32,0.6));
    justify-content: center;
}

.video-player-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.06);
}

.video-glow-ring {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff7900, transparent 60%, rgba(109,40,217,0.4));
    z-index: 0;
    opacity: 0.6;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.8; }
}

.gallery-video-player {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 16px;
    display: block;
    background: #000;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Overlay play button (shown before play) */
.video-overlay-btn {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.28);
    cursor: pointer;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

.video-overlay-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-icon-wrapper {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #ff7900, #ff4500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(255,121,0,0.18), 0 8px 32px rgba(255,121,0,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding-left: 4px;
}

.play-icon-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 18px rgba(255,121,0,0.14), 0 12px 40px rgba(255,121,0,0.55);
}

/* Footer bar */
.video-player-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
}

.video-label-live {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    font-weight: 500;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

.video-label-quality {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ff9d4d;
    background: rgba(255,121,0,0.12);
    border: 1px solid rgba(255,121,0,0.2);
    padding: 3px 10px;
    border-radius: 50px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .video-card-inner {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .video-info-panel {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 32px 28px;
    }

    .video-player-panel {
        padding: 24px 28px 32px;
    }

    .video-blob-1 { width: 200px; height: 200px; }
    .video-blob-2 { width: 160px; height: 160px; }
}

@media (max-width: 576px) {
    .video-info-panel { padding: 24px 20px; }
    .video-player-panel { padding: 16px 20px 24px; }
    .video-meta-row { gap: 8px; }
    .play-icon-wrapper { width: 54px; height: 54px; }
}
