:root {
    --primary-color: #0d6efd;
    --dark-bg: #1a1a1a;
    --card-bg: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Header */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-bottom: 2rem;
}

/* Movie Cards */
.movie-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.movie-card a {
    text-decoration: none;
    color: inherit;
}

.movie-card img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.movie-card:hover img {
    transform: scale(1.05);
}

.movie-card .card-body {
    padding: 1rem;
}

.movie-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Backdrop Section */
.backdrop-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem 0;
}

.backdrop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.backdrop-section .container {
    position: relative;
    z-index: 1;
}

/* Player */
.ratio-16x9 {
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* Episode Items */
.episode-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s;
}

.episode-item:hover {
    background-color: #e9ecef;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    margin-top: 3rem;
    padding: 2rem 0;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .movie-card img {
        height: 200px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .movie-card img {
        height: 150px;
    }
    
    .movie-card .card-title {
        font-size: 0.9rem;
    }
}