/* ============================================================
   VIDEO SECTION  —  assets/css/video_section.css  v3.0
   Inline player replaces thumbnail grid on click. No modal.
   ============================================================ */

/* ── Section wrapper ── */
.video-section {
    position: relative;
    padding: 100px 0;
    background: #080c0a;
    overflow: hidden;
}
.video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 10% 50%, rgba(0,200,83,.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 90% 50%, rgba(255,214,0,.04) 0%, transparent 70%);
    pointer-events: none;
}
.video-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -55deg,
        transparent, transparent 60px,
        rgba(255,255,255,.012) 60px, rgba(255,255,255,.012) 61px
    );
    pointer-events: none;
}

/* ── Section header ── */
.video-section .section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Work Sans', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #00c853;
    margin-bottom: 1rem;
}
.video-section .section-label::before,
.video-section .section-label::after {
    content: '';
    display: block;
    width: 28px;
    height: 1.5px;
    background: #00c853;
    opacity: .6;
}
.video-section .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
    line-height: 1.1;
    margin-bottom: .6rem;
}
.video-section .section-title span { color: #ffd600; }
.video-section .section-sub {
    color: rgba(255,255,255,.5);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── 2x2 thumbnail grid ── */
.vs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 640px) {
    .vs-grid { grid-template-columns: 1fr; }
}

/* ── Individual thumbnail card ── */
.vs-thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.vs-thumb:hover {
    transform: translateY(-4px);
    border-color: rgba(255,214,0,.35);
    box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 30px rgba(0,200,83,.1);
}
.vs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.vs-thumb:hover img { transform: scale(1.04); }

.vs-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
}

.vs-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    background: rgba(255,214,0,.92);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s ease, background .2s ease;
    pointer-events: none;
}
.vs-thumb:hover .vs-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: #ffd600;
}
.vs-play svg { margin-left: 3px; }

.vs-badge-chip {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,214,0,.35);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: .65rem;
    letter-spacing: .1em;
    color: #ffd600;
    pointer-events: none;
}

.vs-thumb-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 16px;
}
.vs-thumb-title {
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

/* ══════════════════════════════════════════
   INLINE PLAYER
   ══════════════════════════════════════════ */
.vs-player-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    background: #0d1210;
    box-shadow: 0 30px 80px rgba(0,0,0,.7);
    animation: vsSlideIn .3s ease;
}
@keyframes vsSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* top bar */
.vs-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #0a0f0d;
    border-bottom: 1px solid rgba(255,255,255,.06);
    gap: 12px;
    flex-wrap: wrap;
}
.vs-player-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* pulsing red live dot */
.vs-player-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ff3d3d;
    box-shadow: 0 0 6px #ff3d3d;
    flex-shrink: 0;
    animation: vsDotPulse 1.4s ease infinite;
}
@keyframes vsDotPulse {
    0%,100% { opacity: 1;  transform: scale(1); }
    50%      { opacity: .45; transform: scale(.7); }
}

.vs-player-now {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #00c853;
    flex-shrink: 0;
}
.vs-player-title {
    font-size: .92rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* back button */
.vs-player-close {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 30px;
    padding: 5px 14px 5px 10px;
    color: rgba(255,255,255,.7);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    flex-shrink: 0;
}
.vs-player-close:hover {
    background: rgba(255,214,0,.12);
    border-color: rgba(255,214,0,.4);
    color: #ffd600;
}

/* 16:9 iframe wrapper */
.vs-player-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}
.vs-player-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .video-section { padding: 70px 0; }
}
@media (max-width: 576px) {
    .vs-player-wrap  { border-radius: 10px; }
    .vs-player-title { font-size: .82rem; }
}