@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css'); :root { --netflix-black: #101010; --netflix-red: #E50914; --primary-text: #FFFFFF; --secondary-text: #A9A9A9; --card-hover-border: #fff; } body { background-color: var(--netflix-black); color: var(--primary-text); font-family: 'Inter', sans-serif; } .page-wrapper { background-color: var(--netflix-black); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; } /* --- Navigation --- */ #main-nav { background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0)); transition: background-color 0.4s ease-out; padding-top: 15px; padding-bottom: 15px; } #main-nav.navbar-scrolled { background-color: #0c0c0c; } .navbar-brand { font-family: 'Bebas Neue', sans-serif; color: var(--netflix-red) !important; font-size: 2.8rem; letter-spacing: 1.5px; } .nav-link { color: #e0e0e0 !important; font-weight: 500; transition: color 0.2s ease; font-size: 0.95rem; } .nav-link:hover, .nav-link.active { color: var(--primary-text) !important; } .profile-avatar { width: 32px; height: 32px; border-radius: 4px; } /* --- Hero Section --- */ .hero-section { position: relative; height: 98vh; display: flex; align-items: center; padding: 0 4%; } .hero-backdrop { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center 10%; opacity: 0.5; } .hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(16, 16, 16, 0.9) 0%, rgba(16, 16, 16, 0) 60%); } .hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 20vh; background: linear-gradient(to top, var(--netflix-black) 10%, transparent 100%); } .hero-content { position: relative; z-index: 2; max-width: 45vw; } .hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 7vw, 7rem); font-weight: bold; text-shadow: 0 0 40px rgba(0,0,0,0.9); } .hero-tags { margin-bottom: 1.5rem; } .hero-tags .tag { background-color: rgba(255, 255, 255, 0.2); color: #fff; padding: 0.4rem 0.8rem; border-radius: 4px; font-size: 0.9rem; margin-right: 0.5rem; } .hero-description { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; margin: 1.5rem 0 2.5rem; text-shadow: 0 0 20px rgba(0,0,0,0.9); max-width: 550px; } .hero-buttons .btn { margin-right: 1rem; font-weight: bold; padding: 0.9rem 2.4rem; border-radius: 5px; font-size: 1.2rem; display: inline-flex; align-items: center; gap: 0.8rem; border: none; transition: transform 0.2s ease, background-color 0.2s ease; } .hero-buttons .btn:hover { transform: scale(1.05); } .btn-play { background-color: var(--netflix-red); color: var(--primary-text); } .btn-play:hover { background-color: #c40812; } .btn-more-info { background-color: rgba(109, 109, 110, 0.7); color: var(--primary-text); } .btn-more-info:hover { background-color: rgba(109, 109, 110, 0.5); } /* --- Movie Carousels --- */ .movie-sections { margin-top: -15vh; /* Overlap with hero section */ position: relative; z-index: 10; padding: 0 4%; } .section-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; font-weight: 500; margin-bottom: 1.2rem; } .movie-carousel { display: flex; gap: 12px; padding-bottom: 2.5rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; /* Firefox */ } .movie-carousel::-webkit-scrollbar { display: none; /* Safari and Chrome */ } .movie-card { flex: 0 0 17%; max-width: 280px; min-width: 210px; background-color: transparent; border-radius: 5px; overflow: hidden; position: relative; transition: transform 0.3s ease, z-index 0.3s ease; cursor: pointer; } .movie-card .card-img-top { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; } .movie-card:hover { transform: scale(1.1); z-index: 20; } /* --- Footer --- */ .main-footer { border-top: 1px solid #222; font-size: 0.9rem; padding-top: 2rem; padding-bottom: 2rem; } /* Responsive */ @media (max-width: 992px) { .hero-content { max-width: 60vw; } .movie-card { flex-basis: 24%; } } @media (max-width: 768px) { .hero-content { max-width: 100%; text-align: center; } .hero-section::before { background: linear-gradient(to top, rgba(16, 16, 16, 0.9) 0%, rgba(16, 16, 16, 0) 60%); } .hero-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .movie-card { flex-basis: 35%; min-width: 180px; } .hero-buttons { justify-content: center; display: flex; } }