/* ==========================================================================
   Clean Unified Theme for Movie Portal (DooPlay / iBOMMA / HDMovie2 Style)
   ========================================================================== */

:root {
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  --bg-page: #4f4e4d;
  --bg-container: #1a1a1a;
  --bg-module: rgba(18, 18, 18, 0.95);
  --bg-sidebar: rgba(14, 14, 14, 0.98);
  --bg-header: rgba(15, 15, 15, 0.98);
  --bg-card: rgba(0, 0, 0, 0.4);
  --bg-card-hover: #000000;

  --accent-color: #408bea;
  --accent-hover: #1e70d4;
  --accent-yellow: var(--accent-color);
  --accent-red: var(--accent-color);
  --accent-green: var(--accent-color);
  --gold: var(--accent-color);
  --button-bg: var(--accent-color);
  --badge-featured: var(--accent-color);
  --badge-quality: var(--accent-color);
  --badge-dubbed: var(--accent-color);
  --badge-text: var(--button-text, #fff);

  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.45);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);

  --max-width: 1200px;
  --sidebar-width: 340px;
  --header-height: 70px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-page);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

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

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

ul,
ol {
  list-style: none;
}

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

/* Layout Container */
#dt_contenedor {
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
}

#contenedor {
  max-width: var(--max-width);
  width: 100%;
  margin: var(--header-height) auto 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  flex: 1;
}

/* Main Desktop Header */
header.main {
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--bg-header);
  border-bottom: 1px solid #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header.main .hbox {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

.fix-hidden {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo {
  flex-shrink: 0;
  margin-right: 25px;
}

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

.logo img {
  height: 32px;
  width: auto;
}

.head-main-nav {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
  min-width: 0;
}

.menu-header-container {
  height: 100%;
}

.head-search-form {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 220px;
  margin-left: auto;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
}

.head-search-form input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-white);
  padding: 7px 4px 7px 14px;
  font-size: 13px;
  outline: none;
}

.head-search-form input[type="text"]::placeholder {
  color: var(--text-dim);
}

.head-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.head-search-form button:hover {
  color: var(--accent-color);
}

.head-search-form .search-icon {
  width: 18px;
  height: 18px;
}

.live-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: 420px;
  overflow-y: auto;
  z-index: 1200;
  background: var(--bg-header, #141414);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.head-search-form .live-search-panel {
  left: auto;
  right: 0;
  width: 340px;
}

.search_page_form .live-search-panel {
  min-width: 100%;
}

.live-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--text-white) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-search-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.live-search-poster {
  width: 40px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #000;
}

.live-search-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-search-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.live-search-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.live-search-more,
.live-search-status {
  display: block;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color) !important;
}

.live-search-status {
  color: var(--text-muted) !important;
  font-weight: 500;
}

.footer-links {
  margin-left: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 6px;
  font-size: 12px;
}

ul.main-header {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 5px;
}

ul.main-header>li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

ul.main-header>li>a {
  color: var(--text-white);
  font-weight: 500;
  font-size: 14px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

ul.main-header>li.menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 7px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

ul.main-header>li:hover>a,
ul.main-header>li.current-menu-item>a {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Dropdown Menu */
ul.main-header li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(12, 12, 12, 0.98);
  min-width: 240px;
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-in-out;
  padding: 8px 0;
  z-index: 1010;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 2px;
}

ul.main-header li ul.sub-menu.sub-menu-single {
  grid-template-columns: 1fr;
  min-width: 180px;
}

ul.main-header li ul.sub-menu.sub-menu-triple {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  min-width: 480px;
}

ul.main-header li:hover ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

ul.main-header li ul.sub-menu li {
  width: 100%;
}

ul.main-header li ul.sub-menu li a {
  color: var(--text-muted);
  padding: 8px 16px 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  transition: var(--transition);
}

ul.main-header li ul.sub-menu li a::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: currentColor;
  opacity: 0.7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

ul.main-header li ul.sub-menu li a:hover,
ul.main-header li ul.sub-menu li.current-menu-item a {
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 18px;
}

/* Responsive Header Bar */
.fixheadresp {
  display: none;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--bg-header);
  border-bottom: 1px solid #000;
}

header.responsive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 15px;
}

header.responsive .aresp {
  color: var(--text-white);
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
}

header.responsive .aresp:hover {
  color: var(--accent-color);
}

header.responsive .logo img {
  height: 28px;
}

/* Mobile Search Box */
.search_responsive {
  display: none;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.search_responsive.active {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.form-resp-ab {
  position: relative;
  width: 100%;
}

.form-resp-ab input[type="text"] {
  width: 100%;
  padding: 10px 40px 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  outline: none;
}

.form-resp-ab .search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* Mobile Slide-out Menu */
.menuresp {
  display: none;
  background: rgba(14, 14, 14, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  max-height: 80vh;
  overflow-y: auto;
}

.menuresp.active {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.menuresp ul.resp {
  padding: 10px 0;
}

.menuresp ul.resp>li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menuresp ul.resp>li>a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--text-white);
  font-weight: 500;
}

.menuresp ul.resp>li.menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: auto;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.menuresp ul.resp>li>a:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.03);
}

.menuresp ul.sub-menu {
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.menuresp ul.sub-menu.sub-menu-triple {
  grid-template-columns: repeat(3, 1fr);
}

.menuresp ul.sub-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.menuresp ul.sub-menu li a::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: currentColor;
  opacity: 0.7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.menuresp ul.sub-menu li a:hover {
  color: var(--accent-color);
}

/* Main Content Area */
.module {
  background-color: var(--bg-module);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  min-height: 700px;
}

.module .content {
  flex: 1;
  padding: 25px 30px;
  border-right: 1px solid var(--border-subtle);
}

.module .sidebar.right {
  width: var(--sidebar-width);
  flex-shrink: 0;
  padding: 25px 20px;
  background-color: var(--bg-sidebar);
}

/* Page Search Form */
.search-page {
  margin-bottom: 25px;
}

.search_page_form form {
  display: flex;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.search_page_form input[type="text"] {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 14px;
  outline: none;
}

.search_page_form input[type="text"]::placeholder {
  color: var(--text-dim);
}

.search_page_form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  background: var(--accent-color);
  border: none;
  color: var(--button-text, #fff);
  cursor: pointer;
  transition: var(--transition);
}

.search_page_form button:hover {
  background: var(--accent-hover, var(--accent-color));
  color: var(--button-text, #fff);
}

/* Section Headers */
.module .content header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module .content header h1,
.module .content header h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-white);
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
  line-height: 1.2;
}

.module .content header span a.see-all {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  background: var(--accent-color);
  color: var(--button-text, #fff);
  padding: 4px 10px;
  border-radius: 3px;
  transition: var(--transition);
}

.module .content header span a.see-all:hover {
  background: var(--accent-hover);
}

/* Movies Grid */
.items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}

.item.movies {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item.movies:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Poster Card */
.poster {
  position: relative;
  width: 100%;
  padding-top: 145%;
  background: #000;
  overflow: hidden;
}

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

.item.movies:hover .poster img {
  transform: scale(1.1);
  filter: blur(1.5px) brightness(0.4);
}

.item.movies .poster > a {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.module .content .items .item .poster a .see,
.item.movies .poster a .see {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  background: url('../images/play4.svg') 50% 50% no-repeat;
  background-size: 40% 40%;
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
  transition: all 0.65s ease-in-out;
  z-index: 3;
}

.module .content .items .item .poster a .see::after,
.item.movies .poster a .see::after {
  display: none;
}

.module .content .items .item .poster a:hover > .see,
.item.movies:hover .poster a .see {
  opacity: 1;
  transform: scale(0.75);
}

/* Badges on Poster */
.poster .rating {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.item.movies:hover .poster .rating {
  opacity: 1;
}

.poster .rating::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--gold, var(--accent-color));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E") no-repeat center / contain;
}

.poster .featu {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--badge-featured);
  color: var(--badge-text);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.poster .mepo {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.poster .featu ~ .mepo {
  top: 34px;
}

.poster .mepo span.quality {
  background: var(--badge-quality);
  color: var(--badge-text);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.poster .dubbed-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--badge-dubbed);
  color: var(--badge-text);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Card Title & Meta */
.item.movies .data {
  padding: 10px;
  background: rgba(10, 10, 10, 0.95);
}

.item.movies .data h3 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item.movies .data h3 a {
  color: var(--text-white);
  transition: var(--transition);
}

.item.movies .data h3 a:hover {
  color: var(--accent-color);
}

.item.movies .data span {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
}

/* ==========================================================================
   Exact Pagination UI
   ========================================================================== */
.pagination,
div.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 30px 0 15px;
  padding: 10px 0;
  clear: both;
}

.pagination span:not(.nav_ext) {
  background-color: #000000;
  border: 1px solid #000000;
  color: var(--accent-color);
  font-weight: 600;
  min-width: 42px;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.pagination a {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  min-width: 42px;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.pagination a:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(64, 139, 234, 0.4);
}

.pagination span.nav_ext {
  color: var(--text-dim);
  padding: 0 6px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */
.sidebar aside.widget,
.dt_mainmeta {
  margin-bottom: 30px;
}

.dt_mainmeta h2,
.sidebar aside.widget h2.widget-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.5px;
}

/* Genres List */
ul.genres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

ul.genres li {
  min-width: 0;
}

ul.genres li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  color: var(--text-muted);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  min-width: 0;
}

ul.genres li a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

ul.genres li a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

ul.genres li i {
  font-style: normal;
  font-size: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Release Year Grid */
ul.releases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 5px;
}

ul.releases li a {
  display: block;
  text-align: center;
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 12px;
  border: 1px solid transparent;
  transition: var(--transition);
}

ul.releases li a:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* Trending Movies List Widget (w_item_b) */
.w_item_b {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.w_item_b:hover {
  background: #000000;
  border-color: rgba(64, 139, 234, 0.4);
  transform: translateX(4px);
}

.w_item_b a {
  display: flex;
  width: 100%;
  align-items: center;
}

.w_item_b .image {
  width: 70px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  background: #000;
}

.w_item_b .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.w_item_b:hover .image img {
  transform: scale(1.1);
}

.w_item_b .data {
  flex: 1;
  padding: 10px 14px;
  overflow: hidden;
}

.w_item_b .data h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.w_item_b .data .wextra {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w_item_b .data .wextra b {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-color);
  background: rgba(var(--primary-rgb, 64, 139, 234), 0.15);
  border: 1px solid rgba(var(--primary-rgb, 64, 139, 234), 0.3);
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.w_item_b .data .wextra b::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--gold, var(--accent-color));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E") no-repeat center / contain;
}

/* Custom Scrollbar for sidebars */
.scrolling::-webkit-scrollbar {
  width: 5px;
}

.scrolling::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.scrolling::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.scrolling::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* ==========================================================================
   Detail Page Specific Elements
   ========================================================================== */
#single {
  display: block;
  width: 100%;
  background: transparent;
}

#single .content {
  flex: 1;
}

#single .sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  padding: 25px 20px;
  background: var(--bg-sidebar);
}

/* Detail: iframe inset like the reference; Video Sources full-bleed */
body.single .module .content {
  padding: 12px 0 28px;
}

body.single .watch-player {
  padding: 8px 20px 16px;
}

body.single .watch-player .tabs__content,
body.single .watch-player .video-responsive {
  margin-bottom: 0;
}

body.single .dooplay_player {
  width: 100%;
  margin: 0 0 8px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

body.single .dooplay_player h2 {
  padding: 12px 20px;
}

body.single .dooplay_player_option {
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
}

body.single .sheader {
  margin: 20px 20px 0;
  padding-bottom: 18px;
  gap: 20px;
}

body.single .single_tabs {
  margin: 16px 20px 12px;
}

body.single .sbox,
body.single .wp-tags,
body.single .similar-movies-section,
body.single .dt_mainmeta {
  margin-left: 20px;
  margin-right: 20px;
}

/* Video Player Container */
.tabs__content {
  width: 100%;
  position: relative;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe,
.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-play-gate {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}

.watch-play-gate[hidden] {
  display: none;
}

.watch-play-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42);
}

.watch-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--button-text, #fff);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}

.watch-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 3px;
}

.watch-play-gate:hover .watch-play-btn,
.watch-play-gate:focus-visible .watch-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

#player:not(.is-playing) #main-player-iframe {
  visibility: hidden;
  pointer-events: none;
}

/* Player Sources & Video List (Full-width rows matching exact design) */
.dooplay_player {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 25px;
  overflow: hidden;
}

.dooplay_player h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dooplay_player h2 span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
}

.options.pmovie__big-btns {
  display: block;
  width: 100%;
}

ul.pmovie__stream-select {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dooplay_player_option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 18px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  color: var(--text-white);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.dooplay_player_option:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.dooplay_player_option.is-active {
  background-color: rgba(255, 255, 255, 0.025);
  color: #ffffff;
  box-shadow: none;
}

.dooplay_player_option .title {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.player-list-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.player-list-icon .play-circle-bg {
  fill: #555555;
  transition: fill 0.2s ease;
}

.player-list-icon .play-arrow {
  fill: #000000;
}

.dooplay_player_option:hover .player-list-icon .play-circle-bg {
  fill: #888888;
}

.dooplay_player_option.is-active .player-list-icon .play-circle-bg {
  fill: #cccccc;
}

/* Movie Header (Poster + Meta) */
.sheader {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-subtle);
}

.sheader .poster {
  width: 160px;
  flex-shrink: 0;
  padding-top: 0;
  height: 240px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.sheader .poster img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.sheader .data {
  flex: 1;
}

.sheader .data h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.sheader .extra {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 13px;
}

.sheader .extra .tagline {
  width: 100%;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-bottom: 2px;
}

.sheader .extra .country,
.sheader .extra .date {
  color: var(--text-dim);
}

.sheader .extra .rated {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

/* Star Rating Component */
.starstruck-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.starstruck-wrap .dt_rating_vgs {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-color);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(var(--primary-rgb, 64, 139, 234), 0.3);
}

.starstruck-stars-interactive {
  display: flex;
  gap: 4px;
  font-size: 20px;
  cursor: pointer;
}

.starstruck-stars-interactive i {
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.15s ease;
}

.starstruck-stars-interactive i.active,
.starstruck-stars-interactive i:hover {
  color: var(--accent-color);
}

.starstruck-rating {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sgeneros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.sgeneros a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}

.sgeneros a:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Tabs Header */
.single_tabs {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-subtle);
}

ul.smenu {
  display: flex;
  gap: 5px;
}

ul.smenu li a {
  display: block;
  padding: 10px 24px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

ul.smenu li a:hover,
ul.smenu li a.selected {
  color: #fff;
  background: rgba(var(--primary-rgb, 64, 139, 234), 0.15);
  border-bottom: 2px solid var(--accent-color);
}

/* Synopsis & Download Section */
.sbox h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 15px;
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
}

.wp-content {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.wp-content p {
  margin-bottom: 16px;
}

/* Download Section Cards */
.download-section-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 25px 20px;
  margin: 25px 0;
  text-align: center;
}

.sheader .data h2,
.sheader .data .watch-seo-sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 8px 0 12px;
  line-height: 1.45;
}

.download-title-header {
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 600;
  margin: 20px auto;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.5px;
}

.dipesh {
  display: block;
  width: 100%;
  background: var(--button-bg, var(--accent-color));
  border: none;
  color: var(--button-text, #fff);
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dipesh:hover {
  background: var(--accent-hover);
}

.download-resolution-group {
  margin-bottom: 20px;
}

.resolution-badge-label {
  display: block;
  text-align: center;
  color: var(--accent-color);
  font-size: 15px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 1px;
}

.clean-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 650px;
  padding: 14px 25px;
  background: var(--button-bg, var(--accent-color));
  color: var(--button-text, #ffffff) !important;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb, 64, 139, 234), 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.clean-download-btn i {
  font-size: 18px;
}

.clean-download-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(var(--accent-hover-rgb, var(--primary-rgb, 64, 139, 234)), 0.45);
  transform: translateY(-2px);
}

.download-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 20px auto;
  max-width: 650px;
}

/* Custom fields */
.custom_fields {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 20px 0;
  font-size: 13px;
}

.custom_fields .variante {
  color: var(--text-white);
  font-weight: 600;
  min-width: 120px;
}

.custom_fields .valor {
  color: var(--text-muted);
}

/* Tags Cloud */
ul.wp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}

ul.wp-tags li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
}

/* Social Sharing */
.dt_social_single {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid var(--border-subtle);
}

.dt_social_single span {
  font-weight: 600;
  color: var(--text-white);
  margin-right: 10px;
  font-size: 13px;
}

.dt_social_single a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  line-height: 1;
  transition: var(--transition);
}

.dt_social_single a .ui-icon,
.dt_social_single a .svg-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #fff !important;
  fill: currentColor;
}

.dt_social_single a:hover,
.dt_social_single a:hover .ui-icon,
.dt_social_single a:hover .svg-icon,
.dt_social_single a:hover b {
  color: #fff !important;
  filter: none;
}

.dt_social_single a:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.main {
  width: 100%;
  background-color: var(--bg-module);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 25px;
  margin: 20px 0 30px;
  box-sizing: border-box;
}

footer.main .fbox {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer.main .copy {
  color: var(--text-muted);
  font-size: 13px;
}

footer.main .copy strong {
  color: var(--text-white);
}

span.top-page a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

span.top-page a:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
}

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

  .head-search-form {
    width: 180px;
  }

  ul.main-header>li>a {
    padding: 0 12px;
  }

  ul.main-header li ul.sub-menu.sub-menu-triple {
    min-width: 420px;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 900px) {
  header.main {
    display: none;
  }

  .fixheadresp {
    display: block;
  }

  #contenedor {
    margin-top: 60px;
  }

  .module,
  #single {
    flex-direction: column;
  }

  .module .content,
  #single .content {
    border-right: none;
    padding: 20px 15px;
  }

  body.single .module .content {
    padding: 8px 0 20px;
  }

  body.single .watch-player {
    padding: 4px 15px 12px;
  }

  body.single .dooplay_player h2,
  body.single .dooplay_player_option {
    padding-left: 15px;
    padding-right: 15px;
  }

  body.single .sheader,
  body.single .single_tabs,
  body.single .sbox,
  body.single .wp-tags,
  body.single .similar-movies-section,
  body.single .dt_mainmeta {
    margin-left: 15px;
    margin-right: 15px;
  }

  .module .sidebar.right,
  #single .sidebar {
    width: 100%;
    border-top: 1px solid var(--border-subtle);
    padding: 20px 15px;
  }

  .items {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sheader {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sheader .poster {
    width: 150px;
    height: 220px;
  }

  .sheader .extra {
    justify-content: center;
  }

  .starstruck-wrap {
    margin: 15px auto;
  }

  .sgeneros {
    justify-content: center;
  }

  .clean-download-btn {
    font-size: 14px;
    padding: 12px 15px;
  }

  .pagination {
    justify-content: center;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   Responsive SVG Icon Utility (Zero External Network Requests)
   ========================================================================== */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  flex-shrink: 0;
  transition: var(--transition);
}

.aresp .svg-icon {
  width: 22px;
  height: 22px;
}

.search-button .svg-icon,
.search_page_form button .svg-icon,
.search_page_form button .search-icon {
  width: 20px;
  height: 20px;
}

#top-page .svg-icon {
  width: 18px;
  height: 18px;
}

.clean-download-btn .svg-icon {
  width: 20px;
  height: 20px;
}

.dt_social_single a .svg-icon {
  width: 15px;
  height: 15px;
}

.meta-icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  vertical-align: -0.15em;
  color: var(--accent-color);
}

.starstruck-stars-interactive {
  display: flex;
  gap: 6px;
  align-items: center;
}

.starstruck-stars-interactive .star-icon {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.starstruck-stars-interactive .star-icon:hover {
  transform: scale(1.15);
}

.starstruck-stars-interactive .star-icon.active,
.starstruck-stars-interactive .star-icon:hover {
  color: var(--accent-color);
}


/* ==========================================================================
   Top Alphabetical Filter Bar (# A B C ... Z)
   ========================================================================== */
.alphabet-filter {
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 15px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.alphabet-filter ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  min-width: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alphabet-filter li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.alphabet-filter li a:hover,
.alphabet-filter li a.active {
  color: #ffffff;
  background: var(--accent-color);
}

/* ==========================================================================
   Top Info Banner (Image 1 Style)
   ========================================================================== */
.top-info-banner {
  background: #ffffff;
  border: 2px solid #f5a623;
  border-radius: 8px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.top-info-banner p {
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  margin: 0;
}

.section-title-hot {
  display: flex;
  align-items: center;
  margin: 25px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title-hot h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
}

/* ==========================================================================
   Bottom Body Detail SEO Box (Image 2 Style)
   ========================================================================== */
.body-detail-box {
  background: #ffffff;
  border: 2px solid #f5a623;
  border-radius: 10px;
  padding: 30px 25px;
  margin: 35px 0 20px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.body-detail-box h3 {
  color: #f39c12;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
}

.body-detail-box h4 {
  color: #f39c12;
  font-size: 15px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.body-detail-box p {
  color: #4a5568;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.body-detail-box p.keywords {
  color: #4a5568;
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 6px;
}

.body-detail-divider {
  border: 0;
  border-bottom: 1px dashed #cbd5e1;
  margin: 18px auto;
  max-width: 85%;
}

.body-detail-highlight {
  background: #f1f5f9;
  border-radius: 20px;
  padding: 14px 24px;
  margin-top: 20px;
}

.body-detail-highlight p {
  color: #334155;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Detail Page Cast & Crew (Image 3 Style)
   ========================================================================== */
.cast-group {
  margin-bottom: 25px;
}

.cast-group h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
}

.cast-person-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cast-avatar-box {
  width: 56px;
  height: 56px;
  background: #f1f5f9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cast-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cast-placeholder-icon {
  width: 28px;
  height: 28px;
  color: #94a3b8;
}

.cast-person-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.cast-person-info span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

/* Share Bar (Image 3 Style) */
.share-bar-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 35px;
}

.share-bar-row .share-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.share-bar-row .share-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
  font-weight: 300;
}

.share-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 3px;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}

.share-btn-pill.compact {
  width: 34px;
  padding: 0;
}

.share-btn-pill.fb {
  background: #3b5998;
}

.share-btn-pill.tw {
  background: #00acee;
}

.share-btn-pill.pin {
  background: #bd081c;
}

.share-btn-pill.wa {
  background: #25d366;
}

.share-btn-pill:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* Similar Movies Section (Image 3 Style) */
.similar-movies-section {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
}

.similar-movies-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 18px;
}


/* ==========================================================================
   Original DLE/HDMovie2 Letter Filter, SEO Header & Footer SEO Wrapper
   ========================================================================== */
.letter_home {
  background: #0e0e0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 15px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.letter_home .fixresp {
  max-width: var(--max-width);
  margin: 0 auto;
}

.letter_home ul.glossary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 650px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.letter_home ul.glossary li a.lglossary {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
  padding: 3px 6px;
  border-radius: 3px;
  transition: color 0.2s ease;
  cursor: pointer;
}

.letter_home ul.glossary li a.lglossary:hover,
.letter_home ul.glossary li.active a.lglossary {
  color: var(--accent-color);
}

.seo-header-wrapper {
  background: var(--bg-module, #1a1a1a);
  padding: 18px 20px;
  margin: 15px 0 20px;
  border-radius: 10px;
  border-left: 4px solid var(--primary, #408bea);
  border-right: 4px solid var(--primary, #408bea);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.seo-header-wrapper h1 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.6;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.seo-header-wrapper h1 span,
.seo-header-wrapper .brand-name {
  color: var(--primary, #408bea);
  font-weight: 700;
}

.seo-subhead {
  margin: 10px 0 16px;
  text-align: center;
}

.seo-subhead h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.footer-seo-section {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.footer-seo-wrapper {
  background-color: var(--bg-module);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px 25px;
  margin: 20px 0 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  box-sizing: border-box;
}

/* Seamless merge when followed by footer.main */
.footer-seo-wrapper+footer.main {
  margin-top: 0;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background-color: var(--bg-module);
}

.footer-seo-wrapper h2.footer-seo-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-color);
  margin: 0 auto 10px;
  line-height: 1.6;
  text-align: center;
  max-width: 950px;
  text-transform: none;
}

.footer-seo-wrapper .footer-seo-landing {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-seo-wrapper .footer-seo-landing h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 18px auto 8px;
  line-height: 1.45;
  text-align: left;
  max-width: none;
}

.footer-seo-wrapper .footer-seo-landing h2:first-child {
  margin-top: 0;
}

.footer-seo-wrapper .footer-seo-landing h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary, #408bea);
  margin: 14px 0 6px;
}

.footer-seo-wrapper .footer-seo-landing p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 8px 0;
  padding: 0;
  line-height: 1.65;
  max-width: none;
  text-align: left;
}

.footer-seo-wrapper p strong {
  color: var(--accent-color);
  font-weight: 600;
}

.footer-seo-wrapper hr {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  margin: 18px auto;
  max-width: 85%;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
}

.hdm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 24px;
}

.hdm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 180px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--button-text, #fff) !important;
  letter-spacing: 0.2px;
  background: var(--button-bg, var(--accent-color));
  box-shadow: 0 4px 14px rgba(var(--primary-rgb, 64, 139, 234), 0.35);
}

.hdm-cta-watch,
.hdm-cta-download {
  background: var(--button-bg, var(--accent-color));
}

.hdm-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.hdm-dl-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

.hdm-dl-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.hdm-dl-table th,
.hdm-dl-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  vertical-align: middle;
}

.hdm-dl-table th {
  color: var(--accent-color);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hdm-dl-table .clean-download-btn {
  width: auto;
  max-width: none;
  padding: 8px 16px;
  font-size: 13px;
}

.hdm-dl-empty {
  color: var(--text-dim, rgba(255, 255, 255, 0.65));
  padding: 12px 8px 4px;
}

@media (max-width: 640px) {
  .hdm-cta {
    flex: 1 1 100%;
  }

  .hdm-dl-table th:nth-child(3),
  .hdm-dl-table td:nth-child(3) {
    display: none;
  }
}