Spaces:
Running
Running
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
background: #0f171e; | |
color: #fff; | |
} | |
.navbar { | |
background: #1a242f; | |
padding: 1rem 2rem; | |
position: fixed; | |
width: 100%; | |
z-index: 1000; | |
} | |
.nav-content { | |
display: flex; | |
align-items: center; | |
max-width: 1400px; | |
margin: 0 auto; | |
} | |
.nav-links { | |
flex: 1; | |
display: flex; | |
justify-content: flex-end; | |
} | |
.logo { | |
height: 35px; | |
width: auto; | |
object-fit: contain; | |
} | |
.search-container { | |
width: 300px; | |
margin-left: 2rem; | |
} | |
.search-input { | |
padding: 0.5rem 1rem; | |
border-radius: 20px; | |
border: none; | |
background: #fff; | |
width: 100%; | |
} | |
.search-results { | |
position: absolute; | |
top: 100%; | |
left: 0; | |
right: 0; | |
background: #1a242f; | |
border-radius: 8px; | |
margin-top: 0.5rem; | |
max-height: 400px; | |
overflow-y: auto; | |
box-shadow: 0 4px 12px rgba(0,0,0,0.3); | |
display: none; | |
} | |
.search-result-item { | |
display: flex; | |
padding: 0.75rem; | |
gap: 1rem; | |
cursor: pointer; | |
border-bottom: 1px solid #2a343f; | |
} | |
.search-result-item:hover { | |
background: #2a343f; | |
} | |
.search-result-thumb { | |
width: 60px; | |
height: 90px; | |
object-fit: cover; | |
border-radius: 4px; | |
} | |
.search-result-info { | |
flex: 1; | |
} | |
.search-result-title { | |
font-weight: bold; | |
margin-bottom: 0.25rem; | |
} | |
.search-result-rating { | |
color: #ffd700; | |
} | |
.main-content { | |
padding-top: 80px; | |
} | |
.hero { | |
height: auto; | |
padding-top: 80px; | |
} | |
.trending-hero { | |
position: relative; | |
height: 600px; | |
margin-bottom: 2rem; | |
cursor: pointer; | |
} | |
.trending-hero img { | |
width: 100%; | |
height: 100%; | |
object-fit: cover; | |
} | |
.trending-hero-content { | |
position: absolute; | |
bottom: 50px; | |
left: 50px; | |
max-width: 500px; | |
background: rgba(0, 0, 0, 0.7); | |
padding: 2rem; | |
border-radius: 8px; | |
} | |
.trending-dots { | |
position: absolute; | |
bottom: 20px; | |
left: 50%; | |
transform: translateX(-50%); | |
display: flex; | |
gap: 8px; | |
} | |
.dot { | |
width: 10px; | |
height: 10px; | |
border-radius: 50%; | |
background: rgba(255, 255, 255, 0.5); | |
cursor: pointer; | |
} | |
.dot.active { | |
background: #fff; | |
} | |
.row { | |
padding: 2rem; | |
position: relative; | |
} | |
.row-header { | |
font-size: 1.5rem; | |
margin-bottom: 1rem; | |
} | |
.carousel { | |
display: flex; | |
gap: 1rem; | |
overflow-x: auto; | |
padding: 1rem 0; | |
scroll-behavior: smooth; | |
-ms-overflow-style: none; | |
scrollbar-width: none; | |
} | |
.carousel::-webkit-scrollbar { | |
display: none; | |
} | |
.carousel-container { | |
position: relative; | |
} | |
.carousel-arrow { | |
position: absolute; | |
top: 50%; | |
transform: translateY(-50%); | |
width: 40px; | |
height: 40px; | |
background: rgba(0,0,0,0.5); | |
border-radius: 50%; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
color: white; | |
cursor: pointer; | |
z-index: 2; | |
border: none; | |
} | |
.carousel-arrow:hover { | |
background: rgba(0,0,0,0.8); | |
} | |
.carousel-arrow.prev { | |
left: 10px; | |
} | |
.carousel-arrow.next { | |
right: 10px; | |
} | |
.movie-card { | |
min-width: 200px; | |
border-radius: 8px; | |
overflow: hidden; | |
cursor: pointer; | |
transition: transform 0.3s; | |
} | |
.movie-card:hover { | |
transform: scale(1.05); | |
} | |
.movie-poster { | |
width: 100%; | |
height: 300px; | |
object-fit: cover; | |
} | |
.movie-title { | |
padding: 0.5rem; | |
font-size: 0.9rem; | |
} | |
.modal { | |
display: none; | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
background: rgba(0,0,0,0.9); | |
z-index: 1001; | |
} | |
.modal-content { | |
position: relative; | |
width: 90%; | |
max-width: 1200px; | |
height: 80vh; | |
margin: 5vh auto; | |
background: #1a242f; | |
border-radius: 12px; | |
overflow: hidden; | |
display: grid; | |
grid-template-columns: 2fr 1fr; | |
padding: 0; | |
} | |
.close-modal { | |
position: absolute; | |
right: 20px; | |
top: 20px; | |
color: #fff; | |
font-size: 24px; | |
cursor: pointer; | |
z-index: 1002; | |
} | |
.iframe-container { | |
height: 100%; | |
position: relative; | |
} | |
.movie-details { | |
padding: 2rem; | |
overflow-y: auto; | |
} | |
.movie-details h2 { | |
margin-bottom: 1rem; | |
font-size: 1.8rem; | |
} | |
.movie-meta { | |
display: flex; | |
gap: 1rem; | |
margin-bottom: 1rem; | |
color: #aaa; | |
} | |
.movie-overview { | |
margin-bottom: 2rem; | |
line-height: 1.6; | |
} | |
.cast-list { | |
display: grid; | |
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); | |
gap: 1rem; | |
} | |
.cast-item { | |
background: rgba(0,0,0,0.2); | |
border-radius: 8px; | |
overflow: hidden; | |
} | |
.cast-photo { | |
width: 100%; | |
aspect-ratio: 2/3; | |
object-fit: cover; | |
} | |
.cast-info { | |
padding: 0.5rem; | |
} | |
.cast-name { | |
font-weight: bold; | |
margin-bottom: 0.25rem; | |
} | |
.cast-character { | |
font-size: 0.9rem; | |
color: #aaa; | |
} | |
.loader { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
width: 50px; | |
height: 50px; | |
border: 5px solid #f3f3f3; | |
border-top: 5px solid #00a8e1; | |
border-radius: 50%; | |
animation: spin 1s linear infinite; | |
} | |
@keyframes spin { | |
0% { transform: translate(-50%, -50%) rotate(0deg); } | |
100% { transform: translate(-50%, -50%) rotate(360deg); } | |
} | |
iframe { | |
width: 100%; | |
height: 100%; | |
border: none; | |
opacity: 0; | |
transition: opacity 0.3s; | |
} | |
::-webkit-scrollbar { | |
width: 8px; | |
height: 8px; | |
} | |
::-webkit-scrollbar-track { | |
background: rgba(26, 36, 47, 0.8); | |
} | |
::-webkit-scrollbar-thumb { | |
background: rgba(255, 255, 255, 0.2); | |
border-radius: 4px; | |
} | |
::-webkit-scrollbar-thumb:hover { | |
background: rgba(255, 255, 255, 0.3); | |
} | |
.season-episode-selector { | |
margin-bottom: 2rem; | |
display: flex; | |
gap: 1rem; | |
} | |
.season-episode-selector select { | |
padding: 0.5rem; | |
background: rgba(0,0,0,0.2); | |
border: 1px solid rgba(255,255,255,0.2); | |
border-radius: 4px; | |
color: #fff; | |
min-width: 150px; | |
} | |
.season-episode-selector select:focus { | |
outline: none; | |
border-color: rgba(255,255,255,0.4); | |
} | |
@media (max-width: 768px) { | |
.nav-content { | |
flex-direction: row; | |
gap: 1rem; | |
} | |
.nav-links { | |
justify-content: flex-end; | |
} | |
.search-container { | |
width: 200px; | |
} | |
.trending-hero { | |
height: 400px; | |
} | |
.trending-hero-content { | |
left: 20px; | |
right: 20px; | |
bottom: 20px; | |
} | |
.modal-content { | |
grid-template-columns: 1fr; | |
height: 90vh; | |
width: 95%; | |
} | |
.iframe-container { | |
height: 300px; | |
} | |
.movie-details { | |
height: calc(90vh - 300px); | |
} | |
.cast-list { | |
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); | |
} | |
.row { | |
padding: 1rem; | |
} | |
.carousel-arrow { | |
display: none; | |
} | |
.movie-card { | |
min-width: 150px; | |
} | |
} |