/* shared/legal-footer/legal-footer.css — pin: legal-footer-1.0.0
 *
 * Stab LF-1. Styling for the three-icon footer (Legal/Support/Share)
 * and the small Legal links overlay (Privacy/Terms/Responsible Play/
 * Provably Fair). Mirrors apex's lobby-footer + #legalOv visual style
 * so a footer rendered inside the /auth/ iframe looks identical to
 * apex's home-page footer.
 *
 * Depends on shared/modal/modal.css for the overlay shell
 * (.gam-modal-ov / .gam-modal-backdrop / .gam-modal-card / etc.).
 * Consumers must load both stylesheets.
 *
 * Color variables fall back to literal hex values so the module works
 * even when a consumer's stylesheet hasn't defined the platform
 * palette (e.g. lazy mount during tests).
 */

/* ─── Footer strip ──────────────────────────────────────────────── */
.lf-footer {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 8px 12px;
  white-space: nowrap;
  min-width: 0;
}

.lf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--gold-lt, #f0c252);
  text-decoration: none;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 0 4px rgba(255, 227, 154, 0.30));
  transition: color 0.18s, filter 0.18s, transform 80ms ease;
}
.lf-icon:hover {
  color: var(--cream, #fff5d8);
  filter: drop-shadow(0 0 6px rgba(255, 227, 154, 0.55));
}
.lf-icon:active { transform: translateY(1px); }
.lf-icon svg { display: block; }

.lf-icon-sep {
  color: var(--cyan-soft, #8fcdff);
  opacity: 0.45;
  flex: 0 0 auto;
}

/* ─── Legal links overlay ──────────────────────────────────────────
 * Built on shared/modal/modal.css's .gam-modal-* chassis so the
 * overlay shell (open transition, backdrop blur, mobile sheet vs
 * desktop centered card) matches the platform's other modals.
 *
 * .lf-legal-ov is the scope class — anything specific to the legal
 * panel (row styling, body padding for the 4-row list) lives below.
 */
.lf-legal-ov .gam-modal-body {
  padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
}

.lf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(2, 7, 15, 0.45);
  border: 1px solid rgba(240, 194, 82, 0.30);
  color: var(--cream, #fff5d8);
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s, background 0.18s, transform 0.06s;
  -webkit-tap-highlight-color: transparent;
}
.lf-row + .lf-row { margin-top: 8px; }
.lf-row:hover  { border-color: var(--gold-lt, #f0c252); background: rgba(20, 42, 100, 0.55); }
.lf-row:active { transform: translateY(1px); }

.lf-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(180deg,
    var(--gold-glow, #ffe39a) 0%,
    var(--gold-lt,   #f0c252) 60%,
    var(--gold,      #c98f1f) 100%);
  color: #1a1408;       /* dark stroke inside the gold circle */
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.40);
}
.lf-row-icon svg { width: 20px; height: 20px; display: block; }

/* PF row uses the brand-mark gold shield SVG (with its own internal
 * gradient + stroke), so the surrounding circle is dropped — the
 * shield reads as the icon directly, intentionally distinct from the
 * dark-outline-on-gold-circle pattern used by the other three rows. */
.lf-row-icon.lf-row-icon-pf {
  background: transparent;
  box-shadow: none;
}
.lf-row-icon.lf-row-icon-pf svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 4px rgba(255, 227, 154, 0.40));
}

.lf-row-label { flex: 1 1 auto; }

.lf-row-meta {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cyan-soft, #8fcdff);
  min-width: 60px;
  justify-content: flex-end;
}
