/*
Theme Name: Blogger
Theme URI: https://example.com/
Author: Custom Theme
Author URI: https://example.com
Description: A modern dark movie review theme inspired by template. Features Custom Post Type for ratings, and a clean UI.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: movie-reviews
Tags: movie, dark, entertainment, custom-post-type, blog

/* =====================================================
   CSS Variables
===================================================== */
:root {
  --bg-dark: #081b27;
  --bg-card: #1a273b;
  --bg-header: #0b1524;
  --accent: #f0b429;
  --text: #ffffff;
  --text-muted: #94a3b8;
  --text-soft: #7b8ba3;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 10px;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* =====================================================
   Reset & Base
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.textfoot {
    color: #8f9da7;
    padding: 0px 10px 10px;
    width: 50%;
    margin-left: 25%;
}

.footer-social-title {
  display: inline-block;
}

.footer-social-title.icon {
  width: 14px;
  margin-right: 5px;
  font-family: 'Fontawesome webfont', sans-serif;
  color: #f1b722;
}

@font-face {
  font-family: 'Fontawesome webfont';
  src: url('assets/fontawesome-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

ul, ol {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #0c2738
}

::-webkit-scrollbar-track {
   background-color: #292929;
}

::-webkit-scrollbar-thumb {
    background: #838383;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}

.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-img,
.custom-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-navigation a {
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 6px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.section-highlights {
  padding: 70px 0 80px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn:hover {
  background: #2a3b55;
  color: var(--text);
}

.filter-btn.active {
  background: #fff;
  color: var(--bg-dark);
}

.xemthem {
  color:white;
  font-weight:500;
}
.xemthem:hover {
	text-decoration: underline;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.movie-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.movie-card:hover {
  opacity; 0.9;
}

.poster-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--bg-card);
  margin-bottom: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.movie-card:hover .poster-wrap img {
  opacity; 0.9;
}

.rating-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 42px;
    height: 28px;
    padding: 0 10px;
    background: #f0b429;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.movie-info {
  padding: 0 2px;
}

.movie-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.movie-stars .empty {
  color: #3d4f6a;
}

.movie-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.movie-title a:hover {
  text-decoration: underline;
}

.movie-genre {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
}

.movie-genre svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  flex-shrink: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: calc(100vh - 72px);
  background: var(--bg-dark);
}

.hero-featured {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 21, 36, 0.9), rgba(11, 21, 36, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 20px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.btn:hover {
    text-decoration: none !important;
}

.hero-side {
  display: grid;
  grid-template-rows: 1.2fr 1fr;
  gap: 12px;
  padding: 20px 20px 20px 0;
}

.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.hero-card:hover img {
  transform: scale(1.05);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 35, 0.95) 25%, transparent 70%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-bottom-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.single-movie-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.single-poster {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.single-poster img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: contain;
}

.single-info .rating-badge {
  position: static;
  display: inline-flex;
  margin-bottom: 16px;
}

.single-title {
  font-size: 42px;
  margin-bottom: 16px;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.single-content {
  font-size: 17px;
  line-height: 1.8;
  color: #cbd5e1;
}

.single-content p {
  margin-bottom: 1.2em;
}


.tv-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: #1e2d45;
  color: var(--text-muted);
}

.tv-status--ongoing {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.tv-status--ended {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

.tv-status--cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.tv-status--upcoming {
  background: rgba(240, 180, 41, 0.15);
  color: var(--accent);
}

.page-header {
  padding: 0px 0 40px;
  text-align: center;
}

.page-title {
  font-size: 35px;
  margin-bottom: 12px;
	font-weight: 800;
}

.page-description {
  color: var(--text-muted);
  font-size: 16px;
}

.footer-widget a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-widget a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.bottom-footer a:hover {
  color: var(--accent);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  padding-bottom: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    background: #1e2d45;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
}

.pagination a:hover,
.pagination .current {
  background: #ffffff;
    color: #0b1524;
}

.search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #1e2d45;
  border-radius: 6px 0 0 6px;
  background: #1a273b;
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.search-form input[type="search"]:focus {
  border-color: var(--accent);
}

.search-form button {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 600;
}

.no-results {
  text-align: center;
    padding: 0px 0px;
    color: var(--text-muted);
    font-size: 14px;
	margin-top: 30px;
}

.no-results h2 {
  margin-bottom: 12px;
  color: var(--text);
}

    .btn-trailer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #337ab7;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    }

    .btn-watch-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #ef6b6b;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    }

.btn-trailer:hover{
	background:#2e6da4;
	color:#fff
}
.btn-watch-now:hover{
	background:#dc5555;
	color:#fff
}

.cinematic-buttons {
        display: flex;
        gap: 12px;
        margin: 16px 0;
        flex-wrap: wrap;
    }

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-featured {
    min-height: 60vh;
    padding: 60px 30px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-side {
    padding: 0 20px 20px;
  }

  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-movie-header {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

  .main-navigation.active {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .movie-grid {
    grid-template-columns: 1fr;
    margin: 0 auto;
  }

  .hero-bottom-cards {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 60px;
}

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

.sidebar-right {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  border-radius: 10px;
  padding: 20px 0px 0px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 10px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  margin-bottom: 6px;
}

.filter-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.filter-list a:hover {
  background: #1e2d45;
  color: var(--text);
}

.filter-list .count {
  font-size: 12px;
  color: var(--text-soft);
  background: #1a273b;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Sidebar search */
.sidebar-search {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-search .search-field {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #1e2d45;
  border-radius: 6px;
  background: #0b1524;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.sidebar-search .search-field:focus {
  border-color: var(--accent);
}

.sidebar-search .search-submit {
  padding: 10px;
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.sidebar-search .search-submit:hover {
  opacity: 0.9;
}

.parent-series {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.parent-series a {
  color: var(--accent);
}

.parent-series a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-right {
    position: static;
    order: 2;
  }
}


.home-modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.home-module {
  background: #121e30;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}

.home-module-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.filter-list--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list--chips li {
  margin: 0;
}

.filter-list--chips a {
  display: inline-block;
  padding: 8px 16px;
  background: #1e2d45;
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.filter-list--chips a:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

.module-hint {
  color: var(--text-soft);
  font-size: 13px;
}

/* Date widget */
.date-widget-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.date-day {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.date-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.date-weekday {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-transform: capitalize;
}

.date-month-year {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: capitalize;
}

/* Top rated rank */
.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #1e2d45;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.recent-date {
  font-size: 11px;
  color: var(--text-soft);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .home-modules-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Episode Watch Page + Player
===================================================== */
.episode-watch-page {
  padding-bottom: 60px;
}

.ep-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 24px 0 16px;
  font-size: 13px;
  color: var(--text-soft);
}

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

.ep-breadcrumb a:hover {
  color: var(--accent);
}

.player-section {
  margin-bottom: 32px;
}

.player-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.player-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.player-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #121e30;
  color: var(--text-muted);
  padding: 24px;
  text-align: center;
}

.player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.player-title-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.player-ep-code {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.player-ep-name {
  font-size: 16px;
  color: #fff;
}

.player-series-name {
  font-size: 13px;
  color: var(--text-soft);
}

.player-rating {
  flex-shrink: 0;
  background: var(--accent);
  color: #0b1524;
  font-weight: 800;
  font-size: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-shell .player-wrap {
  border-radius: 0;
  box-shadow: none;
  background: #000;
}

.player-stage {
  position: absolute;
  inset: 0;
}

.player-stage .player-embed,
.player-stage .player-video,
.player-stage .player-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.server-label {
  font-size: 13px;
  color: var(--text-soft);
  margin-right: 4px;
}

.player-shell .ep-nav {
  padding: 12px 16px 16px;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* =====================================================
   EPISODE PAGE — Premium redesign
===================================================== */

.episode-watch-page {
  padding: 0 0 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240, 180, 41, 0.07), transparent 55%),
    var(--bg-dark);
}

.episode-watch-page > .container {
  max-width: 1180px;
}

/* Breadcrumb */
.ep-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 28px 0 18px;
  font-size: 13px;
  color: rgba(148, 163, 184, 0.7);
}

.ep-breadcrumb a {
  color: rgba(148, 163, 184, 0.9);
  transition: color 0.2s;
}

.ep-breadcrumb a:hover {
  color: var(--accent);
}

.ep-breadcrumb span:last-child {
  color: #e2e8f0;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.player-title-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  min-width: 0;
}

.player-ep-code {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(240, 180, 41, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.player-ep-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.player-series-name {
  font-size: 13px;
  color: #64748b;
}

.player-series-name::before {
  content: "·";
  margin-right: 10px;
  color: #334155;
}

.player-rating {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f5c84a, #e0a820);
  color: #0b1524;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(240, 180, 41, 0.35);
}

/* 16:9 stage */
.player-shell .player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.player-stage {
  position: absolute;
  inset: 0;
}

.player-stage .player-embed,
.player-stage .player-video,
.player-stage .player-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-video {
  background: #000;
  object-fit: contain;
}

.player-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(30, 45, 69, 0.8), #0a101c);
  color: #94a3b8;
  padding: 32px;
  text-align: center;
  font-size: 15px;
}

.player-empty p {
  max-width: 360px;
  line-height: 1.6;
}


.server-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-right: 6px;
}

.server-btn:hover {
  background: #f0b429;
}

/* Prev / next under player */
.player-shell .ep-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px 16px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.2);
}

.ep-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(30, 45, 69, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.ep-nav-btn:hover:not(.disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1524;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(240, 180, 41, 0.25);
}

.ep-nav-btn.disabled {
  opacity: 0.35;
  cursor: default;
  
}

.ep-nav-list {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.ep-nav-list:hover:not(.disabled) {
  border-style: solid;
}


/* Responsive */
@media (max-width: 768px) {
  .player-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .player-rating {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .player-ep-name {
    font-size: 15px;
  }

  .server-switcher {
    padding: 12px;
  }


  .player-shell .ep-nav {
    flex-direction: column;
  }

  .ep-nav-btn {
    width: 100%;
    justify-content: center;
  }

  .episode-article {
    padding: 20px 16px 24px;
    border-radius: 14px;
  }

  .episode-header .single-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .ep-breadcrumb {
    padding: 16px 0 12px;
    font-size: 12px;
  }

 
}
.mr-jwplayer-box,
#mr-jwplayer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.mr-jwplayer-box .jwplayer,
#mr-jwplayer.jwplayer,
.jwplayer.jw-flag-aspect-mode {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
}

.player-stage .jwplayer {
  border-radius: 0;
}

/* Control bar polish */
.jwplayer .jw-button-color {
  color: #fff !important;
}

.jwplayer .jw-button-color:hover,
.jwplayer .jw-button-color:focus {
  color: #f0b429 !important;
}

.jwplayer .jw-progress {
  background-color: #fff !important;
}
#mr-jwplayer .jw-slider-time .jw-buffer {
    background-color: rgb(255 255 255 / 50%) !important;
}

.jwplayer .jw-knob {
  background-color: #fff !important;
}

.jwplayer .jw-text-live {
  color: #000 !important;
}

.jwplayer.jw-state-idle .jw-display-icon-container {
  border-radius: 0px;
}

.jwplayer.jw-state-idle .jw-display-icon-container .jw-svg-icon {
  fill: #fff !important;
}

.jwplayer .jw-controlbar {
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.06)) !important;
}



.single-cinematic {
  position: relative;
  padding-bottom: 80px;
}

.cinematic-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 140px 0 15px;
    overflow: hidden;
	align-items: start;
}

.cinematic-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.cinematic-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(8, 27, 39, 0.35) 0%, rgba(8, 27, 39, 0.85) 70%), linear-gradient(180deg, rgba(8, 27, 39, 0.55) 0%, rgba(8, 27, 39, 0.92) 55%, var(--bg-dark) 100%);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    padding-bottom: 0px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(7, 24, 34, 0.8);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(14%, rgba(12, 39, 56, 0)), to(#081b27));
    background-image: linear-gradient(180deg, rgba(12, 39, 56, 0) 14%, #081b27);
    color: #fff;	
}

.cinematic-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  mmax-width: 1100px;
}

.cinematic-hero__poster-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.cinematic-hero__poster {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cinematic-rating {
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f0b429;
  color: #0b1524;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(240, 180, 41, 0.4);
}

.cinematic-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.cinematic-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #94a3b8;
}

.cinematic-stars {
  display: inline-flex;
  gap: 2px;
  color: #f0b429;
}

.cinematic-genre,
.cinematic-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cinematic-genre svg,
.cinematic-date svg {
  opacity: 0.8;
}

.cinematic-excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: #e5e5e5;
  margin: 0 0 15px;
  max-width: 100%;
}
.cinematic-fact {
      display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 15px !important;
    align-items: baseline !important;
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.cinematic-fact dt {
  color: #fff !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.cinematic-fact dd {
  color: #fff;
  margin: 0;
}

.cinematic-body {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  max-width: 800px;
}

.cinematic-article {
  padding: 30px 0 20px;
}

.cinematic-content {
  font-size: 16px;
  line-height: 1.8;
  color: #7a8ba3;
}

.cinematic-content p {
  margin-bottom: 1.25em;
}

.cinematic-content h2,
.cinematic-content h3,
.cinematic-content h4,
.cinematic-content h5{
  color: #e2e8f0;
  margin: 15px 0px 15px;
  font-size: 24px;;
}


@media (max-width: 900px) {
  .cinematic-hero {
    min-height: auto;
    padding: 90px 0 40px;
    text-align: center;
  }

  .cinematic-hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .cinematic-hero__poster-wrap {
    max-width: 220px;
  }

  .cinematic-rating {
    top: -12px;
    left: -12px;
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .cinematic-title {
    font-size: 35px;
  }

  .cinematic-meta {
    justify-content: center;
  }

  .cinematic-excerpt {
    margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
        max-width: 100% !important;
  }

  .cinematic-facts {
    align-items: center;
  }

  .cinematic-fact {
    grid-template-columns: auto auto;
    justify-content: center;
  }

  .cinematic-actions {
    display: flex;
    justify-content: center;
  }

  .cinematic-body {
    margin-top: 0;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .cinematic-hero__poster-wrap {
    max-width: 200px;
  }

  .cinematic-title {
    font-size: 35px;
  }
}

.episode-watch-page .episode-article {
  background: transparent;
  border: none;
  padding: 0;
}

.episode-watch-page .cinematic-mini-hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 24px;
  background: rgba(18, 26, 43, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
  .episode-watch-page .cinematic-mini-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.related-reviews {
  border-top: none;
}

.related-reviews__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: -0.3px;
}

.related-reviews__grid {
  max-width: 1100px;
  margin: 0 auto;
}

.related-reviews .movie-card {
  text-align: left;
}

.related-reviews .movie-title {
  font-size: 20px;
}

.related-reviews .movie-title a {
  color: #fff;
}
.related-reviews .movie-title a:hover {
  text-decoration: underline;
}

.related-reviews .poster-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

@media (max-width: 900px) {

  .related-reviews__title {
    margin-bottom: 28px;
  }
}

/* =====================================================
   HOME PORTAL – Phim bộ mới + sidebar hot
===================================================== */
.home-portal {
  padding: 28px 0 70px;
}

.home-portal__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.portal-section {
  margin-bottom: 40px;
}

.portal-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.portal-section__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #f0b429;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.portal-section__more {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.portal-section__more:hover {
  color: var(--accent);
}

/* Tabs pill */
.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.portal-tab:hover {
  border-color: rgba(240, 180, 41, 0.45);
  color: #e2e8f0;
}

.portal-tab.is-active {
  background: #fff;
  border-color: #fff;
  color: #0b1524;
  font-weight: 700;
}

/* 4-col grid */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  transition: opacity 0.2s;
}

.portal-grid .movie-card .movie-title {
  font-size: 14px;
  line-height: 1.35;
}

.portal-grid .movie-card .poster-wrap {
  border-radius: 8px;
  margin-bottom: 10px;
}

.portal-grid .rating-badge {
  top: 8px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  min-width: 38px;
  height: 26px;
  border-radius: 999px;
  font-size: 12px;
}

.portal-empty {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 14px;
  padding: 20px 0;
}

/* HOT sidebar boxes */
.hot-box {
  background: rgba(15, 23, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 14px 10px;
  margin-bottom: 20px;
}

.hot-box__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #f0b429;
  margin: 0 0 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.hot-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.hot-item__link {
  display: grid;
  grid-template-columns: 22px 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 4px;
  color: inherit;
  transition: background 0.15s;
  border-radius: 8px;
}

.hot-item__link:hover {
  background: rgba(30, 45, 69, 0.6);
}

.hot-item__rank {
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
  text-align: center;
}

.hot-item:nth-child(1) .hot-item__rank,
.hot-item:nth-child(2) .hot-item__rank,
.hot-item:nth-child(3) .hot-item__rank {
  color: #f0b429;
}

.hot-item__thumb {
  width: 48px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a273b;
}

.hot-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hot-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hot-item__name {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-item__stars {
  font-size: 11px;
  color: #f0b429;
  letter-spacing: 1px;
}

.hot-item__score {
  font-size: 12px;
  font-weight: 700;
  color: #f0b429;
  background: rgba(240, 180, 41, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.hot-item--empty {
  color: #64748b;
  font-size: 13px;
  padding: 12px 4px;
}

.home-portal__widgets {
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 1100px) {
  .portal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .home-portal__layout {
    grid-template-columns: 1fr;
  }

  .home-portal__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .home-portal__widgets {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }

  .home-portal__side {
    grid-template-columns: 1fr;
  }

  .portal-section__title {
    font-size: 18px;
  }

  .portal-section__head {
    align-items: flex-start;
  }
}

.home-highlights-page {
  padding: 48px 0 80px;
}

.home-highlights-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.home-highlights-main .section-highlights {
  padding: 0;
}

.home-highlights-main .section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.home-highlights-main .section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-top: -10px;	
}

.home-highlights-main .section-subtitle {
  font-size: 15px;
  color: #7a8ba3;
  margin: 0;
  max-width: 320px;
  line-height: 1.5;
}

/* Filter pills – white active */
.home-highlights-main .filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-highlights-main .filter-btn {
  appearance: none;
    border: none;
    background: #0c2738;
    color: #3b4b57;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}

.home-highlights-main .filter-btn:hover {
  color: #e2e8f0;
}

.home-highlights-main .filter-btn.active {
  background: #fff;
  color: #374550;
  font-weight: 400;
}

/* 4-col grid centered feel */
.home-highlights-main .movie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.home-highlights-main .movie-card {
  text-align: left;
}

.home-highlights-main .poster-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 2 / 3;
  background: #1a273b;
}

.home-highlights-main .poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.home-highlights-main .movie-card:hover .poster-wrap img {
  transform: scale(1.04);
}

.movie-stars,
.stars-row {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 6px;
  line-height: 1;
}

.star {
  font-size: 15px;
  line-height: 1;
}

.star-full {
  color: #f0b429;
}

.star-empty,
.movie-stars .empty {
  color: #3d4f6a;
}

.home-highlights-main .movie-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.home-highlights-main .movie-title a {
  color: #fff;
}

.home-highlights-main .movie-title a:hover {
  text-decoration: underline;
}

.home-highlights-main .movie-genre {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #7a8ba3;
}

.home-highlights-main .movie-genre svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Sidebar on hom */
.home-highlights-sidebar .sidebar-widget {
  border-radius: 12px;
  padding: 18px 0px;
  margin-bottom: 18px;
}

.home-highlights-sidebar .sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #f0b429;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 14px;
}

.home-highlights-sidebar .hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1000px) {
  .home-highlights-layout {
    grid-template-columns: 1fr;
  }

  .home-highlights-main .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-highlights-main .section-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .home-highlights-main .section-subtitle {
    margin: 0 auto;
  }

  .home-highlights-main .filter-tabs {
    justify-content: center;
  }

  .home-highlights-main .movie-card {
    text-align: center;
  }

  .home-highlights-main .movie-stars,
  .home-highlights-main .stars-row {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .home-highlights-main .movie-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Genre / Country movie grids (per term) */
.tax-movies-block {
  margin-bottom: 40px;
}

.tax-movies-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}

.tax-movies-block__title {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  color: #f0b429;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tax-movies-block__more {
  font-size: 13px;
  color: #94a3b8;
  white-space: nowrap;
}

.tax-movies-block__more:hover {
  color: var(--accent);
}

.tax-movies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 18px;
}

.home-modules-section {
  width: 100%;
}

.home-highlights-main .home-modules-section {
  margin-top: 20px;
}

.home-modules-grid {
  display: block;
}

.home-modules-grid .home-module {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 10px;
}

.home-module-widget .tax-movies-block__title,
.home-modules-section .tax-movies-block__title {
  color: #f0b429;
}
.lichchieu {
    line-height: 20px;
    padding: 8px 12px 8px;
    color: #fff;
    font-size: 14px;
    float: left;
    width: 100%;
    background: #2264ad;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 5px;
}

.cinematic-facts-watch {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
    text-align: left !important;
}


.single-cinematic--movie .cinematic-facts {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.single-cinematic--movie .cinematic-fact dd

@media (max-width: 900px) {
  .tax-movies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .tax-movies-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
}

.home-highlights-layout {
  align-items: start;
}


.home-highlights-main .home-modules-section {
  margin-top: 36px;
  padding-top: 8px;
  width: 100%;
  max-width: 100%;
}

.home-highlights-main .tax-movies-block {
  margin-bottom: 36px;
}

.home-highlights-main .tax-movies-grid {
  /* cùng số cột với Highlights grid */
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

/* Widget title ẩn nếu trùng – dùng title từng genre */
.home-highlights-main .home-modules-section > .widget > .sidebar-widget-title,
.home-highlights-main .home-modules-section > .widget > .home-module-title {
  display: none;
}

.home-highlights-main .home-module-widget,
.home-highlights-main .widget {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 1000px) {
  .home-highlights-sidebar {
    position: static;
  }

  .home-highlights-main .tax-movies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================
   UNIFIED RESPONSIVE GRIDS
   iPhone / Android / Tablet / Desktop
===================================================== */

/* Base: 4 columns on large desktop */
.movie-grid,
.portal-grid,
.tax-movies-grid,
.related-reviews__grid,
.home-highlights-main .movie-grid,
.home-highlights-main .tax-movies-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 30px 20px !important;
  width: 100%;
}

/* Homepage layout: main + sidebar */
.home-highlights-layout,
.home-portal__layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 32px 40px !important;
  align-items: start !important;
}

/* Single cinematic hero */
.cinematic-hero__inner {
  grid-template-columns: minmax(200px, 350px) minmax(0, 1fr) !important;
}

/* Large desktop ≥1400px – keep 4 cols, slightly wider gap */
@media (min-width: 1400px) {
  .movie-grid,
  .portal-grid,
  .tax-movies-grid,
  .related-reviews__grid,
  .home-highlights-main .movie-grid,
  .home-highlights-main .tax-movies-grid {
    gap: 32px 24px !important;
  }
}

/* Laptop / small desktop ≤1200px – 3 cols for cards */
@media (max-width: 1200px) {
  .movie-grid,
  .portal-grid,
  .tax-movies-grid,
  .related-reviews__grid,
  .home-highlights-main .movie-grid,
  .home-highlights-main .tax-movies-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px 16px !important;
  }

  .home-highlights-layout,
  .home-portal__layout {
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 28px !important;
  }
}

/* Tablet landscape / iPad ≤992px – 2 cols + stack sidebar */
@media (max-width: 992px) {
  .movie-grid,
  .portal-grid,
  .tax-movies-grid,
  .related-reviews__grid,
  .home-highlights-main .movie-grid,
  .home-highlights-main .tax-movies-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px 14px !important;
  }

  .home-highlights-layout,
  .home-portal__layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .home-highlights-sidebar,
  .home-portal__side {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cinematic-hero__inner {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .home-modules-grid {
    grid-template-columns: 1fr !important;
  }

  .single-movie-header,
  .layout-with-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* Tablet portrait / large phone ≤768px */
@media (max-width: 768px) {
  .movie-grid,
  .portal-grid,
  .tax-movies-grid,
  .related-reviews__grid,
  .home-highlights-main .movie-grid,
  .home-highlights-main .tax-movies-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px 12px !important;
  }

  .home-highlights-main .section-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .home-highlights-main .filter-tabs {
    justify-content: center !important;
  }

  .home-highlights-main .movie-card,
  .tax-movies-grid .movie-card {
    text-align: center !important;
  }

  .home-highlights-main .movie-stars,
  .home-highlights-main .stars-row,
  .tax-movies-grid .movie-stars,
  .tax-movies-grid .stars-row {
    justify-content: center !important;
    width: 100% !important;
  }

  .home-highlights-main .movie-genre,
  .tax-movies-grid .movie-genre {
    justify-content: center !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* iPhone / Android phone ≤480px – 2 cols compact */
@media (max-width: 480px) {
  .movie-grid,
  .portal-grid,
  .tax-movies-grid,
  .related-reviews__grid,
  .home-highlights-main .movie-grid,
  .home-highlights-main .tax-movies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 10px !important;
  }

  .home-highlights-main .movie-title,
  .tax-movies-grid .movie-title {
    font-size: 20px !important;
  }

  .star {
    font-size: 12px !important;
  }

  .home-highlights-main .section-title {
    font-size: 26px !important;
  }

  .filter-btn,
  .portal-tab {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
}

/* Very small phones ≤360px – still 2 cols, tighter */
@media (max-width: 360px) {
  .movie-grid,
  .portal-grid,
  .tax-movies-grid,
  .related-reviews__grid,
  .home-highlights-main .movie-grid,
  .home-highlights-main .tax-movies-grid {
    gap: 30px 8px !important;
  }

  .home-highlights-main .movie-title,
  .tax-movies-grid .movie-title {
    font-size: 17px !important;
  }
}

/* Prevent overflow from grid children */
.movie-grid > *,
.portal-grid > *,
.tax-movies-grid > *,
.related-reviews__grid > * {
  min-width: 0;
  max-width: 100%;
}

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

.home-highlights-main .poster-wrap {
  aspect-ratio: 2 / 3;
}

.home-highlights-main .poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Phim bộ / Phim lẻ on homepage */
.home-type-section {
  margin-top: 40px;
  margin-bottom: 10px;
}

.home-type-section .portal-section__head {
  margin-bottom: 30px;
}

.home-type-section .portal-section__title {
  font-size: 25px;
}

/* Xem phim button in cinematic hero */
.cinematic-watch-btn {
  display: inline-block;
  background: #f0b429;
  color: #0b1524 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cinematic-watch-btn:hover {
  text-decoration: none !important;
    opacity: 0.9;
}

/* Sidebar hot list – match screenshot style */
.sidebar-widget .hot-list,
.home-highlights-sidebar .hot-list,
.widget .hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 15px !important;	
}

.sidebar-widget .hot-item,
.widget .hot-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
  padding: 0;
}

.sidebar-widget .hot-item:last-child,
.widget .hot-item:last-child {
  border-bottom: none;
}

.sidebar-widget .hot-item__link,
.widget .hot-item__link {
  display: grid;
  grid-template-columns: 28px 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.sidebar-widget .hot-item__link:hover .hot-item__name,
.widget .hot-item__link:hover .hot-item__name {
  color: #f0b429;
}

.sidebar-widget .hot-item__rank,
.widget .hot-item__rank {
  font-size: 16px;
  font-weight: 800;
  color: #f0b429;
  text-align: center;
  line-height: 1;
}

.sidebar-widget .hot-item__thumb,
.widget .hot-item__thumb {
  width: 52px;
  height: 74px;
  border-radius: 6px;
  overflow: hidden;
  background: #1a273b;
}

.sidebar-widget .hot-item__thumb img,
.widget .hot-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sidebar-widget .hot-item__body,
.widget .hot-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-widget .hot-item__name,
.widget .hot-item__name {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-widget .hot-item__stars,
.widget .hot-item__stars {
  font-size: 12px;
  color: #f0b429;
  letter-spacing: 1px;
}

.sidebar-widget .hot-item__score,
.widget .hot-item__score {
  display: none;
}

.sidebar-widget-title,
.widget-title,
.home-highlights-sidebar .sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #f1b722 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

/* Sidebar card style – exact match to screenshot */
.hot-list--card {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hot-card {
  margin: 0;
  padding: 0;
  border: none !important;
}

.hot-card__link {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.hot-card__poster {
  position: relative;
  width: 72px;
  height: 108px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a273b;
  flex-shrink: 0;
  overflow: visible !important;
}

.hot-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius:6px;
}

.hot-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 38px;
    height: 24px;
    padding: 0 10px;
    background: #f0b429;
    color: #fff;
    font-weight: 500;
    font-size: 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hot-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hot-card__stars {
  font-size: 13px;
  color: #f0b429;
  letter-spacing: 1px;
  line-height: 1;    
  align-self: start !important;
}

.hot-card__stars .star-empty,
.hot-card__stars .empty {
  color: #3d4f6a;
}

.hot-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-card__link:hover .hot-card__title {
    text-decoration: underline;
}


.hot-card__genre {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #7a8ba3;
  margin-top: 2px;
}

.hot-card__genre svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.star-svg {
  width: 16px;
  height: 15px;
  display: inline-block;
  flex-shrink: 0;
}

.hot-card__stars .star-svg {
  width: 14px;
  height: 13px;
}

.movie-stars .star-svg,
.cinematic-stars .star-svg {
  width: 16px;
  height: 15px;
}

.genre-tag-icon,
.hot-card__genre svg,
.cinematic-genre svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
}

.hot-card__genre {
  color: #f1b722;
}

.cinematic-genre {
  color: #f1b722;
}

/* Genre tag icon as img */
.genre-tag-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  object-fit: contain;
}

.hot-card__genre .genre-tag-icon,
.movie-genre .genre-tag-icon,
.cinematic-genre .genre-tag-icon {
  width: 14px;
  height: 14px;
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.star-svg {
  width: 16px;
  height: 15px;
  display: inline-block;
  flex-shrink: 0;
}

.hot-card__stars .star-svg {
  width: 14px;
  height: 13px;
}

/* Genre links */
.movie-genre a,
.cinematic-genre a,
.hot-card__genre a,
.meta-genre a {
  color: #cad3da;
  text-decoration: underline;
}

.movie-genre a:hover,
.cinematic-genre a:hover,
.hot-card__genre a:hover {
  color: #fff;
}

/* Fix sidebar genre layout */
.hot-card__genre {
  display: flex !important;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #cad3da;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-card__genre a {
  color: #cad3da !important;
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-card__genre .genre-tag-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hot-card__info {
  overflow: hidden;
}

.hot-card__link {
  display: contents;
}

.hot-card__genre {
  grid-column: 2;
  display: flex !important;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
}

.hot-card__genre a {
  color: #cad3da !important;
  text-decoration: underline;
}

/* Tighten sidebar genre spacing */
.hot-card {
  gap: 0 12px !important;
  margin-bottom: 12px !important;
}

.hot-card__genre {
  margin-top: 2px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  grid-column: 2 !important;
  align-self: start !important;
}

.hot-list--card {
  gap: 8px !important;
}

.hot-card__info {
  gap: 2px !important;
}

/* Sidebar genre tight under title */
.hot-card {
  display: grid !important;
  grid-template-columns: 72px 1fr !important;
  column-gap: 20px !important;
  row-gap: 0 !important;
  margin-bottom: 14px !important;
  align-items: start !important;
  align-items: center !important;
}

.hot-card__link {
  display: contents !important;
}

.hot-card__poster {
  grid-row: 1 / 3 !important;
  grid-column: 1 !important;
}

.hot-card__info {
  grid-column: 2 !important;
  grid-row: 1 !important;
  gap: 2px !important;
}

.hot-card__genre-wrap {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.hot-card__genre-link {
  color: #cad3da !important;
  text-decoration: underline !important;
}

.hot-card__genre-wrap .genre-tag-icon {
  width: 13px !important;
  height: 13px !important;
}

/* Hover: opacity instead of scale */
.movie-card:hover .poster-wrap img,
.home-highlights-main .movie-card:hover .poster-wrap img,
.poster-wrap img:hover {
  transform: none !important;
  opacity: 0.9 !important;
}

/* Disable image transform effects – only opacity */
.movie-card:hover .poster-wrap img,
.home-highlights-main .movie-card:hover .poster-wrap img,
.poster-wrap img,
.poster-wrap img:hover,
.hot-card__poster img,
.hot-card__poster img:hover,
.cinematic-hero__poster,
.cinematic-hero__poster:hover {
  transform: none !important;
  transition: opacity 0.2s ease !important;
}

.movie-card:hover .poster-wrap img,
.hot-card__link:hover .hot-card__poster img,
a:hover .poster-wrap img {
  opacity: 0.9 !important;
}

/* Kill ALL image transform / scale effects */
img,
.poster-wrap img,
.movie-card:hover .poster-wrap img,
.home-highlights-main .movie-card:hover .poster-wrap img,
.hot-card__poster img,
.hot-card__link:hover .hot-card__poster img,
.cinematic-hero__poster,
.cinematic-hero__poster:hover,
.related-reviews .movie-card:hover img,
.portal-grid .movie-card:hover img {
  transform: none !important;
  transition: opacity 0.15s ease !important;
}

.movie-card:hover .poster-wrap img,
.hot-card__link:hover .hot-card__poster img,
a:hover img.poster,
.poster-wrap:hover img {
  opacity: 0.9 !important;
  transform: none !important;
}

/* Show full image without crop */
.poster-wrap,
.hot-card__poster,
.cinematic-hero__poster-wrap {
  background: #0a1520;
}

.poster-wrap img,
.hot-card__poster img,
.cinematic-hero__poster,
.home-highlights-main .poster-wrap img {
  object-fit: contain !important;
  object-position: center !important;
}

/* Footer with blurred mountain background */
.site-footer {
  position: relative;
  padding: 0;
  margin-top: 0px;
  overflow: hidden;
  background: #081b27;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#081b27), to(rgba(8, 27, 39, 0.8))), url();
    background-image: -webkit-gradient(linear, left top, left bottom, from(#081b27), to(rgba(8, 27, 39, 0.8))), url('assets/footer-bg.jpg');
    background-image: linear-gradient(180deg, #081b27, rgba(8, 27, 39, 0.8)), url('assets/footer-bg.jpg');
    background-position: 0px 0px, 50% 50%;
    background-size: auto, cover;
}

.footer-inner {
  position: relative;
  z-index: 2;
  padding: 50px 20px 30px;
}

.footer-search {
  text-align: center;
  margin-bottom: 50px;
}

.footer-search-form {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 4px 6px 4px 20px;
  max-width: 420px;
  width: 100%;
}

.footer-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
  outline: none;
}

.footer-search-input::placeholder {
  color: #a0a8b0;
}

.footer-search-btn {
  background: none;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    color: #f0b429;
    top: 2px;
    position: relative;
}

.footer-widgets {
  display: flex;
    justify-content: center;
    gap: 100px;
    max-width: 700px;
    margin: 0 auto;
	padding-bottom: 20px;
}

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

.footer-column a {
  display: block;
  color: #74a8cf;
  font-size: 14px;
  margin: 8px 0;
  text-decoration: none;
}

.footer-column a:hover {
  color: #f1b722;
}

.bottom-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
}

.bottom-footer p {
  margin: 0;
  font-size: 12px;
  color: #6a7a8a;
}

.bottom-footer a {
  color: #8aa0b8;
  text-decoration: none;
}

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

@media (max-width: 600px) {
  .footer-widgets {
    flex-direction: column;
        align-items: center;
        gap: 40px;
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
  }
}

.poster-wrap,
.hot-card__poster,
.cinematic-hero__poster-wrap {
  position: relative;
  box-shadow: none;
}

.poster-wrap::before,
.item-image-block::before {
  display: none;
}

.poster-wrap img {
  display: none;
}


/* Header matching screenshot */
.site-header {
  background: #0c2738;
  border-bottom: none;
}

.header-inner {
  height: 64px;
}

.main-navigation ul {
  gap: 32px;
}

.main-navigation a {
  padding-bottom: 4px;
    -webkit-transition: color 200ms ease, border 200ms ease;
    transition: color 200ms ease, border 200ms ease;
    color: #899ead;
    font-size: 16px;
    font-weight: 700;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
      content: '';
    position: absolute;
    left: 0px;
    right: 0;
    bottom: -18px;
    height: 2px;
    background: #f0b429;
}

.cinematic-hero__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.watch-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

#trailer-section.trailer-section {
    width: 100%;
    margin-top: 30px;
	margin-bottom: 10px;
}

#trailer-section .trailer-embed {
    width: 100%;
    position: relative;
}

#trailer-section .trailer-embed iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    display: block;
}

    .trailer-title {
    color: #f1b722;
    font-size: 24px;
    margin-bottom: 25px;
    padding-top: 25px;
    border-top: 1px solid #232e36;
    font-weight: 500;
    }

@media screen and (max-width: 767px) {
  .cinematic-hero__poster-wrap,
  .header-thumbnail-image {
    position: relative;
    width: 240px;
    height: 350px;
    margin-right: auto;
    margin-bottom: 40px;
    margin-left: auto;
    box-shadow: inset 0 1px 0 0 hsla(0, 0%, 100%, 0.2), 8px 8px 30px -10px rgba(0, 0, 0, 0.4);
  }
}

@media screen and (max-width: 479px) {
  .cinematic-hero__poster-wrap,
  .header-thumbnail-image {
    width: 210px;
    height: 290px;
    margin-bottom: 30px;
  }
}

.poster-wrap,
.item-image-block {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 150% !important;
  margin-bottom: 16px !important;
  border-radius: 6px !important;
  background-position: 50% 50% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-color: #0a1520 !important;
  box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 0 hsla(0, 0%, 100%, 0.1) !important;
  overflow: hidden !important;
  aspect-ratio: unset !important;
  overflow: visible !important;
}
.home-highlights-main .poster-wrap:hover {
    opacity: 0.9;
}

.related-reviews .poster-wrap:hover {
    opacity: 0.9;
}

.related-reviews .poster-wrap {
  border-radius: 10px !important;
  margin-bottom: 14px !important;
}

.header-thumbnail-image {
  position: relative;
  width: 340px;
  height: 510px;
  border-radius: 10px;
  background-position: 50% 100%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 0 hsla(0, 0%, 100%, 0.2), 8px 8px 60px -10px rgba(0, 0, 0, 0.4);
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
  opacity: 1;
  flex-shrink: 0;
}

.review-circle {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f1b722;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-circle-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

@media screen and (max-width: 767px) {
  .header-thumbnail-image {
    width: 210px;
    height: 290px;
    margin: 0 auto 0px;
  }
}

@media screen and (max-width: 479px) {
  .header-thumbnail-image {
    width: 210px;
    height: 290px;
    margin-bottom: 0px;
  }
}

.watch-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.watch-poster {
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #1a273b;
    width: 340px;
    height: 510px;
    box-shadow: inset 0 1px 0 0 hsla(0, 0%, 100%, 0.2), 8px 8px 60px -10px rgba(0, 0, 0, 0.4);
}

.watch-meta {
  font-size: 13px;
  color: #cad3da;
  margin: 6px 0;
  line-height: 1.5;
}

.watch-meta strong {
  color: #fff;
  font-weight: 600;
}

.watch-excerpt {
  font-size: 13px;
  color: #8a9bb0;
  margin-top: 10px;
}

.server-btn {
    cursor: pointer;
    display: inline-block;
    background-color: rgb(56, 152, 236);
    color: rgb(255, 255, 255);
    line-height: inherit;
    cursor: pointer;
    padding: 6px 10px 3px 8px;
    border-width: 0px;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

.server-btn.is-active {
      background: #f0b429;
    color: #fff;
}

@media (max-width: 900px) {
  .watch-layout {
    grid-template-columns: 1fr;
  }
  .watch-header {
    grid-template-columns: 140px 1fr;
  }
  .watch-poster {
    width: 140px;
    height: 200px;
  }
}

.episode-select {
  margin-top: 20px;
}

.ep-select-label {
      font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.ep-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ep-btn {
  color: #fff;
    display: inline-block;
    padding: 6px 15px;
    background-color: #3898ec;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 6px;
    text-decoration: none;
}

.ep-btn.is-current {
    background: #e0a80b;
    color: #fff;
}

.ep-btn:hover {
  opacity: 0.9;
}


.watch-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  margin-bottom: 30px;
  align-items: start;
}

.watch-meta {
  font-size: 14px;
  color: #cad3da;
  margin: 8px 0;
  line-height: 1.6;
}

.player-wrap {
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.player-stage {
  width: 100%;
  height: 100%;
}

/* Mobile */
@media (max-width: 900px) {
  .watch-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
	
  .watch-info {
    text-align: left;
  }
}

.watch-page .container {
  max-width: 1200px;
}


.watch-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-bottom: 30px;
  padding: 20px 0;
}

.watch-main {
  width: 100%;
}


.player-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
}

/* Sidebar below on full layout */
.watch-layout .sidebar,
.watch-layout aside {
      margin-top: -25px;
}

@media (max-width: 900px) {
  .watch-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

}

.single-cinematic--series .cinematic-hero__inner {
  mmax-width: 1100px;
}

.single-cinematic--series .cinematic-genre a {
  color: #cad3da;
  text-decoration: underline;
}
.single-cinematic--series .cinematic-genre a:hover {
  color: #fff;
}

.single-cinematic--series .cinematic-excerpt {
  font-size: 16px;
  color: #e5e5e5;
  line-height: 1.6;
  margin: 12px 0;
}

.single-cinematic--series .cinematic-facts {
  display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.single-cinematic--series .cinematic-fact dd {
  color: #fff;
  margin: 0;
}

.related-reviews .section-title {
  font-size: 20px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .related-reviews .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.watch-more {
  display: inline-block;
  margin-top: 8px;
  color: #f0b429;
  font-size: 13px;
  text-decoration: underline;
}

.watch-more:hover {
  color: #fff;
}

/* Mobile watch page – match screenshot */
@media (max-width: 768px) {
  .watch-header-full {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 22px !important;
        margin-top: 90px !important;
  }

  .watch-title {
    font-size: 35px !important;
    text-align: center !important;
  }

  .watch-info {
    text-align: left !important;
    width: 100% !important;
  }

  .watch-layout {
    display: block !important;
  }

  .player-shell {
    width: 100% !important;
  }

  .player-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
  }

  .watch-layout aside,
  .watch-layout .sidebar {
    margin-top: 20px !important;
  }
}

.watch-page .container {
  max-width: 1140px;
}

.watch-header-full {
    display: grid;
    grid-template-columns: 382px 1fr;
    gap: 24px;
    margin-bottom: 50px;
    align-items: start;
    margin-top: 140px;
}

.watch-title {
     font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.watch-meta {
  font-size: 14px;
  color: #cad3da;
  margin: 4px 0;
}

.watch-excerpt {
  font-size: 15px;
  color: #8a9bb0;
  margin-top: 10px;
  line-height: 1.5;
}


.player-wrap {
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.server-switcher {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
}

.related-reviews .section-title {
      margin-bottom: 30px;
    font-size: clamp(22px, 3vw, 28px);
    text-align: center;
	 margin-top: 40px;
}

.related-reviews .movie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Mobile */
@media (max-width: 768px) {

  .watch-poster {
        margin: 0 auto;
        background-position: 50% 100%;
        background-size: cover;
        background-repeat: no-repeat;
        width: 210px !important;
        height: 290px !important;
        margin: 0 auto !important;
  }


  .watch-info {
    text-align: left;
  }

  .related-reviews .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media(max-width:768px){
.main-navigation{
	display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 70% !important;
        max-width: 230px !important;
        height: 100vh !important;
        background: #081b27 !important;
        padding: 50px 0 20px !important;
        transform: translateX(100%) !important;      
        z-index: 10000 !important;
        overflow-y: auto;
        margin: 0 !important;
        box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
	}

.main-navigation.is-open{
	transform:translateX(0)!important
	}
	
.main-navigation ul{
	display:flex!important;
	flex-direction:column!important;
	gap:0!important;
	list-style:none;margin:0;padding:0
	}
	
.main-navigation li{
	border-bottom:2px solid #8d9eac1a;
	margin:0;
	width:70%;}
	
.main-navigation a{
	    display: block !important;
        padding: 16px 24px !important;
        color: #899ead !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        text-align: left !important;
        position: relative;
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;}
	
.main-navigation a:hover{color:#fff!important}
.main-navigation .current-menu-item>a,.main-navigation .current_page_item>a{color:#fff!important;font-weight:700!important}
.main-navigation .current-menu-item>a::after,.main-navigation .current_page_item>a::after{content:""!important;position:absolute!important;left:24px!important;right:24px!important;bottom:0!important;height:2px!important;background:#f0b429!important;width:auto!important;display:block!important}
	
.menu-overlay{position:fixed;top:0;left:0;right:50%;bottom:0;background:transparent;z-index:9999;display: none;}
.menu-overlay.is-open{display:block}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 25px;
        border: none;
        border-radius: 4px;
        color: #fff;
        font-size: 25px !important;
        cursor: pointer;
        z-index: 10001;
        position: relative;
    }
}	
.site-logo-img,
.custom-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}
	
	
	@media (max-width: 768px) {
    .main-navigation .current-menu-item>a::after, 
    .main-navigation .current_page_item>a::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;      /* Chỉnh về 0 để dính sát lề trái giống text */
        right: auto !important;  /* Bỏ right cố định */
        bottom: 0 !important;
        height: 2px !important;
        background: #f0b429 !important;
        width: 100% !important;  /* Cho line chạy dài bằng đúng thẻ a */
        display: block !important;
    }
}
.cinematic-buttons{
	justify-content: center;
}
	
.cinematic-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cad3da;
  font-size: 14px;
}
.clock-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

	.review-circle {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1b722;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-circle-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
}

@media (max-width: 992px) {
    .watch-header-full {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 22px !important;
        margin-top: 90px !important;
    }
	.watch-header-full {
    display: grid;
    grid-template-columns: 382px 1fr;
    gap: 24px;
    margin-bottom: 30px;
    align-items: start;
    margin-top: 140px;
	}
	.watch-poster {
    width: 210px;
    height: 290px;
	background-position: 50% 100%;	
}
	.watch-title {
        font-size: 30px !important;
        text-align: center !important;
    }
}

@media (max-width: 992px){
.header-thumbnail-image {
    width: 210px;
    height: 290px;
}
    .review-circle {
        position: absolute;
        top: -16px;
        left: -16px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #f1b722;
        display: flex;
        align-items: center;
        justify-content: center;
    }
	    .review-circle-title {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
    }
	
	.cinematic-title {
    font-size: 30px;
}
	.cinematic-hero__inner {
    gap: 22px;
}
	    .cinematic-meta {
        justify-content: center;
    }
	  .cinematic-buttons {
        justify-content: center;
    }
	.cinematic-hero {
    padding: 90px 0 15px;
}
}

@media (max-width: 799px) {
    .related-reviews .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .movie-info {
    text-align: center;
}
.movie-genre {
    display: block;
}}
@media (max-width: 992px) {
    .movie-info {
    text-align: center;
}   
	.movie-genre {
    display: block;
}}

@media (max-width: 768px){
.sidebar-widget {
    padding: 20px 0px 0px;
}}

.search-bar-wrap {     
	padding: 30px 0px 0px; 
	margin-bottom: -10px;
}
.search-form-main { 
	display: flex; 
	max-width: 500px; 
	margin: 0 auto; 
}
.search-field-main {
    flex: 1;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px 0px 0 10px;
    outline: none;
}
.search-field-main::placeholder { 
	color: #374550; 
}
.search-submit-main {
    background: #3898ec;
    color: #fff;
    border: none;
    padding: 0px 12px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}


.widget-list, .hot-list, .hot-list--card {
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #838383 #0c2738;
}

.ep-btn.no-video {
  opacity: 0.3;
  
}

