:root {
--primary: #e94560;
--primary-dark: #c73e54;
--bg-dark: #0f0f1a;
--bg-card: #1a1a2e;
--bg-hover: #252542;
--text: #ffffff;
--text-muted: #a0a0b0;
--border: #2a2a40;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
background: var(--bg-dark);
color: var(--text);
min-height: 100vh;
line-height: 1.5;
}
/* Container - 98% width */
.container {
width: 98%;
max-width: 100%;
margin: 0 auto;
padding: 15px 0;
}
/* Header */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
background: rgba(26, 26, 46, 0.4);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border-radius: 12px;
margin-bottom: 20px;
border: 1px solid var(--border);
flex-wrap: wrap;
gap: 15px;
position: relative;
z-index: 10000;
}
.logo {
font-size: 1.8rem;
font-weight: 800;
background: linear-gradient(135deg, var(--primary), #ff6b8a);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-decoration: none;
}
.logo .logo-cc {
font-size: 0.65rem;
font-weight: 600;
-webkit-text-fill-color: var(--text-muted);
margin-left: 2px;
vertical-align: super;
letter-spacing: 0.5px;
}
.logo .logo-time {
font-size: 1.8rem;
margin-left: 4px;
vertical-align: middle;
-webkit-text-fill-color: initial;
line-height: 1;
}
.nav-links {
display: flex;
gap: 25px;
}

/* Center nav when header has no search (e.g., result.html) */
.header-center {
display: flex;
justify-content: flex-start;
align-items: center;
position: relative;
z-index: 100;
}
.header-center .logo {
/* Logo stays on left, nav centered with absolute positioning */
}
.header-center .nav-links {
justify-content: center;
flex: 0 0 auto;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.header-center .header-search {
display: none !important;
}
.nav-links a {
color: var(--text-muted);
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: color 0.3s;
position: relative;
}
.nav-links a:hover,
.nav-links a.active {
color: var(--primary);
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--primary);
transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
width: 100%;
}
/* Dropdown Menu */
.dropdown {
position: relative;
}
.dropdown-toggle {
cursor: pointer;
user-select: none;
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 8px;
min-width: 150px;
display: none;
z-index: 9999;
margin-top: 0;
padding-top: 10px;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, visibility 0.2s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
opacity: 1;
visibility: visible;
}
/* Invisible bridge to cover the gap */
.dropdown-menu::before {
content: '';
position: absolute;
top: -10px;
left: 0;
right: 0;
height: 10px;
}
.dropdown-menu a {
display: block;
padding: 10px 15px;
color: var(--text);
text-decoration: none;
font-size: 0.85rem;
transition: background 0.2s;
white-space: nowrap;
}
.dropdown-menu a:hover {
background: var(--bg-hover);
color: var(--primary);
}
.dropdown-menu a:first-child {
border-radius: 8px 8px 0 0;
}
.dropdown-menu a:last-child {
border-radius: 0 0 8px 8px;
}
/* Multi-column dropdown for desktop (Genre/Country with many items) */
.dropdown-menu.multi-col {
min-width: 200px;
max-height: 600px;
overflow-y: auto;
}
.dropdown-menu.multi-col::-webkit-scrollbar {
width: 6px;
}
.dropdown-menu.multi-col::-webkit-scrollbar-track {
background: rgba(0,0,0,0.1);
border-radius: 3px;
}
.dropdown-menu.multi-col::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 3px;
}
@media (min-width: 992px) {
.dropdown:hover .dropdown-menu.multi-col,
.dropdown-menu.multi-col:hover {
display: grid;
grid-template-columns: repeat(2, 1fr);
min-width: 320px;
max-width: 400px;
opacity: 1;
visibility: visible;
}
.dropdown-menu.multi-col a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.dropdown-menu.multi-col .view-all {
grid-column: 1 / -1;
text-align: center;
background: var(--bg-hover);
font-weight: 600;
border-top: 1px solid var(--border);
}
}
@media (min-width: 1200px) {
.dropdown:hover .dropdown-menu.multi-col,
.dropdown-menu.multi-col:hover {
grid-template-columns: repeat(3, 1fr);
min-width: 450px;
max-width: 500px;
}
}
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
display: block;
}
.dropdown:hover .dropdown-toggle {
color: var(--primary);
}
.search-box {
display: flex;
align-items: center;
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 25px;
padding: 8px 20px;
min-width: 250px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.search-box input {
background: none;
border: none;
color: var(--text);
outline: none;
width: 100%;
font-size: 0.9rem;
}
.search-box input::placeholder {
color: var(--text-muted);
}
.search-box button {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 1.1rem;
}
/* Header Search Box - Full Width Inline */
.header-search {
display: flex;
align-items: center;
flex: 1;
max-width: 800px;
margin-left: 20px;
margin-right: 20px;
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 12px;
padding: 4px;
gap: 4px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
transition: border-color 0.3s ease;
}

.header-search:focus-within {
border-color: var(--primary);
}

.search-input-wrapper {
display: flex;
align-items: center;
flex: 1;
padding: 0 12px;
gap: 10px;
}

.search-icon {
font-size: 1.2rem;
opacity: 0.7;
pointer-events: none;
}

.header-search input {
background: none;
border: none;
color: var(--text);
outline: none;
width: 100%;
font-size: 1rem;
padding: 10px 0;
}

.header-search input::placeholder {
color: var(--text-muted);
}

.search-clear {
background: rgba(255,255,255,0.1);
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 0.8rem;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
}

.search-clear:hover {
background: rgba(233, 69, 96, 0.3);
color: var(--primary);
}

.search-submit {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border: none;
color: white;
cursor: pointer;
font-size: 0.95rem;
font-weight: 600;
padding: 12px 24px;
border-radius: 8px;
transition: all 0.3s;
white-space: nowrap;
}

.search-submit:hover {
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

/* Fix browser autocomplete dark theme */
.search-box input:-webkit-autofill,
.search-box input:-webkit-autofill:hover,
.search-box input:-webkit-autofill:focus,
.search-box input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px var(--bg-dark) inset !important;
-webkit-text-fill-color: var(--text) !important;
transition: background-color 5000s ease-in-out 0s;
}

.header-search input:-webkit-autofill,
.header-search input:-webkit-autofill:hover,
.header-search input:-webkit-autofill:focus,
.header-search input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px var(--bg-dark) inset !important;
-webkit-text-fill-color: var(--text) !important;
transition: background-color 5000s ease-in-out 0s;
}

/* Hero Section */
.hero {
background: rgba(26, 26, 46, 0.4);
border-radius: 16px;
padding: 40px;
margin-bottom: 30px;
border: 1px solid var(--border);
position: relative;
overflow: hidden;
}
.hero::before {
display: none;
}
.hero-backdrop {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 80vh;
background-size: cover;
background-position: center top;
filter: brightness(0.7);
z-index: -1;
pointer-events: none;
transition: opacity 5s ease;
mask-image: linear-gradient(to bottom, black 40%, transparent);
-webkit-mask-image: linear-gradient(to bottom, black 40%, transparent);
}
.hero::after {
display: none;
}
.hero-content {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: end;
}
.hero-main {
max-width: 600px;
}
/* Cinematic Hero */
.hero-cinematic {
padding: 0;
min-height: 70vh;
display: flex;
align-items: flex-end;
border: none;
background: linear-gradient(to top right, rgba(15,15,26,0.95) 0%, rgba(15,15,26,0.7) 35%, rgba(15,15,26,0.1) 65%, transparent 100%);
}
.hero-video-backdrop {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 90vh;
overflow: hidden;
z-index: -1;
pointer-events: none;
opacity: 0;
transition: opacity 5s ease;
mask-image: linear-gradient(to bottom, black 40%, transparent);
-webkit-mask-image: linear-gradient(to bottom, black 40%, transparent);
}
.hero-video-backdrop.active {
opacity: 1;
}
.hero-video-backdrop iframe {
position: absolute;
top: 50%;
left: 50%;
width: 120%;
height: 120%;
transform: translate(-50%, -50%);
border: none;
}
.hero-content-cinematic {
position: relative;
z-index: 1;
padding: 40px;
max-width: 600px;
text-align: center;
}
.hero-logo {
max-width: 450px;
max-height: 140px;
width: auto;
height: auto;
margin-bottom: 15px;
filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
transition: transform 0.3s;
}
.hero-content-cinematic p {
font-size: 0.9rem;
color: rgba(255,255,255,0.8);
margin-bottom: 15px;
line-height: 1.6;
text-shadow: 0 1px 4px rgba(0,0,0,0.5);
text-align: left;
}
.hero-content-cinematic h1 {
text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-logo-link {
display: inline-block;
margin-bottom: 15px;
text-align: center;
}
.hero-logo-link:hover .hero-logo {
transform: scale(1.03);
}
.hero-badges {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
justify-content: center;
}
.hero-badge {
background: rgba(255,255,255,0.12);
backdrop-filter: blur(4px);
color: rgba(255,255,255,0.9);
padding: 4px 12px;
border-radius: 6px;
font-size: 0.78rem;
font-weight: 500;
}
.hero-badge.rating {
background: rgba(255,193,7,0.2);
color: #ffd54f;
}
.hero-badge.quality {
background: rgba(233,69,96,0.3);
color: #ff8a9e;
}
.hero-badge.mood {
background: rgba(233,69,96,0.15);
color: rgba(255,255,255,0.85);
border: 1px solid rgba(233,69,96,0.25);
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}
.hero-trailer {
position: relative;
background: rgba(15, 15, 26, 0.2);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border-radius: 12px;
overflow: hidden;
aspect-ratio: 16/9;
border: 1px solid var(--border);
}
.hero-trailer iframe {
width: 100%;
height: 100%;
border: none;
}
.hero-trailer-info {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
padding: 20px 15px 15px;
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.hero-trailer-title {
font-size: 1rem;
font-weight: 600;
color: var(--text);
text-decoration: none;
max-width: 70%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hero-trailer-title:hover {
color: var(--primary);
}
.hero-trailer-btn {
background: var(--primary);
color: white;
padding: 8px 16px;
border-radius: 6px;
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
transition: background 0.3s;
white-space: nowrap;
flex-shrink: 0;
}
.hero-trailer-btn:hover {
background: var(--primary-dark);
}
/* Lazy Load YouTube Trailer */
.trailer-lazy-container {
position: relative;
width: 100%;
height: 100%;
cursor: pointer;
overflow: hidden;
border-radius: 12px;
}
.trailer-thumbnail {
display: none;
}
.trailer-lazy-container:hover .trailer-thumbnail {
transform: scale(1.05);
}
.trailer-play-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.3);
transition: background 0.3s ease;
}
.trailer-lazy-container:hover .trailer-play-overlay {
background: rgba(0, 0, 0, 0.5);
}
.trailer-play-btn {
background: none;
border: none;
cursor: pointer;
transition: transform 0.2s ease;
padding: 0;
}
.trailer-play-btn:hover {
transform: scale(1.1);
}
.trailer-play-btn svg {
display: block;
}
.trailer-loading {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: var(--text-muted);
font-size: 0.9rem;
}
@media (max-width: 900px) {
.hero-content {
grid-template-columns: 1fr;
}
.hero-trailer {
aspect-ratio: 16/9;
max-width: 100%;
}
}
.hero-stat-label-short {
display: none;
}
@media (max-width: 768px) {
.hero-cinematic {
min-height: 40vh;
border-radius: 0;
margin: 0 0 15px;
width: 100%;
background: transparent;
border: none;
}
.hero-content-cinematic {
padding: 20px;
max-width: 100%;
background: linear-gradient(to top right, rgba(15,15,26,0.95) 0%, rgba(15,15,26,0.7) 35%, transparent 70%);
border-radius: 0;
}
.hero-logo {
max-width: 250px;
max-height: 80px;
}
.hero-backdrop {
border-radius: 0;
transition: none;
left: 0; right: 0;
width: 100%;
}
.hero-video-backdrop {
display: none;
}
.hero-stat-label-full {
display: none;
}
.hero-stat-label-short {
display: inline;
}
.server-bar-wrap {
overflow: visible;
}
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 15px;
line-height: 1.2;
}
.hero p {
color: var(--text-muted);
font-size: 1.1rem;
margin-bottom: 25px;
}
.hero-stats {
display: flex;
gap: 30px;
margin-bottom: 25px;
}
.stat-item {
text-align: center;
}
.stat-item .number {
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
}
.stat-item .label {
font-size: 0.85rem;
color: var(--text-muted);
}
a.hero-btn {
text-decoration: none;
}
.hero-btn {
display: inline-flex;
align-items: center;
gap: 10px;
position: relative;
color: white;
padding: 14px 30px;
border-radius: 50px;
border: none;
font-family: inherit;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s;
background: linear-gradient(135deg, #e94560, #ff6b6b, #feca57, #48dbfb, #a55eea, #e94560) border-box;
background-size: 300% 300%;
animation: rainbowShift 4s ease infinite;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
white-space: nowrap;
}
.hero-btn::before {
content: '';
position: absolute;
inset: 2px;
border-radius: 50px;
background: rgba(15,15,26,0.7);
z-index: -1;
}
@keyframes rainbowShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.hero-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3), 0 0 20px rgba(72, 219, 251, 0.2);
}
.hero-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.hero-stat {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 28px;
border-radius: 50px;
border: 1px solid rgba(255,255,255,0.2);
background: rgba(255,255,255,0.08);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: white;
font-family: inherit;
font-size: 1rem;
font-weight: 600;
cursor: default;
white-space: nowrap;
}
.hero-stat .hero-stat-count {
color: var(--primary);
font-weight: 700;
}
.hero-actions {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: nowrap;
justify-content: center;
}
/* Section Styles */
.section {
margin-bottom: 35px;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 2px solid var(--border);
}
.section-title {
display: flex;
align-items: center;
gap: 12px;
font-size: 1.3rem;
font-weight: 700;
}
.section-title .icon {
font-size: 1.5rem;
}
/* Top Film Tabs */
.top-tabs { display: flex; gap: 4px; }
.top-tab { padding: 6px 16px; border: 1px solid var(--border); border-radius: 20px; background: transparent; color: var(--text-muted); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.25s; }
.top-tab:hover { color: var(--text); border-color: var(--text-muted); }
.top-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.top-panel { display: none !important; }
.top-panel.active { display: flex !important; }
@media (max-width: 575px) { .top-tab { padding: 5px 12px; font-size: 0.75rem; } }
/* Horizontal Scroll Movie Grid */
.movie-grid {
display: flex;
gap: 15px;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 10px;
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: var(--primary) var(--bg-card);
}
.movie-grid::-webkit-scrollbar {
height: 8px;
}
.movie-grid::-webkit-scrollbar-track {
background: var(--bg-card);
border-radius: 4px;
}
.movie-grid::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 4px;
}
/* Large Movie Grid for Daftar Lengkap - also horizontal */
.movie-grid-large {
display: flex;
gap: 20px;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 10px;
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: var(--primary) var(--bg-card);
}
.movie-grid-large::-webkit-scrollbar {
height: 8px;
}
.movie-grid-large::-webkit-scrollbar-track {
background: var(--bg-card);
border-radius: 4px;
}
.movie-grid-large::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 4px;
}
/* Standard Movie Card - Fixed width for horizontal scroll */
.movie-card {
flex: 0 0 auto;
width: 160px;
background: var(--bg-card);
border-radius: 10px;
overflow: hidden;
transition: all 0.3s;
text-decoration: none;
color: var(--text);
border: 1px solid var(--border);
}
.movie-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 35px rgba(233, 69, 96, 0.2);
border-color: var(--primary);
}
.movie-poster {
position: relative;
aspect-ratio: 2/3;
overflow: hidden;
}
.movie-poster img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.movie-card:hover .movie-poster img {
transform: scale(1.05);
}
/* Poster wrapper - relative positioning for badges */
.poster-wrapper {
position: relative;
aspect-ratio: 2/3;
overflow: hidden;
border-radius: 8px;
}
.poster-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Flag Badge - Country flag + code - Always visible */
.poster-wrapper .flag-badge {
position: absolute;
top: 8px;
left: 8px;
font-size: 0.8rem;
font-weight: 700;
color: #fff !important;
z-index: 10;
background: rgba(0,0,0,0.85);
padding: 5px 8px;
border-radius: 4px;
line-height: 1;
box-shadow: 0 2px 6px rgba(0,0,0,0.5);
display: flex;
align-items: center;
gap: 5px;
letter-spacing: 0.5px;
backdrop-filter: blur(4px);
}
/* Rating Badge - Star rating - Always visible */
.poster-wrapper .rating-badge {
position: absolute;
top: 8px;
right: 8px;
background: rgba(0,0,0,0.7);
color: #ffd700;
font-size: 0.75rem;
font-weight: 700;
padding: 4px 8px;
border-radius: 4px;
z-index: 10;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
display: flex;
align-items: center;
gap: 4px;
}
/* Year Badge - Bottom right - Always visible */
.poster-wrapper .year-badge {
position: absolute;
bottom: 8px;
right: 8px;
background: rgba(0, 0, 0, 0.75);
color: white;
font-size: 0.7rem;
font-weight: 600;
padding: 3px 6px;
border-radius: 4px;
z-index: 10;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
/* Duration Badge - Bottom left - Always visible */
.poster-wrapper .duration-badge {
position: absolute;
bottom: 8px;
left: 8px;
background: rgba(0, 0, 0, 0.75);
color: white;
font-size: 0.7rem;
font-weight: 600;
padding: 3px 6px;
border-radius: 4px;
z-index: 10;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.movie-badges {
position: absolute;
top: 8px;
left: 8px;
right: 8px;
display: flex;
justify-content: space-between;
z-index: 2;
}
.badge-left:empty {
display: none;
}
.badge {
font-size: 0.7rem;
padding: 4px 8px;
border-radius: 4px;
font-weight: 700;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.badge-rating {
background: linear-gradient(135deg, #ffd700, #ffaa00);
color: #000;
font-weight: 700;
text-shadow: 0 1px 0 rgba(255,255,255,0.3);
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.badge-quality {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
font-weight: 600;
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.movie-info {
padding: 12px;
}
.movie-title {
font-size: 0.95rem;
font-weight: 600;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #ffffff !important;
}
.movie-card a {
text-decoration: none;
}
.movie-card a:hover .movie-title {
color: var(--primary) !important;
}
.movie-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.75rem;
color: var(--text-muted);
}
/* Large Movie Card for Daftar Lengkap - Wider for horizontal scroll */
.movie-grid-large .movie-card {
width: 200px;
}
.movie-grid-large .movie-card .movie-info {
padding: 15px;
}
.movie-grid-large .movie-card .movie-title {
font-size: 1rem;
margin-bottom: 6px;
}
.movie-grid-large .movie-card .movie-meta {
font-size: 0.8rem;
margin-bottom: 8px;
}
.movie-genre {
font-size: 0.75rem;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* ============================================
FULL GRID LAYOUT - No Horizontal Scroll
For "Daftar Lengkap Film Terbaru" & Search Results
============================================ */
.movie-grid-full {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 20px;
padding: 0;
}
.movie-grid-full .movie-card {
width: 100%;
flex: none;
}
.movie-grid-full .movie-card .poster-wrapper {
aspect-ratio: 2/3;
}
/* Responsive columns */
@media (min-width: 1400px) {
.movie-grid-full {
grid-template-columns: repeat(8, 1fr);
}
}
@media (min-width: 1200px) and (max-width: 1399px) {
.movie-grid-full {
grid-template-columns: repeat(7, 1fr);
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.movie-grid-full {
grid-template-columns: repeat(6, 1fr);
}
}
@media (min-width: 768px) and (max-width: 991px) {
.movie-grid-full {
grid-template-columns: repeat(5, 1fr);
}
}
@media (min-width: 576px) and (max-width: 767px) {
.movie-grid-full {
grid-template-columns: repeat(4, 1fr);
gap: 15px;
}
}
@media (max-width: 575px) {
.movie-grid-full {
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.movie-grid-full .movie-card .movie-title {
font-size: 0.85rem;
}
.movie-grid-full .movie-card .movie-meta,
.movie-grid-full .movie-card .movie-genre {
font-size: 0.7rem;
}
}

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 30px 0 10px; flex-wrap: wrap; }
.pagination .page-num, .pagination .page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; background: var(--card-bg); color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.06); }
.pagination .page-num:hover, .pagination .page-btn:hover { background: rgba(233,69,96,0.15); color: var(--primary); border-color: rgba(233,69,96,0.3); }
.pagination .page-num.active { background: var(--primary); color: #fff; font-weight: 600; border-color: var(--primary); pointer-events: none; }
.pagination .page-btn { padding: 0 14px; font-weight: 500; }
.pagination .page-dots { color: var(--text-muted); opacity: 0.4; padding: 0 4px; }
@media (max-width: 575px) { .pagination { gap: 4px; } .pagination .page-num, .pagination .page-btn { min-width: 34px; height: 34px; font-size: 0.8rem; padding: 0 8px; } }

/* Results Bar (count + sort) */
.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.sort-options { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sort-label { color: var(--text-muted); font-size: 0.8rem; }
.sort-btn { padding: 4px 12px; border-radius: 6px; font-size: 0.78rem; color: var(--text-muted); text-decoration: none; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); transition: all 0.2s; }
.sort-btn:hover { color: var(--primary); background: rgba(233,69,96,0.1); border-color: rgba(233,69,96,0.3); }
.sort-btn.active { color: #fff; background: var(--primary); border-color: var(--primary); font-weight: 500; }
@media (max-width: 575px) { .results-bar { flex-direction: column; align-items: flex-start; } .sort-options { width: 100%; overflow-x: auto; flex-wrap: nowrap; } }

/* Browse Directory */
.browse-directory { padding: 20px 0; }
.browse-section { margin-bottom: 30px; }
.browse-section h2 { font-size: 1.1rem; color: var(--text); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.browse-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.browse-pill { padding: 6px 14px; border-radius: 8px; background: rgba(255,255,255,0.04); color: var(--text-muted); text-decoration: none; font-size: 0.82rem; border: 1px solid rgba(255,255,255,0.08); transition: all 0.2s; }
.browse-pill:hover { color: var(--primary); background: rgba(233,69,96,0.1); border-color: rgba(233,69,96,0.3); }
@media (max-width: 575px) { .browse-pill { font-size: 0.78rem; padding: 5px 10px; } }

/* Searchable Dropdown */
.searchable-dropdown { position: relative; }
.sd-trigger { cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.sd-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; min-width: 220px; background: #1a1d2e; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.6); z-index: 100; margin-top: 4px; max-height: 320px; overflow: hidden; flex-direction: column; }
.searchable-dropdown.open .sd-panel { display: flex; }
.sd-search { padding: 10px 12px; border: none; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); font-size: 0.85rem; outline: none; width: 100%; box-sizing: border-box; }
.sd-search::placeholder { color: var(--text-muted); }
.sd-list { overflow-y: auto; max-height: 260px; padding: 4px 0; }
.sd-option { padding: 8px 12px; cursor: pointer; font-size: 0.85rem; color: var(--text); transition: background 0.15s; }
.sd-option:hover { background: rgba(233,69,96,0.1); }
.sd-option.active { background: rgba(233,69,96,0.15); color: var(--primary); font-weight: 500; }
.sd-option.hidden { display: none; }
.sd-divider { padding: 6px 12px; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.6; }
@media (max-width: 575px) { .sd-panel { position: fixed; top: auto; bottom: 0; left: 0; right: 0; min-width: 100%; max-height: 60vh; border-radius: 16px 16px 0 0; } }

/* Category Pills */
/* Categories Container */
.categories-container {
margin-bottom: 25px;
position: relative;
}

/* Desktop: Primary Categories + More Dropdown */
.categories-primary {
display: flex;
gap: 10px;
flex-wrap: wrap;
align-items: center;
width: 100%;
}

.category-more-btn {
display: flex;
align-items: center;
gap: 4px;
padding: 10px 16px;
background: var(--bg-hover);
border: 1px solid var(--border);
border-radius: 25px;
color: var(--text);
font-size: 0.85rem;
cursor: pointer;
transition: all 0.3s;
}

.category-more-btn:hover {
background: var(--primary);
border-color: var(--primary);
color: white;
}

.category-more-btn span:first-child {
font-size: 1.2rem;
}

/* More Categories Dropdown */
.categories-more {
display: none;
position: absolute;
top: calc(100% + 10px);
left: 0;
right: 0;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 20px;
z-index: 100;
box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.categories-more.active {
display: block;
animation: fadeInDown 0.3s ease;
}

.categories-more-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 10px;
}

.categories-more-grid .category-pill.view-all {
grid-column: 1 / -1;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-color: var(--primary);
color: white;
text-align: center;
font-weight: 600;
}

.category-pill {
padding: 10px 20px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 25px;
color: var(--text-muted);
text-decoration: none;
font-size: 0.85rem;
transition: all 0.3s;
white-space: nowrap;
flex-shrink: 0;
text-align: center;
}

.category-pill:hover,
.category-pill.active {
background: var(--primary);
border-color: var(--primary);
color: white;
}

/* Mobile: Horizontal Scroll (show all) */
.categories-mobile {
display: none;
gap: 10px;
overflow-x: auto;
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
padding-bottom: 5px;
-webkit-overflow-scrolling: touch;
flex-wrap: nowrap;
}

.categories-mobile::-webkit-scrollbar {
display: none;
}

.categories-mobile .category-pill {
flex-shrink: 0;
}

/* Desktop (1200px+): Show all categories inline */
.categories-desktop {
.categories-desktop::-webkit-scrollbar{display:none}
display: none;
gap: 10px;
flex-wrap: wrap;
align-items: center;
width: 100%;
}

/* Tablet (769px - 1199px): Primary + More dropdown */
@media (min-width: 769px) and (max-width: 1199px) {
.categories-desktop {
.categories-desktop::-webkit-scrollbar{display:none}
display: none !important;
}
.categories-primary {
display: flex !important;
}
.categories-mobile {
display: none !important;
}
}

/* Desktop (1200px+): Show all inline, hide primary/more/mobile */
@media (min-width: 1200px) {
.categories-desktop {
.categories-desktop::-webkit-scrollbar{display:none}
display: flex !important;
}
.categories-primary,
.categories-more,
.categories-mobile {
display: none !important;
}
}

/* Mobile (< 769px): Horizontal scroll */
@media (max-width: 768px) {
.categories-desktop,
.categories-primary,
.categories-more {
display: none !important;
}
.categories-mobile {
display: flex !important;
}
}

@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Responsive */
@media (max-width: 768px) {
.categories-primary,
.categories-more {
display: none !important;
}

.categories-mobile {
display: flex !important;
}

.category-pill {
padding: 8px 14px;
font-size: 0.8rem;
}
}
/* Loading */
/* Loading Overlay - Full Screen Centered */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(15, 15, 26, 0.85);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
.loading-box {
position: absolute;
top: 50%;
left: 50%;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 24px;
padding: 50px 60px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(233, 69, 96, 0.1);
max-width: 95%;
min-width: 380px;
width: auto;
/* Combined transform for centering + animation initial state */
transform: translate(-50%, -50%) scale(0.9);
opacity: 0;
animation: loadingBoxIn 0.3s ease-out forwards;
}
@keyframes loadingBoxIn {
from {
opacity: 0;
transform: translate(-50%, -50%) scale(0.9);
}
to {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
}
.loading-spinner {
font-size: 4rem;
animation: bounce 1s infinite ease-in-out;
filter: drop-shadow(0 4px 12px rgba(233, 69, 96, 0.4));
}
.loading-text {
font-size: 1.2rem;
color: var(--text);
max-width: 600px;
line-height: 1.5;
transition: opacity 0.3s ease;
min-height: 1.8rem;
text-align: center;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 20px;
}
@keyframes bounce {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-20px) scale(1.1); }
}
/* Mobile Responsive Loading */
@media (max-width: 768px) {
.loading-box {
padding: 45px 40px;
border-radius: 20px;
min-width: 300px;
max-width: 90%;
/* Maintain centering transform */
transform: translate(-50%, -50%) scale(1);
}
.loading-spinner {
font-size: 3.5rem;
}
.loading-text {
font-size: 1.1rem;
max-width: 100%;
min-height: 1.6rem;
white-space: normal;
padding: 0 10px;
}
}
@media (max-width: 480px) {
.loading-box {
padding: 35px 20px;
border-radius: 16px;
gap: 15px;
min-width: 260px;
max-width: 92%;
/* Maintain centering transform */
transform: translate(-50%, -50%) scale(1);
}
.loading-spinner {
font-size: 3rem;
}
.loading-text {
font-size: 0.9rem;
line-height: 1.5;
max-width: 100%;
white-space: normal;
padding: 0 5px;
}
}
/* Empty & Error States */
.empty, .error {
text-align: center;
padding: 40px;
color: var(--text-muted);
grid-column: 1 / -1;
}
.error {
color: var(--primary);
}
/* Footer */
.footer {
background: var(--bg-card);
border-radius: 16px;
padding: 40px;
border: 1px solid var(--border);
margin-top: 40px;
}
.footer-grid {
display: grid;
grid-template-columns: 1.5fr repeat(3, 1fr);
gap: 40px;
margin-bottom: 30px;
}
@media (max-width: 992px) {
.footer-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.footer-grid {
grid-template-columns: 1fr;
gap: 30px;
}
}
/* Brand Column */
.footer-brand {
display: flex;
flex-direction: column;
gap: 15px;
}
.footer-brand .logo {
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
text-decoration: none;
}
.footer-brand p {
color: var(--text-muted);
font-size: 0.9rem;
line-height: 1.6;
max-width: 280px;
}
.footer-social {
display: flex;
gap: 12px;
margin-top: 5px;
}
.footer-social a {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--bg-hover);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
transition: all 0.3s ease;
text-decoration: none;
}
.footer-social a:hover {
background: var(--primary);
transform: translateY(-2px);
}
/* Menu Columns */
.footer-col h4 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 18px;
color: var(--text);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.footer-col ul {
list-style: none;
}
.footer-col li {
margin-bottom: 10px;
}
.footer-col a {
color: var(--text-muted);
text-decoration: none;
font-size: 0.9rem;
transition: all 0.3s;
display: inline-block;
}
.footer-col a:hover {
color: var(--primary);
transform: translateX(3px);
}
/* Footer Bottom */
.footer-bottom {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
padding-top: 25px;
border-top: 1px solid var(--border);
color: var(--text-muted);
font-size: 0.85rem;
}
.footer-bottom-links {
display: flex;
gap: 25px;
flex-wrap: wrap;
justify-content: center;
}
.footer-bottom-links a {
color: var(--text-muted);
text-decoration: none;
transition: color 0.3s;
}
.footer-bottom-links a:hover {
color: var(--primary);
}
/* Responsive */
@media (max-width: 768px) {
.container {
width: 100%;
padding: 10px 8px;
}
.header {
flex-direction: row;
flex-wrap: nowrap;
gap: 25px;
padding: 10px 15px;
justify-content: space-between;
align-items: center;
}
.header .logo {
font-size: 1.2rem;
flex-shrink: 0;
}
.nav-links {
display: none;
}
.header .search-box {
flex: 1 1 0;
width: 0 !important;
min-width: 0 !important;
max-width: 65%;
margin-left: auto;
margin-right: 0;
}
.footer {
display: none;
}
.search-box {
width: 100%;
min-width: auto;
}

/* Header Search Mobile Fix */
.header-search {
width: 100%;
max-width: 100%;
margin-left: 0;
order: 3;
}

.header-search input {
font-size: 0.95rem;
padding: 8px 0;
}

.search-submit {
padding: 10px 18px;
font-size: 0.9rem;
}

.hero {
padding: 0;
border-radius: 0;
border: none;
width: 100%;
}
.hero h1 {
font-size: 1.8rem;
}
.hero-stats {
gap: 20px;
}
.movie-card {
width: 140px;
}
.movie-grid-large .movie-card {
width: 160px;
}
}
@media (max-width: 480px) {
.movie-card {
width: 120px;
}
.movie-grid-large .movie-card {
width: 140px;
}
.movie-title {
font-size: 0.8rem;
}
.section-title {
font-size: 1.1rem;
}
}
/* Ad Banner Styles - Full Width Responsive */
.ad-banner {
width: 100%;
max-width: 100%;
text-align: center;
margin: 20px 0;
}
.ad-banner a {
display: block;
width: 100%;
}
.ad-banner img {
width: 100%;
max-width: 100%;
height: auto;
border-radius: 8px;
display: block;
}
/* Ad Container (legacy) */
.ad-container {
width: 100%;
text-align: center;
margin: 20px 0;
}

/* ============================================
   MOVIE DETAIL PAGE
   ============================================ */
/* Prevent horizontal scroll */
* {
box-sizing: border-box;
}
html, body {
max-width: 100%;
overflow-x: hidden;
}
img, video, iframe {
max-width: 100%;
height: auto;
}
/* Main Content Grid */
.main-grid {
display: grid;
grid-template-columns: 280px 1fr 320px;
gap: 20px;
margin-bottom: 20px;
position: relative;
}
.main-grid::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
height: 60vh;
background: var(--movie-bg, none) center top/cover no-repeat;
filter: brightness(0.7);
z-index: -1;
pointer-events: none;
mask-image: linear-gradient(to bottom, black 40%, transparent);
-webkit-mask-image: linear-gradient(to bottom, black 40%, transparent);
}
/* Left Sidebar - Poster */
.poster-section {
background: var(--bg-card);
border-radius: 12px;
padding: 15px;
border: 1px solid var(--border);
height: fit-content;
}
.poster-section img {
width: 100%;
border-radius: 8px;
box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.quick-info {
margin-top: 15px;
display: flex;
flex-direction: column;
gap: 10px;
}
.quick-info-item {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
font-size: 0.85rem;
padding: 8px 0;
border-bottom: 1px solid var(--border);
}
.quick-info-item:last-child {
border-bottom: none;
}
.quick-info-item label {
color: var(--text-muted);
flex-shrink: 0;
}
.quick-info-item span {
color: var(--text);
font-weight: 500;
text-align: right;
}
.trailer-btn-container {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid var(--border);
}
.trailer-btn {
width: 100%;
padding: 14px 20px;
background: linear-gradient(135deg, #ff0000, #cc0000);
border: none;
border-radius: 10px;
color: white;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
text-decoration: none;
}
.trailer-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}
.trailer-btn span {
font-size: 1.2rem;
}
/* YouTube Lightbox */
.yt-lightbox-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.95);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.yt-lightbox-overlay.active {
opacity: 1;
visibility: visible;
}
.yt-lightbox-container {
position: relative;
width: 90%;
max-width: 900px;
transform: scale(0.8);
transition: transform 0.3s ease;
}
.yt-lightbox-overlay.active .yt-lightbox-container {
transform: scale(1);
}
.yt-lightbox-header {
background: linear-gradient(90deg, #ff0000, #cc0000);
padding: 15px 20px;
border-radius: 12px 12px 0 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.yt-lightbox-title {
color: white;
font-size: 1.1rem;
font-weight: 600;
margin: 0;
}
.yt-lightbox-close {
background: none;
border: none;
color: white;
font-size: 2rem;
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.2s;
}
.yt-lightbox-close:hover {
background: rgba(255, 255, 255, 0.2);
}
.yt-lightbox-video {
position: relative;
padding-bottom: 56.25%;
height: 0;
background: #000;
border-radius: 0 0 12px 12px;
overflow: hidden;
}
.yt-lightbox-video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
/* Center - Player & Info */
.center-section {
display: flex;
flex-direction: column;
gap: 15px;
min-width: 0;
}
/* Player Area - No iframe due to CORS */
.player-wrapper {
background: rgba(15, 15, 26, 0.6);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border-radius: 12px;
border: 1px solid var(--border);
position: relative;
aspect-ratio: 16/9;
overflow: hidden;
max-width: 100%;
}
.player-backdrop {
display: none;
}
.player-content {
position: relative;
z-index: 1;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
text-align: center;
}
/* Comments Toggle Button in Player */
.comments-toggle-btn {
position: absolute;
bottom: 20px;
right: 20px;
background: rgba(233, 69, 96, 0.9);
color: white;
border: none;
padding: 10px 20px;
border-radius: 25px;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s;
z-index: 10;
display: flex;
align-items: center;
gap: 8px;
}
.comments-toggle-btn:hover {
background: var(--primary);
transform: scale(1.05);
}
/* Comments Panel Inside Player */
.player-comments-panel {
position: absolute;
top: 0;
right: -100%;
width: 100%;
max-width: 400px;
height: 100%;
background: rgba(15, 15, 26, 0.98);
backdrop-filter: blur(10px);
border-left: 1px solid var(--border);
z-index: 20;
transition: right 0.3s ease;
display: flex;
flex-direction: column;
}
.player-comments-panel.active {
right: 0;
}
.player-comments-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
border-bottom: 1px solid var(--border);
background: var(--bg-card);
}
.player-comments-header h3 {
font-size: 1rem;
color: var(--text);
}
.close-comments-btn {
background: none;
border: none;
color: var(--text-muted);
font-size: 1.2rem;
cursor: pointer;
padding: 5px;
transition: color 0.3s;
}
.close-comments-btn:hover {
color: var(--primary);
}
.player-comments-content {
flex: 1;
overflow-y: auto;
padding: 15px;
max-height: calc(100% - 60px);
}
/* Custom Scrollbar for Comments */
.player-comments-content::-webkit-scrollbar {
width: 6px;
}
.player-comments-content::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.2);
border-radius: 3px;
}
.player-comments-content::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 3px;
}
.player-comments-content::-webkit-scrollbar-thumb:hover {
background: var(--primary-dark);
}
#comments-container-player {
height: 100%;
min-height: 200px;
}
/* Mobile Comments Section - Below Server Bar */
.mobile-comments {
display: none; /* Hidden on desktop */
background: var(--bg-card);
border-radius: 12px;
border: 1px solid var(--border);
margin-top: 15px;
overflow: hidden;
}
.mobile-comments-title {
background: var(--bg-hover);
padding: 15px 20px;
margin: 0;
font-size: 1rem;
color: var(--text);
border-bottom: 1px solid var(--border);
}
#comments-container-mobile {
min-height: 300px;
padding: 10px;
}
/* Mobile Responsive Comments Panel */
@media (max-width: 768px) {
.player-comments-panel {
display: none !important; /* Hide inline player comments on mobile */
}
.comments-toggle-btn {
display: none !important; /* Hide comments toggle button on mobile */
}
.mobile-comments {
display: block; /* Show mobile comments section */
}
}
.player-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 10px;
text-align: center;
max-width: 100%;
word-wrap: break-word;
overflow-wrap: break-word;
word-break: break-word;
hyphens: auto;
line-height: 1.3;
}
.player-server {
color: var(--text-muted);
font-size: 0.9rem;
margin-bottom: 25px;
text-align: center;
max-width: 100%;
}
.player-server span {
color: var(--primary);
font-weight: 600;
}
.watch-btn {
display: flex;
align-items: center;
gap: 10px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border: none;
color: white;
padding: 14px 32px;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
max-width: 100%;
white-space: nowrap;
}
.watch-btn:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 15px 40px rgba(233, 69, 96, 0.5);
}
.watch-btn .play-icon {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
}
.player-note {
margin-top: 20px;
font-size: 0.8rem;
color: var(--text-muted);
text-align: center;
}
.player-note a {
color: var(--primary);
text-decoration: none;
}
.player-note a:hover {
text-decoration: underline;
}
/* Desktop/Mobile Helpers */
.desktop-only { display: inline; }
.mobile-only { display: none; }
@media (max-width: 768px) {
.desktop-only { display: none !important; }
.mobile-only { display: block !important; }
/* Mobile: Full-width sections */
.server-bar-arrow {
border-radius: 0 !important;
}
.player-wrapper {
aspect-ratio: auto;
min-height: auto;
padding: 20px;
border: none;
}
.player-content {
position: relative;
padding: 0;
height: auto;
min-height: auto;
}
.player-backdrop {
display: none; /* Hide blurred backdrop on mobile */
}
#ad-inside-player {
/* Controlled by JS */
}
#ad-inside-player .ad-container {
width: 100%;
height: 100%;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
}
#ad-inside-player video, #ad-inside-player iframe {
max-width: 100% !important;
max-height: 100% !important;
}
.player-title {
font-size: 1.1rem;
margin-bottom: 8px;
}
.player-server {
font-size: 0.8rem;
margin-bottom: 15px;
}
.watch-btn {
padding: 12px 24px;
font-size: 0.95rem;
}
.watch-btn .play-icon {
width: 32px;
height: 32px;
}
.player-note {
margin-top: 10px;
font-size: 0.75rem;
}
.player-comments-panel {
position: relative;
right: 0 !important;
width: 100%;
height: 100%;
display: flex;
background: transparent;
border: none;
}
.player-comments-header {
background: var(--bg-card);
border-radius: 12px 12px 0 0;
}
.close-comments-btn {
display: none; /* Hide close button on mobile */
}
.player-backdrop {
display: none; /* Hide backdrop on mobile for comments */
}
}
/* Server Selection */
.server-bar-wrap {
position: relative;
overflow: hidden;
max-width: 100%;
width: 100%;
}
.server-bar {
display: flex;
gap: 10px;
padding: 15px;
background: var(--bg-card);
border-radius: 12px;
border: 1px solid var(--border);
overflow-x: auto;
flex-wrap: nowrap;
max-width: 100%;
scrollbar-width: none;
-ms-overflow-style: none;
position: relative;
}
.server-bar::-webkit-scrollbar {
display: none;
}
.server-bar-arrow {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 48px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(to right, transparent, var(--bg-card) 60%);
color: var(--text-muted);
font-size: 1.8rem;
pointer-events: none;
border-radius: 0 12px 12px 0;
z-index: 1;
animation: pulse-arrow 1.5s ease-in-out infinite;
}
@keyframes pulse-arrow {
0%, 100% { opacity: 0.5; transform: translateX(0); }
50% { opacity: 1; transform: translateX(4px); }
}
.server-bar-hint {
display: block;
margin-top: 6px;
padding-left: 10px;
font-size: 0.65rem;
color: var(--text-muted);
opacity: 0.5;
pointer-events: none;
}
.server-btn {
flex: 0 0 auto;
min-width: 140px;
padding: 14px 20px;
background: var(--bg-hover);
border: 2px solid var(--border);
border-radius: 10px;
color: var(--text);
cursor: pointer;
transition: all 0.3s;
font-size: 0.9rem;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
white-space: nowrap;
text-align: center;
}
.server-btn:hover {
border-color: var(--primary);
background: rgba(233, 69, 96, 0.1);
}
.server-btn.active {
background: var(--primary);
border-color: var(--primary);
box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}
.server-btn .badge {
font-size: 0.65rem;
background: rgba(255,255,255,0.2);
padding: 2px 6px;
border-radius: 4px;
}
.server-btn-embed {
border-style: dashed;
}
.server-btn-embed:hover {
border-style: solid;
}
.server-warning {
font-size: 0.78rem;
color: var(--text-muted);
padding: 8px 15px 0;
opacity: 0.7;
}
/* Movie Info */
.info-card {
background: var(--bg-card);
border-radius: 12px;
padding: 20px;
border: 1px solid var(--border);
}
.marquee-wrap {
flex: 1;
overflow: hidden;
min-width: 0;
}
@media (max-width: 768px) {
.marquee-wrap { display: none; }
}
.marquee-content {
display: inline-block;
white-space: nowrap;
animation: marquee-scroll 20s linear infinite;
font-size: 0.78rem;
color: var(--text-muted);
}
.marquee-content a {
color: var(--primary);
text-decoration: none;
}
.marquee-content a:hover {
text-decoration: underline;
}
.marquee-wrap:hover .marquee-content {
animation-play-state: paused;
}
@keyframes marquee-scroll {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
.info-card .movie-title {
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 5px;
word-wrap: break-word !important;
overflow-wrap: break-word !important;
word-break: break-word !important;
white-space: normal !important;
hyphens: auto;
max-width: 100%;
line-height: 1.3;
}
.info-card .movie-meta {
display: flex;
gap: 10px;
margin-bottom: 15px;
flex-wrap: wrap;
}
.meta-badge {
display: flex;
align-items: center;
gap: 5px;
font-size: 0.8rem;
padding: 5px 12px;
border-radius: 20px;
background: var(--bg-hover);
color: var(--text-muted);
}
.meta-badge.rating {
background: rgba(255, 215, 0, 0.15);
color: #ffd700;
}
.meta-badge.quality {
background: var(--primary);
color: white;
font-weight: 600;
}
.server-count-badge {
background: #fff !important;
color: #111 !important;
font-weight: 700;
font-size: 0.85rem;
padding: 4px 12px;
border-radius: 6px;
display: inline-block;
min-width: 30px;
text-align: center;
}
.synopsis {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.7;
margin-bottom: 20px;
word-wrap: break-word;
overflow-wrap: break-word;
max-width: 100%;
}
.cast-crew {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
}
.cast-crew-item {
display: flex;
flex-direction: column;
gap: 5px;
}
.cast-crew-item label {
font-size: 0.75rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.cast-crew-item span {
font-size: 0.9rem;
color: var(--text);
}
/* Download Section */
.download-section {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid var(--border);
}
.download-section-title {
font-size: 0.95rem;
font-weight: 600;
color: var(--text);
margin-bottom: 10px;
}
.download-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
.download-item {
background: var(--bg-card);
border-radius: 8px;
padding: 10px 12px;
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
transition: all 0.3s;
}
.download-item:hover {
border-color: var(--primary);
background: var(--bg-hover);
}
.download-provider-name {
font-size: 0.85rem;
color: var(--text);
font-weight: 500;
}
.download-btn {
padding: 5px 10px;
border-radius: 5px;
text-decoration: none;
font-size: 0.7rem;
font-weight: 600;
transition: all 0.3s;
white-space: nowrap;
}
.download-btn:hover {
transform: scale(1.05);
}
.btn-1080 {
background: linear-gradient(135deg, #4a90d9, #357abd);
color: white;
}
.btn-1080:hover {
background: linear-gradient(135deg, #357abd, #2a6299);
box-shadow: 0 2px 8px rgba(74, 144, 217, 0.4);
}
/* Right Sidebar - Related */
.sidebar-section {
display: flex;
flex-direction: column;
gap: 15px;
}
.sidebar-card {
background: var(--bg-card);
border-radius: 12px;
border: 1px solid var(--border);
overflow: hidden;
}
.sidebar-header {
padding: 15px;
background: var(--bg-hover);
border-bottom: 1px solid var(--border);
display: flex;
justify-content: space-between;
align-items: center;
}
.sidebar-header h3 {
font-size: 0.95rem;
font-weight: 600;
}
.sidebar-header .count {
font-size: 0.75rem;
color: var(--text-muted);
background: var(--bg-dark);
padding: 3px 8px;
border-radius: 10px;
}
.movie-list {
max-height: 380px;
overflow-y: auto;
}
.movie-list::-webkit-scrollbar {
width: 6px;
}
.movie-list::-webkit-scrollbar-track {
background: var(--bg-dark);
}
.movie-list::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 3px;
}
#popular-list {
max-height: 400px;
}
.movie-item {
display: flex;
gap: 12px;
padding: 12px 15px;
border-bottom: 1px solid var(--border);
text-decoration: none;
color: var(--text);
transition: background 0.3s;
}
.movie-item:last-child {
border-bottom: none;
}
.movie-item:hover {
background: var(--bg-hover);
}
.movie-item .rank {
width: 24px;
height: 24px;
background: var(--primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: 700;
flex-shrink: 0;
}
.movie-thumb {
width: 50px;
height: 70px;
border-radius: 6px;
object-fit: cover;
flex-shrink: 0;
}
.sidebar-section .movie-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 0;
}
.sidebar-section .movie-info .title {
font-size: 0.85rem;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 4px;
}
.sidebar-section .movie-info .year {
font-size: 0.75rem;
color: var(--text-muted);
}
/* Bottom Carousel */
.carousel-section {
background: var(--bg-card);
border-radius: 12px;
padding: 20px;
border: 1px solid var(--border);
margin-bottom: 20px;
}
.carousel-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.carousel-header h2 {
font-size: 1.1rem;
font-weight: 600;
}
.carousel-nav {
display: flex;
gap: 8px;
}
.carousel-btn {
width: 32px;
height: 32px;
background: var(--bg-hover);
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text);
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
}
.carousel-btn:hover {
background: var(--primary);
border-color: var(--primary);
}
.carousel-track {
display: flex;
gap: 15px;
overflow-x: auto;
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
padding: 5px 0;
}
.carousel-track::-webkit-scrollbar {
display: none;
}
.carousel-item {
flex: 0 0 auto;
width: 160px;
text-decoration: none;
color: var(--text);
transition: transform 0.3s;
}
.carousel-item:hover {
transform: translateY(-5px);
}
.carousel-item img {
width: 100%;
aspect-ratio: 2/3;
object-fit: cover;
border-radius: 8px;
margin-bottom: 8px;
}
.carousel-item .title {
font-size: 0.85rem;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.carousel-item .year {
display: none;  /* Hide old year text, now shown in badges */
}
/* Carousel item poster wrapper with badges */
.carousel-item .poster-wrapper {
position: relative;
aspect-ratio: 2/3;
border-radius: 8px;
overflow: hidden;
margin-bottom: 8px;
}
.carousel-item .poster-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Badges for carousel - smaller size */
.carousel-item .flag-badge {
position: absolute;
top: 6px;
left: 6px;
background: rgba(0,0,0,0.85);
color: #fff !important;
font-size: 0.65rem;
font-weight: 700;
padding: 3px 6px;
border-radius: 3px;
z-index: 10;
backdrop-filter: blur(4px);
display: flex;
align-items: center;
gap: 3px;
}
.carousel-item .rating-badge {
position: absolute;
top: 6px;
right: 6px;
background: rgba(0,0,0,0.7);
color: #ffd700;
font-size: 0.65rem;
font-weight: 700;
padding: 2px 5px;
border-radius: 3px;
z-index: 10;
display: flex;
align-items: center;
gap: 2px;
}
.carousel-item .year-badge {
position: absolute;
bottom: 6px;
right: 6px;
background: rgba(0, 0, 0, 0.75);
color: white;
font-size: 0.6rem;
font-weight: 600;
padding: 2px 5px;
border-radius: 3px;
z-index: 10;
}
.carousel-item .duration-badge {
position: absolute;
bottom: 6px;
left: 6px;
background: rgba(0, 0, 0, 0.75);
color: white;
font-size: 0.6rem;
font-weight: 600;
padding: 2px 5px;
border-radius: 3px;
z-index: 10;
}
/* Artalk Dark Mode Override */
.artalk {
--at-color-bg: var(--bg-dark);
--at-color-font: var(--text);
--at-color-border: var(--border);
--at-color-main: var(--primary);
width: 100% !important;
}
.atk-main-editor {
width: 100% !important;
box-sizing: border-box !important;
}
.atk-main-editor textarea {
width: 100% !important;
box-sizing: border-box !important;
min-width: 100% !important;
}
/* Custom Artalk Styling - Pink Theme */
.atk-main-editor {
background-color: #16181b !important;
color: #E83E8C !important;
}
.artalk, .atk-layer-wrap {
--at-color-bg: #212529 !important;
--at-color-font: #E83E8C !important;
}
/* Hide Artalk footer and links */
.atk-list-footer { display: none !important; }
.atk-link { display: none !important; }
/* Disable nick links */
.atk-nick a { pointer-events: none !important; }
/* Pink text colors */
.atk-content { color: #E83E8C !important; }
.atk-list-no-comment { color: #E83E8C !important; }
.atk-text { color: #E83E8C !important; }
/* Artalk List Scrollable */
.artalk .atk-list {
max-height: none !important;
overflow-y: visible !important;
}
/* Artalk Comment Item */
.artalk .atk-comment {
margin-bottom: 15px !important;
border-bottom: 1px solid rgba(255,255,255,0.1) !important;
padding-bottom: 15px !important;
}
.artalk .atk-comment:last-child {
border-bottom: none !important;
}
/* Fallback styling if Artalk CSS fails to load */
#comments-container-player:empty::before {
content: '💬 Komentar sedang dimuat...';
display: block;
text-align: center;
padding: 40px;
color: var(--text-muted);
}
/* Toast Notification */
.toast {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%) translateY(100px);
background: var(--bg-card);
border: 1px solid var(--primary);
color: var(--text);
padding: 15px 25px;
border-radius: 10px;
font-size: 0.9rem;
z-index: 2000;
opacity: 0;
transition: all 0.3s;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.toast.show {
transform: translateX(-50%) translateY(0);
opacity: 1;
}
/* Loading State */
.loading {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 50vh;
gap: 20px;
padding: 40px 20px;
}
.loading-emoji {
font-size: 4rem;
animation: bounce 1s infinite ease-in-out;
filter: drop-shadow(0 4px 8px rgba(233, 69, 96, 0.3));
}
.loading-quote {
font-size: 1.2rem;
color: var(--text-muted);
text-align: center;
max-width: 100%;
line-height: 1.6;
padding: 0 20px;
transition: opacity 0.3s ease;
min-height: 3.5rem;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* Mobile Responsive Loading */
@media (max-width: 768px) {
.loading {
min-height: 40vh;
padding: 30px 15px;
gap: 15px;
}
.loading-emoji {
font-size: 3rem;
}
.loading-quote {
font-size: 1rem;
max-width: 100%;
padding: 0 15px;
min-height: 3rem;
word-wrap: break-word;
overflow-wrap: break-word;
}
}
@media (max-width: 480px) {
.loading {
min-height: 35vh;
padding: 25px 10px;
}
.loading-emoji {
font-size: 2.5rem;
}
.loading-quote {
font-size: 0.95rem;
line-height: 1.5;
}
.server-btn {
flex: 1 1 100%;
min-width: 100%;
}
.watch-btn {
padding: 14px 30px;
font-size: 1rem;
width: 100%;
max-width: 300px;
justify-content: center;
}
}
/* Spinner (fallback) */
.spinner {
width: 50px;
height: 50px;
border: 3px solid var(--border);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Error State */
.error-message {
text-align: center;
padding: 60px 20px;
}
.error-message h2 {
color: var(--primary);
margin-bottom: 10px;
}
/* Movie Detail Responsive */
@media (max-width: 1200px) {
.main-grid {
grid-template-columns: 240px 1fr;
}
.sidebar-section {
display: none;
}
}
@media (max-width: 768px) {
.main-grid {
grid-template-columns: 1fr;
width: 100%;
}
.poster-section {
display: none;
}
.center-section {
gap: 0;
overflow: visible;
}
.main-grid {
gap: 0;
overflow: visible;
}
/* Full-width movie page on mobile */
.info-card, .sidebar-card, .carousel-section, .mobile-comments,
.player-wrapper, .server-bar-wrap, .server-bar, .breadcrumb {
border-radius: 0 !important;
border: none !important;
margin: 0 !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box;
}
.center-section, .main-grid {
padding: 0 !important;
margin: 0 -8px !important;
width: calc(100% + 16px) !important;
max-width: calc(100% + 16px) !important;
}
.info-card .movie-title {
font-size: 1.3rem;
word-wrap: break-word !important;
overflow-wrap: break-word !important;
word-break: break-word !important;
white-space: normal !important;
hyphens: auto;
max-width: 100%;
line-height: 1.3;
}
.server-bar {
gap: 8px;
padding: 12px;
}
.server-btn {
flex: 0 0 auto;
min-width: 120px;
font-size: 0.85rem;
padding: 12px 16px;
}
.watch-btn {
padding: 14px 32px;
font-size: 1rem;
gap: 10px;
}
.watch-btn .play-icon {
width: 36px;
height: 36px;
}
.download-grid {
grid-template-columns: 1fr;
}
.download-item {
padding: 8px 12px;
}
.carousel-item {
width: 120px;
}
/* Artalk Mobile - Full Width */
.player-comments-panel {
max-width: 100% !important;
}
.player-comments-content {
padding: 0 !important;
margin: 0 !important;
}
#comments-container-player {
width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}
.artalk {
width: 100% !important;
min-width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}
.artalk .atk-main-editor {
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
padding: 10px !important;
margin: 0 !important;
box-sizing: border-box !important;
}
.artalk .atk-main-editor textarea,
.artalk .atk-main-editor .atk-textarea {
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
padding: 10px !important;
}
.artalk .atk-input-wrap,
.artalk .atk-send-btn {
box-sizing: border-box !important;
}
.artalk .atk-list {
padding: 10px !important;
}
}

/* ============================================
   SEARCH/RESULT PAGE
   ============================================ */
.search-container { padding: 20px 0; }
.search-header { background: var(--bg-card); border-radius: 16px; padding: 30px; margin-bottom: 30px; border: 1px solid var(--border); }
.search-title { font-size: 1.5rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.search-title .query { color: var(--primary); }
.search-form { display: flex; gap: 15px; flex-wrap: wrap; align-items: end; }
.search-input-group { flex: 1; min-width: 250px; }
.search-input-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; }
.search-input { width: 100%; padding: 12px 20px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 1rem; }
.search-input:focus { outline: none; border-color: var(--primary); }
.filter-select { padding: 12px 15px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 0.9rem; min-width: 120px; }
.search-btn { padding: 12px 30px; background: var(--primary); color: white; border: none; border-radius: 10px; font-size: 1rem; cursor: pointer; transition: background 0.3s; }
.search-btn:hover { background: var(--primary-dark); }
.filter-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.filter-tag { background: var(--bg-hover); padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.filter-tag .remove { cursor: pointer; color: var(--primary); text-decoration: none; }
.results-count { color: var(--text-muted); margin-bottom: 20px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-results h3 { margin-bottom: 10px; color: var(--text); }
@media (max-width: 768px) {
    .search-form { flex-direction: column; } .search-form .searchable-dropdown { flex: 1; min-width: 0; }
    .search-input-group { min-width: 100%; }
    .filter-select { width: 100%; min-width: auto; } .search-form .sd-row { display: flex; gap: 8px; width: 100%; }
    .search-btn { width: 100%; }
}

/* ============================================
   STATIC PAGES (Tentang, Contact, DMCA)
   ============================================ */
.page-wrapper { width: 100%; min-height: calc(100vh - 200px); }
.page-hero { background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-hover) 100%); border-bottom: 1px solid var(--border); padding: 60px 40px; text-align: center; border-radius: 16px; margin-bottom: 30px; }
.page-hero h1 { color: var(--primary); font-size: 2.5rem; margin-bottom: 16px; font-weight: 700; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.page-content { padding: 20px 0; }
.page-content p { color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; font-size: 1.05rem; }
.page-content strong { color: var(--text); }
.page-content a { color: var(--primary); }
.page-content ul { color: var(--text-muted); line-height: 1.9; margin: 20px 0; padding-left: 28px; }
.page-content li { margin-bottom: 12px; }
@media (max-width: 768px) { .page-hero { padding: 40px 24px; } .page-hero h1 { font-size: 1.8rem; } }

/* Tentang Page */
.page-tentang .page-content { max-width: 1200px; margin: 0 auto; }
.page-tentang .page-content h2 { color: var(--text); margin: 48px 0 24px; font-size: 1.8rem; font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.page-tentang .page-content h2:first-child { margin-top: 0; }
.highlight-box { background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--primary); padding: 28px 32px; margin: 32px 0; border-radius: 0 12px 12px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 32px 0; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: transform 0.3s, border-color 0.3s; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { color: var(--text); margin: 0 0 12px 0; font-size: 1.2rem; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* Contact Page */
.page-contact .page-content { max-width: 800px; margin: 0 auto; }
.page-contact .page-content h2 { color: var(--text); margin: 32px 0 16px; font-size: 1.5rem; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 30px; margin-bottom: 20px; }
.contact-card h3 { color: var(--text); margin-bottom: 10px; }
.contact-card p { margin-bottom: 0; }

/* DMCA Page */
.page-dmca .page-content { max-width: 900px; margin: 0 auto; }
.page-dmca .page-content h2 { color: var(--text); margin: 32px 0 16px; font-size: 1.5rem; border-bottom: 2px solid var(--border); padding-bottom: 10px; }

/* ============================================
   404 ERROR PAGE
   ============================================ */
.error-page { text-align: center; padding: 80px 20px; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-code { font-size: 6rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 20px; }
.error-page .error-message { font-size: 1.5rem; color: var(--text); margin-bottom: 10px; }
.error-desc { color: var(--text-muted); margin-bottom: 30px; }
.error-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: white; padding: 14px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s; }
.error-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(233,69,96,0.4); }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 15px; font-size: 0.8rem; color: var(--text-muted); background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 10px 15px; border-radius: 8px; position: relative; z-index: 2; isolation: isolate; }
.breadcrumb a, .breadcrumb span.current { padding: 4px 10px; border-radius: 6px; transition: all 0.2s; }
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; background: rgba(255,255,255,0.08); }
.breadcrumb a:hover { color: var(--primary); background: rgba(233,69,96,0.1); }
.breadcrumb span.sep { color: rgba(255,255,255,0.4); font-size: 0.7rem; margin: 0 2px; }
.breadcrumb span.current { color: #fff; background: rgba(255,255,255,0.1); font-weight: 500; }
@media (max-width: 768px) { .breadcrumb { font-size: 0.75rem; padding: 8px 0; margin-bottom: 10px; } }

/* Recently searched - hide items 7+ on mobile */
@media (max-width: 768px) {
    .recent-searched-grid > .movie-card:nth-child(n+7) { display: none; }
}

/* FAQ + Guide Grid */
.faq-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
}
.faq-guide-grid > .info-card {
    align-self: start;
}
@media (max-width: 768px) {
    .faq-guide-grid {
        grid-template-columns: 1fr;
    }
}


.sd-row { display: flex; gap: 15px; flex: 1; min-width: 0; }
.sd-row .searchable-dropdown { flex: 1; min-width: 0; }
.sd-row .filter-select { width: 100%; }
@media (max-width: 768px) { .sd-row { gap: 8px; } .sd-row .filter-select { font-size: .8rem; padding: 10px 12px; } }
