.vivo-gated-post {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  --vivo-gated-brand: #fd2b01;
  --vivo-gated-brand-dark: #de2701;
  --vivo-gated-ink: #111111;
  --vivo-gated-muted: rgba(17, 17, 17, 0.74);
  --vivo-gated-surface: #fffaf6;
}

.vivo-gated-post__lead > *:last-child {
  margin-bottom: 0;
}

.vivo-gated-post__lock {
  position: relative;
  z-index: 5;
  width: min(100%, 680px);
  margin: 48px auto 64px;
  padding: 48px 42px 40px;
  border: 1px solid rgba(253, 43, 1, 0.16);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(253, 43, 1, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.02) 0, rgba(17, 17, 17, 0.02) 1px, transparent 1px, transparent 18px),
    linear-gradient(180deg, rgba(255, 247, 243, 0.98) 0%, rgba(255, 255, 255, 1) 58%),
    var(--vivo-gated-surface);
  box-shadow:
    0 28px 72px rgba(16, 24, 40, 0.12),
    0 2px 0 rgba(253, 43, 1, 0.05);
  overflow: hidden;
  text-align: center;
}

.vivo-gated-post__lock-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(253, 43, 1, 0.08) 0%, rgba(253, 43, 1, 0) 28%),
    linear-gradient(90deg, rgba(253, 43, 1, 0.08) 0%, rgba(253, 43, 1, 0) 16%, rgba(253, 43, 1, 0) 84%, rgba(253, 43, 1, 0.08) 100%);
  pointer-events: none;
}

.vivo-gated-post__lock-card {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vivo-gated-post__lock::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--vivo-gated-brand) 0%, #ff7a5c 100%);
}

.vivo-gated-post__lock-brand {
  margin-bottom: 30px;
}

.vivo-gated-post__lock-brand .custom-logo-link,
.vivo-gated-post__lock-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vivo-gated-post__lock-brand img {
  display: block;
  width: auto;
  max-width: 196px;
  max-height: 36px;
}

.vivo-gated-post__lock-brand-name {
  display: inline-block;
  font-family: "Gilroy", Sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--vivo-gated-ink);
}

.vivo-gated-post__lock-symbol {
  margin-bottom: 10px;
}

.vivo-gated-post__lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 64%),
    rgba(253, 43, 1, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(253, 43, 1, 0.14),
    0 12px 30px rgba(253, 43, 1, 0.12);
}

.vivo-gated-post__lock-icon svg {
  display: block;
  width: 44px;
  height: 44px;
}

.vivo-gated-post__lock-title {
  margin: 0 0 18px;
  font-family: "Gilroy", Sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--vivo-gated-ink);
  text-wrap: balance;
}

.vivo-gated-post__lock-text {
  margin: 0 0 34px;
  font-family: "Gilroy", Sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--vivo-gated-muted);
  text-wrap: balance;
  max-width: 33ch;
}

.vivo-gated-post__lock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 34px;
  margin: 0;
  border-radius: 999px;
  background: var(--vivo-gated-brand);
  font-family: "Gilroy", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow:
    0 18px 36px rgba(253, 43, 1, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
      margin-bottom: 20px;

}

.vivo-gated-post__lock-button::before {
  content: "";
  display: block;
  width: 54px;
  height: 14px;
  flex: 0 0 54px;
  background: url('../../../../uploads/2025/05/VIVO-white.svg') center / contain no-repeat;
}

.vivo-gated-post__lock-button:hover,
.vivo-gated-post__lock-button:focus-visible {
  background: var(--vivo-gated-brand-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(253, 43, 1, 0.28);
}


.vivo-gated-post__lock-secondary {
  margin: 30px 0 0;
  font-family: "Gilroy", Sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--vivo-gated-muted);
}

.vivo-gated-post__lock-secondary a {
  color: var(--vivo-gated-brand);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.vivo-gated-post__lock-secondary a:hover,
.vivo-gated-post__lock-secondary a:focus-visible {
  color: var(--vivo-gated-brand-dark);
  text-decoration: underline;
}

.vivo-gated-post__blocked {
  position: relative;
  isolation: isolate;
  filter: blur(10px);
  opacity: 0.34;
  user-select: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.vivo-gated-post__blocked * {
  pointer-events: none !important;
}

.vivo-gated-post__blocked::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.36) 100%);
}

@media (max-width: 767px) {
  .vivo-gated-post__lock {
    width: 100%;
    margin: 36px auto 44px;
    padding: 38px 24px 30px;
    border-radius: 24px;
  }

  .vivo-gated-post__lock-brand {
    margin-bottom: 24px;
  }

  .vivo-gated-post__lock-icon {
    width: 64px;
    height: 64px;
  }

  .vivo-gated-post__lock-title {
    font-size: 32px;
    line-height: 1.02;
  }

  .vivo-gated-post__lock-text {
    font-size: 16px;
  }

  .vivo-gated-post__lock-button {
    width: 100%;
    justify-content: center;
  }

  .vivo-gated-post__lock-button::before {
    width: 48px;
    flex-basis: 48px;
  }

  .vivo-gated-post__lock-secondary {
    margin-top: 24px;
  }
}
