/* ============================================================
   app-video.css — BuddiesSpace App Video Section
   Figma node 55:876 | file wpkxELWVlzeoRjthUL7RQ4
   ============================================================ */

/* ------------------------------------------------------------------
   Section wrapper
   Figma: flex col, gap-10px (between main and notify), center-aligned
   padding: 100px top/bottom, 96px left/right
   ------------------------------------------------------------------ */
.bs-av {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(60px, 7vw, 100px) clamp(20px, 6.67vw, 96px);
  background-color: #ffffff;
  box-sizing: border-box;
  width: 100%;
}

/* ------------------------------------------------------------------
   Main block
   Figma: gap-47px (between content block and CTA button)
   ------------------------------------------------------------------ */
.bs-av__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 3.26vw, 47px);
  width: 100%;
  max-width: 1280px;
}

/* ------------------------------------------------------------------
   Content block
   Figma: gap-42px (between heading group and video thumbnail)
   ------------------------------------------------------------------ */
.bs-av__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 2.92vw, 42px);
  width: 100%;
}

/* ------------------------------------------------------------------
   Heading group
   Figma: gap-9px, text-center, color #21254a
   ------------------------------------------------------------------ */
.bs-av__heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  width: 100%;
}

.bs-av__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.75vw, 54px);
  line-height: 1.3;
  letter-spacing: 0;
  color: #21254a;
  margin: 0;
  width: 100%;
  text-transform: uppercase;
}

.bs-av__body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.55;
  letter-spacing: 0;
  color: #21254a;
  margin: 0;
  width: 100%;
}

/* ------------------------------------------------------------------
   Video thumbnail wrapper
   Figma: 868.189px × 487px, overlay rgba(0,0,0,0.42), rounded-[7px]
   Play icon: 67.83px centered
   ------------------------------------------------------------------ */
.bs-av__thumb-link {
  display: block;
  position: relative;
  width: 100%;
  max-width: 868px;
  /* preserve 868:487 ratio */
  aspect-ratio: 868 / 487;
  border-radius: 7px;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.bs-av__thumb-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-av__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.42);
  border-radius: 7px;
}

/* Play icon wrapper — centered via translate */
.bs-av__play-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(48px, 4.71vw, 68px);
  height: clamp(48px, 4.71vw, 68px);
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 0;
}

.bs-av__play-icon {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bs-av__thumb-link:hover .bs-av__play-wrap {
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 0.9;
}

/* ------------------------------------------------------------------
   CTA button
   Figma: bg #21254a, white text, Inter Medium 20px,
          padding 16px/32px, border-radius 8px
   ------------------------------------------------------------------ */
.bs-av__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #21254a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  line-height: normal;
  white-space: nowrap;
  padding: clamp(12px, 1.11vw, 16px) clamp(22px, 2.22vw, 32px);
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.bs-av__cta:hover {
  opacity: 0.88;
}

/* ------------------------------------------------------------------
   Notify text
   Figma: Inter Regular 22px, #21254a, underlined, text-center
          gap-10px below the main block (set on .bs-av)
   ------------------------------------------------------------------ */
.bs-av__notify {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.53vw, 22px);
  line-height: 1.55;
  color: #21254a;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 3px;
  text-align: center;
  margin: 0;
  width: 100%;
}

/* ============================================================
   Responsive — 1024px breakpoint
   ============================================================ */
@media (max-width: 1024px) {
  .bs-av {
    padding: 72px clamp(20px, 4.69vw, 48px);
  }

  .bs-av__title {
    font-size: clamp(28px, 3.71vw, 38px);
  }

  .bs-av__body {
    font-size: clamp(15px, 1.56vw, 16px);
  }

  .bs-av__cta {
    font-size: 16px;
    padding: 12px 28px;
  }
}

/* ============================================================
   Responsive — 599px breakpoint (mobile)
   ============================================================ */
@media (max-width: 599px) {
  .bs-av {
    padding: 48px 20px;
    gap: 16px;
  }

  .bs-av__main {
    gap: 28px;
  }

  .bs-av__content {
    gap: 24px;
  }

  .bs-av__title {
    font-size: 28px;
  }

  .bs-av__body {
    font-size: 15px;
  }

  .bs-av__cta {
    font-size: 15px;
    padding: 12px 24px;
    white-space: normal;
    text-align: center;
  }

  .bs-av__notify {
    font-size: 14px;
  }
}
