    /* ==========================================================================
       CONTENT ROWS & HORIZONTAL SLIDERS
       ========================================================================== */
    .content-container {
      position: relative;
      z-index: 20;
      margin-top: -30px;
      padding-bottom: 60px;
    }

    .sub-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 var(--container-pad);
      margin-bottom: 20px;
    }

    .genre-select {
      height: 36px;
      padding: 0 16px;
      border-radius: var(--radius-full);
      background: var(--glass-base);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(12px);
      font-size: 12.5px;
      font-weight: 600;
      color: var(--text-muted);
      outline: none;
      cursor: pointer;
    }
    .genre-select:hover, .genre-select:focus {
      background: var(--glass-hover);
      color: var(--text-main);
      border-color: var(--glass-border-hover);
    }
    .genre-select option {
      background: #12141c;
      color: #fff;
    }

    .shelf-row {
      margin-bottom: 38px;
      position: relative;
    }

    .shelf-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 var(--container-pad);
      margin-bottom: 12px;
    }

    .shelf-title {
      font-size: clamp(17px, 1.8vw, 21px);
      font-weight: 800;
      letter-spacing: -0.4px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .shelf-title-icon {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.06);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--silver-accent);
    }

    .shelf-title-icon svg { width: 14px; height: 14px; }

    /* The Carousel Track */
    .slider-track-wrapper {
      position: relative;
      width: 100%;
      overflow: visible;
    }

    .slider-track {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 16px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-behavior: smooth;
      scroll-padding: 0 var(--container-pad);
      scroll-snap-type: x proximity;
      padding: 22px var(--container-pad) 28px;
      margin-top: -12px;
      margin-bottom: -10px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .slider-track::-webkit-scrollbar { display: none; }

    /* Navigation Arrows */
    .slider-arrow {
      position: absolute;
      top: 10px;
      bottom: 20px;
      width: 44px;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      transition: opacity 0.25s ease, background 0.2s;
      border: none;
      pointer-events: none;
    }

    .slider-arrow.left {
      left: 0;
      background: linear-gradient(90deg, rgba(7, 8, 11, 0.92) 0%, rgba(7, 8, 11, 0.25) 60%, transparent 100%);
    }

    .slider-arrow.right {
      right: 0;
      background: linear-gradient(-90deg, rgba(7, 8, 11, 0.92) 0%, rgba(7, 8, 11, 0.25) 60%, transparent 100%);
    }

    .slider-track-wrapper:hover .slider-arrow:not(.disabled) {
      opacity: 1;
      pointer-events: auto;
    }

    .slider-arrow.disabled {
      opacity: 0 !important;
      pointer-events: none !important;
    }

    .arrow-circle {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      transition: transform 0.2s, background 0.2s;
    }

    .slider-arrow:hover .arrow-circle {
      transform: scale(1.12);
      background: rgba(255, 255, 255, 0.2);
    }

    .arrow-circle svg { width: 17px; height: 17px; stroke-width: 2.5; }

    /* ==========================================================================
       MEDIA CARDS
       ========================================================================== */
    .media-card {
      flex: 0 0 clamp(135px, 14vw, 190px);
      width: clamp(135px, 14vw, 190px);
      scroll-snap-align: start;
      position: relative;
      cursor: pointer;
      border-radius: var(--radius-md);
      transition: transform 0.35s var(--ease-netflix), box-shadow 0.35s;
    }

    .media-card:hover {
      transform: translateY(-8px) scale(1.04);
      z-index: 10;
    }

    .media-poster {
      width: 100%;
      aspect-ratio: 2/3;
      border-radius: var(--radius-md);
      overflow: hidden;
      position: relative;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
      transition: border-color 0.3s, box-shadow 0.3s;
    }

    .media-card:hover .media-poster {
      border-color: var(--glass-border-hover);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.18);
    }

    .media-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s var(--ease-netflix);
    }

    .media-card:hover .media-poster img {
      transform: scale(1.06);
    }

    .progress-bar-wrap {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 5px;
      background: rgba(255, 255, 255, 0.25);
      z-index: 5;
    }

    .progress-bar-fill {
      height: 100%;
      background: #ffffff;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
      transition: width 0.3s;
    }

    .media-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 35%, rgba(7, 8, 11, 0.92) 100%);
      opacity: 0;
      transition: opacity 0.3s;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding: 14px 10px;
      pointer-events: none;
    }

    .media-card:hover .media-overlay,
    .top10-card:hover .media-overlay {
      opacity: 1;
    }

    .media-play-pill {
      margin-bottom: auto;
      margin-top: auto;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.28);
      backdrop-filter: blur(14px);
      border: 1.5px solid rgba(255, 255, 255, 0.55);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      transform: scale(0.9);
      transition: transform 0.25s var(--ease-netflix), background 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 20px rgba(0,0,0,0.6);
      cursor: pointer;
      pointer-events: auto;
      z-index: 10;
    }

    .media-card:hover .media-play-pill,
    .top10-card:hover .media-play-pill {
      transform: scale(1);
    }

    .media-play-pill:hover {
      transform: scale(1.16) !important;
      background: rgba(255, 255, 255, 0.95) !important;
      box-shadow: 0 0 24px rgba(255, 255, 255, 0.8), 0 8px 24px rgba(0, 0, 0, 0.8) !important;
    }

    .media-play-pill:hover svg {
      fill: #08090d !important;
    }

    .media-play-pill svg {
      width: 19px;
      height: 19px;
      fill: #fff;
      margin-left: 2px;
      transition: fill 0.2s;
    }

    .media-info {
      padding: 8px 2px 0;
    }

    .media-title {
      font-size: 13px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.9);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .media-sub {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 3px;
    }

    .media-rating {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      color: var(--gold-star);
      font-weight: 700;
    }

    .media-rating svg { width: 11px; height: 11px; fill: var(--gold-star); }

    .media-fallback {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
      color: var(--text-sub);
    }

    .media-fallback svg { width: 32px; height: 32px; }

    /* ==========================================================================
       TOP 10 ROW
       ========================================================================== */
    .top10-card {
      flex: 0 0 clamp(190px, 19vw, 260px);
      width: clamp(190px, 19vw, 260px);
      scroll-snap-align: start;
      position: relative;
      cursor: pointer;
      display: flex;
      align-items: center;
      transition: transform 0.35s var(--ease-netflix);
    }

    .top10-card:hover {
      transform: translateY(-8px) scale(1.04);
    }

    .top10-rank {
      font-size: clamp(90px, 9vw, 130px);
      font-weight: 900;
      line-height: 0.8;
      letter-spacing: -8px;
      user-select: none;
      width: 45%;
      flex-shrink: 0;
      color: #07080b;
      -webkit-text-stroke: 3px rgba(255, 255, 255, 0.25);
      text-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
      position: relative;
      z-index: 2;
    }

    .top10-poster-wrap {
      width: 58%;
      margin-left: -15%;
      position: relative;
      z-index: 3;
    }

    .top10-poster {
      aspect-ratio: 2/3;
      border-radius: var(--radius-md);
      overflow: hidden;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
      transition: border-color 0.3s;
    }

    .top10-card:hover .top10-poster {
      border-color: var(--glass-border-hover);
    }

    .top10-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* ==========================================================================
       SEARCH RESULTS & WATCHLIST GRID VIEW
       ========================================================================== */
    .view-container {
      display: none;
      padding: 100px var(--container-pad) 60px;
      min-height: 80vh;
    }

    .view-container.active {
      display: block;
    }

    .view-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 28px;
    }

    .view-title {
      font-size: clamp(22px, 3vw, 32px);
      font-weight: 900;
      letter-spacing: -0.6px;
    }

    .view-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 15vw, 190px), 1fr));
      gap: 20px;
    }

    .view-grid .media-card {
      width: 100%;
      flex: unset;
    }

    .empty-state {
      text-align: center;
      padding: 90px 20px;
      color: var(--text-muted);
    }

    .empty-state svg {
      width: 56px;
      height: 56px;
      opacity: 0.2;
      margin: 0 auto 16px;
      display: block;
    }

    /* ==========================================================================
       MODERN CINEMATIC FOOTER
       ========================================================================== */
    .site-footer {
      padding: 40px var(--container-pad) 36px;
      border-top: 1px solid var(--glass-border);
      margin-top: 60px;
      background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 18, 0.6) 100%);
    }

    .footer-content-wrap {
      max-width: 1100px;
      margin: 0 auto;
    }

    .footer-bottom-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      font-size: 12px;
      color: var(--text-sub);
      line-height: 1.7;
    }

    .footer-signature {
      color: var(--text-muted);
      font-weight: 600;
    }

    .footer-signature strong {
      color: var(--silver-accent);
      font-weight: 800;
    }

