/* Responsive Grid Layout */
.usv-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

/* Vertical 9:16 Card Design */
.usv-card {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.usv-thumbnail-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.usv-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usv-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

/* Animated Play Button */
.usv-play-btn {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.usv-card:hover .usv-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(255, 0, 0, 0.8);
}

.usv-play-btn svg {
    width: 24px;
    height: 24px;
}

/* Card Content & Text */
.usv-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    color: #fff;
    z-index: 2;
}

.usv-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.3;
    color: #ffffff;
}

.usv-highlight {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    color: #fff;
    margin-bottom: 4px;
}

.usv-meta {
    font-size: 10px;
    color: #bbb;
    margin: 4px 0 0 0;
}

/* Video Modal Styling */
.usv-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.usv-modal-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.usv-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}