/**
 * Full-screen Cloudflare Turnstile gate — dark theme (CUATAS).
 * body.cuatas-security-verified hides the overlay (same idea as Leis Resort).
 */
.cuatas-security-gate {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(160deg, #0a0c10 0%, #12151c 45%, #0d0f14 100%);
  overflow-y: auto;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

body.cuatas-security-verified .cuatas-security-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cuatas-security-gate-inner {
  width: 100%;
  max-width: 26rem;
  text-align: center;
}

.cuatas-security-gate-mark {
  margin: 0 auto 1.25rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cuatas-security-gate-rays {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffbd59, #f38020 42%, #e35200);
  box-shadow: 0 0 0 0 rgba(243, 128, 32, 0.4);
  animation: cuatas-security-orb 1.6s ease-out infinite;
}

@keyframes cuatas-security-orb {
  50% {
    box-shadow: 0 0 0 14px rgba(243, 128, 32, 0);
  }
}

.cuatas-security-gate-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  line-height: 1.3;
}

.cuatas-security-gate-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #94a3b8;
}

.cuatas-security-gate-widget-wrap {
  display: flex;
  justify-content: center;
  min-height: 4.25rem;
  margin: 0 0 0.75rem;
}

.cuatas-security-gate-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
}

.cuatas-security-gate-noscript {
  margin: 1rem 0 0;
  padding: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

body.cuatas-turnstile-active {
  overflow: hidden;
}

body.cuatas-turnstile-active.cuatas-security-verified {
  overflow: auto;
}
