/* ============================================================
   AGE-GATE VISUAL STYLES
   Critical behavior (overlay positioning, overflow lock, visibility
   on pending state) is inlined in default.hbs <head> to prevent
   FOUC and CLS. This file only contains visual / cosmetic styles.
   ============================================================ */

.agegate-overlay {
  display: grid;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.agegate-lock {
  overflow: hidden;
}

.agegate-card {
  width: min(92vw, 420px);
  border-radius: 20px;
  background: rgba(20, 24, 32, 0.94);
  color: #fff;
  padding: 22px 20px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.agegate-logo img {
  display: block;
  margin: 0 auto 12px;
  max-width: 120px;
  height: auto;
}

.agegate-logo-fallback {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  font-size: 2rem;
}

.agegate-title {
  margin: 0 0 10px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.agegate-desc {
  margin: 0 0 16px;
  font-size: 1.45rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.agegate-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

.agegate-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.agegate-btn:hover {
  transform: translateY(-1px);
}

.agegate-btn-primary {
  background: #3b82f6;
  color: #fff;
}

.agegate-btn-primary:hover {
  background: #2563eb;
}

.agegate-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.agegate-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.agegate-note {
  margin-top: 12px;
  font-size: 1.15rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

.agegate-link {
  color: inherit;
}
