/* ============================================================
1. ROOT, RESET & BASE
============================================================ */
:root {
--c0: #000000;
--c1: #540000;
--c2: #780000;
--c3: #CD000F;
--c4: #DA1919;
--c5: #FF9273;
}

* {
margin: 0;
padding: 0;
color: #fff;
scrollbar-width: thin;
scrollbar-color: var(--c2) var(--c0);
}
[hidden] { display: none !important; }
html { overflow-y: scroll; }

body {
font-family: 'Roboto', sans-serif;
display: flex;
min-height: 100vh;
background: var(--c1);
background: linear-gradient(45deg, #540000 0%, #780000 65%, #cd000f 100%);
}

a {
text-decoration: none;
color: #fff;
transition: color 0.1s ease-in;
cursor: pointer;
}
a:hover { color: var(--c5); }

button {
background: var(--c3);
color: #fff;
border: none;
width: 96px;
height: 32px;
border-radius: 4px;
cursor: pointer;
transition: background 0.1s ease-in;
box-shadow: rgba(0,0,0,0.16) 0 1px 4px;
}
button:hover { background: var(--c5); }

h1 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
li {
list-style: none;
padding: 0;
margin: 0;
}
i {
width: 24px;
height: 24px;
display: inline-block;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
splitter {
width: 100%;
height: 2px;
background: var(--c5);
}
iframe {
border: none;
border-radius: 8px;
background: var(--c0);
}

/* ============================================================
2. SCROLLBARS
============================================================ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c0); border-left: 1px solid var(--c1); }
::-webkit-scrollbar-thumb { background: var(--c2); border-radius: 5px; border: 2px solid var(--c0); }
::-webkit-scrollbar-thumb:hover { background: var(--c3); }
::-webkit-scrollbar-thumb:active { background: var(--c4); }

/* ============================================================
3. DISPLAY & POSITION
============================================================ */
.hide-initially{display: none !important;}
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; left: 0; right: 0; bottom: 0; }

.row { flex-direction: row;}
.col { flex-direction: column; }
.wrap { flex-wrap: wrap; }
.nowrap { flex-wrap: nowrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-start { justify-content: flex-start; }

.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }

/* ============================================================
4. SIZING (Width, Height, Min/Max)
============================================================ */
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-10 { width: 10%; }
.w-30 { width: 30%; }
.w-65 { width: 65%; }
.w-80 { width: 80px; }
.w-96 { width: 96px; }
.w-90 { width: 90%; }
.w-150 { width: 150px; }
.w-192 { width: 192px; }
.w-full-minus-32 { width: calc(100% - 32px); }
.w-full-minus-48 { width: calc(100% - 48px); }

.min-h-screen { min-height: 100vh; }
.min-h-16 { min-height: 16px; }
.min-h-200 { min-height: 200px; }

.h-1lh { height: 1lh; }
.h-2lh { height: 2lh; }

.h-24 { height: 24px; }
.h-32 { height: 32px; }
.h-36 { height: 36px; }
.h-40 { height: 40px; }
.h-48 { height: 48px; }
.h-64 { height: 64px; }
.h-96 { height: 96px; }
.h-344 { height: 344px; }
.h-full { height: 100%; }

.min-w-16 { min-width: 16px; }
.min-w-100 { min-width: 100px; }
.min-w-128 { min-width: 128px; }
.min-w-160 { min-width: 160px; }

.max-h-36 { max-height: 36px; }
.max-h-150 { max-height: 150px;}
.max-h-200 { max-height: 200px; }

.max-w-60 { max-width: 60%; }
.max-w-120 { max-width: 120px; }
.max-w-192 { max-width: 192px; }
.max-w-220 { max-width: 220px; }
.max-w-1140 { max-width: 1140px; }

/* ============================================================
5. SPACING (Gap, Margin, Padding)
============================================================ */
.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.p-4 { padding: 4px; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.px-8 { padding-left: 8px; padding-right: 8px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.pb-12 { padding-bottom: 12px; }

.m-16 { margin: 16px; }
.mt-4 { margin-top: 4px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mx-8 { margin-left: 8px; margin-right: 8px; }
.mx-16 { margin-left: 16px; margin-right: 16px; }
.ml-4 { margin-left: 4px; }
.ml-16 { margin-left: 16px; }
.mr-16 { margin-right: 16px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
6. STYLING (Background, Border, Text, Effects)
============================================================ */
.bg-c0 { background: var(--c0); }
.bg-c1 { background: var(--c1); }
.bg-c2 { background: var(--c2); }
.bg-c3 { background: var(--c3); }
.bg-c4 { background: var(--c4); }
.bg-c5 { background: var(--c5); }
.bg-black-50 { background: rgba(0,0,0,0.5); }
.bg-black-70 { background: rgba(0,0,0,0.7); }
.backdrop-blur { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.text-c5 { color: var(--c5); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.text-sm { font-size: 0.85rem; }

.rounded-4 { border-radius: 4px; }
.rounded-8 { border-radius: 8px; }
.rounded-12 { border-radius: 12px; }
.rounded-16 { border-radius: 16px; }
.rounded-40 { border-radius: 40px; }
.rounded-full { border-radius: 9999px; }

.border { border: 1px solid var(--c4); }
.border-2 { border: 2px solid var(--c4); }
.border-c5 { border: 1px solid var(--c5); }

.shadow { box-shadow: rgba(0,0,0,0.35) 0 5px 15px; }
.shadow-sm { box-shadow: rgba(0,0,0,0.16) 0 1px 4px; }
.shadow-md { box-shadow: 0 4px 8px rgba(0,0,0,0.15); }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.scroll-x {
overflow-x: auto;
overflow-y: hidden;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
-ms-overflow-style: none;
scrollbar-width: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

.-translate-y-1\/2 { transform: translateY(-50%); }
.object-cover { object-fit: cover; }
.aspect-2\/3 { aspect-ratio: 2/3; }
.aspect-16\/9 { aspect-ratio: 16/9; }
.box-border { box-sizing: border-box; }
.cursor-pointer { cursor: pointer; }

.hover-bright { transition: background 0.15s ease-in; }
.hover-bright:hover { background: var(--c5); }
.hover-scale { transition: transform 0.15s ease-out; }
.hover-scale:hover { transform: scale(1.025); transition: transform 0.15s ease-in; }

.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }
.z-10 { z-index: 10; }
.z-300 { z-index: 300; }
.z-301 { z-index: 301; }
.z-998 { z-index: 998; }
.z-999 { z-index: 999; }

/* ============================================================
7. COMPLEX COMPONENTS (Movie Cards, Galleries, Modals)
============================================================ */

/* --- Movie Card --- */
.movie-card {
flex: 0 1 190px;
min-width: 160px;
position: relative;
aspect-ratio: 2/3;
border-radius: 16px;
overflow: hidden;
background: #1a1a1a;
box-shadow: 0 10px 20px rgba(0,0,0,0.3);
transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.movie-card:hover {
transform: translateY(-5px);
}
.poster-layer {
width: 100%;
height: 100%;
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
transition: transform 0.5s ease;
z-index: 1;
}
.movie-card:hover .poster-layer { transform: scale(1.1); }
.movie-card .card-link {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
height: 100%;
text-decoration: none;
z-index: 2;
background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.9) 100%);
}
.movie-card .genre-badge {
background: rgba(255,255,255,0.05);
backdrop-filter: blur(8px);
color: #fff;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.5px;
border: 1px solid rgba(255,255,255,0.1);
border-radius: 20px;
padding: 0 10px;
height: 24px;
line-height: 24px;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 70%;
}
.movie-card .movie-info { padding: 20px; color: #fff; }
.movie-card .movie-title {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 6px;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.movie-card .movie-details {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
opacity: 0.9;
}
.imdb-score {
display: flex;
align-items: center;
gap: 4px;
background: #f5c518;
color: #000;
padding: 2px 8px;
border-radius: 4px;
font-weight: 800;
}

/* --- Slide Gallery Item --- */
.gallery-item {
position: relative;
height: 344px;
aspect-ratio: 2/3;
flex-shrink: 0;
scroll-snap-align: start;
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: hidden;
transition: transform 0.15s ease-out;
}
.gallery-item:hover { transform: scale(1.025); transition: transform 0.15s ease-in; }
.gallery-item .gallery-bg,
.gallery-item .gallery-overlay {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.gallery-item .gallery-bg { object-fit: cover; z-index: 1; }
.gallery-item .gallery-overlay {
z-index: 2;
background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
display: flex;
flex-direction: column;
justify-content: space-between;
}
.gallery-item .gallery-top,
.gallery-item .gallery-bottom { padding: 12px; box-sizing: border-box; }
.gallery-item .gallery-top {
position: relative;
z-index: 3;
display: flex;
justify-content: space-between;
align-items: center;
}
.gallery-item .gallery-top > .imdb-score { height: 16px; }
.gallery-item .gallery-bottom {
position: relative;
z-index: 3;
display: flex;
gap: 4px;
flex-direction: column;
align-items: baseline;
}
.gallery-flags {
display: flex;
justify-content: center;
gap: 8px;
height: 24px;
}

.gallery-wrapper { position: relative; width: 100%; }
.gallery-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.5);
color: #fff;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
transition: background 0.2s ease, opacity 0.2s ease;
}
.gallery-btn:hover { background: rgba(0,0,0,0.8); }
.gallery-btn-left { left: 16px; }
.gallery-btn-right { right: 16px; }
@media (pointer: coarse) { .gallery-btn { display: none; } }

/* --- Story Roundel --- */
.story-roundel {
width: 94px;
height: 94px;
border-radius: 50px;
background: gray;
text-align: center;
border: solid var(--c4);
object-fit: cover;
}

.roundel-object>h5{
position: relative;
top: -16px;
background-color: var(--c4);
padding: 4px;
border-radius: 8px;
min-width: 64px;
font-size: small;
}

.roundel-object>h3{
position: relative;
top: -12px;
font-size:medium;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-align: center;
max-width: 150px;
min-height: 2lh;
}

/* --- Search Modal --- */
.search-modal {
position: fixed;
width: 90vw;
height: 556px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 999;
background: var(--c0);
border: 1px solid var(--c2);
border-radius: 12px;
display: flex;
flex-direction: column;
overflow: hidden;
max-width: 600px;
}
.search-modal .search-top { padding: 15px; background: var(--c1); flex-shrink: 0; }
.search-modal .search-bottom {
flex: 1;
overflow-x: hidden;
overflow-y: auto;
padding: 8px;
display: flex;
flex-direction: column;
gap: 6px;
max-height: 470px;
}
.search-result {
height: 90px;
width: 100%;
display: flex;
flex-shrink: 0;
align-items: center;
gap: 12px;
background: #0c0c0c;
border: 1px solid var(--c1);
border-radius: 6px;
cursor: pointer;
transition: background 0.2s;
box-sizing: border-box;
}
.search-result:hover { background: var(--c1); border-color: var(--c3); }
.search-result img { height: 81px; width: 54px; object-fit: cover; border-radius: 3px; }
.search-result .info {
display: flex;
flex-direction: column;
justify-content: center;
flex: 1;
overflow: hidden;
gap: 8px;
}
.search-result .title {
color: #fff;
font-size: 0.95rem;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-result .orig-title {
color: #888;
font-size: 0.75rem;
margin: 0;
font-style: italic;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.badge {
background: var(--c3);
color: #fff;
font-size: 0.65rem;
font-weight: bold;
padding: 2px 6px;
border-radius: 3px;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.badge--rating { background: transparent; border: 1px solid var(--c5); color: var(--c5); }

/* --- Cinema / Play Button --- */
.cinema-frame {
aspect-ratio: 16/9;
width: calc(100% - 32px);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
max-width: 1920px;
box-shadow: rgba(0,0,0,0.35) 0 5px 15px;
}
.video-cover {
width: 100%;
height: 100%;
border-radius: 8px;
background-size: cover;
background-position: center;
z-index: 300;
transition: transform 0.3s ease-out;
cursor: pointer;
}
.video-cover:hover { transform: scale(1.1); transition: transform 0.3s ease-in; }
.play-btn {
position: absolute;
width: 128px;
height: 128px;
z-index: 301;
transition: transform 0.3s ease-out, rotate 1s ease-out;
cursor: pointer;
}
.play-btn:hover {
transform: scale(1.1);
transition: transform 0.3s ease-in, rotate 1s ease-in;
rotate: 360deg;
}

/* --- Pagination --- */
.pagination-item {
background: var(--c2);
min-width: 32px;
min-height: 32px;
border-radius: 32px;
padding: 0 16px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bolder;
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.pagination-item--active { background: var(--c4) !important; }

/* --- Menu Toggle --- */
.menu-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
background: var(--c1);
border-radius: 12px;
border: 1px solid var(--c2);
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
user-select: none;
}
.menu-toggle svg {
transition: transform 0.3s ease, fill 0.3s ease;
fill: var(--c5);
}
.menu-toggle:hover {
background: var(--c2);
border-color: var(--c3);
transform: scale(1.05);
}
.menu-toggle:hover svg {
fill: #fff;
transform: rotate(90deg);
}
.menu-toggle:active {
background: var(--c0);
transform: scale(0.95);
box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}
.menu-toggle svg path { fill: inherit; }

/* --- Search Wrapper (Header) --- */
.search-wrapper {
width: 33%;
height: 36px;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 0 14px;
box-sizing: border-box;
border-radius: 20px;
background: var(--c2);
border: 1px solid var(--c2);
box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), rgba(0,0,0,0.16) 0 1px 4px;
transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.search-wrapper input {
background: transparent !important;
border: none !important;
box-shadow: none !important;
transform: none !important;
height: 100%;
width: 100%;
padding: 0;
text-align: left;
font-size: 14px;
color: #fff;
outline: none;
}
.search-wrapper input:hover,
.search-wrapper input:focus {
background: transparent !important;
border: none !important;
box-shadow: none !important;
transform: none !important;
}
.search-wrapper:hover { border-color: var(--c3); background: var(--c2); }
.search-wrapper:focus-within {
background: var(--c1);
border-color: var(--c5);
box-shadow: 0 0 0 4px rgba(255,146,115,0.2), inset 0 2px 4px rgba(0,0,0,0.1);
transform: translateY(-1px);
}
.search-wrapper .search-icon {
width: 16px;
height: 16px;
color: rgba(255,255,255,0.6);
flex-shrink: 0;
transition: color 0.3s ease;
}
.search-wrapper:focus-within .search-icon { color: #fff; }
.search-wrapper input::placeholder {
color: #fff;
text-align: center;
opacity: 0.6;
}
.header-bot{
display: flex;
flex-direction: row;
width: 100%;
height: 32px;
align-items: center;
justify-content: space-around;
background-color: var(--c2);
box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 16px;
}

/* ============================================================
8. FORM ELEMENTS (Input, Textarea, Select)
============================================================ */
input,
textarea,
select {
box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
width: 100%;
border-radius: 4px;
font-size: 14px;
background: var(--c2);
color: #fff;
border: 1px solid var(--c2);
transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
outline: none;
}
input { height: 32px; padding: 0; text-align: center; }
textarea {
min-height: 80px;
padding: 8px 12px;
box-sizing: border-box;
text-align: left;
resize: vertical;
font-family: inherit;
}
select {
height: 32px;
padding: 0 32px 0 12px;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 8px center;
background-size: 18px;
text-align: center;
cursor: pointer;
}
select option { background: var(--c1); color: #fff; }
input:hover,
textarea:hover,
select:hover { border-color: var(--c3); background: var(--c2); }
input:focus,
textarea:focus,
select:focus {
background: var(--c1);
border-color: var(--c5);
box-shadow: 0 0 0 4px rgba(255,146,115,0.2), inset 0 2px 4px rgba(0,0,0,0.1);
transform: translateY(-1px);
}
input::placeholder,
textarea::placeholder { color: #fff; opacity: 0.6; }

/* ============================================================
9. RESPONSIVE OVERRIDES
============================================================ */
@media (max-width: 1000px) {
.w-1\/4\@mobile { width: 25% !important; }
.w-1\/2\@mobile { width: 50% !important; }
.w-3\/4\@mobile { width: 75% !important; }
.w-full\@mobile { width: 100% !important; max-width: none !important;}
.flex-col\@mobile { flex-direction: column !important; }
.justify-start\@mobile {justify-content: flex-start;}
.gap-8\@mobile { gap: 8px !important; }
.hide-mobile { display: none !important; }
.movie-card { flex: 1 1 150px !important;}

.search-modal {
width: 90vw !important;
margin: 5% !important;
top: unset !important;
left: unset !important;
transform: unset !important;
}

.header-bot {
flex-direction: column;
background: var(--c1);
height: max-content;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
}
.header-bot.active { max-height: 1000px; }
.header-bot > a {
display: flex;
align-items: center;
height: 32px;
width: 100%;
justify-content: center;
}
.header-bot > a:hover { background: var(--c3); color: #fff; }
}

@media (min-width: 1000px) {
.hide-desktop { display: none !important; }
.ml-16\@desktop {margin-left: 16px !important;}
}
@media (max-width: 1000px) {
.hide-mobile { display: none !important; }
}

.delimited-gt {
display: flex;
align-items: center;
gap: 4px;
list-style: none;
}

.delimited-gt > *:not(:last-child)::after {
content: ">";
margin: 0 4px 0 8px;
font-weight: bolder;
color: rgba(255,255,255,1);
}

.delimited-cm > a:not(:last-child)::after {
content: ",";
margin-right: 2px;
font-weight: bolder;
}

.similar>.movie-card{
min-width: 180px;
}

.mirror{
cursor:pointer;
display: flex;
flex-direction: row;
gap: 8px;
height: 16px;
align-items: center;
justify-content: center;
min-width: 128px;
background-color: var(--c3);
height: 32px;
border-radius: 8px;
padding: 0px 8px;
transition: background 0.2s ease-out;
}

.mirror:hover{
background-color: var(--c5);
transition: background 0.2s ease-in;
}

.category-button{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
border: 2px;
border-width: 2px;
border-style: solid;
border-color: var(--c3);
height: 36px;
min-width: 180px;
gap: 8px;
background-color: var(--c3);
cursor: pointer;
transition: background-color 0.15s ease-out;
border-radius: 8px;
}

.category-button:hover{
transition: background-color 0.15s ease-in;
background-color: var(--c5);
}

.category-button>h2{
font-weight: lighter;
font-size:medium;
}

.person-label{
text-align: center;
max-height: 2lh;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;  
overflow: hidden;
}

.label-input>input, .label-input>textarea, .label-input>select{
max-width: 60%;
}

.search-result-row{
height: 90px;
width: 100%;
display: flex;
flex-shrink: 0;
align-items: center;
gap: 12px;
background-color: #0c0c0c;
border: 1px solid var(--c1);
border-radius: 6px;
cursor: pointer;
transition: background 0.2s;
box-sizing: border-box;
}

.search-result-row:hover {
background-color: var(--c1);
border-color: var(--c3);
}

.poster-container img {
height: 81px; 
width: 54px;
object-fit: cover;
border-radius: 3px;
}

.content-info {
display: flex;
flex-direction: column;
justify-content: center;
flex: 1;
overflow: hidden;
gap: 8px;
}

.title {
color: #ffffff;
font-size: 0.95rem;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.original-title {
color: #888;
font-size: 0.75rem;
margin: 0;
font-style: italic;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.meta-tags {
display: flex;
gap: 5px;
margin-top: 4px;
}

.badge {
background-color: var(--c3);
color: white;
font-size: 0.65rem;
font-weight: bold;
padding: 2px 6px;
border-radius: 3px;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}

.badge.rating {
background-color: transparent;
border: 1px solid var(--c5);
color: var(--c5);
}

.active-season{
background: var(--c4);
box-shadow: 0 0 5px var(--c5), rgba(0,0,0,0.20) 0 1px 4px;
transform: scale(1.04);
}

.active-season::before{
content: "●";
position: absolute;
align-self: center;
left: 10px;
margin-bottom: 2px;
color:#fff;
text-shadow: 0 0 8px var(--c5);
}

.episode-select:hover{
outline: 2px solid var(--c5);
outline-offset: 2px;
}

.page-header{
font-weight: 900;
background: linear-gradient(to right, var(--c3), var(--c4), var(--c5), #ffffff);
background-size: 300% 100%;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}