.turnstile-overlay {
  position: absolute;
  inset: 0;
  z-index: 999;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.turnstile-overlay.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.turnstile-widget-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65px;
  min-width: 300px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.85));
}

.dl-security-card {
  max-width: 480px !important;
  padding: 30px 24px 24px !important;
  background: linear-gradient(155deg, rgba(16, 22, 36, 0.98), rgba(9, 13, 24, 0.99)) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 176, 244, 0.15) !important;
  position: relative;
  border-radius: 26px;
}

.dl-sec-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.dl-sec-icon-wrap.captcha-mode {
  background: rgba(0, 176, 244, 0.12);
  border: 1.5px solid rgba(0, 176, 244, 0.38);
  color: #00b0f4;
  box-shadow: 0 0 30px rgba(0, 176, 244, 0.22);
}

.dl-sec-icon-wrap.success-mode {
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  color: #10b981;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.28);
  animation: dlSuccessPulse 2.2s infinite ease-in-out;
}

@keyframes dlSuccessPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 45px rgba(16, 185, 129, 0.45);
  }
}

.dl-turnstile-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: 18px 0 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 10px;
}

.dl-sec-footnote {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
}

.dl-status-badge {
  border-radius: 18px;
  padding: 16px;
  margin: 18px 0 16px;
  text-align: left;
}

.dl-status-badge.free {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dl-status-badge.premium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(217, 119, 6, 0.08));
  border: 1.5px solid rgba(245, 158, 11, 0.42);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
}

.dl-status-badge.premium svg {
  width: 32px;
  height: 32px;
  color: #fbbf24;
  flex: none;
}

.dl-status-badge.premium .prem-title {
  font-size: 14px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 2px;
}

.dl-status-badge.premium .prem-sub {
  font-size: 12px;
  color: #fde68a;
}

.dl-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
}

.dl-status-count-tag {
  background: rgba(0, 176, 244, 0.15);
  border: 1px solid rgba(0, 176, 244, 0.35);
  color: #38bdf8;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.2px;
}

.dl-status-progress {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.dl-status-fill {
  height: 100%;
  background: linear-gradient(90deg, #00b0f4 0%, #38bdf8 60%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-status-note {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dl-status-note strong {
  color: #e2e8f0;
}

.dl-sec-btn-done {
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00b0f4, #0284c7);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 176, 244, 0.3);
  transition: all 0.2s ease;
}

.dl-sec-btn-done:hover {
  background: linear-gradient(135deg, #38bdf8, #00b0f4);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 176, 244, 0.4);
}