/* ============================================================
   ACCESS GATE & WATERMARK
   ============================================================ */

/* Hide the deck until access is granted */
html.gate-locked body { overflow: hidden; }
html.gate-locked > body > * { visibility: hidden; }
html.gate-locked .gate-overlay { visibility: visible !important; }

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(180deg, #000 0%, #0A0A0B 60%, #121214 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

/* Subtle gold pattern in the background */
.gate-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.06) 0%, transparent 35%);
  pointer-events: none;
}

.gate-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(10, 10, 11, 0.92);
  border: 1px solid rgba(201, 169, 97, 0.20);
  border-radius: 4px;
  padding: 40px 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02);
  z-index: 1;
}

.gate-logo {
  display: block;
  height: 28px;
  width: auto;
  margin: 0 auto 18px;
  opacity: 0.95;
}

.gate-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 10px;
}

.gate-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.25;
}

.gate-sub {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
  margin: 0 0 26px;
}

.gate-rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0 0 22px;
}

/* Form fields */
.gate-form { display: flex; flex-direction: column; gap: 14px; }

.gate-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-2);
  text-transform: uppercase;
  margin: 0 0 6px;
}

.gate-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.gate-input:focus {
  border-color: var(--gold-2);
  background: rgba(255, 255, 255, 0.05);
}
.gate-input::placeholder { color: var(--muted); }

.gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .gate-row { grid-template-columns: 1fr; } }

.gate-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}
.gate-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
  height: 14px;
  accent-color: var(--gold-2);
  cursor: pointer;
}
.gate-check span strong { color: var(--ink); font-weight: 500; }

.gate-btn {
  margin-top: 8px;
  width: 100%;
  padding: 13px 18px;
  background: var(--gold-2);
  color: #0A0A0B;
  border: 1px solid var(--gold-2);
  border-radius: 2px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, transform 80ms ease;
}
.gate-btn:hover { background: #E5C56A; }
.gate-btn:active { transform: translateY(1px); }
.gate-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.gate-error {
  font-size: 12px;
  color: #E27D6B;
  text-align: center;
  margin: 8px 0 0;
  min-height: 16px;
}

.gate-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

/* Step transitions */
.gate-step { display: none; }
.gate-step.active { display: block; }

/* ============================================================
   PREPARED-FOR BAR (sits at the very top of the page after access)
   ============================================================ */

.prepared-bar {
  width: 100%;
  background: linear-gradient(180deg, #0A0A0B 0%, #000 100%);
  border-bottom: 1px solid rgba(201, 169, 97, 0.30);
  padding: 9px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  user-select: none;
}
.prepared-bar .pb-label {
  color: var(--gold-2);
  font-weight: 600;
  letter-spacing: 0.18em;
}
.prepared-bar .pb-sep {
  color: var(--gold-dim);
  font-weight: 600;
}
.prepared-bar .pb-for {
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.10em;
}
.prepared-bar .pb-for strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
  margin-left: 4px;
}

@media (max-width: 720px) {
  .prepared-bar {
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: 0.10em;
    flex-wrap: wrap;
    text-align: center;
  }
  .prepared-bar .pb-for strong { font-size: 11px; }
}

@media print {
  .prepared-bar {
    border-bottom: 1px solid #C9A961 !important;
    color: #000 !important;
    background: #fff !important;
  }
  .prepared-bar .pb-label,
  .prepared-bar .pb-sep,
  .prepared-bar .pb-for,
  .prepared-bar .pb-for strong { color: #000 !important; }
  .disclaimer-strip { display: none; }
}
