/* ═══════════════════════════════════════════════════════════════
   eSinemalar — Main Stylesheet
   Theme: Cinematic Red & White
   ═══════════════════════════════════════════════════════════════ */

:root {
  --red-primary:   #C0392B;
  --red-dark:      #922B21;
  --red-light:     #E74C3C;
  --red-pale:      #FADBD8;
  --bg-dark:       #0D0D0D;
  --bg-card:       #181818;
  --bg-card-hover: #222222;
  --text-white:    #FFFFFF;
  --text-light:    #D0D0D0;
  --text-muted:    #888888;
  --border-dark:   #2A2A2A;
  --star-gold:     #F4C542;
  --green:         #27AE60;
  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'Barlow', sans-serif;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --shadow-card:   0 4px 20px rgba(0,0,0,0.5);
  --shadow-red:    0 4px 20px rgba(192,57,43,0.4);
  --transition:    0.2s ease;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-light); }
img { max-width: 100%; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); letter-spacing: 0.03em; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  color: var(--text-white);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 1.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--red-primary);
  border-radius: 2px;
}
.section-title.centered { text-align: center; }
.section-title.centered::after { left: 50%; transform: translateX(-50%); }

/* ── Topbar ── */
.topbar {
  background: #111;
  border-bottom: 1px solid var(--border-dark);
  padding: 6px 0;
  font-size: 0.78rem;
}
.topbar-link {
  color: var(--text-muted);
  transition: color var(--transition);
}
.topbar-link:hover { color: var(--red-light); }
.topbar-signup {
  background: var(--red-primary);
  color: #fff !important;
  padding: 3px 12px;
  border-radius: var(--radius-sm);
}
.topbar-admin { color: var(--star-gold) !important; }
.topbar-date { color: var(--text-muted); font-size: 0.75rem; }

/* ── Navbar ── */
.main-navbar {
  background: #111 !important;
  border-bottom: 2px solid var(--red-primary);
  padding: 10px 0;
  z-index: 1030;
}
.navbar-brand {
  font-size: 0;
  line-height: 1;
}
.logo-e {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red-primary);
  line-height: 1;
}
.logo-rest {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-white);
  line-height: 1;
}
.main-navbar .nav-link {
  color: var(--text-light) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.03em;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--text-white) !important;
  background: rgba(192, 57, 43, 0.15);
}
.main-navbar .dropdown-menu {
  background: #1a1a1a;
  border: 1px solid var(--border-dark);
  border-top: 2px solid var(--red-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 8px;
  columns: 2;
  min-width: 280px;
}
.main-navbar .dropdown-item {
  color: var(--text-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  padding: 6px 10px;
  break-inside: avoid;
}
.main-navbar .dropdown-item:hover {
  background: rgba(192,57,43,0.2);
  color: var(--text-white);
}

/* ── Search ── */
.search-wrapper { position: relative; }
.search-box {
  display: flex;
  align-items: center;
  background: #222;
  border: 1px solid #333;
  border-radius: 25px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.search-box:focus-within { border-color: var(--red-primary); }
.search-icon { color: var(--text-muted); padding: 0 10px 0 14px; font-size: 0.9rem; }
.search-input {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 8px 4px;
  width: 240px;
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  background: var(--red-primary);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  cursor: pointer;
  transition: background var(--transition);
  letter-spacing: 0.05em;
}
.search-btn:hover { background: var(--red-dark); }

/* Search dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 400px;
  background: #1a1a1a;
  border: 1px solid var(--border-dark);
  border-top: 2px solid var(--red-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  z-index: 2000;
  max-height: 400px;
  overflow-y: auto;
}
.search-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-light);
  padding: 10px 14px 4px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  transition: background var(--transition);
  cursor: pointer;
}
.search-result-item:hover { background: rgba(255,255,255,0.05); }
.search-result-img {
  width: 36px; height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.search-result-img.round { border-radius: 50%; width: 36px; height: 36px; }
.search-result-title { font-size: 0.88rem; font-weight: 600; }
.search-result-sub { font-size: 0.75rem; color: var(--text-muted); }

/* ── Flash ── */
.flash-alert {
  border-radius: 0;
  border: none;
  padding: 10px 0;
  font-weight: 500;
}
.flash-alert.alert-success { background: #1e4d2b; color: #a8e6b8; }
.flash-alert.alert-danger { background: #4a1010; color: #f5a5a5; }

/* ── Hero Slider ── */
.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #000;
}
@media (max-width: 768px) { .hero-slider { height: 380px; } }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-backdrop {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.hero-content {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
}
.hero-badge {
  display: inline-block;
  background: var(--red-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  max-width: 500px;
}
.hero-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.hero-meta span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-rating {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 700;
}
.hero-rating .star { color: var(--star-gold); }

.hero-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 6px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active { background: var(--red-primary); width: 24px; border-radius: 4px; }

/* ── Section Tabs ── */
.section-tabs { border-bottom: 1px solid var(--border-dark); margin-bottom: 1.5rem; }
.section-tab {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  background: none;
  border-top: none; border-left: none; border-right: none;
}
.section-tab:hover { color: var(--text-white); }
.section-tab.active { color: var(--text-white); border-bottom-color: var(--red-primary); }

/* ── Movie Cards ── */
.movie-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  display: block;
}
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.movie-card:hover .movie-overlay { opacity: 1; }
.movie-poster-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #111;
}
.movie-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card:hover .movie-poster { transform: scale(1.05); }
.movie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.movie-overlay-icon {
  width: 50px; height: 50px;
  background: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.movie-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.movie-rating-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--star-gold);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.movie-info {
  padding: 12px;
}
.movie-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}
.movie-genre-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  padding: 1px 6px;
}

/* ── Person Card ── */
.person-card {
  text-align: center;
  transition: transform 0.25s ease;
}
.person-card:hover { transform: translateY(-4px); }
.person-photo-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--border-dark);
  margin: 0 auto 10px;
  width: 120px;
  transition: border-color var(--transition);
  background: #111;
}
.person-card:hover .person-photo-wrap { border-color: var(--red-primary); }
.person-photo { width: 100%; height: 100%; object-fit: cover; }
.person-name {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 2px;
}
.person-role { font-size: 0.75rem; color: var(--text-muted); }

/* ── News Card ── */
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.news-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 16px; }
.news-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}
.badge-news { background: rgba(192,57,43,0.2); color: var(--red-light); }
.badge-review { background: rgba(39,174,96,0.2); color: #2ecc71; }
.badge-interview { background: rgba(52,152,219,0.2); color: #3498db; }
.badge-trailer { background: rgba(243,156,18,0.2); color: var(--star-gold); }
.badge-award { background: rgba(155,89,182,0.2); color: #a569bd; }
.badge-feature { background: rgba(127,140,141,0.2); color: #95a5a6; }

.news-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta { font-size: 0.75rem; color: var(--text-muted); }
.news-card-horizontal {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.news-card-horizontal:hover { background: var(--bg-card-hover); }
.news-thumb-sm {
  width: 80px; height: 56px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
}
.news-thumb-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ── Buttons ── */
.btn-red {
  background: var(--red-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 10px 24px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-red:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-red {
  background: transparent;
  color: var(--red-light);
  border: 1.5px solid var(--red-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 9px 22px;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-outline-red:hover {
  background: var(--red-primary);
  color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 9px 22px;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: var(--text-white);
}
.btn-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-icon:hover { background: var(--red-primary); border-color: var(--red-primary); color: #fff; }
.btn-icon.active { background: var(--red-primary); border-color: var(--red-primary); color: #fff; }

/* ── Rating Stars ── */
.star-rating { display: flex; gap: 4px; }
.star-rating .star {
  font-size: 1.5rem;
  color: #444;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.star-rating .star:hover,
.star-rating .star.active { color: var(--star-gold); transform: scale(1.15); }
.star-rating .star.hovered { color: var(--star-gold); }

/* Rating display */
.rating-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid var(--red-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-white);
  background: rgba(192,57,43,0.1);
}
.rating-circle.high { border-color: var(--green); background: rgba(39,174,96,0.1); }
.rating-circle.medium { border-color: var(--star-gold); background: rgba(244,197,66,0.1); }

/* ── Movie Detail Page ── */
.movie-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.movie-hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.3) blur(2px);
  transform: scale(1.05);
}
.movie-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.2) 0%, rgba(13,13,13,0.8) 60%, #0D0D0D 100%);
}
.movie-hero-content { position: relative; z-index: 2; padding: 40px 0; }
.movie-detail-poster {
  width: 100%;
  max-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.movie-detail-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 8px;
}
.movie-detail-original { font-size: 1rem; color: var(--text-muted); margin-bottom: 12px; font-style: italic; }
.movie-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.movie-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-light);
}
.movie-detail-meta-item i { color: var(--red-primary); }
.genre-pill {
  display: inline-block;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  transition: all var(--transition);
}
.genre-pill:hover { border-color: var(--red-primary); color: var(--red-light); }
.movie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.synopsis-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

.cast-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--red-primary) #222;
}
.cast-card {
  flex-shrink: 0;
  width: 100px;
  text-align: center;
}
.cast-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-dark);
  margin: 0 auto 8px;
  display: block;
  transition: border-color var(--transition);
}
.cast-card:hover .cast-photo { border-color: var(--red-primary); }
.cast-name { font-size: 0.8rem; font-weight: 600; margin-bottom: 2px; }
.cast-char { font-size: 0.72rem; color: var(--text-muted); }

/* ── Info Table ── */
.info-table { width: 100%; }
.info-table tr td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.88rem;
  vertical-align: top;
}
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child { color: var(--text-muted); width: 130px; font-weight: 600; padding-right: 16px; }
.info-table td:last-child { color: var(--text-white); }

/* ── Sidebar ── */
.sidebar-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-box-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-primary);
}

/* ── Pagination ── */
.pagination { gap: 4px; }
.page-link {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  border-radius: var(--radius-sm) !important;
  padding: 8px 14px;
  transition: all var(--transition);
}
.page-link:hover { background: var(--red-primary); border-color: var(--red-primary); color: #fff; }
.page-item.active .page-link { background: var(--red-primary); border-color: var(--red-primary); color: #fff; }
.page-item.disabled .page-link { background: #1a1a1a; color: #444; }

/* ── Forms ── */
.form-control, .form-select {
  background: #1a1a1a;
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  padding: 10px 14px;
  transition: border-color var(--transition);
}
.form-control:focus, .form-select:focus {
  background: #1e1e1e;
  border-color: var(--red-primary);
  color: var(--text-white);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}
.form-control::placeholder { color: #555; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-light); margin-bottom: 6px; }
.form-text { font-size: 0.78rem; color: var(--text-muted); }
.input-group-text {
  background: #222;
  border-color: var(--border-dark);
  color: var(--text-muted);
}

/* ── Auth Pages ── */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border-dark);
}
.auth-logo { text-align: center; margin-bottom: 30px; font-size: 0; }
.auth-logo .logo-e { font-size: 2.4rem; }
.auth-logo .logo-rest { font-size: 2.4rem; }
.auth-title { font-family: var(--font-display); font-size: 1.6rem; text-align: center; margin-bottom: 24px; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin: 16px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: 40%;
  height: 1px;
  background: var(--border-dark);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ── Admin ── */
.admin-sidebar {
  background: #111;
  border-right: 1px solid var(--border-dark);
  min-height: calc(100vh - 80px);
  width: 240px;
  flex-shrink: 0;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--red-primary);
}
.admin-nav-item.active {
  color: var(--text-white);
  background: rgba(192,57,43,0.1);
  border-left-color: var(--red-primary);
}
.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-dark);
}
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(192,57,43,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--red-light);
  flex-shrink: 0;
}
.stat-value { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-primary); }

/* ── Footer ── */
.main-footer { background: #0A0A0A; border-top: 2px solid var(--red-primary); }
.footer-brand { font-size: 0; }
.footer-brand .logo-e { font-size: 2rem; }
.footer-brand .logo-rest { font-size: 2rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-social .social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social .social-link:hover { background: var(--red-primary); color: #fff; }
.footer-heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-light); margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--text-white); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding: 16px 0; font-size: 0.8rem; color: var(--text-muted); }

/* ── Utilities ── */
.text-red { color: var(--red-light) !important; }
.text-gold { color: var(--star-gold) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.bg-card { background: var(--bg-card) !important; }
.border-dark-custom { border-color: var(--border-dark) !important; }
.divider { border-color: var(--border-dark); }
.spinner-red { color: var(--red-primary); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.4s ease forwards; }

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(192,57,43,0); }
}
.pulse-red { animation: pulse-red 2s infinite; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .search-input { width: 180px; }
  .movie-detail-poster { max-width: 180px; }
}
@media (max-width: 768px) {
  .search-wrapper { width: 100%; margin-top: 10px; }
  .search-input { width: 100%; }
  .hero-slider { height: 320px; }
  .admin-sidebar { width: 100%; min-height: auto; }
}
