@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600&display=swap');

.vc-46c7187e-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #334155;
    background-color: #0F172A;
    transition: border-color 0.25s ease, transform 0.25s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.vc-46c7187e-card:hover {
    border-color: #38BDF8;
    transform: translateY(-2px);
}

.vc-46c7187e-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vc-46c7187e-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* Zoom slightly to trim YouTube's default top/bottom black padding on 4:3 default fallback thumbs */
    transform: scale(1.35);
    display: block;
}

.vc-46c7187e-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.vc-46c7187e-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 3px solid #FFFFFF !important;
    background-color: #38BDF8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.35);
    padding: 0 !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 5;
    pointer-events: none; /* Let clicks pass directly through to the card's native click handler */
}

.vc-46c7187e-play-btn svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    fill: #FFFFFF !important;
    display: block !important;
    margin-left: 2px !important;
}

.vc-46c7187e-card:hover .vc-46c7187e-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: #0EA5E9 !important;
}

.vc-46c7187e-title {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #FFFFFF;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    pointer-events: none;
}

.vc-46c7187e-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
