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

.video-header {
    max-width: 720px;
    margin: 0 auto;
}

.video-label {
    display: inline-block;

    padding: 6px 16px;

    border-radius: 30px;

    background: rgba(94, 25, 146, 0.08);
    color: #5e1992;

    font-size: 0.75rem;
    font-weight: 600;
}

.video-title-main {
    margin-top: 14px;

    font-size: 2rem;
    font-weight: 800;

    color: #3d105f;
}

.video-subtitle {
    margin-top: 12px;

    color: #666;
    line-height: 1.7;
}

/* ===============================
   SECTION
================================= */

.video-section-label {
    display: inline-block;

    margin-bottom: 8px;

    padding: 5px 12px;

    border-radius: 30px;

    background: rgba(94, 25, 146, 0.08);
    color: #5e1992;

    font-size: 0.72rem;
    font-weight: 600;
}

.video-section-title {
    font-size: 1.5rem;
    font-weight: 800;

    color: #3d105f;
}

/* ===============================
   SEARCH
================================= */

.video-search-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.video-search-box {
    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 18px;

    background: #fff;

    border: 1px solid rgba(94, 25, 146, 0.08);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.video-search-input {
    flex: 1;

    border: none;
    outline: none;

    padding: 16px 20px;

    font-size: 0.95rem;

    background: transparent;
}

.video-search-input::placeholder {
    color: #999;
}

.video-search-btn {
    border: none;

    padding: 16px 24px;

    background: #5e1992;
    color: white;

    font-weight: 600;

    transition: 0.25s ease;
}

.video-search-btn:hover {
    background: #491172;
}

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

.video-card,
.video-feature-card {
    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid rgba(94, 25, 146, 0.08);

    transition: 0.3s ease;
}

.video-card:hover,
.video-feature-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* ===============================
   THUMBNAIL
================================= */

.video-thumb-wrap {
    position: relative;

    display: block;

    overflow: hidden;
}

.video-thumb {
    width: 100%;
    height: 230px;

    object-fit: cover;

    transition: 0.35s ease;
}

.video-thumb.small {
    height: 190px;
}

.video-feature-card:hover .video-thumb {
    transform: scale(1.04);
}

/* ===============================
   PLAY BUTTON
================================= */

.video-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background: rgba(255, 0, 0, 0.92);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    backdrop-filter: blur(4px);
}

.video-play.small {
    width: 52px;
    height: 52px;

    font-size: 20px;
}

/* ===============================
   BADGE
================================= */

.video-badge {
    display: inline-block;

    margin-bottom: 10px;

    padding: 5px 12px;

    border-radius: 30px;

    background: rgba(239, 167, 53, 0.15);
    color: #b46f00;

    font-size: 0.72rem;
    font-weight: 600;
}

.video-overlay-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 5px 12px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.92);
    color: #5e1992;

    font-size: 0.72rem;
    font-weight: 700;
}

/* ===============================
   CONTENT
================================= */

.video-content {
    padding: 22px;
}

.video-name {
    font-size: 1rem;
    font-weight: 700;

    line-height: 1.5;

    color: #3d105f;
}

.video-name.small {
    font-size: 0.92rem;

    min-height: 48px;
}

.video-meta {
    font-size: 0.82rem;
    color: #777;
}

/* ===============================
   BUTTON
================================= */

.video-btn,
.video-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    padding: 9px 18px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 600;

    transition: 0.25s;
}

.video-btn {
    background: #5e1992;
    color: white;
}

.video-btn:hover {
    background: #47106f;
    color: white;
}

.video-btn-outline {
    border: 1px solid #5e1992;
    color: #5e1992;
}

.video-btn-outline:hover {
    background: #5e1992;
    color: white;
}

/* ===============================
   EMPTY
================================= */

.video-empty {
    padding: 40px;

    border-radius: 18px;

    background: #fff;

    border: 1px dashed rgba(94, 25, 146, 0.15);
}

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

.video-pagination nav {
    display: flex;
    justify-content: center;
}

.video-pagination .pagination {
    gap: 6px;
}

.video-pagination .page-link {
    border: none;

    border-radius: 10px;

    padding: 10px 14px;

    color: #5e1992;

    font-weight: 600;
}

.video-pagination .active .page-link {
    background: #5e1992;
    color: white;
}

/* ===============================
   MOBILE
================================= */

@media (max-width: 768px) {
    .video-title-main {
        font-size: 1.5rem;
    }

    .video-section-title {
        font-size: 1.25rem;
    }

    .video-subtitle {
        font-size: 0.9rem;
    }

    .video-search-box {
        flex-direction: column;
    }

    .video-search-input {
        width: 100%;
        padding: 15px 18px;
    }

    .video-search-btn {
        width: 100%;
        padding: 14px;
    }

    .video-thumb,
    .video-thumb.small {
        height: 220px;
    }

    .video-content {
        padding: 18px;
    }

    .video-name.small {
        min-height: auto;
    }
}

/* ===============================
   FADE UP
================================= */

.fade-up {
    opacity: 0;
    transform: translateY(30px);

    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* play smooth */
.video-play {
    transition: transform 0.25s ease, background 0.25s ease;
}

/* ===============================
   VIDEO DIVIDER
================================= */

.video-divider {
    width: 64px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #5e1992 0%, #7d2bb8 55%, #efa735 100%);
    position: relative;
}

.video-divider::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(10px);
    opacity: 0.35;
}
@media (max-width: 768px) {
    .video-divider {
        width: 52px;
        margin-top: 14px;
    }
}
