@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=DM+Sans:wght@300;400;500&display=swap');

.vcs-root { 
    padding: 2.5rem 0 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vcs-title {
	font-family: "Lateef", Sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px;
    text-align: center;
}
.vcs-subtitle {
    font-size: 13px;
    color: #888;
    font-weight: 300;
    margin: 0 0 1.8rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.vcs-stage {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcs-card {
    position: absolute;
    width: 280px;
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    user-select: none;
    background: #111;
    cursor: pointer;
}

/* Thumbnail */
.vcs-video-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #222;
    overflow: hidden;
}
.vcs-video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vcs-video-thumb span {
    position: relative;
    z-index: 1;
    font-size: 44px;
}

/* Play icon — visible by default on active card */
.vcs-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    background: rgba(0,0,0,0.18);
    transition: background 0.2s;
}
.vcs-play-icon:hover {
    background: rgba(0,0,0,0.32);
}

/* Hover overlay — shown on hover WHILE video is playing */
.vcs-hover-overlay {
    position: absolute;
    inset: 0;
    display: none; /* shown via JS on mouseenter */
    align-items: center;
    justify-content: center;
    z-index: 4;
    cursor: pointer;
    background: rgba(0,0,0,0.28);
    transition: background 0.2s;
}
.vcs-hover-overlay:hover {
    background: rgba(0,0,0,0.42);
}

/* Shared icon button style */
.vcs-play-icon-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #222;
    box-shadow: 0 2px 16px rgba(0,0,0,0.22);
    transition: transform 0.15s, background 0.15s;
    pointer-events: none;
}
.vcs-play-icon:hover .vcs-play-icon-btn,
.vcs-hover-overlay:hover .vcs-play-icon-btn {
    transform: scale(1.1);
    background: #fff;
}

.vcs-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vcs-card img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.vcs-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

/* Label */
.vcs-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}
.vcs-card.vcs-active .vcs-card-overlay { opacity: 1; }
.vcs-card-label {
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Navigation */
.vcs-nav-row {
    display: flex;
    gap: 12px;
    margin-top: 1.8rem;
    align-items: center;
}
.vcs-btn {
    width: 42px; height: 42px;
    border-radius: 50%; border: none;
    cursor: pointer; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; font-family: inherit; flex-shrink: 0;
}
.vcs-prev { background: #e2ddd7; color: #666; }
.vcs-next { background: #106e44; color: #fff; }
.vcs-prev:hover { background: #ccc8c2; }
.vcs-next:hover { background: #cf7030; transform: scale(1.06); }

.vcs-dots { display: flex; gap: 6px; align-items: center; }
.vcs-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #ccc; border: none; padding: 0; cursor: pointer;
    transition: all 0.3s;
}
.vcs-dot.vcs-dot-active { background: #106e44; width: 22px; border-radius: 4px; }

@media (max-width: 480px) {
    .vcs-stage { height: 320px; }
    .vcs-card  { width: 140px; height: 210px; border-radius: 12px; }
    .vcs-play-icon-btn { width: 40px; height: 40px; font-size: 16px; }
}
