/* ==========================================================================
   CineStream Movies Theme - Main Stylesheet
   ========================================================================== */

:root {
  --bg-main: #0b0f19;
  --bg-card: #131b2e;
  --bg-card-hover: #1b2640;
  --bg-header: #0f172a;
  --border-color: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --color-primary: #e50914;
  --color-primary-hover: #b80710;
  --color-accent: #3b82f6;
  --color-imdb: #f5c518;
  --color-4k: #d97706;
  --color-1080p: #2563eb;
  --color-720p: #059669;
  --color-480p: #7c3aed;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar {
  background: linear-gradient(90deg, #1e1b4b, #311042);
  color: #e2e8f0;
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.telegram-btn {
  background-color: #0088cc;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.telegram-btn:hover {
  background-color: #0077b5;
}

.site-header {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.site-logo {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.site-logo span {
  color: #ffffff;
}

.site-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.header-search {
  position: relative;
  width: 240px;
  max-width: 280px;
  flex-shrink: 0;
  transition: width 0.25s ease, border-color 0.2s;
}

.header-search:focus-within {
  width: 280px;
}

.header-search input[type="text"] {
  width: 100%;
  height: 36px;
  background-color: #0b0f19;
  border: 1px solid var(--border-color);
  padding: 0 14px 0 34px;
  border-radius: 20px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.header-search input[type="text"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.25);
}

.header-search .search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 13px;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.header-search .search-icon svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Category Navigation Chips Bar (Horizontal Touch Slider with Distinct Colors)
   ========================================================================== */

.category-bar {
  background-color: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

.category-bar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.category-container {
  max-width: 100% !important;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1200px) {
  .category-container {
    justify-content: flex-start;
  }
}

.category-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: #1e293b;
  color: #f1f5f9 !important;
  padding: 5px 11px;
  border-radius: 18px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.chip-item:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* Specific Category Colors matching user exact specs */
.chip-item.chip-all,
.chip-item.active {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4) !important;
}

.chip-item.chip-latest-movies,
.chip-item[href*="latest"] {
  background: linear-gradient(135deg, #d97706, #f59e0b) !important;
  border-color: #fbbf24 !important;
  color: #ffffff !important;
}

.chip-item.chip-bollywood-movies,
.chip-item[href*="bollywood"] {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
}

.chip-item.chip-hollywood-movies,
.chip-item[href*="hollywood"] {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  border-color: #a78bfa !important;
  color: #ffffff !important;
}

.chip-item.chip-south-movies,
.chip-item[href*="south"] {
  background: linear-gradient(135deg, #e11d48, #f43f5e) !important;
  border-color: #fb7185 !important;
  color: #ffffff !important;
}

.chip-item.chip-hindi-dubbed-movies,
.chip-item[href*="hindi-dubbed"],
.chip-item[href*="dubbed"] {
  background: linear-gradient(135deg, #0891b2, #06b6d4) !important;
  border-color: #22d3ee !important;
  color: #ffffff !important;
}

.chip-item.chip-korean-movies,
.chip-item[href*="korean"] {
  background: linear-gradient(135deg, #db2777, #f472b6) !important;
  border-color: #f472b6 !important;
  color: #ffffff !important;
}

.chip-item.chip-punjabi-movies,
.chip-item[href*="punjabi"] {
  background: linear-gradient(135deg, #ea580c, #f97316) !important;
  border-color: #fb923c !important;
  color: #ffffff !important;
}

.chip-item.chip-web-series,
.chip-item[href*="web-series"],
.chip-item[href*="series"] {
  background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
  border-color: #818cf8 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Movie Cards Grid (Homepage & Archives)
   ========================================================================== */

.site-main {
  padding: 28px 0 50px 0;
  min-height: 70vh;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.movie-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
  border-color: rgba(229, 9, 20, 0.5);
}

.movie-poster-wrap {
  position: relative;
  width: 100%;
  padding-top: 145%; /* ~2:3 Aspect ratio */
  background-color: #0b0f19;
  overflow: hidden;
}

.movie-poster-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster-wrap img {
  transform: scale(1.05);
}

/* Badges on Poster */
.badge-quality {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--color-primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.badge-quality-hd {
  background-color: #0284c7;
}
.badge-quality-4k {
  background-color: #d97706;
}
.badge-quality-1080p {
  background-color: #2563eb;
}
.badge-quality-720p {
  background-color: #059669;
}
.badge-quality-480p {
  background-color: #7c3aed;
}

.badge-pinned {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #f59e0b;
  color: #000;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.badge-quality.has-pinned-badge {
  top: 32px;
}

.badge-series {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.badge-series.has-other-badges {
  top: 32px;
}

.badge-imdb {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--color-imdb);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(245, 197, 24, 0.4);
  z-index: 2;
}

.badge-audio {
  position: absolute;
  bottom: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  background-color: rgba(15, 23, 42, 0.95);
  color: #38bdf8;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  z-index: 2;
  border: 1px solid rgba(56, 189, 248, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.movie-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.movie-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #f1f5f9;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-title a:hover {
  color: var(--color-primary);
}

.movie-meta-sub { display: none !important; }

/* Pagination */
.pagination-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14px;
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ==========================================================================
   Single Movie Details Page
   ========================================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.single-movie-header {
  margin-bottom: 24px;
}

.single-movie-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.movie-hero-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.movie-hero-poster {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-color);
  align-self: start;
}

.movie-hero-poster img {
  width: 100%;
  display: block;
}

.movie-details-table {
  width: 100%;
  border-collapse: collapse;
}

.movie-details-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.movie-details-table tr:last-child {
  border-bottom: none;
}

.movie-details-table th {
  text-align: left;
  padding: 10px 12px 10px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  width: 130px;
  vertical-align: top;
}

.movie-details-table td {
  padding: 10px 0;
  color: #f1f5f9;
  font-size: 14px;
  line-height: 1.5;
}

.meta-pill {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 4px;
  margin-bottom: 4px;
}

.meta-pill.pill-lang {
  background-color: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.meta-pill.pill-quality {
  background-color: rgba(229, 9, 20, 0.2);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Storyline */
.content-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin-bottom: 30px;
}

.content-box-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.storyline-text {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Screenshots Gallery */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.screenshot-item:hover {
  transform: scale(1.02);
  border-color: var(--color-primary);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Download Section (4K, 1080p, 720p, 480p) - High Conversion Box Layout
   ========================================================================== */

.download-wrapper {
  margin-top: 32px;
  margin-bottom: 30px;
}

.download-box {
  background-color: #0b1120;
  border-radius: 8px;
  border: 2px solid #1e293b;
  padding: 16px 20px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.download-box:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.download-box.box-4k {
  border-color: #d97706;
}
.download-box.box-4k:hover {
  box-shadow: 0 0 18px rgba(217, 119, 6, 0.25);
}

.download-box.box-1080p {
  border-color: #2563eb;
}
.download-box.box-1080p:hover {
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.25);
}

.download-box.box-720p {
  border-color: #059669;
}
.download-box.box-720p:hover {
  box-shadow: 0 0 18px rgba(5, 150, 105, 0.25);
}

.download-box.box-480p {
  border-color: #7c3aed;
}
.download-box.box-480p:hover {
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.25);
}

.download-box.box-season-zip {
  border-color: #0284c7;
}
.download-box.box-season-zip:hover {
  box-shadow: 0 0 18px rgba(2, 132, 199, 0.25);
}

.download-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.download-res-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.download-title-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.badge-res {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-res.res-4k { background-color: #d97706; }
.badge-res.res-1080p { background-color: #2563eb; }
.badge-res.res-720p { background-color: #059669; }
.badge-res.res-480p { background-color: #7c3aed; }
.badge-res.res-season-zip { background-color: #0284c7; }

.download-size-badge {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
}

.download-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.download-btn-main {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #c81e1e;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 6px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(200, 30, 30, 0.3);
}

.download-btn-main:hover {
  background-color: #e50914;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.5);
  color: #ffffff !important;
}

.download-secondary-servers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.download-sec-btn {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1 !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.download-sec-btn:hover {
  background-color: #334155;
  color: #ffffff !important;
}

/* Fallback/Legacy button classes */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-color: #c81e1e;
  border: none;
  transition: all 0.2s ease;
  flex: 1 1 200px;
  text-align: center;
}

.download-btn:hover {
  background-color: #e50914;
  transform: translateY(-1px);
}

.download-btn.btn-primary-dl {
  background-color: #c81e1e;
}
.download-btn.btn-primary-dl:hover {
  background-color: #e50914;
}

.download-btn.btn-server-gdrive {
  background: #059669;
}
.download-btn.btn-server-gdrive:hover {
  background: #10b981;
}

.download-btn.btn-server-cloud {
  background: #2563eb;
}
.download-btn.btn-server-cloud:hover {
  background: #3b82f6;
}

/* ==========================================================================
   Web Series Episodes Section
   ========================================================================== */
.series-episodes-section {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 16px;
  margin-bottom: 24px;
}

.episodes-grid-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.episode-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background-color: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid #0284c7;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.episode-item-card:hover {
  border-color: #0284c7;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.episode-item-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 280px;
}

.ep-num-pill {
  background: #0284c7;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ep-item-title {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 700;
}

.ep-size-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.episode-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.episode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.episode-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ep-btn-download {
  background: linear-gradient(135deg, #e50914, #b91c1c);
  border: 1px solid #e50914;
}
.ep-btn-download:hover {
  background: linear-gradient(135deg, #f87171, #dc2626);
}

.ep-btn-gdrive {
  background: linear-gradient(135deg, #059669, #047857);
  border: 1px solid #059669;
}
.ep-btn-gdrive:hover {
  background: linear-gradient(135deg, #10b981, #059669);
}

.ep-btn-cloud {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid #2563eb;
}
.ep-btn-cloud:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* DMCA & Ads Boxes */
.ad-slot-wrap {
  margin: 20px 0;
  text-align: center;
  overflow: hidden;
}

.dmca-notice-box {
  background-color: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 30px;
}

.dmca-notice-box strong {
  color: #f87171;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--bg-header);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints: Laptops, Tablets, Mobile Phones & All Devices
   ========================================================================== */

/* 1. Large Laptops and Medium Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .site-logo {
    font-size: 23px;
  }
  .site-logo svg {
    width: 25px;
    height: 25px;
  }
  .header-search {
    width: 155px;
  }
  .main-navigation ul {
    gap: 3px;
  }
  .main-navigation a {
    font-size: 12.5px;
    padding: 5px 7px;
  }
  .category-container {
    justify-content: flex-start;
  }
}

/* 2. Tablets & Small Laptops (max-width: 991px) */
@media (max-width: 991px) {
  .header-inner {
    padding: 10px 0;
    gap: 12px;
  }
  .site-logo {
    font-size: 26px !important;
    font-weight: 900 !important;
  }
  .site-logo svg {
    width: 28px !important;
    height: 28px !important;
  }
  .header-search {
    width: 200px;
  }
  .category-container {
    justify-content: flex-start;
  }
  .movie-hero-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .movie-hero-poster {
    max-width: 240px;
    margin: 0 auto;
  }
  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
}

/* 3. Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  /* MOVIESHOST.IN LIFT ME (BADA) */
  .site-logo {
    font-size: 21px !important;
    font-weight: 900 !important;
    gap: 6px !important;
    letter-spacing: -0.3px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .site-logo svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* SEARCH BAR RIGHT ME (CHOTA) */
  .header-search {
    flex: 0 1 155px !important;
    min-width: 110px !important;
    max-width: 170px !important;
    margin: 0 !important;
    position: relative !important;
  }
  .header-search input[type="text"] {
    width: 100% !important;
    height: 32px !important;
    padding: 0 8px 0 28px !important;
    font-size: 11.5px !important;
    border-radius: 16px !important;
    background-color: #0b0f19 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  .header-search .search-icon {
    left: 8px !important;
  }
  .header-search .search-icon svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Horizontal Slider Category Bar */
  .category-bar {
    padding: 7px 0;
  }
  .category-chips {
    gap: 6px;
  }
  .chip-item {
    padding: 5px 11px;
    font-size: 12.5px;
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .single-movie-title {
    font-size: 20px;
  }
}

/* 4. Small Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px !important;
  }
  .top-bar {
    font-size: 11.5px;
    padding: 6px 0;
  }
  .header-inner {
    padding: 6px 0 !important;
    gap: 8px !important;
  }

  /* MOVIESHOST.IN LIFT ME (BADA) */
  .site-logo {
    font-size: 19.5px !important;
    font-weight: 900 !important;
    gap: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .site-logo svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* SEARCH BAR RIGHT ME (CHOTA) */
  .header-search {
    flex: 0 1 135px !important;
    min-width: 100px !important;
    max-width: 145px !important;
  }
  .header-search input[type="text"] {
    height: 30px !important;
    font-size: 11px !important;
    padding: 0 6px 0 24px !important;
    border-radius: 15px !important;
  }
  .header-search .search-icon {
    left: 7px !important;
  }
  .header-search .search-icon svg {
    width: 11px !important;
    height: 11px !important;
  }

  .chip-item {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 16px;
  }

  .movie-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .movie-card-title {
    font-size: 13px;
    line-height: 1.35;
  }
  .movie-meta-tags {
    gap: 4px;
  }
  .movie-badge-lang {
    font-size: 10px;
    padding: 2px 5px;
  }
  .download-box {
    padding: 12px 14px;
  }
  .download-title-text {
    font-size: 14px;
  }
  .download-btn-main {
    padding: 11px 16px;
    font-size: 14px;
  }
  .download-sec-btn {
    font-size: 12px;
    padding: 7px 10px;
  }
  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 5. Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .site-logo {
    font-size: 17.5px !important;
    gap: 4px !important;
  }
  .site-logo svg {
    width: 20px !important;
    height: 20px !important;
  }
  .header-search {
    flex: 0 1 115px !important;
    min-width: 90px !important;
  }
  .header-search input[type="text"] {
    font-size: 10.5px !important;
    padding: 0 4px 0 22px !important;
  }
  .chip-item {
    padding: 4px 8px;
    font-size: 11px;
  }
}



/* Pinned Movie Badge & Card Styling */
.badge-pinned {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.badge-quality.has-pinned-badge {
  top: 32px;
}
.movie-card.is-pinned {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}
.movie-meta-sub {
  display: none !important;
}
