/*
Theme Name: CineFreak
Theme URI: https://cinefreak.net/
Author: CineFreak Team
Author URI: https://cinefreak.net/
Description: Ultra-fast dark-themed movie and series download & streaming WordPress theme featuring OTT rail, animated trending ribbons, 4K UHD tags, and custom single.php post layouts.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinefreak
Tags: movies, entertainment, dark, grid-layout, two-columns, custom-menu, featured-images, theme-options
*/

/* CSS Variables */
:root {
  --background: #0b0c0f;
  --foreground: #e2e8f0;
  --card: #12141a;
  --card-foreground: #f8fafc;
  --primary: #ff9800;
  --primary-hover: #ffa726;
  --border: rgba(255, 255, 255, 0.08);
  --muted: #64748b;
  --cyan: #00ffff;
  --yellow: #ffff00;
  --cf-post-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --cf-post-color: #f1f5f9;
  --cf-post-hover-color: #ff9800;
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header & Brand */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 2.25rem;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cf-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px 0 8px;
  text-decoration: none;
  line-height: 1;
  height: 50px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cf-brand.cf-brand-custom {
  height: auto;
  min-height: 44px;
  padding: 0 4px;
  gap: 1px;
}

.cf-custom-header-logo {
  height: var(--cf-logo-h-desktop, 50px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.cf-orn {
  position: absolute;
  pointer-events: none;
  width: 50px;
  height: 23px;
}

.cf-orn-tl {
  top: 2px;
  left: -2px;
}

.cf-orn-br {
  bottom: 2px;
  right: -2px;
  transform: rotate(180deg);
}

.cf-cine {
  font-family: 'Caveat Brush', 'Outfit', cursive, sans-serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(100deg, #ff9800 40%, #ffdda0 50%, #ff9800 60%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s ease-in-out infinite;
  letter-spacing: -0.5px;
}

.cf-freak {
  font-family: 'Chivo', 'Outfit', sans-serif;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0.9px;
  color: #ffffff;
  line-height: 1;
}

.cf-suffix-slot {
  display: inline-grid;
  align-items: end;
  align-self: flex-end;
  margin-left: 1px;
  margin-right: 4px;
  margin-bottom: 11px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cf-suffix-slot.cf-suffix-slot-custom {
  margin-left: 0;
  margin-right: 2px;
  margin-bottom: 5px;
}

.end-txt {
  grid-area: 1 / 1;
  display: inline-block;
  justify-self: start;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #a1a1aa;
  margin: 0;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.end-txt.cf-suffix-sizer {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  transition: none;
}

.end-txt.is-changing {
  opacity: 0;
  transform: translateY(-4px) scale(0.92);
}

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

/* Nav Menu */
.main-navigation {
  display: none;
}
@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.35rem;
  list-style: none;
  white-space: nowrap;
}

.main-nav a {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav a:hover {
  color: #ff9800;
}

/* Header Right Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.cf-hdr-spacer-left,
.cf-hdr-spacer-right {
  display: none;
  pointer-events: none;
}

@media (min-width: 768px) {
  .header-inner.cf-desktop-custom-spacing {
    justify-content: center;
    gap: 0;
  }
  .header-inner.cf-desktop-custom-spacing .cf-hdr-spacer-left {
    display: block;
    flex: 0 1 var(--cf-logo-nav-gap, 160px);
    width: var(--cf-logo-nav-gap, 160px);
    min-width: 0;
  }
  .header-inner.cf-desktop-custom-spacing .cf-hdr-spacer-right {
    display: block;
    flex: 0 1 var(--cf-nav-actions-gap, 160px);
    width: var(--cf-nav-actions-gap, 160px);
    min-width: 0;
  }
}

.cf-icon-btn {
  position: relative;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.15s;
}

.cf-icon-btn:hover {
  color: #ff9800;
  transform: scale(1.06);
}

.cf-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff0a54;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(255, 10, 84, 0.45);
}

.cf-count-badge.is-hidden {
  display: none !important;
}

/* Sub-header 3-Pill Action Bar */
.cf-sub-actions {
  background: radial-gradient(ellipse at 50% 0%, rgba(110, 42, 62, 0.18) 0%, rgba(11, 12, 15, 0) 75%);
  padding: 18px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cf-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
}

.cf-action-pill:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.cf-action-pill svg {
  transition: transform 0.25s ease, color 0.25s ease;
}

.cf-action-pill:hover svg {
  transform: scale(1.1);
}

.cf-pill-18 {
  background: rgba(54, 24, 34, 0.85);
  border: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.22);
}
.cf-pill-18:hover {
  background: rgba(190, 24, 93, 0.32);
  border-color: rgba(251, 113, 133, 0.9);
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.52), 0 6px 16px rgba(0, 0, 0, 0.45);
}
.cf-badge-18 {
  background: #ff1755;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 2.5px 7.5px;
  border-radius: 9999px;
  line-height: 1.1;
  transition: box-shadow 0.25s ease;
}
.cf-pill-18:hover .cf-badge-18 {
  box-shadow: 0 0 12px rgba(255, 23, 85, 0.7);
}

.cf-pill-tg {
  background: rgba(28, 36, 48, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.cf-pill-tg:hover {
  background: rgba(14, 116, 144, 0.32);
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.45), 0 6px 16px rgba(0, 0, 0, 0.45);
}
.cf-pill-tg:hover svg {
  color: #38bdf8;
}

.cf-pill-guide {
  background: rgba(54, 48, 22, 0.88);
  border: 1px solid rgba(234, 179, 8, 0.28);
}
.cf-pill-guide:hover {
  background: rgba(180, 110, 8, 0.32);
  border-color: rgba(250, 204, 21, 0.85);
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.45), 0 6px 16px rgba(0, 0, 0, 0.45);
}
.cf-pill-guide:hover svg {
  color: #facc15;
}

.cf-sub-break {
  display: none;
}

@media (max-width: 639px) {
  .cf-sub-actions {
    padding: 16px 12px 12px;
    gap: 10px 8px;
  }
  .cf-action-pill {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  .cf-pill-guide {
    padding: 8px 20px;
  }
  .cf-sub-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
}

@media (max-width: 360px) {
  .cf-action-pill {
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* Search Overlay & Search.php Form matching screenshot */
.cf-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(3px);
  align-items: flex-start;
  justify-content: center;
  padding: 76px 16px 24px;
}

.cf-search-overlay.is-open {
  display: flex;
}

.cf-search-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0b0c0f;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}

.cf-search-close:hover {
  transform: scale(1.06);
}

.cf-search-page-box,
.cf-search-modal-box {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.cf-search-form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.cf-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cf-search-input-wrap:focus-within {
  border-color: #ff9800;
  background: rgba(255, 255, 255, 0.1);
}

.cf-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  width: 100%;
}

.cf-search-input::placeholder {
  color: #cbd5e1;
}

.cf-search-submit-btn {
  width: 100%;
  height: 38px;
  border-radius: 7px;
  background: #ff9800;
  color: #000000;
  border: none;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cf-search-submit-btn:hover {
  background: #ffa726;
}

.cf-search-submit-btn:active {
  transform: scale(0.99);
}

/* 404 & Empty Search Not Found UI matching screenshot */
.cf-search-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cf-not-found-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5.5rem 1rem 4.5rem;
}

.cf-not-found-circle {
  width: 68px;
  height: 68px;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cf-not-found-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cf-not-found-desc {
  font-size: 13.5px;
  color: #8e98ab;
  max-width: 360px;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.cf-request-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff9800;
  color: #000000 !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cf-request-cta:hover {
  background: #ffa726;
  transform: translateY(-1px);
}

.cf-not-found-note {
  margin-top: 0.85rem;
  font-size: 11.5px;
  color: #64748b;
}

.cf-latest-additions-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.1rem;
}

/* OTT Rail */
.cf-browse {
  max-width: 1300px;
  margin: 1.5rem auto 2rem;
  padding: 0 1rem;
}

.cf-browse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.cf-browse-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e6e6e9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-browse-title:before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: #ff9800;
}

.cf-ott-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: none;
}

.cf-ott-rail::-webkit-scrollbar {
  display: none;
}

.cf-ott-item {
  flex: 0 0 auto;
  width: 92px;
  text-align: center;
}

.cf-ott-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--cf-brand, #ff9800);
  background: #14151a;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cf-ott-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.cf-ott-item:hover .cf-ott-ring {
  transform: translateY(-4px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cf-brand, #ff9800) 25%, transparent), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.cf-ott-name {
  font-size: 12px;
  font-weight: 600;
  color: #e6e6e9;
}

/* Dedicated Genre / Category / OTT Archive View */
.cf-archive-view {
  max-width: 1300px;
  margin: 1.25rem auto 3rem;
  padding: 0 16px;
}

.cf-archive-heading-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.cf-archive-accent {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: #ff9800;
  flex-shrink: 0;
}

.cf-archive-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.015em;
}

@media (max-width: 640px) {
  .cf-archive-view {
    margin: 0.9rem auto 2.5rem;
  }
  .cf-archive-accent {
    height: 19px;
  }
  .cf-archive-heading {
    font-size: 1.15rem;
  }
}

/* Movie Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1280px) {
  .card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }
}

.movie-card {
  position: relative;
  display: block;
  background-color: #121318;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.35);
}

.movie-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background-color: #1a1c23;
}

.movie-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .movie-card-image img {
  transform: scale(1.06);
}

/* Trending Ribbon */
.trending-sharp {
  position: absolute;
  top: 6px;
  left: 0;
  display: inline-flex;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  padding: 4px 14px 4px 8px;
  background: rgba(15, 15, 20, 0.92);
  backdrop-filter: blur(4px);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  border-left: 3px solid #00ffcc;
  z-index: 25;
}

.quality-badges {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 22;
}

.movie-card-format {
  background-color: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(4px);
  padding: 3px 7px;
  border-radius: 4px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}

.movie-card-content {
  padding: 8px 10px 10px;
}

.movie-card-title {
  font-family: var(--cf-post-font);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cf-post-color);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-card-title {
  color: var(--cf-post-hover-color);
}

.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
}

/* Single.php Post Page Styles - Exactly matching CineFreak */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  max-width: 1300px;
  margin: 0.75rem auto 2.5rem auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin: 1.5rem auto 3rem auto;
  }
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 320px 1fr;
    gap: 3rem;
  }
}

.content-sidebar {
  display: flex;
  flex-direction: column;
}

.poster-container {
  position: static;
  width: 74%;
  max-width: 268px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 152, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #11131a;
}

@media (min-width: 768px) {
  .poster-container {
    position: sticky;
    top: 5.25rem;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

.poster-image {
  aspect-ratio: 2 / 3;
  width: 100%;
}

.poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-main {
  min-width: 0;
}

.page-title {
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 1.95rem;
  }
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

/* CineFreak Post Content Styles */
.mark-message {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin: 1.25rem 0 1rem 0;
  padding: 0;
  background: transparent;
  border: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 768px) {
  .mark-message {
    font-size: 1.5rem;
  }
}

.post-section-cyan {
  color: #00ffff;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.75rem 0 1rem 0;
  letter-spacing: 0.2px;
}

.entry-content {
  font-size: 14.5px;
  line-height: 1.75;
  color: #e2e8f0;
}

.entry-content p {
  margin-bottom: 1.15rem;
}

.entry-content a {
  color: #ff9800;
  text-decoration: underline;
}

.movie-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.75rem 0;
  color: #00ffff;
  text-align: center;
}

/* Screenshots V2 */
.screenshot-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin: 1.5rem 0 2rem 0;
}

.screenshot-item {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  background: #090a0f;
}

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

/* Download Section in Single.php */
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ff9800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 1.5rem 0 0.5rem 0;
}

.single-hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #00ffff, transparent);
  margin: 25px 0;
  position: relative;
}

.single-hr::after {
  content: "▼";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: #00ffff;
  font-size: 12px;
  background: #0b0c0f;
  padding: 0 8px;
}

.download-links-div {
  text-align: center;
  margin: 1.5rem 0;
}

.download-links-div h4.movie-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.download-links-div h4.movie-title span {
  color: #ffff00 !important;
}

.dlbtn-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.dlbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.6rem 1.6rem;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

/* CineFreak Download Button matching screenshot */
.dlbtn-download {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  background: rgba(25, 36, 43, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.dlbtn-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 255, 255, 0.25);
  background: rgba(35, 50, 60, 0.98);
  border-color: rgba(0, 255, 255, 0.5);
}

.dlbtn-download:active {
  transform: scale(0.96);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 229, 255, 0.25);
  background-color: #07080b;
  padding: 2.5rem 1rem 1.75rem;
  margin-top: 3rem;
  font-size: 12.5px;
  color: #94a3b8;
}

.cf-footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.cf-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cf-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
  }
}

.cf-footer-heading {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.cf-footer-bar {
  width: 28px;
  height: 2.5px;
  background: #00e5ff;
  border-radius: 9999px;
  margin: 8px auto 14px;
}

@media (min-width: 768px) {
  .cf-footer-bar {
    margin-left: 0;
    margin-right: 0;
  }
}

.cf-footer-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
}

.cf-footer-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .cf-footer-pills {
    justify-content: flex-start;
  }
}

.cf-footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 9999px;
  background: #11131a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cf-footer-pill:hover {
  border-color: rgba(0, 229, 255, 0.55);
  color: #ffffff;
}

.cf-footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* Request Page Styles matching CineFreak screenshot */
.cf-request-container {
  max-width: 820px;
  margin: 1.75rem auto 3rem;
  padding: 0 16px;
}

.cf-request-card {
  background: #101116;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 26px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.cf-request-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin-bottom: 1.25rem;
}

.cf-request-subtitle {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.cf-request-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.55;
}

.cf-request-desc strong {
  color: #ff9800;
}

.cf-req-toast {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 152, 0, 0.14);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #fde68a;
  font-size: 12.5px;
  font-weight: 600;
}

.cf-req-controls {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cf-type-toggle {
  display: inline-flex;
  align-items: center;
  background: #181920;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 4px;
  flex-shrink: 0;
}

.cf-type-btn {
  background: transparent;
  color: #cbd5e1;
  border: none;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-type-btn.is-active {
  background: #ff9800;
  color: #000000;
}

.cf-tmdb-search-wrap {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  background: #16171d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

.cf-tmdb-search-wrap:focus-within {
  border-color: rgba(255, 152, 0, 0.7);
}

.cf-tmdb-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  width: 100%;
}

.cf-tmdb-input::placeholder {
  color: #64748b;
}

.cf-tmdb-dropdown {
  margin-top: 12px;
  background: #14151c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-height: 340px;
  overflow-y: auto;
}

.cf-tmdb-empty {
  padding: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #94a3b8;
}

.cf-tmdb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cf-tmdb-item:last-child {
  border-bottom: none;
}

.cf-tmdb-poster {
  width: 44px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  background: #1c1d26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-tmdb-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-tmdb-info {
  flex: 1;
  min-width: 0;
}

.cf-tmdb-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cf-tmdb-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.cf-tmdb-year {
  font-size: 11px;
  color: #94a3b8;
}

.cf-tmdb-rating {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
}

.cf-tmdb-overview {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cf-tmdb-req-btn {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: #ff9800;
  color: #000000;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cf-tmdb-req-btn:hover {
  background: #ffa726;
}

.cf-tmdb-req-btn.is-done {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  cursor: default;
}

.cf-my-requests-section {
  margin-top: 24px;
}

.cf-my-requests-heading {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.cf-my-requests-box {
  margin-top: 10px;
  background: #14151b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.cf-my-requests-empty {
  font-size: 13px;
  color: #64748b;
}

.cf-req-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-req-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #191b23;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cf-req-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cf-req-id-badge {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.cf-req-thumb {
  width: 32px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.cf-req-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.cf-req-item-title span {
  color: #94a3b8;
  font-weight: 400;
}

.cf-req-item-type {
  font-size: 11px;
  color: #94a3b8;
}

.cf-req-item-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cf-req-item-link:hover {
  color: #6ee7b7;
  text-decoration: underline;
}

.cf-req-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  text-decoration: none;
}

.cf-req-status.is-added {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.42);
}

a.cf-req-status.is-added:hover {
  background: rgba(16, 185, 129, 0.28);
  color: #a7f3d0;
}

.cf-req-status.is-rejected {
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.35);
}

.cf-check-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cf-check-input {
  width: 210px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #16171d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12.5px;
  outline: none;
}

.cf-check-input:focus {
  border-color: rgba(255, 152, 0, 0.6);
}

.cf-check-btn {
  height: 38px;
  padding: 0 20px;
  border-radius: 8px;
  background: #1e2029;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.cf-check-btn:hover {
  background: #2a2d3a;
}

.cf-check-result {
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.cf-check-result.is-found {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.cf-check-result.is-missing {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
}

.cf-back-home-wrap {
  margin-top: 24px;
}

.cf-back-home {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s;
}

.cf-back-home:hover {
  color: #ff9800;
}

/* Movie Collections Horizontal Rail & Cards */
.cf-collections-section {
  max-width: 1300px;
  margin: 2rem auto 1.5rem;
  padding: 0 1rem;
}

.cf-browse-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.cf-view-all-link:hover {
  color: #ff9800;
}

.cf-browse-nav {
  display: flex;
  gap: 6px;
}

.cf-browse-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cf-browse-arrow:hover {
  border-color: #ff9800;
  color: #ff9800;
}

.cf-collections-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.cf-collections-rail::-webkit-scrollbar {
  display: none;
}

.cf-collection-card {
  position: relative;
  flex: 0 0 auto;
  width: 244px;
  min-width: 244px;
  height: 136px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--cf-col-color, #ff9800);
  background: #14151c;
  display: block;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cf-collection-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65),
              0 0 18px color-mix(in srgb, var(--cf-col-color, #ff9800) 32%, transparent);
}

.cf-collection-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cf-collection-card:hover .cf-collection-img {
  transform: scale(1.06);
}

.cf-collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.12) 0%,
    rgba(8, 10, 14, 0.48) 55%,
    rgba(8, 10, 14, 0.94) 100%
  );
  z-index: 1;
}

.cf-collection-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(14, 16, 22, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--cf-col-color, #ff9800) 55%, transparent);
  line-height: 1.2;
}

.cf-collection-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
}

.cf-collection-name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.cf-collection-years {
  margin: 2px 0 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.2;
}

.cf-collections-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 640px) {
  .cf-collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cf-collections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cf-collections-grid .cf-collection-card {
  width: 100%;
  min-width: 0;
  height: 165px;
}

.cf-collections-subtitle {
  margin: 8px 0 22px 0;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 820px;
}

.cf-col-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.cf-col-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: #171921;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-col-lang-pill:hover {
  border-color: rgba(255, 179, 0, 0.65);
  color: #ffffff;
}

.cf-col-lang-pill.is-active {
  background: #ffb300;
  border-color: #ffb300;
  color: #0b0c0f;
}

.cf-col-lang-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.cf-col-lang-pill.is-active .cf-col-lang-count {
  background: rgba(11, 12, 15, 0.18);
  color: #0b0c0f;
}

.cf-collections-grid-4 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 18px;
}

@media (min-width: 640px) {
  .cf-collections-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .cf-collections-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cf-collections-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cf-collections-grid-4 .cf-collection-card {
  width: 100%;
  min-width: 0;
  height: 188px;
}

/* Browse by genre Pills */
.cf-genre-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-genre-pill {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.cf-genre-pill:hover {
  border-color: #ff9800;
  background: #ff9800;
  color: #0b0c0f;
  font-weight: 700;
}

/* How to Download Page Styles */
.cf-htd-body { background: #08090c; color: #e2e8f0; min-height: 100vh; }
.cf-htd-header { background: #08090c; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cf-htd-header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 18px; height: 70px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cf-htd-back-btn {
  width: 34px; height: 34px; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: #cbd5e1; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.cf-htd-logo { font-size: 24px; font-weight: 900; letter-spacing: -0.4px; }
.cf-htd-top-pill {
  padding: 8px 16px; border-radius: 12px; background: #101218; border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0; font-size: 13px; font-weight: 600;
}
.cf-htd-main { max-width: 1160px; margin: 0 auto; padding: 32px 18px 56px; }
.cf-htd-grid { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
@media (min-width: 1024px) { .cf-htd-grid { flex-direction: row; gap: 34px; } }
.cf-htd-video-col { width: 100%; max-width: 360px; margin: 0 auto; flex-shrink: 0; }
@media (min-width: 1024px) { .cf-htd-video-col { margin: 0; } }
.cf-htd-controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cf-htd-ctrl-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 10px;
  background: #11131a; border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0; font-size: 12px; font-weight: 700; cursor: pointer;
}
.cf-htd-player-box {
  position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12); background: #000; box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}
.cf-htd-mock-phone { width: 100%; height: 100%; background: #ffffff; color: #0f172a; display: flex; flex-direction: column; position: relative; }
.cf-htd-phone-bar { display: flex; justify-content: space-between; padding: 10px 14px 6px; font-size: 11px; font-weight: 700; color: #334155; }
.cf-htd-chrome-idle { flex: 1; padding: 14px 16px 20px; display: flex; flex-direction: column; }
.cf-htd-google-wordmark { text-align: center; font-size: 30px; font-weight: 800; margin: 12px 0 14px; }
.cf-htd-g-search { background: #eef2f6; border-radius: 9999px; padding: 10px 16px; font-size: 12px; color: #475569; margin-bottom: 10px; }
.cf-htd-g-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.cf-htd-g-pills span { background: #eef2f6; border-radius: 9999px; padding: 7px; text-align: center; font-size: 11px; font-weight: 600; color: #334155; }
.cf-htd-g-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; font-size: 9px; color: #475569; margin-bottom: 18px; }
.cf-htd-tile { width: 38px; height: 38px; margin: 0 auto 4px; border-radius: 10px; background: #000; color: #fff; font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cf-htd-discover-box { margin-top: auto; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; font-size: 11px; color: #475569; }
.cf-htd-play-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.16); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cf-htd-play-circle {
  width: 62px; height: 62px; border-radius: 9999px; background: rgba(0,0,0,0.72); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px;
}
.cf-htd-demo-steps {
  flex: 1; background: #0b0c0f; color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
}
.cf-htd-step-card {
  background: #14161f; border: 1px solid rgba(245,158,11,0.35); border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.6;
}
.cf-htd-stop-btn {
  padding: 9px; border-radius: 8px; border: none; background: rgba(255,255,255,0.12); color: #fff; font-weight: 700; cursor: pointer;
}
.cf-htd-info-col { flex: 1; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.cf-htd-title-card {
  background: #101116; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 26px 28px;
}
.cf-htd-title { font-size: 28px; font-weight: 900; color: #ffffff; line-height: 1.25; margin: 0 0 12px; }
@media (min-width: 768px) { .cf-htd-title { font-size: 34px; } }
.cf-htd-desc { font-size: 14.5px; color: #9ca3af; line-height: 1.65; margin: 0; }
.cf-htd-notice-card {
  background: linear-gradient(180deg, rgba(29,21,8,0.68) 0%, #0e0c09 100%);
  border: 1px solid rgba(245,158,11,0.28); border-radius: 18px; padding: 28px 24px; text-align: center;
}
.cf-htd-bell {
  width: 44px; height: 44px; border-radius: 9999px; background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.28); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 18px;
}
.cf-htd-notice-text { font-size: 14.5px; color: #e2e8f0; line-height: 1.65; max-width: 560px; margin: 0 auto; }
.cf-htd-mirror-label { margin: 16px 0 12px; font-size: 12px; color: #94a3b8; }
.cf-htd-mirrors { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cf-htd-mirror-pill {
  padding: 6px 14px; border-radius: 8px; background: #16181f; border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0; font-size: 12px; font-weight: 600;
}
.cf-htd-mirror-pill:hover { border-color: rgba(245,158,11,0.55); }
.cf-htd-bottom-meta { display: flex; flex-direction: column; gap: 12px; }
.cf-htd-views-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px;
  background: #11131a; border: 1px solid rgba(255,255,255,0.1); font-size: 12px; font-weight: 600; color: #cbd5e1;
}
.cf-htd-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.cf-htd-social-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 9999px;
  font-size: 13px; font-weight: 700; color: #f8fafc;
}
.cf-htd-tg { background: #0d1c27; border: 1px solid rgba(56,189,248,0.32); }
.cf-htd-fb { background: #0f1729; border: 1px solid rgba(59,130,246,0.32); }
.cf-htd-social-ico {
  width: 20px; height: 20px; border-radius: 9999px; color: #fff; font-size: 11px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Mobile Header Toggle, Drawer & Responsive Phone Version Styles */
.cf-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

@media (min-width: 768px) {
  .cf-mobile-toggle {
    display: none;
  }
}

.cf-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s ease;
}

.cf-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .cf-mobile-drawer,
  .cf-mobile-drawer.is-open {
    display: none;
  }
}

.cf-mobile-panel {
  position: relative;
  width: min(76vw, 296px);
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 16, 0.93) 0%,
    rgba(12, 14, 20, 0.89) 50%,
    rgba(8, 9, 13, 0.95) 100%
  );
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 20px 0 54px rgba(0, 0, 0, 0.82);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.62s ease;
  will-change: transform, opacity;
}

.cf-mobile-drawer.is-open .cf-mobile-panel {
  transform: translateX(0);
  opacity: 1;
}

.cf-mobile-drawer:not(.is-open) .cf-mobile-panel {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.38s ease;
}

.cf-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cf-mobile-drawer-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.cf-mobile-close {
  width: 38px;
  height: 38px;
  margin: 16px 16px 0 auto;
  border-radius: 11px;
  background: #161820;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: scale(0.65) rotate(-90deg);
  transition:
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.16s,
    opacity 0.48s ease 0.16s,
    border-color 0.2s ease;
}

.cf-mobile-close:hover {
  border-color: rgba(255, 152, 0, 0.65);
}

.cf-mobile-drawer.is-open .cf-mobile-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.cf-mobile-drawer:not(.is-open) .cf-mobile-close {
  transition: transform 0.32s ease 0ms, opacity 0.25s ease 0ms;
}

.cf-mobile-nav-list {
  padding: 28px 16px 88px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-mobile-link,
.cf-mobile-movies-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cf-mobile-movies-btn {
  justify-content: space-between;
}

.cf-mobile-link:hover,
.cf-mobile-movies-btn:hover {
  color: #ff9800;
  background: rgba(255, 152, 0, 0.08);
  border-color: rgba(255, 152, 0, 0.25);
}

.cf-mobile-link.is-active,
.cf-mobile-movies-btn.is-active {
  color: #ff9800;
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.35);
}

.cf-mobile-ico-slot {
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-mobile-stagger {
  opacity: 0;
  transform: translateX(-22px);
  filter: blur(4px);
  transition:
    transform 0.64s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.54s ease,
    filter 0.54s ease,
    color 0.2s ease;
}

.cf-mobile-drawer.is-open .cf-mobile-stagger {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.cf-mobile-drawer:not(.is-open) .cf-mobile-stagger {
  transition-delay: 0ms !important;
  transition-duration: 0.28s;
}

.cf-mobile-chevron {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.cf-mobile-group.is-expanded .cf-mobile-chevron {
  transform: rotate(180deg);
  color: #ff9800;
}

.cf-mobile-sublist-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}

.cf-mobile-group.is-expanded .cf-mobile-sublist-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}

.cf-mobile-sublist-inner {
  overflow: hidden;
}

.cf-mobile-sublist {
  margin-top: 8px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cf-mobile-sublink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.88);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.cf-mobile-sublink:hover,
.cf-mobile-sublink.is-active {
  color: #ff9800;
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.3);
  font-weight: 700;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .header-inner {
    padding: 10px 1.25rem;
    gap: 1rem;
  }
  .main-nav {
    gap: 1.15rem;
  }
  .main-nav a,
  .cf-nav-dropdown-trigger {
    font-size: 14px;
  }
  .header-actions {
    gap: 1rem;
  }
  .cf-custom-header-logo {
    height: calc(var(--cf-logo-h-desktop, 50px) * 0.88);
    max-width: 210px;
  }
  .cf-cine {
    font-size: 31px;
  }
  .cf-freak {
    font-size: 25px;
  }
  .cf-suffix-slot {
    margin-bottom: 10px;
  }
  .cf-suffix-slot.cf-suffix-slot-custom {
    margin-bottom: 4px;
  }
  .end-txt {
    display: inline-block;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    position: relative;
    min-height: 66px;
    padding: 8px 1.25rem;
  }
  .header-left {
    gap: 12px;
  }
  .cf-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }
  .cf-brand.cf-brand-custom {
    height: auto;
    min-height: 36px;
  }
  .cf-custom-header-logo {
    height: var(--cf-logo-h-mobile, 38px);
    max-width: min(210px, 54vw);
  }
}

@media (max-width: 640px) {
  .cf-brand {
    height: 40px;
    padding: 0 6px;
  }
  .cf-brand.cf-brand-custom {
    height: auto;
    min-height: 36px;
    gap: 1px;
    padding: 0 3px;
  }
  .cf-custom-header-logo {
    height: var(--cf-logo-h-mobile, 38px);
    max-width: min(200px, 52vw);
  }
  .cf-orn {
    width: 38px;
    height: 18px;
  }
  .cf-cine {
    font-size: 27px;
  }
  .cf-freak {
    font-size: 22px;
  }
  .cf-suffix-slot {
    margin-left: 0;
    margin-right: 3px;
    margin-bottom: 8px;
  }
  .cf-suffix-slot.cf-suffix-slot-custom {
    margin-left: 0;
    margin-right: 1px;
    margin-bottom: 4px;
  }
  .end-txt {
    display: inline-block;
    font-size: 10.5px;
  }
}

@media (max-width: 390px) {
  .cf-brand {
    height: 36px;
    padding: 0 5px;
    gap: 3px;
  }
  .cf-brand.cf-brand-custom {
    height: auto;
    min-height: 34px;
    gap: 0;
    padding: 0 2px;
  }
  .cf-custom-header-logo {
    height: var(--cf-logo-h-mobile, 38px);
    max-width: min(175px, 48vw);
  }
  .cf-orn {
    width: 32px;
    height: 15px;
  }
  .cf-cine {
    font-size: 23px;
  }
  .cf-freak {
    font-size: 18.5px;
  }
  .cf-suffix-slot {
    margin-left: 0;
    margin-right: 2px;
    margin-bottom: 7px;
  }
  .cf-suffix-slot.cf-suffix-slot-custom {
    margin-left: 0;
    margin-right: 1px;
    margin-bottom: 3px;
  }
  .end-txt {
    font-size: 9.5px;
  }
  .cf-ott-rail {
    gap: 12px;
  }
  .cf-ott-item {
    width: 74px;
  }
  .cf-ott-ring {
    width: 62px;
    height: 62px;
  }
  .cf-ott-name {
    font-size: 11px;
  }
  .cf-collections-rail {
    scroll-snap-type: x mandatory;
    gap: 12px;
  }
  .cf-collection-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 196px;
    border-radius: 16px;
    scroll-snap-align: start;
  }
  .cf-collection-name {
    font-size: 18px;
  }
  .cf-collection-years {
    font-size: 13px;
  }
}

/* WordPress Pagination Pills */
.navigation.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.navigation.pagination .page-numbers:hover {
  border-color: rgba(255, 152, 0, 0.55);
  color: #ff9800;
}

.navigation.pagination .page-numbers.current {
  background: #ff9800;
  border-color: #ff9800;
  color: #0b0c0f;
  box-shadow: 0 0 14px rgba(255, 152, 0, 0.45);
}

/* Floating Telegram Button (Bottom-Left White Circle) */
.floating-telegram-btn {
  position: fixed;
  bottom: 18px;
  left: 16px;
  z-index: 9994;
  background: #ffffff;
  color: #0b0c0f;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-telegram-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   CineFreak 1:1 React Parity Additions (Header Dropdown, Hero Slider,
   Quick Tabs, Card Animations, Genre Pills & Single Stream/Trailer)
   ========================================================================== */

/* Top Notice Bar */
.cf-notice-bar {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.16) 0%, rgba(255, 152, 0, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 152, 0, 0.28);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.cf-notice-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fde68a;
}
.cf-notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff9800;
  box-shadow: 0 0 8px #ff9800;
  flex-shrink: 0;
}
.cf-notice-close {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #fde68a;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 6px;
}

/* Desktop Movies 2-Column Dropdown */
.main-nav a.is-active,
.cf-icon-btn.is-active {
  color: #ff9800;
}
.cf-nav-dropdown-parent {
  position: relative;
}
.cf-nav-dropdown-trigger {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color 0.2s;
}
.cf-nav-dropdown-trigger:hover,
.cf-nav-dropdown-parent.is-open .cf-nav-dropdown-trigger {
  color: #ff9800;
}
.cf-nav-chevron {
  transition: transform 0.2s ease;
}
.cf-nav-dropdown-parent.is-open .cf-nav-chevron {
  transform: rotate(180deg);
}
.cf-movies-dropdown-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 60;
}
.cf-nav-dropdown-parent:hover .cf-movies-dropdown-wrap,
.cf-nav-dropdown-parent.is-open .cf-movies-dropdown-wrap {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cf-movies-dropdown-panel {
  width: 390px;
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.85);
}
.cf-movies-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.cf-movies-dropdown-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px !important;
  border-radius: 7px;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.cf-movies-dropdown-item:hover,
.cf-movies-dropdown-item.is-active {
  background: rgba(255, 152, 0, 0.14);
  color: #ff9800 !important;
}
.cf-nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  text-align: center;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}
.cf-mobile-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cf-mobile-link.is-active,
.cf-mobile-sublink.is-active {
  color: #ff9800;
}

/* Hero Slider */
.cine-slider-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 15px auto 30px auto;
  padding: 0 16px;
}
.cine-hero-slider {
  width: 100%;
  height: 480px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: #0e0d0a;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 122, 26, 0.15);
}
.cine-hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, #ff3b30 0%, #ff7a1a 50%, #ffc93c 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 25;
  pointer-events: none;
}
.cine-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.cine-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.cine-slide-img-box {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.cine-slide-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.cine-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 13, 10, 0.95) 0%, rgba(14, 13, 10, 0.5) 30%, rgba(14, 13, 10, 0.05) 60%, transparent 100%),
              linear-gradient(90deg, rgba(14, 13, 10, 0.7) 0%, transparent 50%);
}
.cine-slide-cover-link {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: block;
  cursor: pointer;
}
.cine-slide-content {
  position: absolute;
  bottom: 45px;
  left: 45px;
  max-width: 680px;
  z-index: 14;
}
.cine-tags-group {
  position: absolute;
  top: 24px;
  right: 45px;
  z-index: 15;
  display: flex;
  gap: 8px;
  align-items: center;
}
.cine-tag-featured {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 122, 26, 0.6);
  color: #ffb066;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}
.cine-tag-cat {
  background: rgba(0, 0, 0, 0.65);
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 122, 26, 0.35);
}
.cine-slide-title {
  margin: 0 0 16px 0;
  line-height: 1.25;
}
.cine-slide-title a,
.cine-slide-title h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  transition: color 0.3s ease;
}
.cine-slide-title a:hover {
  color: #ff7a1a;
}
.cine-meta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cine-meta-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.cine-quality {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 122, 26, 0.5);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.cine-date {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cine-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 122, 26, 0.2);
  border: 1px solid rgba(255, 154, 74, 0.45);
  color: #ffd9b3;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  box-shadow: 0 3px 10px rgba(255, 122, 26, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}
.cine-play-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 122, 26, 0.35);
  color: #fff;
  box-shadow: 0 5px 14px rgba(255, 122, 26, 0.3);
}
.cine-nav-wrapper {
  position: absolute;
  bottom: 25px;
  right: 35px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 14px;
  border-radius: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 122, 26, 0.3);
}
.cine-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.cine-arrow:hover {
  color: #ff7a1a;
  background: rgba(255, 255, 255, 0.1);
}
.cine-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cine-dot {
  background: rgba(255, 255, 255, 0.4);
  border: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cine-dot.active {
  background: linear-gradient(135deg, #ff3b30 0%, #ff7a1a 50%, #ffc93c 100%);
  width: 20px;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .cine-hero-slider { height: 300px; }
  .cine-slide-content { left: 20px; right: 20px; bottom: 22px; }
  .cine-slide-title h2, .cine-slide-title a { font-size: 20px; }
  .cine-nav-wrapper { right: 20px; bottom: 12px; }
}
@media (max-width: 600px) {
  .cine-slider-wrapper { margin: 6px auto 18px auto; }
  .cine-hero-slider { height: 205px; border-radius: 16px; }
  .cine-hero-slider::before { border-radius: 16px; }
  .cine-slide-content { left: 14px; right: 14px; bottom: 14px; }
  .cine-tags-group { top: 12px; right: 12px; gap: 6px; }
  .cine-tag-featured, .cine-tag-cat { font-size: 9.5px; padding: 3px 8px; border-radius: 9999px; }
  .cine-slide-title { margin-bottom: 8px; }
  .cine-slide-title h2, .cine-slide-title a {
    font-size: 16px;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cine-meta-actions { gap: 12px; }
  .cine-meta-info { font-size: 12px; }
  .cine-play-btn { font-size: 11.5px; padding: 6px 14px; border-radius: 10px; }
  .cine-nav-wrapper { display: none; }
}

/* OTT Extras */
.cf-ott-mark {
  color: var(--cf-brand, #ff9800);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}
.cf-ott-item.active .cf-ott-ring {
  transform: translateY(-4px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cf-brand, #ff9800) 25%, transparent), 0 8px 20px rgba(0, 0, 0, 0.5);
}
.cf-ott-filtered-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
  background: rgba(255, 152, 0, 0.2);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.35);
}

/* Latest Releases Header, Quick Tabs & Active Filters */
.cf-releases-section {
  max-width: 1300px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}
.cf-releases-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 768px) {
  .cf-releases-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cf-releases-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cf-releases-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cf-available-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}
.cf-quick-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.cf-quick-tabs::-webkit-scrollbar {
  display: none;
}
.cf-quick-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  background: #14151c;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cf-quick-tab:hover {
  background: #1e2029;
  color: #ffffff;
}
.cf-quick-tab.is-active {
  background: #ff9800;
  color: #000000;
  border-color: #ff9800;
  box-shadow: 0 4px 14px rgba(255, 152, 0, 0.25);
}
.cf-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #14151c;
  border: 1px solid rgba(255, 152, 0, 0.22);
}
.cf-af-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
.cf-af-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}
.cf-af-chip.is-cat {
  background: rgba(255, 152, 0, 0.16);
  color: #ffb74d;
}
.cf-af-chip.is-ott {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}
.cf-af-chip.is-recent {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}
.cf-af-reset {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: underline;
}
.cf-af-reset:hover {
  color: #ffffff;
}
.cf-empty-grid-box {
  margin-top: 1.5rem;
  background: #121318;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 4rem 1.5rem;
  text-align: center;
}
.cf-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.cf-empty-grid-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.cf-empty-grid-box p {
  font-size: 13.5px;
  color: #94a3b8;
  max-width: 460px;
  margin: 0 auto 18px;
}

/* Movie Card Extra Badges & Animations */
.type-slide span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-4px);
  animation: typeSlide 3.5s infinite;
}
.type-slide span:nth-child(1) { animation-delay: 0s; }
.type-slide span:nth-child(2) { animation-delay: 0.1s; }
.type-slide span:nth-child(3) { animation-delay: 0.2s; }
.type-slide span:nth-child(4) { animation-delay: 0.3s; }
.type-slide span:nth-child(5) { animation-delay: 0.4s; }
.type-slide span:nth-child(6) { animation-delay: 0.5s; }
.type-slide span:nth-child(7) { animation-delay: 0.6s; }
.type-slide span:nth-child(8) { animation-delay: 0.7s; }
@keyframes typeSlide {
  0% { opacity: 0; transform: translateX(-4px); color: #00ffcc; }
  15%, 80% { opacity: 1; transform: translateX(0); color: #fff; }
  100% { opacity: 0; transform: translateX(4px); }
}
.cf-genre-4k {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 22;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(8, 7, 5, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(214, 168, 90, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.cf-genre-4k b {
  font-size: 10.5px;
  font-weight: 800;
  color: #f0c674;
  line-height: 1;
}
.cf-genre-4k i {
  display: block;
  width: 1px;
  height: 9px;
  background: rgba(214, 168, 90, 0.45);
}
.cf-genre-4k span {
  font-size: 8px;
  font-weight: 700;
  color: #b99d6b;
  letter-spacing: 1.2px;
  line-height: 1;
}
.series-info-bottom {
  position: absolute;
  bottom: 7px;
  right: 0;
  z-index: 20;
}
.status-ep, .status-completed {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  padding: 4px 10px 3px 18px;
  background: rgba(12, 12, 16, 0.88);
  -webkit-clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}
.status-ep { border-bottom: 2px solid #eb0000; }
.status-completed { border-bottom: 2px solid #00ff88; }
.status-ep::before, .status-completed::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.status-ep::before { background: #eb0000; box-shadow: 0 0 6px #f00; }
.status-completed::before { background: #00ff88; box-shadow: 0 0 6px #00ff88; }
.movie-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  z-index: 10;
}
.movie-card:hover .movie-card-overlay {
  opacity: 1;
}
.movie-card-formats {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.movie-card-formats .movie-card-format {
  font-size: 9px;
  background: rgba(255, 152, 0, 0.25);
  border: 1px solid rgba(255, 152, 0, 0.5);
  color: #ffb74d;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.recent-inline-badge {
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(135deg, #ff3d00, #ff1744);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  animation: pulseLite 2s infinite;
}
@keyframes pulseLite {
  0% { box-shadow: 0 0 0 0 rgba(255, 50, 50, 0.5); }
  70% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.cf-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fbbf24;
  font-weight: 700;
  font-size: 10.5px;
}

/* Genre & Category Pills Toggle */
.cf-pills-sections {
  max-width: 1300px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.cf-pill-extra.is-hidden {
  display: none;
}
.cf-genre-pill.active {
  border-color: #ff9800 !important;
  background: #ff9800 !important;
  color: #0b0c0f !important;
  font-weight: 700;
}
.cf-genre-more {
  background: #ff9800;
  border: 1px solid #ff9800;
  color: #0b0b0e;
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(255, 152, 0, 0.28);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cf-genre-more:hover {
  background: #ffa726;
  border-color: #ffa726;
  transform: translateY(-1px);
}

/* Single Post: Breadcrumbs, Centered Title, Pills & Unified Watch Online / Trailer Player */
.cf-breadcrumb-bar {
  max-width: 1300px;
  margin: 1rem auto 0.25rem;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.cf-breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}
.cf-breadcrumb-back {
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.cf-breadcrumb-back:hover,
.cf-breadcrumb-link:hover {
  color: #facc15;
}
.cf-breadcrumb-link {
  color: #94a3b8;
  font-weight: 600;
}
.cf-breadcrumb-actions {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .cf-breadcrumb-actions {
    display: flex;
  }
}
.cf-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.cf-share-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cf-hero-title {
  font-family: var(--cf-post-font);
  font-size: 1.35rem;
  line-height: 1.38;
  font-weight: 800;
  color: var(--cf-post-color);
  text-align: center;
  letter-spacing: -0.25px;
  margin: 0 0 14px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 768px) {
  .cf-hero-title {
    font-size: 1.55rem;
  }
}
.cf-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}
.cf-pill-solid {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, color 0.2s;
}
.cf-pill-solid:hover {
  border-color: #facc15;
  color: #facc15;
}
.cf-pill-dashed {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: transparent;
}
.cf-pill-ott {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  background: #2563eb;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.cf-player-wrapper {
  margin: 0 0 28px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72);
  background: #0d0f15;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.cf-player-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 2px 2px 3px;
}
@media (min-width: 768px) {
  .cf-player-topbar {
    gap: 10px;
    padding: 2px 2px 4px;
  }
}
.cf-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1b1f2b;
  color: #e2e8f0;
  transition: all 0.18s ease;
}
.cf-mode-btn:hover {
  border-color: rgba(250, 204, 21, 0.5);
  color: #ffffff;
}
.cf-mode-btn.is-active {
  background: #facc15;
  border-color: #facc15;
  color: #090b10;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.25);
}
.cf-player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 10px;
  background: #06070a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cf-player-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
.cf-player-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 7, 10, 0.25) 0%, rgba(6, 7, 10, 0.65) 100%);
  pointer-events: none;
}
.cf-player-idle-overlay {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
}
.cf-player-play-halo {
  width: 78px;
  height: 78px;
  border-radius: 9999px;
  background: rgba(250, 204, 21, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, background 0.22s ease;
}
.cf-player-play-halo:hover {
  transform: scale(1.06);
  background: rgba(250, 204, 21, 0.3);
}
.cf-player-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #facc15;
  color: #0b0c0f;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
}
.cf-player-idle-title {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.cf-player-active-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.cf-player-active-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #ffffff;
}
.cf-player-conn-pill {
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(16, 185, 129, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.cf-player-active-bar {
  background: rgba(0, 0, 0, 0.84);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cf-player-pause-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.cf-player-progress {
  flex: 1;
  height: 5px;
  border-radius: 9999px;
  background: #334155;
  overflow: hidden;
}
.cf-player-progress-fill {
  width: 35%;
  height: 100%;
  background: #facc15;
}
.cf-player-timecode {
  font-size: 11px;
  color: #cbd5e1;
}
.cf-player-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-feature-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #141720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
}
.cf-feature-tag {
  display: inline-flex;
  align-items: center;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
}
.cf-player-tg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0d1824;
  border: 1px solid rgba(56, 189, 248, 0.26);
  text-decoration: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.cf-player-tg-bar:hover {
  background: #102030;
  border-color: rgba(56, 189, 248, 0.55);
}
.cf-player-tg-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.cf-player-tg-ico {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cf-player-tg-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-player-tg-cta {
  font-size: 12.5px;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cf-player-wrapper {
    padding: 7px;
    gap: 7px;
    border-radius: 12px;
  }
  .cf-mode-btn {
    padding: 6px 12px;
    font-size: 11.5px;
    gap: 6px;
  }
  .cf-player-idle-overlay {
    padding: 10px;
  }
  .cf-player-idle-btn {
    width: 54px !important;
    height: 54px !important;
  }
  .cf-player-idle-title {
    margin-top: 8px;
    font-size: 12px;
  }
  .cf-player-active-overlay {
    padding: 10px;
  }
  .cf-player-active-top {
    font-size: 11px;
    gap: 6px;
  }
  .cf-player-active-bar {
    padding: 6px 9px;
    gap: 8px;
  }
  .cf-player-footer {
    gap: 6px;
  }
  .cf-feature-bar {
    padding: 8px 11px;
    font-size: 12px;
  }
  .cf-feature-tag {
    font-size: 12px;
  }
  .cf-player-tg-bar {
    padding: 8px 11px;
    gap: 8px;
  }
  .cf-player-tg-ico {
    width: 20px;
    height: 20px;
  }
  .cf-player-tg-text,
  .cf-player-tg-cta {
    font-size: 11.5px;
  }
}
.cf-player-servers {
  background: #101218;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cf-server-label {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  margin-right: 4px;
}
.cf-server-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1c26;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cf-server-btn:hover {
  background: #252836;
}
.cf-server-btn.is-active {
  background: #facc15;
  border-color: #facc15;
  color: #090b10;
}
.card-grid-small {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .card-grid-small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .card-grid-small {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Last 24 Hours Slide-Over Timeline Drawer (Matches Screenshot)
   ========================================================================== */
.cf-24h-overlay {
  position: fixed;
  inset: 0;
  z-index: 9992;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s ease;
}
.cf-24h-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cf-24h-panel {
  width: min(94vw, 430px);
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 15, 20, 0.92) 0%,
    rgba(11, 13, 18, 0.84) 52%,
    rgba(9, 10, 15, 0.94) 100%
  );
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 54px rgba(0, 0, 0, 0.82);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.58s ease;
  will-change: transform, opacity;
}
@media (min-width: 640px) {
  .cf-24h-panel {
    width: 100%;
    max-width: 430px;
  }
}
.cf-24h-overlay.is-open .cf-24h-panel {
  transform: translateX(0);
  opacity: 1;
}
.cf-24h-overlay:not(.is-open) .cf-24h-panel {
  transition: transform 0.44s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.36s ease;
}
.cf-24h-head {
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.cf-24h-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cf-24h-head-top > div,
.cf-24h-tabs {
  opacity: 0;
  transform: translateX(18px);
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.14s, opacity 0.48s ease 0.14s;
}
.cf-24h-overlay.is-open .cf-24h-head-top > div,
.cf-24h-overlay.is-open .cf-24h-tabs {
  opacity: 1;
  transform: translateX(0);
}
.cf-24h-overlay:not(.is-open) .cf-24h-head-top > div,
.cf-24h-overlay:not(.is-open) .cf-24h-tabs {
  transition-delay: 0ms;
  transition-duration: 0.24s;
}
.cf-24h-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}
.cf-24h-sub {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
}
.cf-24h-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #161820;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.65) rotate(90deg);
  transition:
    transform 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.16s,
    opacity 0.46s ease 0.16s,
    border-color 0.2s ease;
}
.cf-24h-overlay.is-open .cf-24h-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.cf-24h-overlay:not(.is-open) .cf-24h-close {
  transition: transform 0.28s ease 0ms, opacity 0.22s ease 0ms;
}
.cf-24h-close:hover {
  border-color: rgba(255, 152, 0, 0.65);
}
.cf-24h-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cf-24h-tab {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cf-24h-tab:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.cf-24h-tab.is-active {
  background: #f5b400;
  border-color: #f5b400;
  color: #0b0c0f;
}
.cf-24h-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cf-24h-empty {
  padding: 48px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 13.5px;
}
.cf-24h-timeline {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf-24h-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 16px;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: top center;
  transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.18s, opacity 0.52s ease 0.18s;
}
.cf-24h-overlay.is-open .cf-24h-timeline::before {
  opacity: 1;
  transform: scaleY(1);
}
.cf-24h-item {
  position: relative;
  opacity: 0;
  transform: translateX(26px);
  filter: blur(4px);
  transition:
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.52s ease,
    filter 0.52s ease;
}
.cf-24h-overlay.is-open .cf-24h-item {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.cf-24h-overlay:not(.is-open) .cf-24h-item {
  transition-delay: 0ms !important;
  transition-duration: 0.25s;
}
.cf-24h-dot {
  position: absolute;
  left: -21px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}
.cf-24h-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #13151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: all 0.2s ease;
}
.cf-24h-card:hover {
  border-color: rgba(245, 158, 11, 0.55);
  background: #171a23;
}
.cf-24h-thumb {
  width: 54px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  background: #1b1e28;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.cf-24h-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cf-24h-info {
  flex: 1;
  min-width: 0;
}
.cf-24h-meta-top {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.cf-24h-time {
  color: #10b981;
}
.cf-24h-kind {
  color: #94a3b8;
}
.cf-24h-card-title {
  margin: 2px 0 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-24h-card:hover .cf-24h-card-title {
  color: #f5b400;
}
.cf-24h-meta-bot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cf-24h-badge {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.cf-24h-badge-new {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.cf-24h-badge-complete {
  background: rgba(16, 185, 129, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.cf-24h-badge-updated {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.cf-24h-badge-ep {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.cf-24h-subtext {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Before You Download Tips Card (single.php) */
.cf-bdownload-wrap {
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cf-bdownload-card {
  background: #11131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.cf-bdownload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cf-bdownload-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cf-bdownload-book-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-bdownload-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.cf-bdownload-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.cf-bdownload-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cf-bdownload-lang-switch {
  display: inline-flex;
  align-items: center;
  background: #181a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 3px;
}

.cf-bdownload-lang-btn {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1.2;
}

.cf-bdownload-lang-btn:hover {
  color: #ffffff;
}

.cf-bdownload-lang-btn.is-active {
  background: #fbbf24;
  color: #0b0c0f;
  font-weight: 800;
}

.cf-bdownload-collapse-btn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #181a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cf-bdownload-collapse-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.cf-bdownload-body {
  margin-top: 18px;
}

.cf-bdownload-body.is-collapsed {
  display: none;
}

.cf-bdownload-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .cf-bdownload-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cf-bdownload-box {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px;
  border-radius: 12px;
}

.cf-bdownload-box.is-tip {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.cf-bdownload-box.is-warn {
  background: rgba(244, 63, 94, 0.07);
  border: 1px solid rgba(244, 63, 94, 0.28);
}

.cf-bdownload-box-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0b0c0f;
}

.cf-bdownload-box.is-tip .cf-bdownload-box-ico {
  background: #f59e0b;
}

.cf-bdownload-box.is-warn .cf-bdownload-box-ico {
  background: #ff6b4a;
}

.cf-bdownload-box-title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 800;
}

.cf-bdownload-box.is-tip .cf-bdownload-box-title {
  color: #fbbf24;
}

.cf-bdownload-box.is-warn .cf-bdownload-box-title {
  color: #fb7185;
}

.cf-bdownload-box-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #e2e8f0;
}

.cf-bdownload-link-amber {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cf-bdownload-link-amber:hover {
  color: #fde68a;
}

.cf-bdownload-link-coral {
  color: #fb7185;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cf-bdownload-link-coral:hover {
  color: #fda4af;
}

.cf-bdownload-list {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cf-bdownload-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.6;
  color: #d1d5db;
}

.cf-bdownload-row-ico {
  flex-shrink: 0;
  margin-top: 3px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cf-bdownload-row-ico.is-amber {
  color: #fbbf24;
}

.cf-bdownload-row strong {
  color: #ffffff;
  font-weight: 700;
}

/* Single Episodes Timeline Section */
.cf-episodes-section {
  width: 100%;
  margin-bottom: 32px;
}

.cf-episodes-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-left: 4px;
  flex-wrap: wrap;
}

.cf-episodes-head-label {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #facc15;
}

.cf-episodes-head-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
}

.cf-ep-timeline {
  display: flex;
  flex-direction: column;
}

.cf-ep-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.cf-ep-rail {
  position: relative;
  width: 78px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 14px;
  padding-right: 16px;
}

.cf-ep-rail::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5px;
  width: 1.5px;
  background: rgba(56, 189, 248, 0.25);
}

.cf-ep-row:first-child .cf-ep-rail::before {
  top: 20px;
}

.cf-ep-rail-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.25;
}

.cf-ep-season {
  font-size: 11.5px;
  font-weight: 800;
  color: #38bdf8;
  white-space: nowrap;
}

.cf-ep-date {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
}

.cf-ep-dot {
  position: absolute;
  right: 0;
  top: 18px;
  width: 11px;
  height: 11px;
  border-radius: 9999px;
  border: 2px solid #0ea5e9;
  background: var(--background, #0b0c0f);
  z-index: 2;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.35);
}

.cf-ep-card {
  flex: 1;
  min-width: 0;
  margin-bottom: 12px;
  background: #0d1016;
  border: 1px solid rgba(234, 179, 8, 0.38);
  border-radius: 10px;
  padding: 14px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cf-ep-card:hover {
  border-color: rgba(250, 204, 21, 0.72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(250, 204, 21, 0.08);
}

.cf-ep-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cf-ep-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cf-ep-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.cf-ep-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.cf-ep-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.cf-ep-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cf-ep-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 7px;
  border-radius: 9999px;
  border: 1px solid rgba(250, 204, 21, 0.55);
  background: rgba(250, 204, 21, 0.09);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cf-ep-watch-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.22);
  color: #ffffff !important;
}

.cf-ep-watch-play {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #facc15;
  color: #090b10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-ep-links-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cf-ep-dl-btn {
  flex: 1 1 135px;
  max-width: 230px;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #151922;
  border: 1px solid #2b3342;
  color: #f8fafc !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cf-ep-dl-btn:hover {
  background: #1c222e;
  border-color: rgba(250, 204, 21, 0.65);
  color: #facc15 !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cf-ep-row {
    gap: 10px;
  }
  .cf-ep-rail {
    width: 62px;
    padding-right: 13px;
  }
  .cf-ep-season {
    font-size: 10.5px;
  }
  .cf-ep-date {
    font-size: 10px;
  }
  .cf-ep-card {
    padding: 12px 13px;
  }
  .cf-ep-dl-btn {
    min-width: 100px;
    padding: 8px 12px;
    font-size: 12.5px;
  }
}