* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #0a0a0a; color: #fff; overflow-x: hidden; }

.navbar { position: fixed; top: 0; width: 100%; background: linear-gradient(180deg, #0a0a0a 0%, transparent 100%); z-index: 1000; padding: 1rem 2rem; }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 800; text-decoration: none; color: #e50914; }
.logo i { font-size: 1.8rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: #e50914; }
.search-bar { display: flex; align-items: center; background: rgba(255,255,255,0.1); border-radius: 40px; padding: 0.5rem 1rem; gap: 0.5rem; }
.search-bar input { background: none; border: none; color: #fff; outline: none; width: 220px; }

.hero { position: relative; height: 85vh; margin-top: 70px; overflow: hidden; }
.hero-slides { display: flex; height: 100%; transition: transform 0.5s ease; }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, transparent 70%); }
.hero-content { position: absolute; top: 50%; left: 5%; transform: translateY(-50%); max-width: 500px; z-index: 2; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; background: linear-gradient(135deg, #fff, #e50914); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.1rem; margin-bottom: 1.5rem; color: #ddd; }
.btn-play { background: #e50914; color: #fff; padding: 0.8rem 2rem; border-radius: 40px; border: none; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-play:hover { background: #b20710; transform: scale(1.02); }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 3; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: #e50914; width: 25px; border-radius: 10px; }

.container { max-width: 1400px; margin: 2rem auto; padding: 0 2rem; }
.row { margin-bottom: 3rem; }
.row-header { margin-bottom: 1rem; }
.row-header h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.row-header h2 i { color: #e50914; }
.movies-row { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; }
.movies-row::-webkit-scrollbar { height: 6px; }
.movies-row::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 10px; }
.movies-row::-webkit-scrollbar-thumb { background: #e50914; border-radius: 10px; }
.movie-card { min-width: 180px; cursor: pointer; transition: transform 0.3s; }
.movie-card:hover { transform: scale(1.05); }
.movie-card img { width: 100%; border-radius: 12px; }
.movie-card h4 { margin-top: 0.5rem; text-align: center; font-size: 0.9rem; }
.rating { text-align: center; font-size: 0.8rem; color: #ffc107; margin-top: 0.3rem; }

.movie-detail-container { min-height: 100vh; padding-top: 70px; }
.movie-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -1; }
.movie-backdrop::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, #0a0a0a 0%, #0a0a0a 50%, transparent 100%); }
.movie-detail-content { display: flex; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2rem; flex-wrap: wrap; }
.movie-poster img { width: 300px; border-radius: 16px; }
.movie-info { flex: 1; }
.movie-info h1 { font-size: 2.5rem; margin-bottom: 1rem; color: #e50914; }
.movie-meta { display: flex; gap: 1.5rem; margin-bottom: 1rem; color: #aaa; }
.watch-btn { background: #e50914; color: #fff; padding: 0.8rem 2rem; border-radius: 40px; border: none; font-weight: 600; cursor: pointer; margin-top: 1rem; }
.genre-tag { display: inline-block; background: #1f1f1f; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; margin-right: 0.5rem; margin-bottom: 0.5rem; }

.seasons-container { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.season-tabs { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.season-tab { background: #1f1f1f; color: #fff; border: none; padding: 0.6rem 1.5rem; border-radius: 30px; cursor: pointer; }
.season-tab.active, .season-tab:hover { background: #e50914; }
.episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.episode-card { background: #141414; border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.3s; }
.episode-card:hover { transform: scale(1.02); }
.episode-card img { width: 100%; height: 170px; object-fit: cover; }
.episode-info { padding: 1rem; }
.episode-info h4 { margin-bottom: 0.5rem; }

.footer { background: #0a0a0a; text-align: center; padding: 2rem; margin-top: 3rem; border-top: 1px solid #1f1f1f; }
.footer p { color: #666; font-size: 0.8rem; margin: 0.3rem 0; }
.footer i { color: #e50914; }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .movie-card { min-width: 140px; }
    .movie-poster img { width: 200px; }
    .movie-info h1 { font-size: 1.5rem; }
}
