.secure-video {
  position: relative;
  overflow: hidden;
}

.video-guard {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, rgba(10, 12, 24, .92), rgba(38, 16, 58, .94));
  color: #fff;
  z-index: 2;
}

.video-guard strong {
  font-size: 28px;
}

.video-guard p {
  color: #eadcff;
  font-size: 17px;
  max-width: 520px;
}

.video-guard.hidden {
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

.watch-hint {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.premium-exams .exam-card {
  display: grid;
  gap: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.status-pill.success {
  background: #fff0fb;
  color: #7b1fa2;
}

.status-pill.warning {
  background: #fff8df;
  color: #9a6500;
}

.status-pill.danger {
  background: #fff0f5;
  color: #a60d51;
}

.status-pill.neutral {
  background: #f4e7ff;
  color: #5a167e;
}

.exam-start-form {
  margin-top: auto;
}

.exam-shell {
  padding: 54px 7vw 90px;
  background: linear-gradient(135deg, #080d22, #151b3b 54%, #210d2e);
  min-height: 100vh;
  color: #fff;
}

.exam-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.exam-header h1 {
  font-size: clamp(32px, 4vw, 54px);
  margin: 10px 0;
}

.exam-header p {
  color: #eadcff;
}

.exam-timer {
  min-width: 180px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.exam-timer span {
  display: block;
  color: #eadcff;
}

.exam-timer strong {
  font-size: 34px;
}

.exam-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.exam-question {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .15);
}

.exam-question > span {
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
}

.exam-question h3 {
  font-size: 23px;
  line-height: 1.35;
}

.exam-options {
  display: grid;
  gap: 12px;
}

.exam-options label {
  display: flex !important;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.exam-options input {
  width: auto;
}

.exam-submit {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background: rgba(8, 13, 34, .92);
  backdrop-filter: blur(14px);
}

.exam-submit p {
  color: #eadcff;
}

.certificate-page {
  min-height: 78vh;
  padding: 78px 7vw;
  background: radial-gradient(circle at top right, rgba(241, 40, 152, .16), transparent 36%), linear-gradient(135deg, #070b1c, #13234a 58%, #090c18);
  display: grid;
  place-items: center;
}

.certificate-preview {
  width: min(940px, 100%);
  padding: 48px;
  border: 1px solid rgba(25, 200, 189, .55);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
  color: #fff;
  text-align: center;
}

.certificate-preview h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin: 12px 0;
}

.certificate-preview p {
  font-size: 20px;
  color: #dfe7ff;
}

.certificate-code {
  display: inline-flex;
  margin: 18px auto 28px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 900;
  letter-spacing: .08em;
}

.certificate-preview .hero-actions {
  justify-content: center;
}

@media (max-width: 720px) {
  .exam-header,
  .exam-submit {
    display: block;
  }

  .exam-timer {
    margin-top: 18px;
  }

  .exam-shell {
    padding: 36px 20px;
  }

  .certificate-preview {
    padding: 28px;
  }

  .video-guard strong {
    font-size: 22px;
  }
}

/* i9vando premium training player */
.video-guard {
  isolation: isolate;
  overflow: hidden;
  gap: 16px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 45, 163, .28), transparent 34%),
    radial-gradient(circle at 12% 82%, rgba(143, 45, 242, .30), transparent 36%),
    linear-gradient(135deg, rgba(9, 6, 24, .94), rgba(38, 12, 64, .95) 52%, rgba(78, 10, 76, .92)) !important;
}

.video-guard::before {
  content: "";
  position: absolute;
  inset: -34% -10% auto -10%;
  height: 72%;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, .10) 39% 40%, transparent 41%),
    repeating-linear-gradient(115deg, transparent 0 54px, rgba(35, 239, 255, .20) 55px 58px, transparent 59px 108px);
  opacity: .62;
  transform: rotate(-5deg);
  pointer-events: none;
  z-index: -1;
}

.video-guard::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 190px;
  height: 80px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 72%, #ffffff 0 7px, transparent 8px),
    radial-gradient(circle at 78% 72%, #ffffff 0 7px, transparent 8px),
    linear-gradient(135deg, rgba(255, 45, 163, .72), rgba(143, 45, 242, .78));
  box-shadow: 0 0 40px rgba(255, 45, 163, .32);
  opacity: .18;
  pointer-events: none;
  z-index: -1;
}

.video-guard > * {
  position: relative;
  z-index: 1;
}

.video-guard strong {
  color: #fff;
  text-shadow: 0 14px 38px rgba(0, 0, 0, .38);
}

.guard-badge {
  width: max-content;
  margin: 0 auto 2px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(143, 45, 242, .92), rgba(255, 45, 163, .92));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(255, 45, 163, .24);
}

.guard-motifs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 4px;
}

.guard-motifs span {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .08);
  color: #f7eaff;
  font-size: 12px;
  font-weight: 800;
}

.video-guard .btn.accent,
#startLesson {
  border: 0;
  background: linear-gradient(135deg, #8f2df2 0%, #ff2da3 100%) !important;
  color: #fff;
  box-shadow: 0 22px 52px rgba(255, 45, 163, .34);
}
