/* ??????????????????????????????????????????????????????????????????
   VideoCard Component - Modern Video Thumbnail Card UI (always dark)
   ?????????????????????????????????????????????????????????????????? */

.vc {
    --vc-radius: 12px;
    --vc-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    --vc-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.25);
    --vc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    background: #2a2a2a;
    border-radius: var(--vc-radius);
    overflow: hidden;
    box-shadow: var(--vc-shadow);
    transition: var(--vc-transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #e0e0e0;
}

.vc:hover {
    box-shadow: var(--vc-shadow-hover);
    transform: translateY(-4px);
}

/* ?? Thumbnail Container ???????????????????????????????????????? */
.vc__thumbnail-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #1a1a1a;
    overflow: hidden;
}

.vc__thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.vc__thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.vc__placeholder-icon {
    font-size: 3rem;
    color: #616161;
    opacity: 0.6;
}

/* ?? Badge Container ????????????????????????????????????????????? */
.vc__badge-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.vc__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--vc-transition);
}

.vc__badge--live {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.95) 0%, rgba(255, 87, 107, 0.95) 100%);
    color: #ffffff;
}

.vc__badge--upcoming {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(41, 128, 185, 0.95) 100%);
    color: #ffffff;
}

.vc__badge--ondemand {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95) 0%, rgba(39, 174, 96, 0.95) 100%);
    color: #ffffff;
}

/* ?? Overlay (Play Button) ??????????????????????????????????????? */
.vc__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--vc-transition);
    z-index: 5;
}

.vc:hover .vc__overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
}

.vc__play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--vc-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vc__play-button:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.vc__play-icon {
    font-size: 2rem;
    color: #ff4757;
    margin-left: 4px;
}

/* ?? Content Container ?????????????????????????????????????????? */
.vc__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    gap: 12px;
}

/* ?? Title ?????????????????????????????????????????????????????? */
.vc__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #e0e0e0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ?? Meta List ?????????????????????????????????????????????????? */
.vc__meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.vc__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: #e0e0e0;
    line-height: 1.3;
}

.vc__meta-item--success {
    color: #27ae60;
    font-weight: 500;
}

.vc__meta-icon {
    flex-shrink: 0;
    font-size: 1rem;
    color: inherit;
    margin-top: 2px;
}

.vc__meta-text {
    display: block;
    word-break: break-word;
}

/* ?? Actions ???????????????????????????????????????????????????? */
.vc__actions {
    display: flex;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #404040;
}

.vc__watch-btn {
    flex: 1;
    padding: 10px 12px;
    background: #ff4757;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--vc-transition);
}

.vc__watch-btn:hover {
    background: #ff3838;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.vc__watch-btn:active {
    transform: scale(0.98);
}

.vc__save-btn {
    padding: 10px 12px;
    background: transparent;
    border: 1px solid #404040;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--vc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b7a;
}

.vc__save-btn:hover {
    background: rgba(255, 71, 87, 0.15);
    border-color: #ff6b7a;
}


.vc--small .vc__content {
    padding: 12px;
}

.vc--small .vc__title {
    font-size: 1rem;
    -webkit-line-clamp: 1;
}

.vc--small .vc__meta-item {
    font-size: 0.8rem;
}

.vc--small .vc__watch-btn,
.vc--small .vc__save-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
}

/* ?? Responsive ????????????????????????????????????????????????? */
@media (max-width: 768px) {
    .vc__content {
        padding: 12px;
    }

    .vc__title {
        font-size: 1rem;
    }

    .vc__meta-list {
        gap: 6px;
    }

    .vc__meta-item {
        font-size: 0.8rem;
    }

    .vc__play-button {
        width: 56px;
        height: 56px;
    }

    .vc__play-icon {
        font-size: 1.5rem;
    }
}
