/*
Theme Name: ZizoPixels Netflix (Rebuild)
Description: Fresh rebuild (2026-11-04) matching the observed ZizoPixels layout: hero, Top 10, Trending, Latest grid, single-movie page with the player under the Synopsis heading, /movie/ archive, movie-only search, mobile bottom nav. Works with the Zizo Movies (Rebuild) plugin, reusing its verified post type, meta keys, and helpers.
Version: 1.0.1
Author: ZizoPixels rebuild
Text Domain: zizopixels-netflix-rebuild
*/

* { box-sizing: border-box; }
body { margin: 0; background: #0b0f19; color: #e2e8f0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.5; }
a { color: #38bdf8; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.zizo-container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Header */
.zizo-header { background: #111827; border-bottom: 1px solid #1f2937; position: sticky; top: 0; z-index: 50; }
.zizo-header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 16px; max-width: 1180px; margin: 0 auto; }
.zizo-logo { font-size: 22px; font-weight: 800; color: #fff; white-space: nowrap; }
.zizo-logo:hover { text-decoration: none; }
.zizo-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.zizo-nav a { color: #e2e8f0; font-size: 15px; }
.zizo-nav a:hover { color: #38bdf8; text-decoration: none; }
.zizo-search { margin-left: auto; display: flex; gap: 6px; }
.zizo-search input[type="search"] { background: #0b0f19; border: 1px solid #374151; color: #e2e8f0; border-radius: 999px; padding: 7px 12px; width: 190px; }
.zizo-search button { background: #0ea5e9; color: #fff; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.zizo-pills { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px 0; max-width: 1180px; margin: 0 auto; }
.zizo-pills a { background: #111827; border: 1px solid #374151; color: #e2e8f0; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.zizo-pills a:hover { border-color: #38bdf8; text-decoration: none; }

/* Hero */
.zizo-hero { display: flex; gap: 24px; background: #111827; border: 1px solid #1f2937; border-radius: 16px; padding: 20px; margin: 20px 0; }
.zizo-hero-poster { flex: 0 0 220px; }
.zizo-hero-poster img { border-radius: 12px; display: block; }
.zizo-hero-info h1, .zizo-hero-info h2 { margin: 0 0 8px; font-size: 28px; color: #fff; }
.zizo-hero-meta { color: #94a3b8; font-size: 14px; margin-bottom: 12px; }
.zizo-hero-excerpt { color: #cbd5e1; margin-bottom: 16px; }
.zizo-btn { display: inline-block; background: #0ea5e9; color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 700; margin-right: 10px; }
.zizo-btn:hover { text-decoration: none; background: #0284c7; }
.zizo-btn-secondary { background: #1f2937; border: 1px solid #38bdf8; color: #e2e8f0; }
.zizo-btn-secondary:hover { background: #111827; }

/* Sections + grids */
.zizo-section { margin: 28px 0; }
.zizo-section h2 { font-size: 22px; color: #fff; margin: 0 0 14px; }
.zizo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* Horizontal scrollers (Top 10 + Trending rows): arrows scroll, the bar
   itself stays invisible on every browser, touch swipe + wheel still work.
   overflow-y is hidden on purpose: overflow-x:auto alone computes
   overflow-y to auto, which is what produced the stray vertical bar. */
.zizo-scroller { position: relative; }
.zizo-row, .zizo-top10 { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x proximity; padding: 16px 2px; scrollbar-width: none; -ms-overflow-style: none; }
.zizo-row::-webkit-scrollbar, .zizo-top10::-webkit-scrollbar { display: none; }
.zizo-row > *, .zizo-top10 > * { scroll-snap-align: start; }
.zizo-row .zizo-card { flex: 0 0 160px; }
.zizo-scroller-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.65); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease, background .2s ease; padding: 0 0 3px; }
.zizo-scroller-arrow:hover { background: rgba(14,165,233,.9); }
.zizo-scroller-prev { left: 2px; }
.zizo-scroller-next { right: 2px; }
.zizo-scroller:hover .zizo-scroller-arrow { opacity: 1; }
.zizo-scroller:hover .zizo-scroller-arrow:disabled { opacity: .25; cursor: default; }
@media (hover: none) {
  .zizo-scroller-arrow { opacity: 1; }
  .zizo-scroller-arrow:disabled { opacity: .25; cursor: default; }
}

/* Cards: gentle lift + glow on hover, play badge fades in on hover
   (always visible on touch, where there is no hover). */
.zizo-card { background: #111827; border: 1px solid #1f2937; border-radius: 12px; overflow: hidden; position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.zizo-card:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.55); border-color: #38bdf8; }
.zizo-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.zizo-card-body { padding: 10px 12px 12px; }
.zizo-card-title { color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; }
.zizo-card-meta { color: #94a3b8; font-size: 13px; }
.zizo-card-badge { position: absolute; top: 8px; left: 8px; background: #0ea5e9; color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.zizo-card-play { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: #fff; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 16px; opacity: 0; transition: opacity .25s ease; }
.zizo-card:hover .zizo-card-play { opacity: 1; }
@media (hover: none) {
  .zizo-card-play { opacity: 1; }
}
/* Top 10 rank numbers, outlined like the UCMine Top 10 row */
.zizo-top10-item { display: flex; align-items: flex-end; gap: 2px; flex: 0 0 auto; }
.zizo-rank { font-size: 76px; line-height: .8; font-weight: 900; color: transparent; -webkit-text-stroke: 2px #38bdf8; }
.zizo-top10-item .zizo-card { flex: 0 0 150px; }

/* Single movie */
.zizo-breadcrumb { color: #94a3b8; font-size: 14px; margin: 16px 0; }
.zizo-single-head { display: flex; gap: 24px; margin-bottom: 20px; }
.zizo-single-poster { flex: 0 0 220px; }
.zizo-single-poster img { border-radius: 12px; display: block; }
.zizo-single-info h1 { margin: 0 0 8px; font-size: 28px; color: #fff; }
.zizo-single-meta { color: #94a3b8; font-size: 14px; margin-bottom: 12px; }
.zizo-genre-pills a { display: inline-block; background: #1f2937; border: 1px solid #374151; color: #e2e8f0; border-radius: 999px; padding: 4px 12px; font-size: 13px; margin: 0 6px 6px 0; }
.zizo-genre-pills a:hover { border-color: #38bdf8; text-decoration: none; }
.zizo-share { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.zizo-share a, .zizo-share button { background: #1f2937; border: 1px solid #374151; color: #e2e8f0; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.zizo-views { color: #94a3b8; font-size: 14px; margin: 8px 0; }
.zizo-details { background: #111827; border: 1px solid #1f2937; border-radius: 12px; padding: 14px 18px; margin: 16px 0; }
.zizo-details p { margin: 6px 0; font-size: 14px; }
.zizo-details strong { color: #fff; }
.zizo-synopsis-heading { font-size: 22px; color: #fff; margin: 24px 0 4px; }
.zizo-downloads { background: #111827; border: 1px solid #1f2937; border-radius: 12px; padding: 14px 18px; margin: 20px 0; }
.zizo-downloads h2 { font-size: 20px; color: #fff; margin: 0 0 10px; }
.zizo-downloads a { display: block; background: #1f2937; border: 1px solid #374151; color: #e2e8f0; border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.zizo-downloads a:hover { border-color: #38bdf8; text-decoration: none; }

/* Archive + pagination */
.zizo-archive-title { font-size: 26px; color: #fff; }
.nav-links { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.nav-links a, .nav-links span { background: #111827; border: 1px solid #374151; color: #e2e8f0; border-radius: 999px; padding: 8px 16px; }
.nav-links span.current { background: #0ea5e9; color: #fff; border-color: #0ea5e9; }

/* Ads */
.zizo-ad { margin: 20px 0; text-align: center; }
.zizo-ad:empty { display: none; }

/* Footer */
.zizo-footer { background: #111827; border-top: 1px solid #1f2937; margin-top: 40px; padding: 24px 0 90px; }
.zizo-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.zizo-footer nav a { color: #e2e8f0; font-size: 14px; }
.zizo-footer-disclaimer { color: #94a3b8; font-size: 13px; }
/* Mobile bottom nav (old theme showed one in preview) */
.zizo-bottom-nav { display: none; }
@media (max-width: 700px) {
  .zizo-header-inner { flex-wrap: wrap; }
  .zizo-search { margin-left: 0; width: 100%; }
  .zizo-search input[type="search"] { flex: 1; width: auto; }
  .zizo-nav { gap: 12px; }
  .zizo-hero, .zizo-single-head { flex-direction: column; }
  .zizo-hero-poster, .zizo-single-poster { flex: 0 0 auto; width: 180px; }
  .zizo-grid { grid-template-columns: repeat(2, 1fr); }
  .zizo-row .zizo-card { flex-basis: 130px; }
  .zizo-top10-item .zizo-card { flex-basis: 120px; }
  .zizo-rank { font-size: 56px; }
  .zizo-scroller-arrow { width: 36px; height: 36px; font-size: 22px; }
  .zizo-bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #111827; border-top: 1px solid #1f2937; z-index: 60; }
  .zizo-bottom-nav a { flex: 1; text-align: center; color: #e2e8f0; font-size: 12px; padding: 10px 0; }
  .zizo-bottom-nav a:hover { text-decoration: none; color: #38bdf8; }
}
