/* Section 2: Watch AI Promotional Teaser Section
   ─────────────────────────────────────────────────────────────
   Occupies var(--banner-h), calculated to form a unified 100vh hero block.
   Strictly matched to the assets/ref reference images for both mobile
   and tablet portrait mode:
   - Text block (Badge + Headline + Subtitle) is HORIZONTALLY CENTERED on screen.
   - Clapperboard is anchored on the LEFT.
   - Exact proportional sizing, spacing, and typography across all breakpoints.
   ───────────────────────────────────────────────────────────── */

.watch-banner-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(18, 76, 120, 0.65) 0%, rgba(7, 36, 62, 0.35) 45%, transparent 75%),
    radial-gradient(ellipse 65% 75% at 50% 50%, rgba(10, 44, 74, 0.4) 0%, transparent 75%),
    linear-gradient(180deg, #020a13 0%, #051a2c 50%, #010811 100%);
  border-top: 1px solid rgba(255, 210, 31, 0.2);
  border-bottom: 1px solid rgba(255, 210, 31, 0.25);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  cursor: pointer;

  /* Viewport share — strictly controlled by the responsive formula */
  height: var(--banner-h);
  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-banner-inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 2.5vw, 44px);
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────────
   Clapperboard on the LEFT
   Anchored absolute on left with proportional scaling to guarantee
   full visibility without vertical or horizontal clipping.
   ───────────────────────────────────────────────────────────── */
.watch-banner-clapper {
  position: absolute;
  left: clamp(14px, 2.4vw, 44px);
  top: 50%;
  transform: translateY(-50%) rotate(-3deg);
  z-index: 2;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.watch-banner-section:hover .watch-banner-clapper {
  transform: translateY(-50%) rotate(0deg) scale(1.04);
}

.watch-clapper-img {
  height: clamp(26px, 5.2vh, 60px);
  max-height: 80%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
}

/* ─────────────────────────────────────────────────────────────
   Text Block: Fluidly Centered on Screen
   Sized proportionally against container height and viewport width
   to prevent text overlap, collisions, or clipping across all resolutions.
   ───────────────────────────────────────────────────────────── */
.watch-banner-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  width: auto;
  max-width: calc(100% - clamp(90px, 13vw, 160px));
  margin: 0 auto;
  padding: 0 4px;
  box-sizing: border-box;
  overflow: visible;
}

/* Red brush badge: "DON'T JOIN YET..." */
.watch-badge-wrap {
  margin: 0 0 clamp(1px, 0.25vh, 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.watch-badge-img {
  height: clamp(10px, 1.7vh, 20px);
  max-height: 26%;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Headline: "WATCH WHAT YOU CAN CREATE WITH AI" */
.watch-banner-title {
  font-family: var(--font-heading, "Inter", -apple-system, sans-serif);
  font-size: min(clamp(10px, 1.35vw, 20px), calc(var(--banner-h) * 0.32));
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: clamp(0.1px, 0.03vw, 0.35px);
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 clamp(1px, 0.2vh, 3px);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.watch-banner-title .gold-text {
  color: var(--yellow, #ffd21f);
  text-shadow: 0 0 12px rgba(255, 210, 31, 0.45);
}

.watch-banner-title .underline-word {
  position: relative;
  display: inline-block;
}

.watch-banner-title .brush-underline {
  position: absolute;
  left: 0;
  bottom: -2.5px;
  width: 100%;
  height: clamp(2px, 0.25vw, 4px);
  display: block;
  pointer-events: none;
  object-fit: fill;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Subtitle: "Before you join the Academy..." */
.watch-banner-desc {
  font-family: var(--font-accent, "Inter", -apple-system, sans-serif);
  font-size: min(clamp(7.2px, 0.8vw, 12px), calc(var(--banner-h) * 0.2));
  font-weight: 400;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  letter-spacing: 0.05px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

/* ═════════════════════════════════════════════════════════════
   TABLET PORTRAIT (601px – 1023px)
   Matches home_screen-tablet-portrait-768x1024.png and
   home_screen-tablet-portrait-600x960.png:
   - Proportional clapperboard anchoring to prevent text overlap
   - Fluid typography preserving single-line display without breaks
   ═════════════════════════════════════════════════════════════ */
@media (orientation: portrait) and (min-width: 601px) {
  .watch-banner-inner {
    padding: 0 clamp(16px, 2.5vw, 32px);
  }

  .watch-banner-clapper {
    left: clamp(10px, 2vw, 28px);
  }

  .watch-clapper-img {
    height: clamp(54px, 6.8vh, 84px);
    width: auto;
    object-fit: contain;
  }

  .watch-banner-body {
    width: auto;
    max-width: calc(100% - clamp(75px, 14vw, 120px));
    margin: 0 auto;
    overflow: visible;
  }

  .watch-badge-wrap {
    margin-bottom: clamp(3px, 0.45vh, 6px);
  }

  .watch-badge-img {
    height: clamp(18px, 2.4vh, 28px);
    width: auto;
    object-fit: contain;
  }

  .watch-banner-title {
    font-size: clamp(13.5px, 2.35vw, 21px);
    margin-bottom: clamp(3px, 0.4vh, 6px);
    letter-spacing: clamp(0.12px, 0.03vw, 0.3px);
    white-space: nowrap;
  }

  .watch-banner-title .brush-underline {
    height: clamp(2.8px, 0.4vw, 4.2px);
    bottom: -2.5px;
  }

  .watch-banner-desc {
    font-size: clamp(8.2px, 1.22vw, 11.5px);
    letter-spacing: clamp(0.02px, 0.02vw, 0.08px);
    white-space: nowrap;
  }
}

/* ═════════════════════════════════════════════════════════════
   MOBILE PORTRAIT (≤600px)
   Matches home_screen-mobile-portrait-390x844.png exactly:
   - Section height: ~78px - 84px
   - Clapperboard height: ~50px - 54px, anchored left (x=20..26)
   - Red badge: ~17px height, centered at x=196
   - Headline: ~13px - 14.5px font-size, centered at x=198
   - Subtitle: ~8.5px - 9.5px font-size, centered at x=194
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .watch-banner-inner {
    padding: 0 8px;
  }

  .watch-banner-clapper {
    left: clamp(4px, 1.2vw, 10px);
  }

  .watch-clapper-img {
    height: clamp(36px, 5vh, 45px);
    width: auto;
    object-fit: contain;
  }

  .watch-banner-body {
    max-width: calc(100% - clamp(52px, 14vw, 68px));
    margin: 0 auto;
  }

  .watch-badge-wrap {
    margin-bottom: 2px;
  }

  .watch-badge-img {
    height: clamp(14px, 1.9vh, 18px);
  }

  .watch-banner-title {
    font-size: clamp(9.8px, 2.95vw, 13px);
    margin-bottom: 2px;
    letter-spacing: 0.1px;
  }

  .watch-banner-title .brush-underline {
    height: 2.5px;
    bottom: -2px;
  }

  .watch-banner-desc {
    font-size: clamp(6.6px, 1.85vw, 8.6px);
    letter-spacing: 0;
  }
}

/* Small mobile (≤360px) */
@media (max-width: 360px) {
  .watch-banner-clapper {
    left: 2px;
  }

  .watch-clapper-img {
    height: 34px;
  }

  .watch-badge-img {
    height: 13px;
  }

  .watch-banner-title {
    font-size: 9.2px;
  }

  .watch-banner-desc {
    font-size: 6.4px;
  }
}