﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root{
      --bg:#070914;
      --border:rgba(255,255,255,.12);
      --text:#EEF1FF;
      --muted:rgba(238,241,255,.72);
      --shadow: 0 18px 55px rgba(0,0,0,.60);

      --grad: linear-gradient(90deg, #451dd6, #1180db, #40b0fa);
      --glass: rgba(255,255,255,.06);
    }

h1,h2,h3,h4,h5,h6{
  margin:0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.12;
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 800;
}
h2{ font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.5px; line-height: 1.14; font-weight: 800; }
h3{ font-size: clamp(17px, 1.6vw, 19px); letter-spacing: -0.2px; line-height: 1.2; font-weight: 700; }
h4{ font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: -0.1px; }
h5{ font-size: 13px; line-height: 1.3; font-weight: 800; opacity: .92; }
h6{ font-size: 12px; line-height: 1.35; font-weight: 800; opacity: .88; letter-spacing: .3px; text-transform: uppercase; }

.title{ font-weight: 800; letter-spacing: -0.3px; }
.sub{ color: var(--muted); font-weight: 500; font-size: 16px; line-height: 1.55; }
.section-title{
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
  line-height: 1.14;
}
.section-sub{
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
}
.gcard h3{ font-weight: 700; letter-spacing: -0.2px; }
.chTitle, .mv .name{ font-weight: 700; }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
      color:var(--text);
      background:
        radial-gradient(900px 700px at 12% 10%, rgba(13,53,185,.26), transparent 60%),
        radial-gradient(900px 700px at 88% 15%, rgba(95,58,230,.18), transparent 60%),
        radial-gradient(900px 700px at 50% 110%, rgba(16,103,161,.14), transparent 60%),
        var(--bg);
      line-height:1.5;
      overflow-x:hidden;
    }
    a{color:inherit; text-decoration:none}

    /* Soft animated glow */
    .glow{
      position:fixed;
      inset:auto -30% -40% -30%;
      height:60vh;
      background: var(--grad);
      filter: blur(80px);
      opacity:.18;
      transform: rotate(-10deg);
      pointer-events:none;
      animation: glowFloat 10s ease-in-out infinite;
    }
    .glow.top{
      inset:-45% -30% auto -30%;
      height:55vh;
      transform: rotate(10deg);
      opacity:.14;
      animation-duration: 12s;
    }
    @keyframes glowFloat{
      0%,100%{ transform: translateY(0) rotate(-10deg) scale(1); }
      50%{ transform: translateY(-18px) rotate(-10deg) scale(1.04); }
    }

    /* HEADER */
    header{
      position:sticky; top:0; z-index:999;
      backdrop-filter: blur(12px);
      background: rgba(7,9,20,.58);
      border-bottom:0;
    }
    .nav{
      max-width:1200px;
      margin:0 auto;
      padding:14px 18px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }

    .brand{
      display:flex;
      align-items:center;
      gap:10px;
      font-weight:700;
      letter-spacing:.2px;
      min-width:0;
    }
    .brand img{width:38px;height:38px;object-fit:contain}
    .brand span{
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    /* Burger */
    .burger{
      width:44px; height:44px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:12px;
      border:none;
      background: transparent;
      cursor:pointer;
      user-select:none;
      -webkit-tap-highlight-color: transparent;
      transition: background .18s ease;
      position:relative;
    }
    .burger:hover{ background: rgba(255,255,255,.06); }
    .burger:active{ background: rgba(255,255,255,.10); }
    .burger .lines{
      width:18px; height:14px; position:relative;
    }
    .burger .lines span{
      position:absolute; left:0;
      width:100%; height:2px;
      border-radius: 999px;
      background: rgba(238,241,255,.92);
      transition: transform .28s ease, top .28s ease, opacity .18s ease;
    }
    .burger .lines span:nth-child(1){top:0}
    .burger .lines span:nth-child(2){top:6px}
    .burger .lines span:nth-child(3){top:12px}

    .burger.open .lines span:nth-child(1){top:6px; transform: rotate(45deg)}
    .burger.open .lines span:nth-child(2){opacity:0}
    .burger.open .lines span:nth-child(3){top:6px; transform: rotate(-45deg)}

    /* Menu dropdown */
    .menu{
      position:fixed;
      left:0; right:0;
      top:64px;
      z-index:1000;
      display:none;
      padding:0 14px 14px;
    }
    .menu.open{display:block}

    .menu-panel{
      max-width:1200px;
      margin:0 auto;
      border:0;
      background: rgba(10,12,24,.86);
      backdrop-filter: blur(14px);
      border-radius: 18px;
      box-shadow: 0 22px 70px rgba(0,0,0,.62);
      overflow:hidden;

      transform: translateY(-12px);
      opacity:0;
      animation: menuIn .26s ease forwards;
      position:relative;
    }
    @keyframes menuIn{
      to{transform: translateY(0); opacity:1;}
    }

    .menu-grid{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:12px;
      padding:14px;
    }

    /* âœ… menu item style */
    .menu-item{
      border:0;
      background: rgba(255,255,255,.04);
      border-radius: 16px;
      padding:12px 12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      transition: transform .18s ease, background .18s ease;
    }
    .menu-item:hover{transform: translateY(-1px); background: rgba(255,255,255,.06)}
    .menu-item .left{
      display:flex; align-items:center; gap:10px;
      font-weight:700;
    }
    .menu-item i{opacity:.9}

    /* âœ… make button look EXACT like menu-item link */
    .menu-item.btn-item{
      cursor:pointer;
      width:100%;
      text-align:left;
      color:inherit;
      font: inherit;
    }

    .menu-actions{
      padding:0 14px 14px;
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    details.menu-dropdown{
      grid-column: 1 / -1;
      padding:0;
      background: rgba(255,255,255,.04);
      border:0;
      border-radius:16px;
      overflow:hidden;
    }
    details.menu-dropdown > summary{
      list-style:none;
      cursor:pointer;
      padding:12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      transition: background .18s ease;
    }
    details.menu-dropdown > summary::-webkit-details-marker,
    details.menu-dropdown > summary::marker{ display:none; content:""; }
    details.menu-dropdown > summary:hover{ background: rgba(255,255,255,.04); }
    details.menu-dropdown > summary .left{display:flex; align-items:center; gap:10px; font-weight:700;}
    details.menu-dropdown > summary .chev{ transition: transform .22s ease; opacity:.9; }
    details.menu-dropdown[open] > summary .chev{ transform: rotate(180deg); }
    .menu-submenu{
      display:grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap:2px;
      padding: 2px 6px 8px;
    }
    .menu-subitem{
      border-radius:10px;
      padding:9px 10px;
      display:flex;
      align-items:center;
      gap:10px;
      font-weight:500;
      color:var(--text);
      transition: background .16s ease;
    }
    .menu-subitem:hover{ background: rgba(255,255,255,.06); }
    .menu-subitem i{opacity:.75}
    @media (max-width: 720px){
      .menu-submenu{grid-template-columns: 1fr;}
    }

    /* Buttons */
    .btn{
      display:inline-flex; align-items:center; justify-content:center; gap:10px;
      padding:12px 16px;
      border-radius: 14px;
      border:0;
      background: rgba(255,255,255,.06);
      color: var(--text);
      font-weight:700;
      cursor:pointer;
      user-select:none;
      white-space:nowrap;
      transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
      -webkit-tap-highlight-color: transparent;
    }
    .btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); }
    .btn:active{ transform: translateY(0) scale(.98); }

    .btn.primary{
      border: none;
      color: #fff;
      background: var(--grad);
      background-size: 240% 100%;
      background-position: 0% 50%;
      box-shadow: 0 16px 44px rgba(13,53,185,.18);
    }
    @keyframes gradMove {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }
    .btn.primary:hover,
    .btn.primary:focus-visible{
      animation: gradMove .75s ease forwards;
      outline:none;
    }
    .btn.primary.is-pressed{
      animation:none;
      background: linear-gradient(90deg, #5f3ae6, #0d35b9, #1067a1);
      background-size: 200% 100%;
      background-position: 100% 50%;
      box-shadow: 0 18px 55px rgba(16,103,161,.16);
    }

    /* Layout */
    .container{max-width:1200px; margin:0 auto; padding:18px 18px 28px;}
    .page{display:none}
    .page.active{display:block}

    /* HERO */
    .hero{
      padding: 18px 0 6px;
      display:flex;
      flex-direction:column;
      align-items:center;
      text-align:center;
      gap:10px;
    }
    .heroTop{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:14px;
      flex-wrap:wrap;
    }
    .heroLogo{
      width:78px; height:78px;
      object-fit:contain;
      animation: logoBeat 2.8s ease-in-out infinite;
      transform-origin: 50% 60%;
    }
    @keyframes logoBeat{
      0%,100%{ transform: translateY(0) scale(1); }
      50%{ transform: translateY(-6px) scale(1.04); }
    }

    .heroTitle{
      margin:0;
      font-size: clamp(26px, 4.5vw, 44px);
      letter-spacing:-.6px;
      line-height:1.08;
      font-weight:700;
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      justify-content:center;
      align-items:baseline;
      animation: titleFloat 2.8s ease-in-out infinite;
    }
    @keyframes titleFloat{
      0%,100%{ transform: translateY(0); }
      50%{ transform: translateY(-4px); }
    }
    .heroTitle .gradText{
      background: var(--grad);
      -webkit-background-clip:text;
      background-clip:text;
      color: transparent;
      background-size: 220% 100%;
      animation: titleFlow 4.5s ease-in-out infinite;
    }
    @keyframes titleFlow{
      0%,100%{ background-position: 0% 50%; }
      50%{ background-position: 100% 50%; }
    }

    .heroDesc{
      margin:0;
      color: var(--muted);
      max-width: 70ch;
      font-weight:800;
      animation: descFloat 3.6s ease-in-out infinite;
    }
    @keyframes descFloat{
      0%,100%{ transform: translateY(0); opacity: .92; }
      50%{ transform: translateY(-3px); opacity: 1; }
      }

    .heroCta{
      margin-top: 6px;
      display:flex;
      justify-content:center;
      gap:12px;
      flex-wrap:wrap;
    }

    /* Tools */
    .tools{
      display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between;
      border:1px solid var(--border);
      background: var(--glass);
      padding:12px;
      border-radius: 16px;
      margin: 14px 0 16px;
      position:relative;
      overflow:hidden;
    }
    .tools::before{
      content:"";
      position:absolute;
      inset:-2px;
      background: var(--grad);
      opacity:.10;
      filter: blur(12px);
      pointer-events:none;
    }
    .tools > *{position:relative}
    .toolsRow{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      align-items:center;
      justify-content:space-between;
      width:100%;
    }
    .toolsLeft{
      display:flex;
      flex-direction:column;
      gap:4px;
      min-width: 220px;
    }
    .toolsLeft .label{
      font-weight:700;
      letter-spacing:-.2px;
    }
    .toolsLeft small{
      color: rgba(238,241,255,.70);
      font-weight:500;
    }

    .searchInput{
      width: 420px;
      max-width: 88vw;
      padding:12px 12px;
      border-radius: 14px;
      border:0;
      background: rgba(0,0,0,.22);
      color: var(--text);
      outline:none;
      font-weight:500;
    }
    .searchInput::placeholder{ color: rgba(238,241,255,.45); }

    .filters{
      display:flex; gap:8px; flex-wrap:wrap; align-items:center;
    }
    .chip{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:9px 12px;
      border-radius:999px;
      border:0;
      background: rgba(255,255,255,.06);
      color: rgba(238,241,255,.90);
      font-weight:700;
      cursor:pointer;
      user-select:none;
      transition: transform .16s ease, background .16s ease;
      font-size:13px;
      -webkit-tap-highlight-color: transparent;
    }
    .chip:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); }
    .chip.active{
      border-color: transparent;
      background: var(--grad);
      color:#070914;
      box-shadow: 0 16px 40px rgba(81,112,255,.10);
    }

    .note{color:rgba(238,241,255,.65); font-size:13px; font-weight:800}
    .status{ margin:10px 0 10px; }

    /* Grids */
    .gridGroups{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
    .gridSeries{display:grid; grid-template-columns: repeat(6, 1fr); gap:12px;}
    .gridEpisodes{display:grid; grid-template-columns: repeat(4, 1fr); gap:12px;}

    /* Poster cards — free, no box, no border, just the image */
    .card{
      border:0;
      background: transparent;
      border-radius: 0;
      overflow:visible;
      cursor:pointer;
      transition: transform .18s ease;
      position:relative;
    }
    .card:hover{ transform: translateY(-2px); }

    .gcard{padding:14px}
    .gcard h3{
      margin:0 0 8px;
      font-size:16px;
      letter-spacing:-.2px;
      line-height:1.15;
    }

    .freeTag{
      border:none;
      background: transparent;
      color: rgba(238,241,255,.82);
      font-weight:700;
      font-size:11px;
      letter-spacing:.3px;
      opacity:.95;
      white-space:nowrap;
    }

    .poster{
      width:100%;
      aspect-ratio: 2/3;
      background: transparent;
      display:flex;
      align-items:center;
      justify-content:center;
      position:relative;
      overflow:hidden;
      padding:0;
    }
    .poster::before{ content: none; }
    .poster img{
      width:100%; height:100%;
      object-fit:cover;
      display:block;
      position:relative;
      border-radius: 14px;
    }

    .badge{
      width:46px;height:46px;border-radius:999px;
      border:0;
      background: rgba(255,255,255,.06);
      display:flex;align-items:center;justify-content:center;
      font-weight:700; letter-spacing:.6px;
      color:rgba(238,241,255,.92);
      position:relative; overflow:hidden;
    }
    .badge::before{
      content:"";
      position:absolute;
      inset:-2px;
      background: var(--grad);
      opacity:.18;
      filter: blur(14px);
      pointer-events:none;
    }
    .badge span{position:relative; font-size:12px}

    .meta{
      padding:10px;
      display:flex;
      flex-direction:column;
      gap:6px;
    }
    .name{
      font-weight:700;
      font-size:13px;
      line-height:1.2;
      min-height:2.4em;
    }
    .mini{
      display:flex;
      justify-content:space-between;
      gap:8px;
      color:rgba(238,241,255,.70);
      font-weight:800;
      font-size:12px;
      align-items:center;
    }

    .epCard{
      padding:12px;
      display:flex;
      gap:12px;
      align-items:center;
      min-width:0;
    }
    .epMeta{display:flex;flex-direction:column;gap:6px;min-width:0}
    .epTitle{
      font-weight:700;
      font-size:14px;
      line-height:1.15;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .epMini{
      display:flex;
      justify-content:space-between;
      gap:8px;
      color:rgba(238,241,255,.68);
      font-weight:800;
      font-size:12px;
    }

    .seriesHeader{ display:flex; gap:14px; align-items:flex-start; flex-wrap:wrap; }
    .miniPoster{
      width:96px; height:144px;
      border-radius:16px;
      border:0;
      background: rgba(255,255,255,.05);
      overflow:hidden;
      position:relative;
      box-shadow: 0 18px 50px rgba(0,0,0,.45);
    }
    .miniPoster::before{
      content:"";
      position:absolute;
      inset:-2px;
      background: var(--grad);
      opacity:.14;
      filter: blur(18px);
      pointer-events:none;
    }
    .miniPoster img{
      width:100%; height:100%;
      object-fit:cover;
      display:block;
      position:relative;
    }
    .seriesHeaderText{flex:1; min-width: 260px}

    /* Pre footer */
    .preFooter{
      margin-top: 22px;
      padding-top: 18px;
      border-top:0;
      display:grid;
      grid-template-columns: 1.2fr .8fr;
      gap:18px;
      align-items:start;
    }
    .pfBlock h3{
      margin:0;
      font-size: 18px;
      letter-spacing:-.3px;
      font-weight:700;
    }
    .pfBlock h3 .gradText{
      background: var(--grad);
      -webkit-background-clip:text;
      background-clip:text;
      color:transparent;
      background-size: 220% 100%;
      animation: titleFlow 4.5s ease-in-out infinite;
    }
    .pfBlock p{
      margin:8px 0 0;
      color: var(--muted);
      font-weight:800;
      max-width: 62ch;
    }

    .deviceRow{
      margin-top: 12px;
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      align-items:center;
    }
    .devicePill{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding:10px 12px;
      border-radius: 999px;
      border:0;
      background: rgba(255,255,255,.04);
      transition: transform .14s ease, background .14s ease;
    }
    .devicePill:hover{ transform: translateY(-1px); background: rgba(255,255,255,.07); }
    .devicePill img{
      width:22px; height:22px;
      object-fit:contain;
      filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
    }
    .devicePill span{
      font-weight:700;
      font-size:12px;
      color: rgba(238,241,255,.92);
      letter-spacing:.2px;
      white-space:nowrap;
    }

    .pfList{
      margin-top: 10px;
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .pfItem{
      display:flex;
      gap:10px;
      align-items:flex-start;
    }
    .pfIcon{
      width:34px; height:34px;
      border-radius: 12px;
      border:0;
      background: rgba(255,255,255,.05);
      display:flex;
      align-items:center;
      justify-content:center;
      flex: 0 0 auto;
      position:relative;
      overflow:hidden;
    }
    .pfIcon::before{
      content:"";
      position:absolute;
      inset:-2px;
      background: var(--grad);
      opacity:.18;
      filter: blur(14px);
      pointer-events:none;
    }
    .pfIcon i{ position:relative; opacity:.92; }
    .pfItem b{ font-weight:700; }
    .pfItem div{ color: rgba(238,241,255,.78); font-weight:800; font-size:13px; }

    @media (max-width: 1100px){
      .gridSeries{grid-template-columns: repeat(5, 1fr)}
      .gridEpisodes{grid-template-columns: repeat(3, 1fr)}
      .menu-grid{grid-template-columns: 1fr 1fr;}
    }
    @media (max-width: 980px){
      .gridGroups{grid-template-columns: repeat(2, 1fr)}
      .gridSeries{grid-template-columns: repeat(3, 1fr)}
      .gridEpisodes{grid-template-columns: repeat(2, 1fr)}
      .preFooter{ grid-template-columns: 1fr; }
      .menu-grid{grid-template-columns: 1fr;}
    }
    @media (max-width: 520px){
      .gridGroups{grid-template-columns: repeat(2, 1fr)}
      .gridSeries{grid-template-columns: repeat(2, 1fr)}
      .gridEpisodes{grid-template-columns: repeat(2, 1fr)}
      .heroLogo{ width:64px; height:64px; }
      .searchInput{ width: 190px; }
    }

    /* Loading */
    .loading{
      position:fixed; inset:0; z-index:200;
      display:none;
      align-items:center;
      justify-content:center;
      padding:18px;
      background: rgba(0,0,0,.72);
      backdrop-filter: blur(10px);
    }
    .loading.show{display:flex}
    .loadCard{
      width:min(520px, 100%);
      border-radius: 22px;
      border:0;
      background: rgba(10,12,24,.92);
      box-shadow: var(--shadow);
      position:relative;
      overflow:hidden;
      padding:18px 16px;
      text-align:center;
    }
    .loadGlow{
      position:absolute; inset:-2px;
      background: var(--grad);
      filter: blur(26px);
      opacity:.22;
      pointer-events:none;
    }
    .loadInner{position:relative; display:flex; flex-direction:column; gap:10px; align-items:center}
    .spinner{
      width:62px; height:62px;
      border-radius: 999px;
      border: 3px solid rgba(255,255,255,.12);
      border-top-color: rgba(255,255,255,.85);
      animation: spin 1s linear infinite;
      box-shadow: 0 0 0 10px rgba(255,255,255,.02) inset;
    }
    @keyframes spin{to{transform:rotate(360deg)}}
    .pulseDots{display:flex; gap:8px; align-items:center; justify-content:center; margin-top:2px}
    .pulseDots span{
      width:8px; height:8px; border-radius:999px;
      background: rgba(255,255,255,.75);
      animation: dot 1.1s ease-in-out infinite;
      opacity:.75;
    }
    .pulseDots span:nth-child(2){animation-delay:.15s}
    .pulseDots span:nth-child(3){animation-delay:.30s}
    @keyframes dot{
      0%,100%{ transform: translateY(0); opacity:.55 }
      50%{ transform: translateY(-6px); opacity:1 }
    }
    .loadTitle{font-size:20px; font-weight:700; letter-spacing:-.2px}
    .loadMsg{color: rgba(238,241,255,.70); font-weight:800; font-size:13px; max-width:46ch}

    /* Modal */
    .modal{
      position:fixed; inset:0; z-index:150;
      display:none;
      align-items:center; justify-content:center;
      padding:16px;
      background: rgba(0,0,0,.72);
      backdrop-filter: blur(8px);
    }
    .modal.open{display:flex}
    .modalbox{
      width:min(760px, 100%);
      border-radius: 22px;
      border:0;
      background: rgba(10,12,24,.92);
      box-shadow: var(--shadow);
      overflow:hidden;
      position:relative;
      transform: translateY(12px) scale(.98);
      opacity: 0;
      animation: pop .24s ease forwards;
    }
    @keyframes pop{to{ transform: translateY(0) scale(1); opacity: 1; } }
    .modalGlow{
      position:absolute; inset:-2px;
      background: var(--grad);
      filter: blur(22px);
      opacity:.22;
      pointer-events:none;
    }
    .sr-only{
      position:absolute;
      width:1px; height:1px;
      padding:0; margin:-1px;
      overflow:hidden;
      clip:rect(0,0,0,0);
      white-space:nowrap;
      border:0;
    }

    .close{
      position:absolute; top:10px; right:10px;
      width:36px; height:36px;
      border-radius: 999px;
      border:none;
      background: transparent;
      color:rgba(238,241,255,.7);
      font-weight:500;
      font-size:18px;
      line-height:1;
      cursor:pointer;
      z-index:2;
      transition: background .18s ease, color .18s ease;
    }
    .close:hover{ background: rgba(255,255,255,.08); color:var(--text); }
    .modalInner{
      position:relative;
      padding:16px;
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    .modalTitle{
      font-size:20px;
      font-weight:700;
      letter-spacing:-.2px;
      line-height:1.2;
      margin-top:2px;
    }
    .pillRow{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}
    .countSmall{
      display:inline-flex;
      padding:0;
      color:rgba(238,241,255,.62);
      font-weight:500;
      font-size:12px;
      letter-spacing:.1px;
      white-space:nowrap;
    }
    .modalDesc{
      color: rgba(238,241,255,.70);
      font-weight:800;
      font-size:13px;
      line-height:1.45;
      margin-top:8px;
    }
    .divider{height:1px; width:100%; background: rgba(255,255,255,.10); margin: 4px 0;}
    .modalActions{display:flex; gap:10px; flex-wrap:wrap; margin-top:2px}

    .modalMediaRow{
      display:flex;
      gap:14px;
      align-items:flex-start;
      flex-wrap:wrap;
    }
    .modalPoster{
      width:112px;
      height:168px;
      border-radius:18px;
      border:0;
      background: rgba(255,255,255,.05);
      overflow:hidden;
      position:relative;
      flex: 0 0 auto;
      box-shadow: 0 18px 50px rgba(0,0,0,.45);
    }
    .modalPoster::before{
      content:"";
      position:absolute;
      inset:-2px;
      background: var(--grad);
      opacity:.14;
      filter: blur(18px);
      pointer-events:none;
    }
    .modalPoster img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      position:relative;
    }
    .modalRight{flex:1; min-width: 240px;}

    /* Footer */
    footer{
      border-top:0;
      background: rgba(7,9,20,.55);
      backdrop-filter: blur(10px);
    }
    .footer-wrap{
      max-width:1200px;
      margin:0 auto;
      padding:22px 18px 16px;
      display:grid;
      grid-template-columns: 1.4fr .8fr .8fr;
      gap:18px;
    }
    .footer-brand{
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .footer-brand-top{
      display:flex;
      gap:12px;
      align-items:center;
    }
    .footer-brand-top img{
      width:44px;
      height:44px;
      object-fit:contain;
    }
    .footer-title{
      font-weight:700;
      letter-spacing:-.2px;
      font-size:16px;
    }
    .footer-tag{
      color: rgba(238,241,255,.70);
      font-weight:700;
      font-size:13px;
      line-height:1.45;
      max-width: 60ch;
    }

    .footer-col h4{
      margin:0 0 10px;
      font-size:14px;
      letter-spacing:-.2px;
      font-weight:700;
    }
    .footer-links{
      display:flex;
      flex-direction:column;
      gap:8px;
    }
    .footer-links a{
      color: rgba(238,241,255,.80);
      font-weight:700;
      font-size:13px;
      padding:6px 0;
      transition: opacity .15s ease, transform .15s ease;
    }
    .footer-links a:hover{
      opacity: 1;
      transform: translateY(-1px);
      color: rgba(238,241,255,.95);
    }

    .social-row{
      margin-top: 10px;
      display:flex;
      gap:18px;
      flex-wrap:wrap;
      align-items:center;
    }
    .social-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      color: rgba(238,241,255,.78);
      font-size: 22px;
      line-height: 1;
      transition: transform .18s ease, color .18s ease;
    }
    .social-btn:hover{ transform: translateY(-2px); color: #fff; }
    .social-btn i{ opacity: 1; }

    .footer-bottom{
      max-width:1200px;
      margin:0 auto;
      padding:14px 18px 18px;
      border-top:0;
      display:flex;
      justify-content:space-between;
      gap:10px;
      flex-wrap:wrap;
      color: rgba(238,241,255,.72);
      font-weight:700;
      font-size:13px;
    }

    @media (max-width: 980px){
      .footer-wrap{ grid-template-columns: 1fr; }
    }
    /* =========================
   SERIES PAGE â€” FIX HEADER LAYOUT
   ========================= */

#seriesPage .seriesHeader{
  display:flex;
  align-items:flex-start;
  gap:16px;
  flex-wrap:nowrap;
  width:100%;
  padding:14px;
  border:0;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px rgba(0,0,0,.30);
}

#seriesPage .miniPoster{
  width:110px;
  height:165px;
  flex: 0 0 auto;
  border-radius: 18px;
}

/* Make the text area behave nicely */
#seriesPage .seriesHeaderText{
  flex:1;
  min-width:0; /* IMPORTANT for ellipsis/clamping */
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* Override heroTitle behavior ONLY in series page */
#seriesPage .seriesHeaderText .heroTitle{
  animation:none !important;
  transform:none !important;
  display:block !important;
  margin:0 !important;
  line-height:1.15;
  letter-spacing:-.4px;
  font-size: clamp(22px, 3.2vw, 34px);
}

/* Make series title strong and clean */
#seriesTitle{
  font-weight: 700;
  display:block;
  word-break: break-word;
}

/* Clean description: readable + limited lines */
#seriesPage #seriesDesc{
  color: rgba(238,241,255,.72);
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
  max-width: 85ch;

  display: -webkit-box;
  -webkit-line-clamp: 4;       /* show max 4 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* If poster missing, keep spacing nice */
#seriesPage .miniPoster[style*="display:none"] + .seriesHeaderText{
  margin-left: 0;
}

/* Mobile: stack poster above text, centered */
@media (max-width: 680px){
  #seriesPage .seriesHeader{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  #seriesPage .miniPoster{
    width:120px;
    height:180px;
  }

  #seriesPage #seriesDesc{
    -webkit-line-clamp: 5;
  }
}

/* =========================================================
   Gradient borders — outline-only (mask trick).
   Paints ONLY the 1px ring; interior is 100% untouched.
   ========================================================= */
:root{
  --gborder: linear-gradient(120deg, #5f3ae6 0%, #0d35b9 55%, #1067a1 100%);
}

.menu-panel,
.menu-item,
details.menu-dropdown,
.btn,
.searchInput,
.chip,
.devicePill,
.pfItem,
.preFooter,
.loadCard,
.modalbox{
  position: relative;
  border: 0 !important;
}

.menu-panel::after,
.menu-item::after,
details.menu-dropdown::after,
.btn::after,
.searchInput::after,
.chip::after,
.devicePill::after,
.pfItem::after,
.preFooter::after,
.loadCard::after,
.modalbox::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gborder);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

/* Series/movie/episode poster cards stay borderless and box-free */
.card{ position: relative; border: 0 !important; background: transparent !important; }
.card::before, .card::after{ content: none !important; }
.gcard, .epCard, .mv{ border: 0 !important; }

/* Header / footer hairline */
header{ border-bottom: 0 !important; position: relative; }
header::after{
  content:""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gborder); opacity: .55; pointer-events: none;
}
footer{ border-top: 0 !important; position: relative; }
footer::before{
  content:""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--gborder); opacity: .55; pointer-events: none;
}

/* =========================
   Floating WhatsApp Join Button
========================= */
.waFloat{
  position: fixed;
  left: 20px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(140deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(37,211,102,.45), 0 6px 14px rgba(0,0,0,.35);
  z-index: 200;
  animation: waFloatBob 2.6s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.waFloat i{ position: relative; z-index: 2; }
.waFloat::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37,211,102,.6);
  animation: waRing 2.2s ease-out infinite;
  z-index: 1;
  pointer-events: none;
}
.waFloat::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37,211,102,.45);
  animation: waRing 2.2s ease-out infinite;
  animation-delay: 1.1s;
  z-index: 1;
  pointer-events: none;
}
.waFloat:hover{
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 20px 38px rgba(37,211,102,.6), 0 8px 18px rgba(0,0,0,.4);
}
.waFloat:active{ transform: translateY(0) scale(.96); }
@keyframes waFloatBob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}
@keyframes waRing{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.7); opacity: 0; }
}
@media (max-width: 520px){
  .waFloat{ left: 14px; bottom: 18px; width: 52px; height: 52px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce){
  .waFloat, .waFloat::before, .waFloat::after{ animation: none; }
}

/* =========================================================
   Unified hero — same first section as every other page
   ========================================================= */
.hero{
  padding: 42px 0 22px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.hero img.hero-logo{ width: 110px; height: 110px; object-fit: contain; margin: 0; }
.hero h1.hero-title{
  margin: 0; font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.6px; display: block;
}
.hero .hero-title .grad{
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.hero-sub{
  margin: 0; max-width: 64ch; color: var(--muted);
  font-weight: 500; font-size: 16px; line-height: 1.55;
}
.hero .hero-cta{ display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 4px 0 0; }

/* Unified search box — pill with magnifying-glass icon */
.searchPill{ position: relative; display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.searchPill > i{
  position: absolute; top: 50%; left: 20px; transform: translateY(-50%);
  color: rgba(238,241,255,.55); font-size: 15px; pointer-events: none; z-index: 2;
}
.searchPill input{
  width: 100%;
  padding: 14px 18px 14px 48px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(10,12,24,.55) !important;
  color: var(--text); font-family: inherit; font-weight: 700; font-size: 15px;
  outline: none; transition: background .18s ease, box-shadow .18s ease;
}
.searchPill input::placeholder{ color: rgba(238,241,255,.45); font-weight: 500; }
.searchPill input:focus{
  background: rgba(10,12,24,.85) !important;
  box-shadow: 0 0 0 4px rgba(64,176,250,.18);
}

/* =========================================================
   Typography weight pass — consistent with the rest of the site.
   400 body / 500 UI labels / 700 headings & strong / 900 results.
   ========================================================= */
body, p, li, .sub, .section-sub, .hero-sub,
.note, .heroDesc, .epMini, .epMeta{
  font-weight: 400;
}
.chip, .freeTag, .pillRow, .menu-subitem, .countSmall,
.devicePill, .searchInput, .label, .badge, .miniTags,
.appPlatforms, .mini, .pfList, .epTitle{
  font-weight: 500;
}
h1, h2, h3, h4, h5, h6,
.title, .section-title, .heroTitle, .hero-title, .stepTitle,
.btn, .name, .gcard h3, .chTitle, .mv .name,
.footer-title, strong, b, .seriesHeader h1{
  font-weight: 700;
}
.hero-title .grad,
#seriesTitle{
  font-weight: 900;
}
/* Tabular numbers on any score/price/count readouts */
.countSmall, .name, .price, .epTitle{
  font-variant-numeric: tabular-nums;
}
