.videos-page {
    padding: 50px 0;
}

.video-search {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    margin-bottom: 25px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 24px;
}

.video-card {
    background: #111;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

    .video-card:hover {
        transform: translateY(-5px);
    }

.video-thumb {
    position: relative;
}

    .video-thumb img {
        width: 100%;
        display: block;
    }

.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #fff;
    background: rgba(0,0,0,.25);
}

.video-info {
    padding: 16px;
}

    .video-info h3 {
        margin: 0 0 8px;
        color: #fff;
    }

    .video-info span {
        display: block;
        color: #bbb;
    }

    .video-info small {
        color: #d8b56b;
    }

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

    .video-modal.open {
        display: flex;
    }

.video-modal-content {
    width: 90%;
    max-width: 1100px;
    aspect-ratio: 16/9;
    position: relative;
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

.video-close {
    position: absolute;
    top: -55px;
    right: 0;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: #222;
    color: #fff;
    cursor: pointer;
}

.video-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.video-tab {
    border: 1px solid #333;
    background: #111;
    color: #ccc;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 14px;
}

    .video-tab:hover {
        background: #1a1a1a;
        color: #fff;
        border-color: #555;
    }

    .video-tab.active {
        background: #d8b56b;
        color: #111;
        border-color: #d8b56b;
        font-weight: 700;
    }
