/* ============================================================
   NUDE.GAMES — XV-style theme (pure black + signature yellow)
   ============================================================ */

:root {
  --ink: #000000;
  --ink-2: #0a0a0a;
  --ink-3: #121212;
  --ink-4: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);

  --white: #ffffff;
  --white-2: #d8d8d8;
  --dim: #9a9a9a;
  --muted: #6a6a6a;
  --faint: #3a3a3a;

  --yellow: #ffa000;
  --yellow-hi: #ffb733;
  --yellow-lo: #cc7a00;
  --yellow-soft: rgba(255, 160, 0, 0.12);
  --yellow-line: rgba(255, 160, 0, 0.32);

  --discord: #5865f2;
  --discord-hi: #7983f5;

  --err: #ff3333;

  --f-sans: "Inter", Arial, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 3px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--f-sans);
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input, textarea { font-family: inherit; }

::selection { background: var(--yellow); color: #000; }

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid; place-items: center;
  padding: 24px;
}
.age-gate.is-hidden { display: none; }
.age-gate__panel {
  width: 100%; max-width: 480px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 40px 36px 32px;
  position: relative;
}
.age-gate__panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
}
.age-gate__badge {
  position: absolute; top: 24px; right: 28px;
  width: 52px; height: 52px;
  border-radius: var(--r);
  background: var(--yellow);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  display: grid; place-items: center;
  letter-spacing: -0.02em;
}
.age-gate__badge span { font-size: 12px; margin-top: -3px; }
.age-gate__brand {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.age-gate__title {
  font-weight: 800;
  font-size: 40px;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}
.age-gate__copy { color: var(--dim); margin: 0 0 24px; font-size: 14.5px; }
.age-gate__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 22px; font-size: 13.5px; }
.btn--primary {
  background: var(--yellow);
  color: #fff;
  border-color: var(--yellow);
}
.btn--primary:hover { background: var(--yellow-hi); border-color: var(--yellow-hi); color: #fff; }
.btn--primary:active { transform: translateY(1px); }
.btn--primary:disabled { opacity: .5; cursor: not-allowed; }
.btn--white {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.btn--white:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

/* Loading spinner */
.btn.is-loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}
.btn.is-loading svg { opacity: 0; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn--outline {
  border-color: var(--line-2);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--ghost { color: var(--dim); }
.btn--ghost:hover { color: var(--white); }

/* ============================================================
   STAGE LAYOUT
   ============================================================ */
.stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 440px 1fr;
}

/* LEFT RAIL */
.stage__rail {
  position: relative;
  padding: 40px 48px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line-2);
  background: var(--ink-2);
  overflow: hidden;
  min-height: 100vh;
}
.rail__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rail__glow {
  position: absolute;
  top: -180px; left: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,160,0,0.08) 0%, transparent 60%);
  filter: blur(40px);
}
.rail__top, .rail__middle, .rail__bottom { position: relative; z-index: 1; }
.rail__middle { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  transition: transform .2s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand:hover .brand__mark { box-shadow: 0 0 0 1px var(--yellow-line), 0 8px 24px rgba(255,160,0,0.18); }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 5px;
  position: relative;
  flex-shrink: 0;
  transition: box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(255,160,0,0.08);
}
.brand__mark svg {
  width: 100%; height: 100%;
  display: block;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
}
.brand__text {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--white);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--yellow);
  margin: 0 4px;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(255,160,0,0.6);
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
}

.rail__title {
  font-weight: 900;
  font-size: clamp(46px, 4.8vw, 62px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: var(--white);
  text-transform: uppercase;
}
.rail__title span { display: block; }
.rail__title em {
  display: block;
  font-style: normal;
  color: var(--yellow);
}
.rail__sub {
  font-size: 14px;
  color: var(--dim);
  max-width: 300px;
  margin: 0 0 32px;
  line-height: 1.55;
}

/* Mascot — fixed 300px footprint, aspect ratio preserved */
.mascot {
  position: relative;
  height: 300px;
  margin: -12px 0 -8px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.mascot::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,160,0,0.18) 0%, transparent 60%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.mascot img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.55));
}

@media (max-width: 1080px) {
  .mascot { height: 240px; }
}
@media (max-width: 560px) {
  .mascot { height: 220px; }
}

/* Showcase / Featured (legacy, unused) */
.showcase {
  margin: 0 0 24px;
  padding: 0;
}
.showcase__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
.showcase__inner {
  display: flex; align-items: stretch; gap: 14px;
  padding: 14px;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.showcase__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(255,160,0,0.10), transparent 60%);
  pointer-events: none;
}
.showcase__inner:hover {
  border-color: var(--yellow-line);
  transform: translateY(-1px);
}
.showcase__art {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 96px;
  background:
    linear-gradient(180deg, #1a1310 0%, #0d0a08 100%);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  display: grid; place-items: end center;
}
.showcase__art img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  height: 92%;
  width: auto;
  display: block;
}
.showcase__age {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--yellow);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 2px;
  letter-spacing: 0;
  line-height: 1;
}
.showcase__info {
  margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  justify-content: center;
  min-width: 0;
}
.showcase__info strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.showcase__info span {
  font-size: 12px;
  color: var(--white-2);
}
.showcase__info em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 4px;
}

/* Discord CTA */
.discord {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--discord);
  border-radius: var(--r);
  color: #fff;
  transition: all .15s ease;
  position: relative;
  overflow: hidden;
}
.discord:hover {
  background: var(--discord-hi);
  transform: translateY(-1px);
}
.discord__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
  flex-shrink: 0;
}
.discord__icon svg { width: 18px; height: 18px; }
.discord__body { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.discord__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: .8;
}
.discord__title {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.discord__arrow { opacity: .7; transition: transform .15s ease; flex-shrink: 0; }
.discord:hover .discord__arrow { transform: translate(2px, -2px); opacity: 1; }

/* About block */
.about {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__text {
  font-size: 13.5px;
  color: var(--white-2);
  margin: 10px 0 20px;
  line-height: 1.55;
  max-width: 320px;
}
.about__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.stat {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.stat__num {
  font-weight: 800;
  font-size: 20px;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__num em {
  font-style: normal;
  color: var(--yellow);
  font-size: 14px;
  margin-left: 1px;
}
.stat__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Rail bottom */
.rail__contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.rail__label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail__contact a {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--white);
  transition: color .15s ease;
}
.rail__contact a:hover { color: var(--yellow); }
.rail__sig {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.age-mark {
  display: inline-grid; place-items: center;
  padding: 4px 8px;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
  background: var(--yellow);
  border-radius: 2px;
}
.rail__year {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   RIGHT MAIN
   ============================================================ */
.stage__main {
  padding: 72px 72px 146px;
  display: flex;
  align-items: flex-start;
  background: var(--ink);
  min-height: 100vh;
}
.flow {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.form__head {
  margin: 0 0 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.form__index {
  display: inline-block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
.form__title {
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 6px;
  color: var(--white);
  text-transform: uppercase;
}
.form__sub {
  color: var(--dim);
  font-size: 14px;
  margin: 0;
}

.form__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.form__hint {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.form__error {
  margin: 20px 0 0;
  padding: 12px 14px;
  background: rgba(255, 51, 51, 0.06);
  border: 1px solid rgba(255, 51, 51, 0.3);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--white-2);
}
.form__error[hidden] { display: none; }
.form__error strong {
  color: var(--err);
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============================================================
   FIELDS
   ============================================================ */
.field {
  margin-bottom: 24px;
  position: relative;
}
.field > label {
  display: block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
  transition: color .15s ease;
}
.req { color: var(--yellow); }

.field input,
.field textarea {
  width: 100%;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 12px 14px;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 400;
  transition: all .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--ink-4);
}
.field:focus-within > label { color: var(--yellow); }

.field.has-error input,
.field.has-error textarea { border-color: var(--err); }
.field.has-error > label { color: var(--err); }
.field.has-error .field__err { opacity: 1; }

.field__err {
  display: block;
  opacity: 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--err);
  margin-top: 8px;
  transition: opacity .2s ease;
}
.field__err--inline {
  margin-top: -12px;
  margin-bottom: 20px;
}
.field__err--inline.is-shown { opacity: 1; }

/* ============================================================
   GAMES LIST — repeatable rows (capped, internal scroll)
   ============================================================ */
.games {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 232px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow-line) transparent;
}
.games::-webkit-scrollbar { width: 6px; }
.games::-webkit-scrollbar-track { background: transparent; }
.games::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 3px;
}
.games::-webkit-scrollbar-thumb:hover { background: var(--yellow-line); }
.game-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  position: relative;
}
.game-row__num {
  flex-shrink: 0;
  width: 36px;
  display: grid; place-items: center;
  background: var(--ink-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
}
.game-row__input { flex: 1; min-width: 0; }
.game-row__input input {
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 12px 14px;
  color: var(--white);
  font-size: 14.5px;
  width: 100%;
  transition: all .15s ease;
}
.game-row__input input:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--ink-4);
}
.game-row.has-error .game-row__input input { border-color: var(--err); }
.game-row.has-error .game-row__num { border-color: var(--err); color: var(--err); }

.game-row__remove {
  flex-shrink: 0;
  width: 36px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--muted);
  transition: all .15s ease;
}
.game-row__remove:hover {
  color: var(--err);
  border-color: var(--err);
}
.game-row__remove svg { width: 14px; height: 14px; }
.game-row__remove[disabled] {
  opacity: 0;
  pointer-events: none;
}

.add-btn {
  margin-top: 10px;
  padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  color: var(--white-2);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .15s ease;
}
.add-btn span {
  font-size: 18px;
  line-height: 1;
  color: var(--yellow);
  font-weight: 800;
}
.add-btn:hover {
  border-color: var(--yellow);
  border-style: solid;
  color: var(--white);
  background: var(--yellow-soft);
}

/* ============================================================
   CONFIRM
   ============================================================ */
.confirm {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow-line);
  border-radius: var(--r);
  margin: 4px 0 8px;
  cursor: pointer;
  transition: all .15s ease;
}
.confirm:hover {
  background: rgba(255,160,0,0.18);
  border-color: rgba(255,160,0,0.5);
}
.confirm input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.confirm__box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 2px;
  border: 1.5px solid var(--yellow-line);
  background: transparent;
  display: grid; place-items: center;
  color: transparent;
  transition: all .15s ease;
}
.confirm__box svg { width: 13px; height: 13px; }
.confirm input:checked + .confirm__box {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000;
}
.confirm__label {
  font-size: 13.5px;
  color: var(--white);
  line-height: 1.5;
}
.confirm__label strong {
  color: var(--yellow);
  font-weight: 800;
}

/* ============================================================
   SUCCESS
   ============================================================ */
.success {
  display: flex; flex-direction: column; align-items: flex-start;
  padding-top: 8px;
  animation: successIn .5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.success[hidden] { display: none; }
.success__seal {
  animation: sealPop .55s cubic-bezier(0.2, 1.5, 0.3, 1) .15s both;
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sealPop {
  0% { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* Form fade-out when submitting */
.flow.is-leaving > *:not(.success) {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.success__seal {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.success__seal svg { width: 28px; height: 28px; }
.success__title {
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1;
  text-transform: uppercase;
}
.success__text { color: var(--dim); font-size: 14.5px; margin: 0 0 24px; }
.success__text span { color: var(--white); font-weight: 700; }
.success__ref {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--ink-2);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.success__ref code {
  color: var(--yellow);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.success__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   FOOTER (fixed / sticky to viewport bottom)
   ============================================================ */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-top: 1px solid var(--line-2);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  padding: 18px 0;
}
.footer__inner {
  width: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__contact {
  display: flex; flex-direction: column; gap: 4px;
}
.footer__label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__contact a {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--white);
  transition: color .15s ease;
}
.footer__contact a:hover { color: var(--yellow); }
.footer__sig {
  display: flex; align-items: center; gap: 14px;
}
.footer__year {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 560px) {
  .footer__inner { padding: 0 22px; }
  .footer__sig { gap: 10px; }
  .footer__year { font-size: 10px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 360px 1fr; }
  .stage__rail { padding: 36px 36px; }
  .stage__main { padding: 56px 48px 130px; }
}

@media (max-width: 880px) {
  .stage { grid-template-columns: 1fr; }
  .stage__rail {
    min-height: auto;
    padding: 28px 24px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
  .rail__middle { padding: 24px 0 16px; }
  .rail__title { font-size: 40px; margin-bottom: 12px; }
  .rail__sub { margin-bottom: 24px; max-width: none; }
  .rail__bottom { display: none; }
  .stage__main { padding: 36px 24px 130px; }
}

@media (max-width: 560px) {
  .stage__rail { padding: 24px 20px 20px; }
  .stage__main { padding: 28px 20px 130px; }
  .rail__title { font-size: 34px; }
  .form__title { font-size: 28px; }
  .form__foot { flex-direction: column-reverse; align-items: stretch; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .form__hint { text-align: center; }
  .age-gate__panel { padding: 32px 24px 24px; }
  .age-gate__title { font-size: 32px; }
  .success__actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
