@font-face {
font-family: 'Font';
src: url('font.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
* {
font-family: 'Font', -apple-system, BlinkMacSystemFont, sans-serif;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
html, body {
margin: 0;
padding: 0;
background: black;
color: white;
overflow-x: hidden;
overflow-y: scroll;
scrollbar-width: none;
-ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
width: 0px;
height: 0px;
display: none;
}
#hero {
height: 100vh;
position: relative;
overflow: hidden;
}
.overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
}
.content {
position: absolute;
bottom: 100px;
left: 80px;
max-width: 520px;
}
h1 {
font-size: 3rem;
margin: 0 0 10px 0;
}
p {
margin: 0;
}
.nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 3rem;
cursor: pointer;
padding: 20px;
opacity: 0.6;
transition: opacity 0.2s;
z-index: 3;
}
.nav:hover {
opacity: 1;
}
.left {
left: 20px;
}
.right {
right: 20px;
}
.hero-layer {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
opacity: 0;
transform: scale(1.04);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-layer.active {
opacity: 1;
transform: scale(1);
}
.search-section {
padding-top: 24px;
padding-bottom: 24px;
background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.searchbar {
display: flex;
justify-content: center;
gap: 12px;
width: 100%;
max-width: 600px;
}
.searchbar input {
flex-grow: 1;
padding: 14px 18px;
border-radius: 30px;
border: none;
outline: none;
background: rgba(255,255,255,0.08);
color: white;
backdrop-filter: blur(12px);
caret-color: white;
}
.searchbar button {
padding: 14px 20px;
border-radius: 30px;
border: none;
background: #483663;
color: #e8e0f5;
cursor: pointer;
font-weight: regular;
}

.searchbar input {
    flex-grow: 1;
    padding: 14px 18px;
    border-radius: 30px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: white;
    backdrop-filter: blur(12px);
    caret-color: white;

    color: #E8E0F5;
}

.searchbar input::selection {
    color: #E8E0F5;
    background: #483663;
}

.searchbar input::-moz-selection {
    color: #E8E0F5;
    background: #483663;
}

.toggle {
display: flex;
justify-content: center;
gap: 12px;
transition: opacity 0.4s ease, transform 0.4s ease;
}
.toggle.hidden {
opacity: 0;
transform: translateY(-10px);
pointer-events: none;
}
.toggle button {
background: rgba(255,255,255,0.08);
border: none;
color: white;
padding: 10px 18px;
cursor: pointer;
border-radius: 30px;
font-weight: regular;
backdrop-filter: blur(10px);
}
.toggle .active {
background: #ebebeb;
color: black;
}
.progress {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
background: #483663;
width: 0%;
transition: width linear;
z-index: 3;
}
#library {
padding: 20px 40px 60px 40px;
background: #00000;
}
.grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 32px;
max-width: 1200px;
margin: auto;
position: relative;
margin-top: -10px;
}
.card {
position: relative;
border-radius: 14px;
overflow: hidden;
cursor: pointer;
aspect-ratio: 2/3;
transform: scale(0.96);
opacity: 0;
animation: cardIn 0.5s forwards;
}
@keyframes cardIn {
to {
transform: scale(1);
opacity: 1;
}
}
.card img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 14px;
pointer-events: none;
}
.card:hover {
transform: translateY(-10px) scale(1.04);
z-index: 2;
}
.card-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
opacity: 0;
transition: opacity 0.3s;
}
.card:hover .card-overlay {
opacity: 1;
}
.card-info {
position: absolute;
bottom: 0;
padding: 14px;
transform: translateY(20px);
opacity: 0;
transition: all 0.3s ease;
}
.card:hover .card-info {
transform: translateY(0);
opacity: 1;
}
.card-info h3 {
margin: 0;
font-size: 1rem;
}
.rating {
position: absolute;
top: 10px;
right: 10px;
background: rgba(0,0,0,0.7);
padding: 6px 8px;
border-radius: 8px;
font-size: 0.8rem;
backdrop-filter: blur(6px);
}
.type {
position: absolute;
top: 10px;
left: 10px;
background: rgba(255,255,255,0.85);
color: black;
padding: 5px 8px;
border-radius: 8px;
font-size: 0.7rem;
font-weight: regular;
}
.fade-layer {
position: absolute;
inset: 0;
pointer-events: none;
opacity: 0;
transform: scale(1.02);
transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-layer.active {
opacity: 1;
transform: scale(1);
}
.hidden {
display: none !important;
}
.modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.98);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 20px;
box-sizing: border-box;
opacity: 0;
visibility: hidden;
transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.modal.show {
opacity: 1;
visibility: visible;
}
.modal-content {
background: #0E0E0E;
width: 100%;
max-width: 1380px;
max-height: 92vh;
border-radius: 24px;
overflow: hidden;
display: flex;
position: relative;
border: 1px solid rgba(255,255,255,0.06);
transform: scale(0.95);
opacity: 0;
transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal.show .modal-content {
transform: scale(1);
opacity: 1;
}
.modal-body {
display: flex;
width: 100%;
gap: 45px;
padding: 50px 55px 40px;
overflow-y: auto;
max-height: 92vh;
scrollbar-width: none;
}
.modal-body::-webkit-scrollbar {
display: none;
}
.modal-poster {
flex: 0 0 340px;
}
.modal-poster img {
width: 100%;
border-radius: 18px;
-webkit-user-drag: none;
user-drag: none;
}
.modal-info {
flex: 1;
min-width: 0;
}
.modal-title {
font-size: 2.6rem;
line-height: 1.05;
margin: 0 0 8px 0;
font-weight: 700;
}
.modal-tagline {
font-size: 1.25rem;
font-style: italic;
opacity: 0.8;
margin: 0 0 22px 0;
line-height: 1.3;
}
.modal-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
margin-bottom: 26px;
}
.modal-meta span {
background: rgba(255,255,255,0.1);
padding: 5px 14px;
border-radius: 9999px;
font-size: 1rem;
font-weight: 600;
backdrop-filter: blur(8px);
}
.modal-meta .rating-badge {
background: #483663;
color: white;
font-weight: 700;
letter-spacing: 0.5px;
}
.rating-badge {
background: #483663;
color: white;
font-weight: 700;
letter-spacing: 0.5px;
padding: 4px 12px;
border-radius: 9999px;
font-size: 0.95rem;
display: inline-flex;
align-items: center;
justify-content: center;
}
.modal-overview {
font-size: 1.2rem;
line-height: 1.6;
opacity: 0.92;
margin-bottom: 28px;
}
.watch-btn {
background: #483663;
color: white;
border: none;
padding: 16px 40px;
font-size: 1.2rem;
font-weight: 700;
border-radius: 9999px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 10px;
margin-top: 24px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.watch-btn:hover {
background: white;
color: #111111;
transform: scale(1.05);
}
.season-wrapper {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 20px;
}
.season-selector {
flex: 1;
display: flex;
gap: 10px;
overflow-x: auto;
padding-bottom: 8px;
scrollbar-width: none;
cursor: grab;
}
.season-selector::-webkit-scrollbar {
display: none;
}
.season-btn {
background: rgba(255,255,255,0.09);
color: white;
border: none;
padding: 10px 24px;
border-radius: 9999px;
white-space: nowrap;
cursor: pointer;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
flex-shrink: 0;
}
.season-btn:hover {
background: rgba(255,255,255,0.2);
}
.season-btn.active {
background: white;
color: black;
}
.season-header {
background: rgba(255,255,255,0.06);
border-radius: 16px;
padding: 20px;
margin-bottom: 20px;
}
.season-header h3 {
font-size: 1.6rem;
margin: 0 0 8px 0;
}
.season-header .season-meta {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 14px;
}
.season-header .season-meta .rating-badge {
background: #483663;
color: white;
padding: 4px 12px;
border-radius: 9999px;
font-size: 1.05rem;
font-weight: 700;
}
.season-header p {
font-size: 1.1rem;
line-height: 1.55;
opacity: 0.9;
margin: 0;
}
.episode-list {
display: flex;
flex-direction: column;
gap: 16px;
padding-bottom: 50px;
}
.episode-item {
background: rgba(255,255,255,0.06);
border-radius: 16px;
padding: 20px;
display: flex;
gap: 20px;
align-items: flex-start;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.episode-item:hover {
background: rgba(255,255,255,0.12);
transform: translateY(-2px);
}
.episode-number {
font-size: 2.5rem;
font-weight: 800;
line-height: 1;
opacity: 0.25;
width: 46px;
flex-shrink: 0;
text-align: center;
padding-top: 4px;
}
.episode-still {
flex: 0 0 160px;
height: 90px;
aspect-ratio: 16 / 9;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.episode-still img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
-webkit-user-drag: none;
user-drag: none;
}
.episode-info {
flex: 1;
min-width: 0;
}
.episode-title {
font-size: 1.25rem;
margin: 0 0 6px 0;
font-weight: 600;
}
.episode-meta {
display: flex;
align-items: center;
gap: 16px;
font-size: 0.95rem;
opacity: 0.8;
margin-bottom: 12px;
}
.episode-desc {
font-size: 1rem;
line-height: 1.55;
opacity: 0.85;
}
.episode-watch {
background: #483663;
color: white;
border: none;
width: 44px;
height: 44px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
flex-shrink: 0;
align-self: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.episode-watch:hover {
transform: scale(1.1);
}
.episode-watch .material-symbols-outlined {
font-size: 26px;
}
.watch-btn .material-symbols-outlined {
font-size: 30px;
}
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
#player-overlay {
position: fixed;
inset: 0;
background: #000;
z-index: 100000;
display: flex;
opacity: 0;
visibility: hidden;
transition: opacity 0.4s ease-in-out;
}
#player-overlay.show {
opacity: 1;
visibility: visible;
}
.player-content {
flex: 1;
position: relative;
width: 100%;
height: 100%;
}
#player-iframe {
width: 100%;
height: 100%;
border: none;
border-radius: 0;
overflow: hidden;
}
.player-close {
position: absolute;
top: 30px;
right: 30px;
color: #fff;
font-size: 2.8rem;
line-height: 1;
cursor: pointer;
z-index: 10;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
background: none;
border: none;
padding: 10px;
}
.player-close:hover {
transform: rotate(90deg);
color: #483663;
}
@media (max-width: 1000px) {
.grid {
grid-template-columns: repeat(4, 1fr);
gap: 28px;
}
.modal-body {
padding: 45px 45px;
gap: 40px;
}
.modal-poster {
flex: 0 0 300px;
}
}
@media (max-width: 700px) {
.grid {
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.modal-body {
flex-direction: column;
padding: 40px 30px;
}
.modal-poster {
flex: 0 0 auto;
max-width: 280px;
margin: 0 auto;
}
.episode-still {
flex: 0 0 120px;
}
}