
  /* =========================================================
     YT SHOWCASE
     Scoped to #yt-showcase
  ========================================================= */

  @media (max-width: 991px) {
    #yt-showcase {
      display: none !important;
    }
  }

  #yt-showcase {
    position: relative;
    margin: 0;
    padding: 0;
    background: #0b0f10;
  }

  /*
    The wrap gets side padding so the external arrows have room
    without being cut off by the page edge.
  */
  #yt-showcase .wrap {
    position: relative;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 4rem 5.25rem 3rem;
  }

  #yt-showcase .section-title {
    margin-bottom: 1.25rem;
    text-align: center;
  }

  #yt-showcase .section-title h2 {
    margin: 0;
    font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.2rem);
    letter-spacing: 0.02em;
  }

  /* ---------- Stage wrapper ---------- */
  #yt-showcase .yt-stage-wrap {
    position: relative;
    overflow: visible;
  }

  /*
    Stage uses a 16:9-ish height lock and keeps the media clipped.
    Arrows live outside this box.
  */
  #yt-showcase #ytStage {
    position: relative;
    width: 100%;
    height: min(96vh, 56.25vw);
    min-height: 520px;
    max-height: 760px;
    overflow: hidden;
    border-radius: 18px;
    background: #0a0f10;
    box-shadow:
      0 18px 60px rgba(0, 0, 0, 0.55),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08),
      0 0 0 1px rgba(255, 210, 90, 0.30),
      0 0 34px rgba(255, 200, 70, 0.22);
  }

  @media (prefers-reduced-motion: no-preference) {
    #yt-showcase #ytStage::after {
      content: "";
      position: absolute;
      inset: -2px;
      z-index: 5;
      opacity: 0.85;
      pointer-events: none;
      border-radius: 20px;
      box-shadow:
        0 0 0 1px rgba(255, 220, 120, 0.22),
        0 0 22px rgba(255, 200, 70, 0.16);
      animation: ytStageGlow 3.8s ease-in-out infinite;
    }

    @keyframes ytStageGlow {
      0%, 100% {
        opacity: 0.55;
        filter: brightness(1);
      }
      50% {
        opacity: 1;
        filter: brightness(1.06);
      }
    }
  }

  /* ---------- Slides ---------- */
  #yt-showcase #ytStage .slides {
    position: absolute;
    inset: 0;
  }

  #yt-showcase #ytStage .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
  }

  #yt-showcase #ytStage .slide.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  /*
    z-index map:
    media 1, iframe 2, overlay 3, content 4, stage glow 5, nav 6+
  */
  #yt-showcase #ytStage .slide-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: #050707;
  }

  #yt-showcase #ytStage .poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 1;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.02);
    transition: opacity 220ms ease;
  }

  #yt-showcase #ytStage .poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.60) 70%,
      rgba(0, 0, 0, 0.85) 100%
    );
  }

  #yt-showcase #ytStage .poster.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  #yt-showcase #ytStage iframe.embed {
    position: absolute;
    z-index: 2;
    border: 0;
  }

  #yt-showcase #ytStage .overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  #yt-showcase #ytStage .content {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    align-content: end;
    padding: clamp(1rem, 0.8rem + 1vw, 1.75rem);
    pointer-events: none;
  }

  #yt-showcase #ytStage .copy-glass {
    width: min(520px, 92%);
    margin: 0;
    padding: 1.05rem 1.1rem;
    border-radius: 16px;
    opacity: 1;
    transform: translateY(0);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(12, 18, 18, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.45),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
  }

  #yt-showcase #ytStage .copy-glass.is-faded {
    opacity: 0;
    transform: translateY(6px);
  }

  #yt-showcase #ytStage .kicker {
    margin-bottom: 0.25rem;
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
  }

  #yt-showcase #ytStage .title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem);
    line-height: 1.15;
  }

  #yt-showcase #ytStage .text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    opacity: 0.92;
  }

  /* ---------- Side arrows ---------- */
  #yt-showcase .arrow {
    position: absolute;
    top: 50%;
    z-index: 999;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(0, 255, 214, 0.22);
    border-radius: 999px;
    color: rgba(255, 240, 80, 0.98);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    transform: translateY(-50%);
    background: linear-gradient(
      180deg,
      rgba(0, 255, 214, 0.18),
      rgba(0, 170, 255, 0.10)
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-shadow:
      0 0 10px rgba(255, 240, 80, 0.65),
      0 0 22px rgba(255, 240, 80, 0.35);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 0 0 1px rgba(0, 255, 214, 0.10),
      0 0 26px rgba(0, 255, 214, 0.14);
    transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  }

  #yt-showcase .arrow.prev {
    left: -72px;
  }

  #yt-showcase .arrow.next {
    right: -72px;
  }

  #yt-showcase .arrow::before {
    content: "";
    position: absolute;
    inset: -12px;
    opacity: 0.55;
    pointer-events: none;
    border-radius: 999px;
    box-shadow:
      0 0 18px rgba(255, 240, 80, 0.18),
      0 0 48px rgba(0, 255, 214, 0.16);
  }

  #yt-showcase .arrow::after {
    content: "";
    position: absolute;
    inset: 7px 10px auto;
    height: 14px;
    opacity: 0.65;
    pointer-events: none;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.26),
      rgba(255, 255, 255, 0)
    );
  }

  #yt-showcase .arrow:hover {
    transform: translateY(-50%) scale(1.06);
    filter: brightness(1.08);
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.46),
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 0 0 1px rgba(0, 255, 214, 0.14),
      0 0 32px rgba(0, 255, 214, 0.18);
  }

  #yt-showcase .arrow:active {
    transform: translateY(-50%) scale(0.98);
    filter: brightness(0.98);
  }

  @media (prefers-reduced-motion: no-preference) {
    #yt-showcase .arrow {
      animation: ytNeonPulse 3.6s ease-in-out infinite;
    }

    @keyframes ytNeonPulse {
      0%, 100% {
        filter: brightness(1);
      }
      50% {
        filter: brightness(1.08);
      }
    }
  }

  /* ---------- Dots ---------- */
  #yt-showcase #ytStage .dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 6;
    display: flex;
    gap: 0.55rem;
    transform: translateX(-50%);
    pointer-events: auto;
  }

  #yt-showcase #ytStage .dot {
    width: 11px;
    height: 11px;
    border: 1px solid rgba(255, 230, 140, 0.55);
    border-radius: 999px;
    background: rgba(255, 210, 90, 0.22);
    box-shadow: 0 0 12px rgba(255, 210, 90, 0.18);
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  }

  #yt-showcase #ytStage .dot.is-active {
    transform: scale(1.2);
    background: rgba(255, 210, 90, 0.95);
    box-shadow:
      0 0 0 1px rgba(255, 236, 150, 0.55),
      0 0 18px rgba(255, 220, 110, 0.55);
  }

  /* ---------- Mid-size desktop adjustments ---------- */
  @media (max-width: 1100px) {
    #yt-showcase .wrap {
      padding-left: 4.25rem;
      padding-right: 4.25rem;
    }

    #yt-showcase .arrow.prev {
      left: -54px;
    }

    #yt-showcase .arrow.next {
      right: -54px;
    }
  }

  /* ---------- Reduced motion ---------- */
  @media (prefers-reduced-motion: reduce) {
    #yt-showcase #ytStage .slide,
    #yt-showcase #ytStage .copy-glass,
    #yt-showcase .arrow,
    #yt-showcase #ytStage .dot {
      transition: none;
      animation: none;
    }

    #yt-showcase #ytStage::after {
      animation: none;
    }
  }