/* =========================
 BANNER
========================= */
.videos-banner {
    height: 280px;
    background: url('../img/banner.jpg') center / cover no-repeat;
    position: relative;
}

.videos-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.videos-banner-overlay h1 {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
}

/* =========================
 HERO VIDEO
========================= */
.video-hero {
    padding: 60px 20px;
    background: #0b0b0b;
}

.video-wrapper {
    max-width: 1100px;
    margin: auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* PLAY BUTTON */
.play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(229,9,20,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn span {
    width: 0;
    height: 0;
    border-left: 26px solid #fff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    margin-left: 6px;
}

/* WAVE EFFECT */
.play-btn::before,
.play-btn::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 2px solid rgba(229,9,20,.6);
    animation: pulse 2s infinite;
}

.play-btn::after {
    animation-delay: 1s;
}

@keyframes pulse {
    0% { transform: scale(.7); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* =========================
 VIDEOS GRID
========================= */
.videos-section {
    padding: 80px 20px;
    background: #0b0b0b;
    color: #fff;
}

.section-title {
    font-size: 26px;
    margin-bottom: 30px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* VIDEO CARD */
.video-card {
    cursor: pointer;
    transition: transform .3s ease;
}

.video-card:hover {
    transform: scale(1.08);
    z-index: 2;
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 40px;
    color: #e50914;
}

.video-info {
    margin-top: 8px;
}

.video-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.video-info p {
    font-size: 12px;
    color: #aaa;
}

/* =========================
 PAGINATION
========================= */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.page {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 14px;
    color: #fff;
    border: 1px solid #333;
    border-radius: 4px;
    transition: .3s;
}

.page:hover,
.page.active {
    background: #e50914;
    border-color: #e50914;
}

/* =========================
 RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-wrapper img {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .videos-banner-overlay h1 {
        font-size: 32px;
    }
}
