/* =========================================================
   ANB MOBILITY — YOUTUBE HOMEPAGE SECTION
   Isolated namespace: anb-youtube-*
   ========================================================= */

.anb-youtube-section {
  position: relative;
    scroll-margin-top: 96px;
overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(52, 199, 47, .10), transparent 30%),
    radial-gradient(circle at 92% 80%, rgba(20, 184, 166, .10), transparent 28%),
    #f7faf9;
}

.anb-youtube-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 21, 45, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 21, 45, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.anb-youtube-wrap {
  position: relative;
  z-index: 2;
}

.anb-youtube-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.anb-youtube-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(16, 165, 46, .16);
  border-radius: 999px;
  color: #07872b;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 24px rgba(7, 21, 45, .05);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.anb-youtube-kicker-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #34c72f;
  box-shadow: 0 0 0 5px rgba(52, 199, 47, .12);
}

.anb-youtube-head h2 {
  margin: 0;
  color: #07152d;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.anb-youtube-head h2 span {
  color: #10a52e;
}

.anb-youtube-head p {
  max-width: 650px;
  margin: 18px auto 0;
  color: #5d6b82;
  font-size: 16px;
  line-height: 1.75;
}

.anb-youtube-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(134, 239, 172, .16);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(52, 199, 47, .18), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(20, 184, 166, .12), transparent 30%),
    linear-gradient(135deg, #061326 0%, #07281d 58%, #0b3b24 100%);
  box-shadow: 0 30px 80px rgba(7, 21, 45, .18);
}

.anb-youtube-player {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28);
}

.anb-youtube-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.anb-youtube-copy {
  min-width: 0;
  padding: 12px 10px 12px 4px;
}

.anb-youtube-copy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #86efac;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.anb-youtube-copy h3 {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.anb-youtube-copy p {
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.75;
}

.anb-youtube-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.anb-youtube-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.anb-youtube-btn:hover {
  transform: translateY(-2px);
}

.anb-youtube-btn-primary {
  color: #07152d;
  background: linear-gradient(135deg, #86ef3f, #34c72f);
  box-shadow: 0 12px 28px rgba(52, 199, 47, .20);
}

.anb-youtube-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(52, 199, 47, .28);
}

.anb-youtube-btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .075);
}

.anb-youtube-btn-secondary:hover {
  border-color: rgba(134, 239, 172, .32);
  background: rgba(255, 255, 255, .11);
}

.anb-youtube-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.5;
}

.anb-youtube-note::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #34c72f;
}

@media (max-width: 930px) {
  .anb-youtube-card {
    grid-template-columns: 1fr;
  }

  .anb-youtube-copy {
    padding: 4px 4px 8px;
  }
}

@media (max-width: 680px) {
  .anb-youtube-section {
        scroll-margin-top: 82px;
    padding: 78px 0;
  }

  .anb-youtube-head {
    margin-bottom: 30px;
  }

  .anb-youtube-head p {
    font-size: 14px;
  }

  .anb-youtube-card {
    gap: 22px;
    padding: 16px;
    border-radius: 25px;
  }

  .anb-youtube-player {
    border-radius: 18px;
  }

  .anb-youtube-copy {
    padding: 4px 3px 52px;
  }

  .anb-youtube-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .anb-youtube-btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .anb-youtube-card {
    padding: 12px;
  }

  .anb-youtube-head h2 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anb-youtube-btn {
    transition: none;
  }

  .anb-youtube-btn:hover {
    transform: none;
  }
}

/* YouTube autoplay sound fallback */
.anb-youtube-sound-cta {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  transform: translate(-50%, 10px);
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #07152d;
  background: linear-gradient(135deg, #86ef3f, #34c72f);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.anb-youtube-sound-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.anb-youtube-sound-cta:hover {
  transform: translate(-50%, -2px);
}

.anb-youtube-sound-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  border-radius: 50%;
  color: #fff;
  background: #07152d;
  font-size: 10px;
}

@media (max-width: 680px) {
  .anb-youtube-sound-cta {
    bottom: 14px;
    max-width: calc(100% - 28px);
    min-height: 42px;
    padding: 0 15px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anb-youtube-sound-cta,
  .anb-youtube-sound-cta:hover {
    transition: none;
    transform: translate(-50%, 0);
  }
}