: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: var(--bg-card);
border-radius: 12px;
margin-bottom: 20px;
border: 1px solid var(--border);
flex-wrap: wrap;
gap: 15px;
}
.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 span {
font-size: 0.7rem;
background: var(--primary);
-webkit-text-fill-color: white;
padding: 2px 8px;
border-radius: 4px;
margin-left: 8px;
vertical-align: middle;
}
.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: var(--bg-dark);
border: 1px solid var(--border);
border-radius: 25px;
padding: 8px 20px;
min-width: 250px;
}
.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: var(--bg-dark);
border: 2px solid var(--border);
border-radius: 12px;
padding: 4px;
gap: 4px;
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;
}

.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: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-hover) 100%);
border-radius: 16px;
padding: 40px;
margin-bottom: 30px;
border: 1px solid var(--border);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 100%;
background: url('https://static-jpg.lk21.party/wp-content/uploads/2026/03/film-war-machine-2026-lk21.jpg') center/cover;
opacity: 0.15;
mask-image: linear-gradient(to left, black, transparent);
-webkit-mask-image: linear-gradient(to left, black, transparent);
}
.hero-content {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: center;
}
.hero-main {
max-width: 600px;
}
.hero-trailer {
position: relative;
background: var(--bg-card);
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 {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.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 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;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
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;
}
.hero-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}
.hero-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
/* 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;
}
/* 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;
}
/* Quality Badge - HD label - Always visible */
.poster-wrapper .quality-badge {
position: absolute;
top: 8px;
left: 8px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
font-size: 0.7rem;
font-weight: 700;
padding: 4px 8px;
border-radius: 4px;
z-index: 10;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
/* Rating Badge - Star rating - Always visible */
.poster-wrapper .rating-badge {
position: absolute;
top: 8px;
right: 8px;
background: linear-gradient(135deg, #ffd700, #ffaa00);
color: #000;
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;
}
}
/* 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 {
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 {
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 {
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;
}
.header {
flex-direction: column;
gap: 15px;
}
.nav-links {
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
.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: 25px;
}
.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;
}
