/**
 * FilmyBazaar — Desktop home cinematic polish (768px+, mockup shell only)
 */
@media (min-width: 768px) {
  html.fb-desktop-ott.fb-mockup-ui {
    --fb-home-glow: rgba(229, 9, 20, 0.35);
    --fb-home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* ─── Header: centered search, clean actions ─── */
  html.fb-desktop-ott.fb-mockup-ui .fb-site-chrome .header-container {
    display: grid !important;
    grid-template-columns: 1fr minmax(320px, 520px) 1fr !important;
    align-items: center !important;
    gap: 1.25rem !important;
    padding: 0 2rem 0 1.5rem !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-header-search-zone {
    grid-column: 2 !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 520px !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .search-wrapper {
    max-width: none !important;
    width: 100% !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .search-container {
    height: 44px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .search-container:focus-within {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(229, 9, 20, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
  }

  html.fb-desktop-ott.fb-mockup-ui .header-right {
    grid-column: 3 !important;
    justify-self: end !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-header-wishlist {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-header-wishlist:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-header-apk-btn {
    border-radius: 8px !important;
    font-weight: 800 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-header-apk-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 26px rgba(255, 193, 7, 0.55) !important;
  }

  /* ─── Cinematic hero ─── */
  html.fb-desktop-ott.fb-mockup-ui body.fb-premium .hero.fb-hero-pro {
    min-height: min(82vh, 780px) !important;
    height: min(82vh, 780px) !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-backdrop-img.is-visible {
    animation: fbHomeKenBurns 24s ease-in-out infinite alternate;
  }

  @keyframes fbHomeKenBurns {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
  }

  html.fb-desktop-ott.fb-mockup-ui .hero .hero-overlay,
  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.72) 32%, rgba(0, 0, 0, 0.2) 58%, transparent 78%),
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.55) 18%, transparent 48%),
      radial-gradient(ellipse 80% 60% at 70% 40%, rgba(229, 9, 20, 0.12), transparent 70%) !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .hero .hero-content,
  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro .hero-content {
    left: clamp(2rem, 4vw, 3.5rem);
    top: clamp(1rem, 3vh, 2rem) !important;
    bottom: clamp(5.5rem, 16%, 9rem) !important;
    max-width: 560px;
    max-height: calc(100% - clamp(1rem, 3vh, 2rem) - clamp(5.5rem, 16%, 9rem));
    animation: fbHomeHeroIn 0.9s var(--fb-home-ease) both;
    overflow: visible !important;
    justify-content: flex-end !important;
  }

  @keyframes fbHomeHeroIn {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  html.fb-desktop-ott.fb-mockup-ui .hero-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.65rem !important;
    margin-bottom: 0.75rem !important;
    background: rgba(229, 9, 20, 0.18) !important;
    border: 1px solid rgba(229, 9, 20, 0.35);
    border-radius: 4px !important;
    color: #ff6b6b !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.14em !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e50914;
    box-shadow: 0 0 8px var(--fb-home-glow);
    animation: fbHomePulse 2s ease-in-out infinite;
  }

  @keyframes fbHomePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.85); }
  }

  html.fb-desktop-ott.fb-mockup-ui .hero-title {
    font-size: clamp(3rem, 5.5vw, 4.75rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 0.75rem !important;
    padding-top: 0.08em;
    overflow: visible !important;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.8));
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-meta {
    gap: 0.35rem 0.65rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-match {
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: rgba(70, 211, 105, 0.12);
    border: 1px solid rgba(70, 211, 105, 0.25);
  }

  html.fb-desktop-ott.fb-mockup-ui .hero-description {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    -webkit-line-clamp: 3 !important;
    margin-bottom: 1.35rem !important;
  }

  /* Hide duplicate legacy meta rows on desktop mockup */
  html.fb-desktop-ott.fb-mockup-ui .hero-content .fb-meta-rating,
  html.fb-desktop-ott.fb-mockup-ui .hero-content .fb-hero-genres,
  html.fb-desktop-ott.fb-mockup-ui .hero-content > .fb-hero-meta ~ .fb-hero-meta {
    display: none !important;
  }

  html.fb-desktop-ott.fb-mockup-ui #watchNowHero {
    padding: 0.75rem 1.85rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 28px rgba(229, 9, 20, 0.45) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  }

  html.fb-desktop-ott.fb-mockup-ui #watchNowHero:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 12px 36px rgba(229, 9, 20, 0.55) !important;
  }

  html.fb-desktop-ott.fb-mockup-ui #wishlistHero {
    padding: 0.75rem 1.65rem !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
  }

  html.fb-desktop-ott.fb-mockup-ui #wishlistHero:hover {
    background: rgba(109, 109, 110, 0.9) !important;
    transform: translateY(-1px);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-nav {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro:hover .fb-hero-nav {
    opacity: 1;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-nav:hover {
    background: rgba(229, 9, 20, 0.75);
    border-color: rgba(229, 9, 20, 0.5);
    transform: translateY(-50%) scale(1.06);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-dots {
    bottom: 2rem;
    gap: 6px;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-meta.fade-out {
    opacity: 0;
    transition: opacity 0.28s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, transform 0.2s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-dot.active {
    width: 28px;
    border-radius: 4px;
    background: #e50914;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-progress > span {
    background: linear-gradient(90deg, #e50914, #ff6b6b);
    box-shadow: 0 0 12px var(--fb-home-glow);
  }

  /* ─── Browse by Genre (desktop home) ─── */
  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genres {
    padding: 1.75rem 2rem 0.5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 4;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genres-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genres-head h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genres-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e50914;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genres-link:hover {
    color: #ff6b6b;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-rail {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-rail::-webkit-scrollbar {
    display: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 148px;
    height: 88px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, var(--gc1, #1a1a1a), var(--gc2, #0d0d0d));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--fb-home-ease), border-color 0.25s ease, box-shadow 0.25s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-card:hover::before {
    opacity: 1;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-card i {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    font-size: 1.1rem;
    opacity: 0.35;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-genre-card span {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
  }

  /* ─── Content rows polish ─── */
  html.fb-desktop-ott.fb-mockup-ui main.main {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 120px, #000 100%);
  }

  html.fb-desktop-ott.fb-mockup-ui body.fb-premium .section {
    padding: 0 2rem 2.25rem;
    max-width: none !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  html.fb-desktop-ott.fb-mockup-ui .content-grid {
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)) !important;
    width: 100%;
  }

  /* Hide legacy big Load More block on desktop — hubs use inline load more */
  html.fb-desktop-ott .fb-loadmore-section {
    display: none !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-traffic-hub,
  html.fb-desktop-ott.fb-mockup-ui footer.footer {
    width: 100%;
    max-width: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .section-header {
    margin-bottom: 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  html.fb-desktop-ott.fb-mockup-ui .section-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.35rem !important;
    letter-spacing: -0.02em;
  }

  #allMoviesSection:not(.fb-browse-landing-active) .section-title:empty {
    display: none;
  }

  html.fb-desktop-ott #allMoviesSection:not(.fb-browse-landing-active) .section-title {
    display: none;
  }

  html.fb-desktop-ott #allMoviesSection.fb-browse-landing-active .section-title {
    display: block;
  }

  body.fb-explore-browse-active main.main > section:not(#allMoviesSection) {
    display: none !important;
  }

  body.fb-explore-browse-active .fb-traffic-hub {
    display: none !important;
  }

  html.fb-desktop-ott body.fb-explore-browse-active main.main {
    min-height: calc(100vh - var(--fb-topnav-height, 64px) - 4rem);
  }

  html.fb-desktop-ott body.fb-explore-browse-active #allMoviesSection {
    padding-top: 0.35rem;
    min-height: 55vh;
  }

  html.fb-desktop-ott.fb-mockup-ui body.fb-premium .slider {
    grid-auto-columns: 178px !important;
    gap: 0.75rem !important;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 48px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 48px), transparent 100%);
  }

  html.fb-desktop-ott.fb-mockup-ui body.fb-premium .movie-card {
    transition: transform 0.14s ease, box-shadow 0.14s ease !important;
  }

  html.fb-desktop-ott.fb-mockup-ui body.fb-premium .movie-card:hover {
    transform: scale(1.04) translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .movie-poster {
    height: 268px !important;
    transition: filter 0.14s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .movie-card:hover .movie-poster {
    filter: brightness(1.08);
  }

  html.fb-desktop-ott.fb-mockup-ui #fb-share-panel,
  html.fb-desktop-ott.fb-mockup-ui #fb-wa {
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui #fb-share-panel:hover,
  html.fb-desktop-ott.fb-mockup-ui #fb-wa:hover {
    opacity: 1;
    transform: scale(1.05);
  }

  /* ─── Advanced hero layers ─── */
  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro .fb-hero-stage {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-aurora--pro {
    position: absolute;
    inset: -20%;
    background:
      radial-gradient(ellipse 50% 40% at 75% 35%, rgba(229, 9, 20, 0.22), transparent 70%),
      radial-gradient(ellipse 40% 35% at 20% 70%, rgba(0, 100, 255, 0.12), transparent 65%);
    animation: fbHeroAuroraDrift 18s ease-in-out infinite alternate;
    opacity: 0.85;
  }

  @keyframes fbHeroAuroraDrift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(3%, -2%) scale(1.05); }
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-grain--pro {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.65);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-letterbox {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.55);
    z-index: 3;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-letterbox--top { top: 0; }
  html.fb-desktop-ott.fb-mockup-ui .fb-hero-letterbox--bottom { bottom: 0; }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-backdrop-img.is-visible {
    transition: opacity 0.55s ease, transform 0.35s ease-out;
    will-change: transform;
  }

  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro.fade-out .fb-hero-backdrop-img,
  html.fb-desktop-ott.fb-mockup-ui .hero.fade-out .fb-hero-backdrop-img {
    opacity: 0.4;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-poster-showcase {
    position: absolute;
    right: clamp(2rem, 6vw, 5rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: clamp(160px, 16vw, 220px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.35s ease;
    pointer-events: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-poster-showcase.is-visible,
  html.fb-desktop-ott.fb-mockup-ui .fb-hero-poster-showcase.fade-out {
    opacity: 1;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-poster-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
      0 24px 64px rgba(0, 0, 0, 0.75),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 40px rgba(229, 9, 20, 0.15);
    transform: perspective(800px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.35s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro:hover .fb-hero-poster-frame {
    transform: perspective(800px) rotateY(-4deg) rotateX(0deg) scale(1.03);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-poster-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 45%);
    pointer-events: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-counter {
    position: absolute;
    right: clamp(2rem, 4vw, 3.5rem);
    bottom: 5.5rem;
    z-index: 7;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-counter-cur {
    color: #fff;
    font-size: 2rem;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-thumb-strip {
    position: absolute;
    right: clamp(1.5rem, 4vw, 3rem);
    bottom: 7.5rem;
    z-index: 7;
    display: flex;
    gap: 0.5rem;
    max-width: min(420px, 42vw);
    overflow-x: auto;
    padding: 0.35rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-thumb-strip::-webkit-scrollbar {
    display: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-thumb {
    flex: 0 0 72px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-thumb:hover,
  html.fb-desktop-ott.fb-mockup-ui .fb-hero-thumb.active {
    opacity: 1;
    border-color: #e50914;
    transform: scale(1.05);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-stars {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: #ffc107;
    transition: opacity 0.28s ease;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-stars span {
    color: #fff;
    font-weight: 700;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-info-btn {
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(8px);
    color: #fff !important;
    padding: 0.75rem 1.25rem !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-info-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
  }

  html.fb-desktop-ott.fb-mockup-ui body.fb-premium .hero.fb-hero-pro {
    min-height: min(88vh, 860px) !important;
    height: min(88vh, 860px) !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .hero .hero-overlay,
  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro .hero-overlay {
    z-index: 3;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.78) 30%, rgba(0, 0, 0, 0.35) 55%, transparent 72%),
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.6) 20%, transparent 50%),
      radial-gradient(ellipse 70% 50% at 80% 45%, rgba(229, 9, 20, 0.1), transparent 70%) !important;
  }

  html.fb-desktop-ott.fb-mockup-ui .hero .hero-content,
  html.fb-desktop-ott.fb-mockup-ui .hero.fb-hero-pro .hero-content {
    z-index: 5;
    max-width: 580px;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-hero-progress.is-animating > span {
    animation: fbHeroProgressFill var(--fb-hero-interval, 12s) linear forwards;
  }

  @keyframes fbHeroProgressFill {
    from { width: 0%; }
    to { width: 100%; }
  }

  @media (max-width: 1100px) {
    html.fb-desktop-ott.fb-mockup-ui .fb-hero-poster-showcase,
    html.fb-desktop-ott.fb-mockup-ui .fb-hero-thumb-strip {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html.fb-desktop-ott.fb-mockup-ui .fb-hero-backdrop-img.is-visible {
      animation: none;
    }

    html.fb-desktop-ott.fb-mockup-ui .hero .hero-content {
      animation: none;
    }

    html.fb-desktop-ott.fb-mockup-ui .fb-hero-aurora--pro {
      animation: none;
    }

    html.fb-desktop-ott.fb-mockup-ui .fb-dhome-orb {
      animation: none;
    }

    html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-track {
      animation: none;
    }
  }

  /* ─── Home ambient background ─── */
  html.fb-desktop-ott.fb-mockup-ui main.main {
    position: relative;
    overflow-x: clip;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: fbDhomeOrbFloat 22s ease-in-out infinite alternate;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-orb--1 {
    width: 420px;
    height: 420px;
    top: 8%;
    right: 5%;
    background: rgba(229, 9, 20, 0.22);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-orb--2 {
    width: 360px;
    height: 360px;
    top: 45%;
    left: -5%;
    background: rgba(0, 100, 255, 0.12);
    animation-delay: -6s;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-orb--3 {
    width: 280px;
    height: 280px;
    bottom: 10%;
    right: 25%;
    background: rgba(156, 39, 176, 0.14);
    animation-delay: -12s;
  }

  @keyframes fbDhomeOrbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(3%, -4%) scale(1.08); }
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-gridlines {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  }

  html.fb-desktop-ott.fb-mockup-ui main.main > *:not(.fb-dhome-ambient) {
    position: relative;
    z-index: 1;
  }

  /* ─── Scrolling announcement marquee (desktop only) ─── */
  .fb-dhome-marquee {
    display: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee {
    display: block;
    position: relative;
    margin: 0 0 1rem;
    padding: 0 2rem 0.85rem;
    z-index: 5;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-shell {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #c99200;
    background: linear-gradient(105deg, #fff3a8 0%, #ffd54f 28%, #ffc107 55%, #ffb300 100%);
    box-shadow:
      0 10px 36px rgba(255, 179, 0, 0.35),
      0 2px 0 rgba(255, 255, 255, 0.55) inset,
      0 -1px 0 rgba(180, 120, 0, 0.25) inset;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, #1a1208 0%, #2d1f0a 100%);
    color: #ffd54f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border-right: 2px solid rgba(180, 120, 0, 0.45);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-badge i {
    color: #ffeb3b;
    font-size: 0.85rem;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-track {
    display: flex;
    width: max-content;
    animation: fbDhomeMarquee 52s linear infinite;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-inner {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 0.85rem 1.35rem;
    white-space: nowrap;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: #1c1208;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-chip--lead {
    font-size: 1rem;
    font-weight: 800;
    color: #7f0a0a;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-chip--accent {
    font-weight: 700;
    color: #3d2400;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-chip--msg {
    font-weight: 500;
    color: #2a1800;
    max-width: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-chip i {
    color: #c62828;
    font-size: 0.82rem;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4));
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-chip--lead i {
    color: #b71c1c;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-chip--accent i {
    color: #e65100;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-dot {
    color: #9a6b00;
    font-size: 0.75rem;
    opacity: 1;
    font-weight: 700;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-marquee-glow {
    display: none;
  }

  @keyframes fbDhomeMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ─── Welcome strip ─── */
  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-welcome {
    padding: 0 2rem 1.25rem;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-welcome-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 100%),
      rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-welcome-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff6b6b;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-welcome-copy h2 {
    margin: 0 0 0.35rem;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    color: #fff;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-welcome-copy p {
    margin: 0;
    font-size: 0.9rem;
    color: #808080;
    max-width: 520px;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-welcome-stats {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-stat {
    min-width: 88px;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
    text-align: center;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-stat strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-stat span {
    font-size: 0.68rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  /* ─── Section polish ─── */
  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-section {
    position: relative;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-section::before {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-section .section-header {
    position: relative;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-dhome-section .section-title::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 3px;
    margin-left: 0.65rem;
    border-radius: 2px;
    background: linear-gradient(90deg, #e50914, transparent);
    vertical-align: middle;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-collection-section {
    padding-top: 0.5rem;
  }

  html.fb-desktop-ott.fb-mockup-ui .fb-collection-section .section-header {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }

  @media (max-width: 900px) {
    html.fb-desktop-ott.fb-mockup-ui .fb-dhome-welcome-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }
}
