/* Custom styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #141414;
    color: #ffffff;
}
.backdrop-blur-image {
    background-size: cover;
    background-position: center;
}
.backdrop-blur-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(10px) brightness(0.4);
    z-index: -1;
}
.card .play-icon {
    transition: opacity 0.3s ease-in-out;
}
.card:hover .play-icon {
    opacity: 1;
}
.card:hover img {
    filter: blur(4px) brightness(0.6);
}
.loader {
    border: 5px solid transparent;
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.nav-link.active {
    color: #ef4444;
    font-weight: 700;
}
.watchlist-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 8px;
    color: white;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}
.watchlist-icon:hover {
    transform: scale(1.1);
}
.watchlist-icon.favorited {
    color: #ef4444; /* red-500 */
}

/* --- PAGINATION STYLES --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* 8px */
    margin-top: 2rem; /* 32px */
    padding-bottom: 2rem; /* 32px */
}
.pagination-btn, .pagination-ellipsis {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem; /* 8px */
    font-weight: 600;
    color: #d1d5db; /* gray-300 */
    background-color: #374151; /* gray-700 */
    transition: background-color 0.2s, color 0.2s;
}
.pagination-btn:not(.disabled):hover {
    background-color: #4b5563; /* gray-600 */
    color: white;
}
.pagination-btn.active {
    background-color: #ef4444; /* red-500 */
    color: white;
    cursor: default;
}
.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pagination-ellipsis {
    background-color: transparent;
}
