/* stylelint-disable selector-class-pattern, alpha-value-notation, keyframes-name-pattern */

.bac-course-sheet-lock {
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: 40px 20px;
  border: 1px dashed rgb(16 185 129 / 0.3);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(15 23 42 / 0.4), rgb(2 6 23 / 0.6));
  text-align: center;
}

.bac-course-sheet-lock__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  text-align: center;
}

.lock-icon-wrapper {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border: 1px solid rgb(44 199 255 / 0.48);
  border-radius: 20px;
  background: linear-gradient(135deg, rgb(44 199 255 / 0.2), rgb(34 211 238 / 0.1));
  box-shadow:
    0 12px 30px rgb(44 199 255 / 0.26),
    0 0 28px rgb(44 199 255 / 0.22);
  font-size: 2rem;
}

.context-premium .lock-icon-wrapper {
  border-color: rgb(168 85 247 / 0.52);
  background:
    radial-gradient(circle at 50% 18%, rgb(250 204 21 / 0.2), transparent 42%),
    linear-gradient(135deg, rgb(168 85 247 / 0.22), rgb(30 27 75 / 0.36));
  box-shadow:
    0 14px 34px rgb(168 85 247 / 0.32),
    0 0 34px rgb(250 204 21 / 0.12);
}

.bac-course-sheet-lock__eyebrow {
  margin: 0;
  color: #67e8f9;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.context-premium .bac-course-sheet-lock__eyebrow {
  color: #f5d0fe;
}

.bac-course-sheet-lock h2,
.bac-course-sheet-lock__content h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.62rem, 1.42rem + 0.8vw, 2.05rem);
  font-weight: 950;
  line-height: 1.08;
}

.bac-course-sheet-lock__content .lock-description {
  max-width: 34rem;
  margin: 0 0 10px;
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.bac-course-sheet-lock__content .lock-description strong {
  color: #fff;
  font-weight: 900;
}

.bac-course-sheet-lock__content .lock-description .text-white {
  color: #fff;
  font-weight: 900;
}

.bac-course-sheet-lock__content .lock-description .text-highlight {
  color: #67e8f9;
  font-weight: 900;
  text-shadow: 0 0 12px rgb(44 199 255 / 0.42);
}

.context-premium .lock-description strong,
.context-premium .lock-description .text-highlight {
  color: #fde68a;
  text-shadow: 0 0 12px rgb(250 204 21 / 0.22);
}

.bac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #f8fafc;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.bac-btn:hover,
.bac-btn:focus-visible {
  transform: translateY(-1px);
}

.bac-btn--cta {
  position: relative;
  min-width: min(100%, 260px);
  min-height: 54px;
  padding: 14px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #10b981, #22d3ee);
  box-shadow:
    0 16px 42px rgb(44 199 255 / 0.28),
    0 0 28px rgb(44 199 255 / 0.2);
  color: #020617;
  font-size: 0.98rem;
}

.bac-course-sheet-lock__content.context-gift .bac-btn--cta {
  border-color: rgb(44 199 255 / 0.52);
  background: linear-gradient(135deg, #2cc7ff 0%, #67e8f9 48%, #a7f3d0 100%);
}

.bac-course-sheet-lock__content.context-premium .bac-btn--cta {
  border-color: rgb(250 204 21 / 0.34);
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 48%, #facc15 100%);
  box-shadow:
    0 18px 46px rgb(168 85 247 / 0.34),
    0 0 32px rgb(250 204 21 / 0.16);
  color: #fff;
}

.bac-course-sheet-lock__content .bac-btn--cta::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      rgb(255 255 255 / 0.12) 34%,
      rgb(255 255 255 / 0.7) 50%,
      rgb(255 255 255 / 0.14) 66%,
      transparent 100%
    );
  content: "";
  pointer-events: none;
  transform: translateX(-120%) skewX(-18deg);
  animation: mlCtaShimmer 3.4s ease-in-out infinite;
}

.bac-btn--secondary {
  border-color: rgb(148 163 184 / 0.22);
  background: rgb(15 23 42 / 0.7);
  color: #e2e8f0;
}

.bac-btn--secondary:hover,
.bac-btn--secondary:focus-visible {
  border-color: rgb(56 189 248 / 0.45);
  color: #7dd3fc;
}

.bac-btn--disabled {
  background: rgb(71 85 105);
  box-shadow: none;
  color: rgb(226 232 240 / 0.8);
}

.btn-small {
  width: fit-content;
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.8rem;
}

@keyframes mlCtaShimmer {
  0%,
  48% {
    transform: translateX(-120%) skewX(-18deg);
  }

  76%,
  100% {
    transform: translateX(120%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bac-course-sheet-lock__content .bac-btn--cta::before {
    animation: none;
    content: none;
  }
}

@media (max-width: 640px) {
  .bac-course-sheet-lock {
    min-height: 320px;
    padding: 32px 18px;
  }

  .bac-course-sheet-lock h2,
  .bac-course-sheet-lock__content h2 {
    font-size: 1.45rem;
  }

  .bac-btn--cta {
    width: 100%;
  }
}

/* stylelint-enable selector-class-pattern, alpha-value-notation, keyframes-name-pattern */
