/* ==========================================================
   STATE RACE — YOUTUBE SUBSCRIBE V1
   ========================================================== */

.srYoutubeSubscribe {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background:
    radial-gradient(
      circle at top,
      rgba(255,0,0,.12),
      rgba(255,255,255,.025) 58%
    );
  text-align: center;
}

.srYoutubeSubscribeTitle {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
}

.srYoutubeSubscribeText {
  margin: 0 auto 14px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
}

.srYoutubeSubscribeButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #ff0033;
  color: #fff;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 8px 30px rgba(255,0,51,.24);
  transition:
    transform .15s ease,
    filter .15s ease;
}

.srYoutubeSubscribeButton:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.srYoutubeSubscribeButton:active {
  transform: translateY(0);
}

.srYoutubeSubscribeIcon {
  width: 22px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.srYoutubeSubscribeIcon svg {
  width: 22px;
  height: 16px;
  display: block;
}

/* POPUP */

.srSubscribePopupBackdrop {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.srSubscribePopupBackdrop[hidden] {
  display: none !important;
}

.srSubscribePopup {
  position: relative;
  width: min(440px, 100%);
  padding: 28px 24px 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at top,
      rgba(255,0,51,.18),
      transparent 52%
    ),
    #0d0d12;
  box-shadow:
    0 28px 80px rgba(0,0,0,.58);
  text-align: center;
}

.srSubscribePopupBadge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,0,51,.12);
  border: 1px solid rgba(255,0,51,.26);
  color: #ff6c89;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.srSubscribePopup h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 27px;
  line-height: 1.1;
}

.srSubscribePopup p {
  margin: 0 auto 20px;
  max-width: 350px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

.srSubscribePopupActions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.srSubscribePopupPrimary {
  width: 100%;
}

.srSubscribePopupLater {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.58);
  font: inherit;
  cursor: pointer;
}

.srSubscribePopupLater:hover {
  color: #fff;
}

.srSubscribePopupClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 23px;
  cursor: pointer;
}

@media (max-width: 600px) {

  .srYoutubeSubscribe {
    padding: 16px 12px;
  }

  .srYoutubeSubscribeButton {
    width: 100%;
  }

  .srSubscribePopup {
    padding:
      28px
      18px
      18px;
  }

  .srSubscribePopup h2 {
    font-size: 24px;
  }

}
