.videos-page {
    padding: 34px 0 70px;
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(255, 255, 255, .05) 0%, rgba(0, 0, 0, 0) 55%),
        linear-gradient(to bottom, rgba(0, 0, 0, .18), rgba(0, 0, 0, .35));
}

/* ================= HEADER ================= */

.videos-page .vp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.videos-page .vp-title {
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.videos-page .vp-title span {
    color: var(--red);
}

.videos-page .vp-tools {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.videos-page .vp-select,
.videos-page .vp-search {
    height: 42px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .28);
    color: var(--text);
    padding: 0 12px;
    outline: none;
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 12px;
}

.videos-page .vp-search {
    width: 280px;
    text-transform: none;
    font-weight: 700;
}

.videos-page .vp-note {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    margin: 6px 0 26px;
    line-height: 1.6;
    max-width: 920px;
}

/* ================= GRID ================= */

.videos-page .vp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Tablet */
@media(max-width: 1200px) {
    .videos-page .vp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil */
@media(max-width: 680px) {
    .videos-page .vp-grid {
        grid-template-columns: 1fr;
    }

    .videos-page .vp-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .videos-page .vp-tools {
        width: 100%;
        justify-content: flex-start;
    }

    .videos-page .vp-search {
        width: 100%;
    }
}

/* ================= CARD ================= */

.videos-page .vp-card {
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .22);
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.videos-page .vp-card:hover,
.videos-page .vp-card:focus-visible,
.videos-page .vp-card.is-active {
    border-color: rgba(225, 6, 0, .55);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.videos-page .vp-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg2);
    overflow: hidden;
}

.videos-page .vp-thumb img,
.videos-page .vp-thumb .vp-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.videos-page .vp-thumb img {
    z-index: 1;
    display: block;
    opacity: 1;
    transition: opacity .25s ease;
}

.videos-page .vp-thumb .vp-preview {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    background: #000;
}

.videos-page .vp-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .12) 55%);
    z-index: 2;
    pointer-events: none;
}

/* ================= PLAY ICON ================= */

.videos-page .vp-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    margin-left: -37px;
    margin-top: -37px;
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .30);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transform: scale(.88);
    transition: opacity .22s ease, transform .22s ease, background .22s ease, border-color .22s ease;
    pointer-events: none;
}

.videos-page .vp-play::before {
    content: "";
    display: block;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--red);
    filter: drop-shadow(0 0 10px rgba(225, 6, 0, .18));
}

.videos-page .vp-card:hover .vp-play,
.videos-page .vp-card:focus-visible .vp-play,
.videos-page .vp-card.is-active .vp-play {
    opacity: 1;
    transform: scale(1);
    background: rgba(0, 0, 0, .72);
    border-color: rgba(255, 255, 255, .16);
}

/* ================= BADGES ================= */

.videos-page .vp-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 4;
    padding: 6px 10px;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.videos-page .vp-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    padding: 6px 10px;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.videos-page .vp-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.videos-page .vp-actors {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.videos-page .vp-desc {
    color: rgba(255, 255, 255, .70);
    font-size: 13px;
    line-height: 1.5;
}

.videos-page .vp-date {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ================= PAGINATION ================= */

.videos-page .vp-pager {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.videos-page .vp-pagebtn {
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .28);
    color: var(--text);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.videos-page .vp-pagebtn:hover {
    border-color: var(--red);
}