body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FF8096;
    color: white;
    padding: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.search-bar {
    width: 40%;
    padding: 5px;
}

.search-btn {
    padding: 5px 10px;
    background: white;
    border: none;
    cursor: pointer;
}

.videos {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.video-card {
    flex-basis: 30%;
    background: white;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.video-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.pagination button {
    padding: 10px 15px;
    margin: 5px;
    font-size: 18px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ✅ Default Button Colors */
#prevPage,
#nextPage {
    background-color: #FF8096;
    color: white;
}

/* ✅ Disabled State */
#prevPage:disabled,
#nextPage:disabled {
    background-color: lightpink;
    cursor: not-allowed;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .video-card {
        flex-basis: 48%;
    }
}

@media (max-width: 768px) {
    .video-card {
        flex-basis: 100%;
    }
    .video-card img {
        height: 200px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background: #f1f1f1;
    margin-top: auto;
}

footer div {
    color: white;
    text-decoration: none;
}

footer a {
    color: #7793c0;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ffffff; /* Highlight effect */
    text-decoration: underline;
    font-size: 1.1em; /* Slightly bigger */
}

/* DMCA ko bold karna */
footer a[href="/dmca/"] {
    font-weight: bold;
}

footer p {
    color: white;
    text-decoration: none;
}

