/*
=============================================================================
  ZEERAK MEDIA — Modern Theme Stylesheet
  https://zeerakmedia.com
  Version: 1.0.0
=============================================================================
*/

/* ─── Google Fonts ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Barlow:wght@400;500;600;700;800&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  --zm-bg:           #080810;
  --zm-bg2:          #0e0e1a;
  --zm-bg3:          #13131f;
  --zm-surface:      #1a1a2e;
  --zm-surface2:     #22223a;
  --zm-border:       rgba(255,255,255,0.07);
  --zm-border2:      rgba(255,255,255,0.12);

  /* Brand Gradient */
  --zm-primary:      #3b82f6;
  --zm-primary-dark: #1d4ed8;
  --zm-accent:       #8b5cf6;
  --zm-accent2:      #ec4899;
  --zm-grad:         linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --zm-grad-h:       linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);

  /* Category Colors */
  --zm-movies:       #e50914;
  --zm-tvshows:      #f59e0b;
  --zm-livetv:       #10b981;
  --zm-news:         #3b82f6;

  /* Text */
  --zm-text:         #e8e8f0;
  --zm-text-muted:   #9090b0;
  --zm-text-faint:   #5a5a7a;

  /* Sizing */
  --zm-radius:       12px;
  --zm-radius-lg:    20px;
  --zm-radius-xl:    28px;
  --zm-shadow:       0 8px 32px rgba(0,0,0,0.5);
  --zm-shadow-card:  0 4px 20px rgba(0,0,0,0.4);
  --zm-shadow-glow:  0 0 30px rgba(59,130,246,0.25);

  /* Transitions */
  --zm-ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --zm-dur:          0.3s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body,
body.dooplay {
  background-color: var(--zm-bg) !important;
  color: var(--zm-text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--zm-primary); text-decoration: none; transition: color var(--zm-dur) var(--zm-ease); }
a:hover { color: var(--zm-accent); }
img { max-width: 100%; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Barlow', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--zm-text);
}

/* ─── Site Wrapper ──────────────────────────────────────────────────────── */
#dt_contenedor { background: var(--zm-bg); }
#contenedor { padding-top: 80px; }

/* ═══════════════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════════════ */
#header.main {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,16,0.85) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--zm-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  transition: background var(--zm-dur) var(--zm-ease);
  height: 72px;
}

#header.main .hbox {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 20px;
}

/* Logo */
#header.main .logo {
  flex-shrink: 0;
  margin-right: 8px;
}

#header.main .logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

#header.main .logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Inject ZEERAK text brand when no image */
#header.main .logo a:not([href="#"]):not(:has(img[src*="brand"])) {
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: var(--zm-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
#header.main .head-main-nav {
  flex: 1;
}

#header.main .head-main-nav ul,
#header.main ul.main-header {
  display: flex !important;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
}

#header.main .head-main-nav ul li,
#header.main ul.main-header > li {
  position: relative;
}

#header.main .head-main-nav ul li a,
#header.main ul.main-header > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--zm-text-muted) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all var(--zm-dur) var(--zm-ease);
  white-space: nowrap;
}

#header.main .head-main-nav ul li a:hover,
#header.main ul.main-header > li > a:hover,
#header.main ul.main-header > li.current-menu-item > a {
  color: #fff !important;
  background: var(--zm-surface);
}

/* Category nav items coloured indicators */
#header.main ul.main-header > li.menu-item-movies > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--zm-movies); margin-right:4px; }
#header.main ul.main-header > li.menu-item-tvshows > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--zm-tvshows); margin-right:4px; }
#header.main ul.main-header > li.menu-item-livetv > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--zm-livetv); margin-right:4px; }
#header.main ul.main-header > li.menu-item-news > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--zm-news); margin-right:4px; }

/* Dropdown menus */
#header.main ul.main-header ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--zm-surface);
  border: 1px solid var(--zm-border2);
  border-radius: var(--zm-radius);
  box-shadow: var(--zm-shadow);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
}

#header.main ul.main-header li:hover > ul { display: flex; }
#header.main ul.main-header ul li a { font-size: 13px; padding: 8px 12px; color: var(--zm-text-muted) !important; }
#header.main ul.main-header ul li a:hover { background: var(--zm-surface2); color: #fff !important; }

/* Header Items (Search + User) */
#header.main .headitems {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Search */
#header.main .headitems .search,
#header.main #advc-menu.search {
  position: relative;
}

#header.main .headitems #searchform,
#header.main #advc-menu #searchform {
  display: flex;
  align-items: center;
}

#header.main #searchform input[type="text"],
#header.main #advc-menu input[type="text"] {
  background: var(--zm-surface) !important;
  border: 1px solid var(--zm-border2) !important;
  border-radius: 10px !important;
  color: var(--zm-text) !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 42px 8px 16px !important;
  width: 220px;
  outline: none;
  transition: all var(--zm-dur) var(--zm-ease);
}

#header.main #searchform input[type="text"]:focus,
#header.main #advc-menu input[type="text"]:focus {
  border-color: var(--zm-primary) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  width: 280px;
}

#header.main #searchform input::placeholder { color: var(--zm-text-faint); }

#header.main .search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--zm-text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
  transition: color var(--zm-dur);
}
#header.main .search-button:hover { color: var(--zm-primary); }

/* User area */
#header.main .dtuser { display: flex; align-items: center; }

#header.main .dtuser .gravatar,
#header.main .dtuser .image {
  position: relative;
}

#header.main .dtuser .image img,
#header.main .dtuser img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--zm-primary);
  object-fit: cover;
}

#header.main .dtuser a.clicklogin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--zm-surface);
  border: 1px solid var(--zm-border2);
  color: var(--zm-text-muted);
  font-size: 18px;
  transition: all var(--zm-dur);
}

#header.main .dtuser a.clicklogin:hover {
  background: var(--zm-primary);
  border-color: var(--zm-primary);
  color: #fff;
}

/* Live search dropdown */
.live-search {
  background: var(--zm-surface) !important;
  border: 1px solid var(--zm-border2) !important;
  border-radius: var(--zm-radius) !important;
  box-shadow: var(--zm-shadow) !important;
  overflow: hidden;
}

/* ─── Live TV Badge in header ────────────────────────────────────────────── */
.zm-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--zm-livetv);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulse-live 2s infinite;
}
.zm-live-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1s infinite;
}

@keyframes pulse-live { 0%,100%{ box-shadow:0 0 0 0 rgba(16,185,129,0.4); } 50%{ box-shadow:0 0 0 6px rgba(16,185,129,0); } }
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE HEADER
═══════════════════════════════════════════════════════════════════════ */
.fixheadresp header.responsive {
  background: rgba(8,8,16,0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--zm-border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.fixheadresp header.responsive .nav a,
.fixheadresp header.responsive .search a {
  color: var(--zm-text) !important;
}

.fixheadresp .menuresp,
#arch-menu.menuresp {
  background: var(--zm-bg2) !important;
  border-right: 1px solid var(--zm-border);
  box-shadow: 4px 0 32px rgba(0,0,0,0.6) !important;
}

#arch-menu .menu { background: var(--zm-bg2); }
#arch-menu .menu ul { background: transparent; }
#arch-menu .menu ul li a {
  color: var(--zm-text-muted) !important;
  border-bottom: 1px solid var(--zm-border);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
}
#arch-menu .menu ul li a:hover { color: #fff !important; background: var(--zm-surface); }

/* ═══════════════════════════════════════════════════════════════════════
   HOME HERO / SLIDER
═══════════════════════════════════════════════════════════════════════ */
.module { margin: 0 auto; max-width: 1400px; padding: 0 24px; }
.content { padding: 16px 0; }

/* Slider module */
#slider,
.dt-slider,
.section-slider {
  border-radius: var(--zm-radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
}

.dt-slider .item,
#slider .item {
  position: relative;
  border-radius: var(--zm-radius-xl);
  overflow: hidden;
}

.dt-slider .item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,16,0.95) 30%, transparent 70%);
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION HEADERS (module headers)
═══════════════════════════════════════════════════════════════════════ */
.module > div > header,
.content > header,
div.content header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 20px 0;
  padding: 0 0 16px 0;
  border-bottom: 1px solid var(--zm-border);
  position: relative;
}

div.content header::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 60px; height: 3px;
  background: var(--zm-grad);
  border-radius: 2px;
}

div.content header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--zm-text);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

div.content header span {
  font-size: 13px;
  color: var(--zm-text-muted);
}

div.content header .see-all,
div.content header span a {
  color: var(--zm-primary) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 20px;
  transition: all var(--zm-dur);
}

div.content header .see-all:hover,
div.content header span a:hover {
  background: var(--zm-primary);
  border-color: var(--zm-primary);
  color: #fff !important;
}

/* Carousel nav buttons */
.nav_items_module {
  display: flex;
  gap: 6px;
}

.nav_items_module .btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--zm-surface2);
  border: 1px solid var(--zm-border2);
  color: var(--zm-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--zm-dur);
}

.nav_items_module .btn:hover {
  background: var(--zm-primary);
  border-color: var(--zm-primary);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════
   MEDIA CARDS (movies / tvshows items)
═══════════════════════════════════════════════════════════════════════ */
.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 16px;
}

.items.normal { max-width: 100%; }

article.item {
  position: relative;
  border-radius: var(--zm-radius);
  overflow: hidden;
  background: var(--zm-surface);
  transition: transform var(--zm-dur) var(--zm-ease), box-shadow var(--zm-dur) var(--zm-ease);
  cursor: pointer;
}

article.item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 24px rgba(59,130,246,0.15);
  z-index: 2;
}

/* Poster */
article.item .poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

article.item .poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--zm-ease);
  display: block;
}

article.item:hover .poster img {
  transform: scale(1.08);
}

/* Gradient overlay on poster */
article.item .poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(8,8,16,0.85) 100%
  );
  opacity: 0;
  transition: opacity var(--zm-dur);
}

article.item:hover .poster::after { opacity: 1; }

/* Rating Badge */
article.item .rating {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

article.item .rating::before {
  content: '★';
  font-size: 10px;
}

/* Quality Badge */
article.item .mepo {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

article.item .mepo .quality {
  background: var(--zm-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Play Icon */
article.item .see {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--zm-dur);
  z-index: 3;
}

article.item:hover .see { opacity: 1; }

article.item .see::after {
  content: '';
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(59,130,246,0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(59,130,246,0.5);
}

/* Play triangle inside button */
article.item .see.play1::before,
article.item .see.play2::before,
article.item .see.play3::before {
  content: '▶';
  position: absolute;
  font-size: 20px;
  color: #fff;
  z-index: 1;
  margin-left: 3px;
}

/* Card data */
article.item .data {
  padding: 12px;
  background: var(--zm-surface);
}

article.item .data h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--zm-text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

article.item .data h3 a {
  color: inherit !important;
  text-decoration: none;
}

article.item .data h3 a:hover { color: var(--zm-primary) !important; }

article.item .data span {
  font-size: 11px;
  color: var(--zm-text-faint);
  font-weight: 400;
}

/* Post type color accents */
article.item.movies .mepo .quality { background: var(--zm-movies); }
article.item.tvshows .mepo .quality { background: var(--zm-tvshows); }

/* Hover expand info */
article.item .animation-1.dtinfo {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,8,16,0.97) 0%, transparent 100%);
  padding: 20px 12px 12px;
  transform: translateY(100%);
  transition: transform var(--zm-dur) var(--zm-ease);
  z-index: 4;
}

article.item:hover .animation-1.dtinfo { transform: translateY(0); }

article.item .animation-1 .title h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURED POST SECTION
═══════════════════════════════════════════════════════════════════════ */
.featured-post,
.featured_post {
  border-radius: var(--zm-radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
  min-height: 420px;
}

.featured-post .featured-bg,
.featured_post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.featured-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,16,0.9) 40%, transparent 80%);
}

/* ═══════════════════════════════════════════════════════════════════════
   LIVE TV MODULE (custom)
═══════════════════════════════════════════════════════════════════════ */
.zm-livetv-module { margin-bottom: 40px; }

.zm-livetv-module header { border-bottom: 1px solid var(--zm-border); padding-bottom: 16px; margin-bottom: 20px; }
.zm-livetv-module header h2::before { content: ''; display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--zm-livetv); margin-right:10px; animation: blink 1s infinite; }

.zm-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.zm-live-card {
  background: var(--zm-surface);
  border: 1px solid var(--zm-border);
  border-radius: var(--zm-radius);
  overflow: hidden;
  transition: all var(--zm-dur) var(--zm-ease);
  cursor: pointer;
}

.zm-live-card:hover {
  border-color: var(--zm-livetv);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 18px rgba(16,185,129,0.15);
}

.zm-live-card .zm-live-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--zm-bg3);
  overflow: hidden;
}

.zm-live-card .zm-live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--zm-ease);
}

.zm-live-card:hover .zm-live-thumb img { transform: scale(1.05); }

.zm-live-card .zm-live-thumb .zm-live-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--zm-dur);
}

.zm-live-card:hover .zm-live-thumb .zm-live-overlay { opacity: 1; }

.zm-live-card .zm-live-thumb .zm-live-overlay .zm-play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--zm-livetv);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 0 24px rgba(16,185,129,0.4);
}

.zm-live-card .zm-live-badge-corner {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--zm-livetv);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.zm-live-card .zm-live-badge-corner::before {
  content: '●';
  font-size: 8px;
  animation: blink 1s infinite;
}

.zm-live-card .zm-live-info {
  padding: 14px;
}

.zm-live-card .zm-live-info .zm-channel-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--zm-text);
  margin-bottom: 4px;
}

.zm-live-card .zm-live-info .zm-channel-cat {
  font-size: 12px;
  color: var(--zm-livetv);
  font-weight: 500;
}

.zm-live-card .zm-live-info .zm-now-playing {
  font-size: 12px;
  color: var(--zm-text-faint);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════
   NEWS / BLOG MODULE
═══════════════════════════════════════════════════════════════════════ */
.zm-news-module { margin-bottom: 40px; }

.zm-news-module header { border-bottom: 1px solid var(--zm-border); padding-bottom: 16px; margin-bottom: 20px; }

/* Override existing blog styles */
.list-items-blogs,
.zm-news-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 20px !important;
}

.post-entry,
.zm-news-card {
  background: var(--zm-surface) !important;
  border: 1px solid var(--zm-border) !important;
  border-radius: var(--zm-radius) !important;
  overflow: hidden;
  transition: all var(--zm-dur) var(--zm-ease);
}

.post-entry:hover,
.zm-news-card:hover {
  border-color: rgba(59,130,246,0.3) !important;
  transform: translateY(-4px);
  box-shadow: var(--zm-shadow-card);
}

/* Old blog card layout override */
.home-blog-post {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
}

.post-entry .home-blog-post .entry-date {
  display: none !important;
}

.post-entry .home-blog-post .entry-datails {
  padding: 18px !important;
}

.post-entry .home-blog-post .entry-title {
  font-family: 'Barlow', sans-serif;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: 10px !important;
}

.post-entry .home-blog-post .entry-title a {
  color: var(--zm-text) !important;
  transition: color var(--zm-dur);
}

.post-entry .home-blog-post .entry-title a:hover { color: var(--zm-primary) !important; }

.post-entry .home-blog-post .entry-content {
  font-size: 13px !important;
  color: var(--zm-text-muted) !important;
  line-height: 1.6 !important;
}

/* News thumbnail (if thumbnail exists) */
.post-entry .news-thumb,
.post-entry .wp-post-image,
.zm-news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* News tag/category */
.zm-news-tag {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  color: var(--zm-news);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════
   TOP IMDB SECTION
═══════════════════════════════════════════════════════════════════════ */
.top-imdb-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-imdb-items .item-imdb,
.top-imdb-items article {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--zm-surface);
  border: 1px solid var(--zm-border);
  border-radius: var(--zm-radius);
  padding: 10px;
  transition: all var(--zm-dur);
}

.top-imdb-items article:hover {
  border-color: rgba(251,191,36,0.3);
  background: var(--zm-surface2);
}

/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════════════ */
.sidebar {
  background: transparent !important;
}

.sidebar .widget,
.sidebar section.widget {
  background: var(--zm-surface) !important;
  border: 1px solid var(--zm-border) !important;
  border-radius: var(--zm-radius) !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
}

.sidebar .widgettitle,
.sidebar h2.widgettitle,
.sidebar .widget-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--zm-text) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--zm-border) !important;
}

.sidebar ul li a {
  color: var(--zm-text-muted) !important;
  font-size: 13px;
  transition: color var(--zm-dur);
  display: block;
  padding: 5px 0;
}

.sidebar ul li a:hover { color: var(--zm-primary) !important; }

/* ═══════════════════════════════════════════════════════════════════════
   SINGLE MOVIE / TVSHOW PAGE
═══════════════════════════════════════════════════════════════════════ */
.single-content,
.sheader {
  background: var(--zm-bg2);
  border-radius: var(--zm-radius-xl);
  overflow: hidden;
  margin-bottom: 24px;
}

.singleheader,
.sheader {
  position: relative;
  min-height: 400px;
}

.singleheader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--zm-bg) 0%, rgba(8,8,16,0.5) 60%, transparent 100%);
  z-index: 1;
}

.single-inf,
.sheader .data {
  position: relative;
  z-index: 2;
}

.single-data h1.entry-title,
h1.entry-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

/* Metadata row */
.extra,
.metasfull {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.extra .metadatac span,
.metasfull span {
  background: var(--zm-surface2);
  border: 1px solid var(--zm-border);
  color: var(--zm-text-muted);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
}

/* Player container */
.dtplayer,
.playcontainer {
  background: #000 !important;
  border-radius: var(--zm-radius) !important;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--zm-shadow);
}

/* Episode list */
.episodelist {
  background: var(--zm-surface);
  border: 1px solid var(--zm-border);
  border-radius: var(--zm-radius);
  overflow: hidden;
}

.episodelist ul { list-style: none; }

.episodelist ul li {
  border-bottom: 1px solid var(--zm-border);
  transition: background var(--zm-dur);
}

.episodelist ul li:last-child { border-bottom: none; }

.episodelist ul li:hover { background: var(--zm-surface2); }

.episodelist ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--zm-text-muted) !important;
  font-size: 13px;
}

.episodelist ul li a:hover { color: var(--zm-primary) !important; }

/* Related items */
.contenedor_relacionados,
.related-container {
  margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════════════════════
   CATEGORY / ARCHIVE PAGES
═══════════════════════════════════════════════════════════════════════ */
.main-term-top,
.archive-header {
  background: var(--zm-surface);
  border-radius: var(--zm-radius-xl);
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid var(--zm-border);
  position: relative;
  overflow: hidden;
}

.main-term-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--zm-grad);
}

.main-term-top h1,
.archive-header h1 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* Pagination */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--zm-surface);
  border: 1px solid var(--zm-border);
  color: var(--zm-text-muted) !important;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--zm-dur);
}

.pagination .page-numbers:hover,
.nav-links a:hover {
  background: var(--zm-primary);
  border-color: var(--zm-primary);
  color: #fff !important;
}

.pagination .current,
.nav-links .current {
  background: var(--zm-primary) !important;
  border-color: var(--zm-primary) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════════════════════ */
.search-result-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--zm-text-muted);
}

.search-result-title span { color: var(--zm-text); }

/* ═══════════════════════════════════════════════════════════════════════
   LOAD STATES
═══════════════════════════════════════════════════════════════════════ */
.load_modules,
#movload {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--zm-text-faint);
  font-size: 13px;
}

.dtloadpage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,8,16,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dtloadbox {
  background: var(--zm-surface);
  border: 1px solid var(--zm-border2);
  border-radius: var(--zm-radius-lg);
  padding: 32px 40px;
  text-align: center;
  box-shadow: var(--zm-shadow);
}

.loading {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════ */
footer.main {
  background: var(--zm-bg2) !important;
  border-top: 1px solid var(--zm-border) !important;
  margin-top: 48px;
}

footer.main .fbox {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

footer.main .fcmpbox { }

footer.main .primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 2fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--zm-border);
}

footer.main .columenu h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--zm-text);
  margin-bottom: 16px;
}

footer.main .columenu ul { list-style: none; }
footer.main .columenu ul li { margin-bottom: 8px; }
footer.main .columenu ul li a {
  color: var(--zm-text-faint) !important;
  font-size: 13px;
  transition: color var(--zm-dur);
}
footer.main .columenu ul li a:hover { color: var(--zm-primary) !important; }

footer.main .fotlogo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer.main .fotlogo .logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--zm-dur);
}
footer.main .fotlogo .logo img:hover { opacity: 1; }

footer.main .fotlogo .text p {
  font-size: 13px;
  color: var(--zm-text-faint);
  line-height: 1.7;
}

/* Footer bottom bar */
footer.main .copy {
  text-align: center;
  font-size: 12px;
  color: var(--zm-text-faint) !important;
  padding: 16px 0;
}

footer.main .fmenu {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

footer.main .fmenu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  list-style: none;
}

footer.main .fmenu ul li a {
  color: var(--zm-text-faint) !important;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all var(--zm-dur);
}
footer.main .fmenu ul li a:hover { color: var(--zm-primary) !important; background: var(--zm-surface); }

/* Back to top */
footer.main .top-page {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
}

footer.main .top-page a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--zm-primary);
  color: #fff !important;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(59,130,246,0.4);
  transition: all var(--zm-dur);
}

footer.main .top-page a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.5);
}

/* ═══════════════════════════════════════════════════════════════════════
   FORMS & AUTH
═══════════════════════════════════════════════════════════════════════ */
.dt-login-form,
#dt-login-form,
.loginform {
  background: var(--zm-surface) !important;
  border: 1px solid var(--zm-border2) !important;
  border-radius: var(--zm-radius-xl) !important;
  box-shadow: var(--zm-shadow) !important;
}

.dt-login-form input,
.loginform input[type="text"],
.loginform input[type="password"],
.loginform input[type="email"] {
  background: var(--zm-bg) !important;
  border: 1px solid var(--zm-border2) !important;
  border-radius: 10px !important;
  color: var(--zm-text) !important;
  padding: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  width: 100%;
  transition: border-color var(--zm-dur);
}

.loginform input:focus {
  border-color: var(--zm-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
}

.loginform input[type="submit"],
.dt-btn,
.btn-primary,
button[type="submit"] {
  background: var(--zm-grad) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  cursor: pointer;
  transition: all var(--zm-dur) var(--zm-ease) !important;
  width: 100%;
}

.loginform input[type="submit"]:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.35) !important; }

/* Overlay */
#oscuridad {
  background: rgba(0,0,0,0.75) !important;
  backdrop-filter: blur(4px);
}

/* ═══════════════════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--zm-bg); }
::-webkit-scrollbar-thumb { background: var(--zm-surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--zm-primary); }

/* ═══════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════════════════════════ */
.zm-section { margin-bottom: 40px; }
.zm-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.zm-badge-red { background: rgba(229,9,20,0.2); color: var(--zm-movies); border: 1px solid rgba(229,9,20,0.3); }
.zm-badge-yellow { background: rgba(245,158,11,0.2); color: var(--zm-tvshows); border: 1px solid rgba(245,158,11,0.3); }
.zm-badge-green { background: rgba(16,185,129,0.2); color: var(--zm-livetv); border: 1px solid rgba(16,185,129,0.3); }
.zm-badge-blue { background: rgba(59,130,246,0.2); color: var(--zm-news); border: 1px solid rgba(59,130,246,0.3); }

/* No results */
.dt-no-post {
  text-align: center;
  padding: 40px;
  color: var(--zm-text-faint);
  font-size: 14px;
}

/* Fix hidden wrapper */
.fix-hidden {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   CATEGORY HERO BANNERS (per section)
═══════════════════════════════════════════════════════════════════════ */
.zm-category-hero {
  border-radius: var(--zm-radius-xl);
  padding: 40px 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.zm-category-hero.movies-hero { background: linear-gradient(135deg, rgba(229,9,20,0.2), transparent), var(--zm-surface); border: 1px solid rgba(229,9,20,0.2); }
.zm-category-hero.tvshows-hero { background: linear-gradient(135deg, rgba(245,158,11,0.2), transparent), var(--zm-surface); border: 1px solid rgba(245,158,11,0.2); }
.zm-category-hero.livetv-hero { background: linear-gradient(135deg, rgba(16,185,129,0.2), transparent), var(--zm-surface); border: 1px solid rgba(16,185,129,0.2); }
.zm-category-hero.news-hero { background: linear-gradient(135deg, rgba(59,130,246,0.2), transparent), var(--zm-surface); border: 1px solid rgba(59,130,246,0.2); }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .module { padding: 0 16px; }
  footer.main .primary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #header.main { display: none !important; }
  #contenedor { padding-top: 60px; }
  .items { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .zm-live-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .list-items-blogs { grid-template-columns: 1fr !important; }
  footer.main .primary { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  footer.main .fbox { padding: 32px 16px 16px; }
  div.content header h2 { font-size: 17px; }
  .zm-category-hero { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .zm-live-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  footer.main .primary { grid-template-columns: 1fr; }
  #header.main #searchform input[type="text"] { width: 160px; }
}

/* ─── OWL Carousel override ─────────────────────────────────────────────── */
.owl-carousel .owl-stage-outer { border-radius: var(--zm-radius); }
.owl-carousel .owl-dots { margin-top: 12px; }
.owl-carousel .owl-dot span { background: var(--zm-surface2) !important; }
.owl-carousel .owl-dot.active span { background: var(--zm-primary) !important; }
.owl-carousel .owl-nav button { background: var(--zm-surface) !important; border: 1px solid var(--zm-border2) !important; color: var(--zm-text) !important; border-radius: 50% !important; width: 40px !important; height: 40px !important; }
.owl-carousel .owl-nav button:hover { background: var(--zm-primary) !important; border-color: var(--zm-primary) !important; }

/* ─── Misc overrides ────────────────────────────────────────────────────── */
.dt_contenedor,
#dt_contenedor { min-height: 100vh; }

/* 404 page */
body.error404 { display: flex; flex-direction: column; min-height: 100vh; }
.notfound-wrapper { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; }
.notfound-wrapper h1 { font-size: clamp(80px, 20vw, 160px); font-weight: 900; background: var(--zm-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.notfound-wrapper h2 { font-size: 24px; margin-bottom: 12px; }
.notfound-wrapper p { color: var(--zm-text-muted); max-width: 400px; }

/* ─── ZEERAK Brand Text Logo ─────────────────────────────────────────────── */
.zm-brand-text {
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #fff;
}

.zm-brand-text .zm-brand-accent {
  background: var(--zm-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Footer Category Quick Links ────────────────────────────────────────── */
.zm-footer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.zm-fcat {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
  transition: all var(--zm-dur);
}

.zm-fcat-movies   { color: var(--zm-movies);  border-color: rgba(229,9,20,0.4);   background: rgba(229,9,20,0.1); }
.zm-fcat-tvshows  { color: var(--zm-tvshows); border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.1); }
.zm-fcat-livetv   { color: var(--zm-livetv);  border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.1); }
.zm-fcat-news     { color: var(--zm-news);    border-color: rgba(59,130,246,0.4); background: rgba(59,130,246,0.1); }

.zm-fcat:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── Footer Bottom Bar ──────────────────────────────────────────────────── */
.zm-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

/* ─── Sign Out button ────────────────────────────────────────────────────── */
.zm-signout-btn {
  font-size: 12px;
  color: var(--zm-text-faint) !important;
  transition: color var(--zm-dur);
}
.zm-signout-btn:hover { color: var(--zm-accent2) !important; }

/* ─── News Read More ─────────────────────────────────────────────────────── */
.zm-read-more { color: var(--zm-primary) !important; }
.zm-read-more:hover { color: var(--zm-accent) !important; }

/* ─── Columenu wrapper fix for footer ────────────────────────────────────── */
footer.main .columenu .item { }
