
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      body {
        background: #0b0b0b;
        font-family: Arial, sans-serif;
        color: white;
        position: relative;
      }
      .watermark {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 55vw;
        max-width: 640px;
        aspect-ratio: 1 / 1;
        background: url("/logo.jpeg") center / contain no-repeat;
        opacity: 0.05;
        z-index: 0;
        pointer-events: none;
      }

      header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        background: #111;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        gap: 12px;
      }
      .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        text-decoration: none;
      }
      .logo img {
        height: 38px;
        width: 38px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
      }
      .logo-text {
        font-family: Arial, sans-serif;
        font-weight: 800;
        font-size: 18px;
        letter-spacing: 0.5px;
      }
      .logo-text .lt-c {
        color: #d62828;
      }
      .logo-text .lt-tv {
        color: #1e4fbf;
      }
      .header-center {
        flex: 1;
        min-width: 0;
      }
      .search-wrap {
        position: relative;
        width: 100%;
      }
      .search-wrap::before {
        content: "🔍";
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        pointer-events: none;
        z-index: 1;
      }
      #searchBar {
        width: 100%;
        padding: 9px 12px 9px 34px;
        border-radius: 8px;
        border: 1px solid #2a2a2a;
        background: #1a1a1a;
        color: white;
        font-size: 14px;
        outline: none;
        transition: 0.2s;
        min-width: 0;
      }
      #searchBar:focus {
        border-color: #1e4fbf;
        background: #222;
      }
      #searchBar::placeholder {
        color: #555;
      }
      #sortSelect {
        flex-shrink: 0;
        padding: 9px 10px;
        border-radius: 8px;
        border: 1px solid #2a2a2a;
        background: #1a1a1a;
        color: white;
        font-size: 13px;
        outline: none;
        cursor: pointer;
      }
      #sortSelect:focus {
        border-color: #1e4fbf;
      }

      /* ── SMALL SCREENS — stack header so nothing gets cut off ── */
      @media (max-width: 640px) {
        header {
          flex-wrap: wrap;
          padding: 10px 14px;
          gap: 8px;
        }
        .logo {
          flex: 1 1 100%;
          order: 1;
        }
        .header-center {
          order: 2;
          flex: 1 1 auto;
        }
        #sortSelect {
          order: 3;
          flex: 0 0 auto;
          max-width: 42vw;
          font-size: 12px;
          padding: 9px 6px;
        }
        .logo-text {
          font-size: 16px;
        }
      }

      /* ── HERO / FEATURED ── */
      #featured {
        height: 50vw;
        min-height: 220px;
        max-height: 440px;
        display: none;
        align-items: flex-end;
        padding: 24px 20px;
        background-size: cover;
        background-position: center;
        box-shadow: inset 0 -120px 120px black;
        position: relative;
        overflow: hidden;
      }
      #featured h1 {
        font-size: clamp(20px, 5vw, 40px);
        margin-bottom: 10px;
      }
      #featured button {
        background: #d62828;
        border: none;
        padding: 10px 22px;
        color: white;
        font-size: 14px;
        cursor: pointer;
        border-radius: 6px;
      }
      .featured-dots {
        position: absolute;
        bottom: 10px;
        right: 16px;
        display: flex;
        gap: 6px;
      }
      .fdot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
      }
      .fdot.active {
        background: #d62828;
      }
      .ad-tag {
        position: absolute;
        top: 14px;
        left: 20px;
        background: rgba(255, 255, 255, 0.15);
        padding: 3px 10px;
        border-radius: 4px;
        font-size: 10px;
        letter-spacing: 1px;
        font-weight: 700;
      }

      /* ── GRID ── */
      #gridSection {
        padding: 20px;
        position: relative;
        z-index: 1;
      }
      #gridSection h2 {
        font-size: 18px;
        margin-bottom: 14px;
      }
      .movies {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
      }
      .card {
        position: relative;
        cursor: pointer;
        border-radius: 8px;
        overflow: hidden;
        background: #151515;
        transition: transform 0.2s;
      }
      .card:hover {
        transform: scale(1.04);
      }
      .card img {
        width: 100%;
        aspect-ratio: 2/3;
        object-fit: cover;
        display: block;
        background: #1a1a1a;
      }
      .card .title {
        font-size: 12px;
        padding: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .rating {
        position: absolute;
        top: 6px;
        left: 6px;
        background: rgba(0, 0, 0, 0.7);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 11px;
      }
      .access-badge {
        position: absolute;
        top: 6px;
        right: 6px;
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 700;
      }
      .access-free {
        background: #22c55e;
        color: white;
      }
      .access-ppv {
        background: #1e4fbf;
        color: white;
      }
      .views-badge {
        position: absolute;
        bottom: 32px;
        left: 6px;
        background: rgba(0, 0, 0, 0.7);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 10px;
        color: #ccc;
        display: flex;
        align-items: center;
        gap: 3px;
      }

      .empty {
        text-align: center;
        padding: 80px 20px;
        color: #555;
      }

      .footer {
        text-align: center;
        padding: 30px 20px 40px;
        color: #444;
        font-size: 13px;
        position: relative;
        z-index: 1;
      }
      .footer a {
        color: #1e4fbf;
        text-decoration: none;
      }
      .social-row {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-bottom: 16px;
      }
      .social-row a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #161616;
        border: 1px solid #262626;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 15px;
        color: #ccc;
        transition: 0.2s;
      }
      .social-row a:hover {
        border-color: #1e4fbf;
        background: #1e4fbf;
        color: white;
      }
      .legal-row {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 10px;
        font-size: 12px;
      }
      .legal-row a {
        color: #666;
      }
      .legal-row a:hover {
        color: #1e4fbf;
      }