/* ============================================================
   SUPERFLY — AGE GATE
   Full-screen age-verification overlay shown before site access.
   Colors/fonts come from base.css. Edit the wording at the top of
   assets/js/age-gate.js (see EDITING-GUIDE.md §16).
   ============================================================ */

/* While the gate is up: lock scroll and hide the page content behind it
   (prevents a flash of the site before the overlay appears). */
html.sfg-lock { overflow: hidden !important; background: #0E0D0B; }
html.sfg-lock body { overflow: hidden !important; }
html.sfg-lock body > *:not(.superfly-agegate) { visibility: hidden !important; }

/* ===== Overlay ===== */
.superfly-agegate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse at 50% 32%, rgba(181, 122, 69, 0.12) 0%, transparent 58%),
    linear-gradient(180deg, #0E0D0B 0%, #050403 100%);
  font-family: 'Choplin', sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* subtle film grain — same texture the rest of the site already uses */
.superfly-agegate::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url('../images/texture-grain.png');
  background-size: 256px 256px;
  background-repeat: repeat;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.sfg-inner { position: relative; width: 100%; max-width: 540px; text-align: center; }

.sfg-logo { height: 42px; width: auto; display: block; margin: 0 auto 26px auto; mix-blend-mode: lighten; }

.sfg-rule { width: 60px; height: 1px; background: var(--gold); opacity: 0.75; margin: 0 auto 30px auto; }

.sfg-title {
  font-family: 'Whiskey Jill', 'Neue Haas Grotesk Display Pro', serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin: 0 0 16px 0;
}
.sfg-body {
  font-family: 'Helvetica Neue LT Std', sans-serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--cream-dim);
  margin: 0 0 34px 0;
}
/* date-of-birth entry */
.sfg-form { margin: 0 0 26px 0; }
.sfg-dob { display: flex; gap: 12px; justify-content: center; margin-bottom: 18px; }
.sfg-field { display: flex; flex-direction: column; align-items: flex-start; }
.sfg-field label {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-weight: 500; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: 7px;
}
.sfg-field input {
  width: 74px; background: rgba(0,0,0,0.4); border: 1px solid rgba(216,184,138,0.35);
  color: var(--cream); padding: 13px 10px; text-align: center;
  font-family: 'Choplin', sans-serif; font-weight: 200; font-size: 17px; letter-spacing: 0.12em;
}
.sfg-field.sfg-year input { width: 100px; }
.sfg-field input::placeholder { color: var(--cream-faint); letter-spacing: 0.2em; }
.sfg-field input:focus { outline: none; border-color: var(--gold); }
.sfg-error {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-style: italic; font-weight: 300;
  font-size: 13px; color: #E08A6A; margin: 0 0 16px 0;
}
.sfg-enter { width: 100%; max-width: 320px; }

.sfg-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.sfg-btn {
  font-family: 'Helvetica Neue LT Std', sans-serif;
  font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg-1);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.sfg-btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.sfg-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.sfg-ghost { background: transparent; color: var(--gold-soft); }
.sfg-ghost:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

.sfg-fine {
  font-family: 'Helvetica Neue LT Std', sans-serif;
  font-weight: 500; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 14px 0;
}
.sfg-legal {
  font-family: 'Helvetica Neue LT Std', sans-serif;
  font-style: italic; font-weight: 300; font-size: 12px; line-height: 1.5;
  color: var(--cream-faint); max-width: 420px; margin: 0 auto;
}

@media (max-width: 600px) {
  .sfg-actions { flex-direction: column; }
  .sfg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sfg-btn { transition: none; }
}
