/* ========================================================
   ANDRES KEIL · AKT & KEHAVORM PRIVATE ARCHIVE STYLING
   ======================================================== */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.back-link:hover {
  background: var(--gold-primary);
  color: #060709;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

.lock-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-left: 10px;
  transition: var(--transition);
}

.lock-pill-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Password Gate Overlay */
.gate-overlay {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.gate-card {
  max-width: 580px;
  width: 100%;
  background: rgba(14, 16, 21, 0.85);
  backdrop-filter: blur(28px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.12);
}

.gate-lock-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.gate-label {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.gate-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.gate-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.gate-form {
  margin-bottom: 36px;
}

.input-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto 16px;
}

.input-wrapper input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 14px 44px 14px 20px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  outline: none;
  text-align: center;
  transition: var(--transition);
}

.input-wrapper input:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px var(--gold-glow);
}

.eye-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.eye-btn:hover {
  color: var(--gold-primary);
}

.gate-submit-btn {
  background: var(--gold-primary);
  color: #060709;
  border: none;
  padding: 14px 38px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.gate-submit-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 0 25px var(--gold-glow);
  transform: translateY(-2px);
}

.gate-error {
  display: none;
  color: #f87171;
  font-size: 0.85rem;
  margin-top: 12px;
}

.gate-error.active {
  display: block;
}

/* Literary Box Hints */
.gate-literary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: left;
}

.box-title {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.box-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.passphrase-chip {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--gold-light);
  font-size: 1.05rem;
  font-family: var(--font-serif);
  cursor: pointer;
  margin-bottom: 16px;
  text-align: center;
  transition: var(--transition);
}

.passphrase-chip:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
  transform: scale(1.02);
}

.alt-phrases {
  font-size: 0.8rem;
}

.alt-label {
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.alt-phrases ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alt-chip {
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.alt-chip span {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 4px;
}

.alt-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
}
