  /* =========================================================
       VIDEO TRAILER — existing player shell + foggy background
       Notes:
       - Keeps your current HTML structure and custom controls.
       - Replaces the old purple/dark gradient section background
         with the foggy atmospheric background system.
    ========================================================= */

    #video-trailer {
      --vs-accent: #f59e0b;
      --vs-text: rgba(236, 242, 238, 0.9);
      --vs-muted: rgba(236, 242, 238, 0.74);
      --vs-heading: rgba(248, 252, 249, 0.96);

      --vs-surface: linear-gradient(180deg, rgba(10, 20, 15, 0.72), rgba(8, 18, 14, 0.88));
      --vs-border: rgba(190, 230, 210, 0.14);
      --vs-radius: 20px;
      --vs-shadow:
        0 18px 44px rgba(0, 0, 0, 0.26),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;

      --fog-x: 0%;
      --fog-y: 0%;
      --mist-x: 0%;
      --mist-y: 0%;

      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: clamp(3.25rem, 6vw, 5rem) 1.25rem;
      color: var(--vs-text);
      background: transparent;
    }

    /* -----------------------------------------
       Decorative fog background layer
    ------------------------------------------ */
    #video-trailer::before {
      content: "";
      position: absolute;
      inset: -20%;
      z-index: -2;
      pointer-events: none;

      background:
        radial-gradient(
          1100px 650px at 18% 22%,
          rgba(160, 255, 215, 0.16),
          rgba(160, 255, 215, 0) 62%
        ),
        radial-gradient(
          850px 560px at 78% 30%,
          rgba(90, 220, 175, 0.14),
          rgba(90, 220, 175, 0) 60%
        ),
        radial-gradient(
          980px 760px at 55% 82%,
          rgba(60, 185, 145, 0.12),
          rgba(60, 185, 145, 0) 64%
        ),
        radial-gradient(
          980px 740px at 10% 85%,
          rgba(12, 44, 32, 0.88),
          rgba(12, 44, 32, 0) 60%
        ),
        linear-gradient(
          135deg,
          rgba(6, 14, 11, 0.99) 0%,
          rgba(9, 24, 18, 0.97) 30%,
          rgba(7, 18, 14, 0.99) 60%,
          rgba(5, 12, 9, 1) 100%
        );

      filter: blur(10px) saturate(118%);
      transform: translate3d(0, 0, 0);
      animation: videoTrailerFogDrift 18s ease-in-out infinite;
    }

    /* -----------------------------------------
       Decorative mist texture layer
    ------------------------------------------ */
    #video-trailer::after {
      content: "";
      position: absolute;
      inset: -10%;
      z-index: -1;
      pointer-events: none;

      background:
        radial-gradient(
          900px 520px at 30% 40%,
          rgba(255, 255, 255, 0.07),
          rgba(255, 255, 255, 0) 62%
        ),
        radial-gradient(
          760px 520px at 70% 55%,
          rgba(255, 255, 255, 0.06),
          rgba(255, 255, 255, 0) 60%
        ),
        radial-gradient(
          820px 560px at 55% 20%,
          rgba(200, 255, 232, 0.05),
          rgba(200, 255, 232, 0) 60%
        );

      filter: blur(18px);
      opacity: 0.95;
      animation: videoTrailerMistPulse 13s ease-in-out infinite;
    }

    /* -----------------------------------------
       Main shell
    ------------------------------------------ */
    #video-trailer .vs-shell {
      position: relative;
      z-index: 1;
      width: min(1100px, 100%);
      margin: 0 auto;
      border-radius: var(--vs-radius);
      overflow: clip;
      border: 1px solid var(--vs-border);
      box-shadow: var(--vs-shadow);
      background: rgba(0, 0, 0, 0.22);
      -webkit-backdrop-filter: blur(14px) saturate(120%);
      backdrop-filter: blur(14px) saturate(120%);
    }

    #video-trailer .vs-stage {
      position: relative;
      aspect-ratio: 16 / 9;
      background: #020617;
    }

    #video-trailer .vs-player {
      width: 100%;
      height: 100%;
      display: block;
      background: #000;
      object-fit: cover;
    }

    #video-trailer .vs-fallback {
      padding: 1rem 1.25rem;
      color: var(--vs-muted);
      font-size: 0.95rem;
      background: rgba(255, 255, 255, 0.04);
    }

    #video-trailer .vs-meta {
      padding: clamp(1rem, 2.5vw, 1.5rem);
      background: var(--vs-surface);
      display: grid;
      gap: 0.45rem;
    }

    #video-trailer .vs-eyebrow {
      margin: 0;
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--vs-muted);
      font-weight: 700;
    }

    #video-trailer .vs-title {
      margin: 0;
      font-size: clamp(1.45rem, 1vw + 1.15rem, 2rem);
      line-height: 1.1;
      font-weight: 800;
      color: var(--vs-heading);
    }

    #video-trailer .vs-copy {
      margin: 0;
      line-height: 1.6;
      color: var(--vs-muted);
      max-width: 70ch;
    }

    /* -----------------------------------------
       Custom controls
    ------------------------------------------ */
    #video-trailer .vs-controls {
      position: absolute;
      inset: auto 0 0 0;
      display: flex;
      gap: 0.75rem;
      align-items: center;
      padding: 0.9rem 1rem;
      background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.82));
      transition: opacity 220ms ease;
      z-index: 2;
    }

    #video-trailer .vs-button {
      appearance: none;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      cursor: pointer;
      font: inherit;
      font-weight: 700;
      padding: 0.68rem 0.95rem;
      min-width: 2.8rem;
      transition: background 180ms ease, transform 180ms ease;
    }

    #video-trailer .vs-button:hover,
    #video-trailer .vs-button:focus-visible {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-1px);
      outline: none;
    }

    #video-trailer .vs-button--primary {
      background: var(--vs-accent);
      color: #111827;
    }

    #video-trailer .vs-time {
      font-size: 0.95rem;
      color: var(--vs-muted);
      white-space: nowrap;
      min-width: 5.75rem;
      text-align: right;
      margin-left: auto;
    }

    #video-trailer .vs-range {
      -webkit-appearance: none;
      appearance: none;
      width: min(42vw, 360px);
      height: 4px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
      cursor: pointer;
    }

    #video-trailer .vs-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #fff;
      border: 0;
    }

    #video-trailer .vs-range::-moz-range-thumb {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #fff;
      border: 0;
    }

    #video-trailer .vs-native,
    #video-trailer .vs-custom {
      display: block;
    }

    #video-trailer[data-control-style="native"] .vs-controls {
      display: none;
    }

    #video-trailer[data-control-style="native"] .vs-player {
      background: #000;
    }

    /* -----------------------------------------
       Background animation keyframes
    ------------------------------------------ */
    @keyframes videoTrailerFogDrift {
      0% {
        transform:
          translate3d(calc(-1.6% + var(--fog-x)), calc(-1.1% + var(--fog-y)), 0)
          scale(1.03);
      }

      50% {
        transform:
          translate3d(calc(1.6% + var(--fog-x)), calc(1.2% + var(--fog-y)), 0)
          scale(1.07);
      }

      100% {
        transform:
          translate3d(calc(-1.6% + var(--fog-x)), calc(-1.1% + var(--fog-y)), 0)
          scale(1.03);
      }
    }

    @keyframes videoTrailerMistPulse {
      0% {
        opacity: 0.92;
        transform:
          translate3d(calc(0% + var(--mist-x)), calc(0% + var(--mist-y)), 0)
          scale(1.03);
      }

      50% {
        opacity: 1;
        transform:
          translate3d(calc(1.2% + var(--mist-x)), calc(-0.8% + var(--mist-y)), 0)
          scale(1.07);
      }

      100% {
        opacity: 0.78;
        transform:
          translate3d(calc(0% + var(--mist-x)), calc(0% + var(--mist-y)), 0)
          scale(1.03);
      }
    }

    /* -----------------------------------------
       Motion accessibility
    ------------------------------------------ */
    @media (prefers-reduced-motion: reduce) {
      #video-trailer::before,
      #video-trailer::after,
      #video-trailer .vs-button,
      #video-trailer .vs-controls {
        animation: none !important;
        transition: none;
      }
    }

    /* -----------------------------------------
       Responsive adjustments
    ------------------------------------------ */
    @media (max-width: 991.98px) {
      #video-trailer {
        padding: 4rem 1.25rem 4.25rem;
      }
    }

    @media (max-width: 720px) {
      #video-trailer .vs-controls {
        flex-wrap: wrap;
      }

      #video-trailer .vs-range {
        order: 4;
        width: 100%;
      }

      #video-trailer .vs-time {
        margin-left: 0;
      }
    }

    @media (max-width: 767.98px) {
      #video-trailer {
        padding: 3.25rem 1rem 3.5rem;
      }

      #video-trailer .vs-shell {
        border-radius: 1rem;
      }
    }