/* ============================================================
   mapa.css — estilos exclusivos de atlasdaalma.com.br
   ============================================================ */

:root {
  --deep:       #06060f;
  --void:       #0c0c1e;
  --cosmos:     #111128;
  --nebula:     #1a1a3e;
  --gold:       #c9a84c;
  --gold-light: #e8c87a;
  --silver:     #a8b4d0;
  --white:      #f0eeea;
  --muted:      #6b7a9a;
  --accent:     #7c6fd4;
  --accent2:    #4a8fa8;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40%  8%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 25%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 55%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 12%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 85%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 60%, rgba(255,255,255,0.2) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Navegação ───────────────────────────────────────────── */

.mapa-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(6,6,15,0.95), transparent);
  backdrop-filter: blur(8px);
}

.mapa-nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-decoration: none;
}

.mapa-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
}

.mapa-container {
  max-width: 960px;
  margin: 0 auto;
}

/* ── Hero ────────────────────────────────────────────────── */

.mapa-hero-wrap {
  position: relative;
  text-align: center;
  margin-bottom: 3.5rem;
}

.mapa-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.mapa-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.mapa-title em {
  font-style: italic;
  color: var(--gold-light);
}

.mapa-subtitle {
  color: var(--silver);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
  letter-spacing: 0.03em;
}

/* ── Badge gratuito ──────────────────────────────────────── */

.mapa-badge-gratuito {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.45rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}

.mapa-badge-gratuito span {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* ── Formulário ──────────────────────────────────────────── */

.mapa-form-card {
  background:
    linear-gradient(
      135deg,
      rgba(26,26,62,.38),
      rgba(17,17,40,.52)
    );

  border: 1px solid rgba(201,168,76,.10);

  backdrop-filter: blur(2px);

  padding: 2.2rem;

  max-width: 560px;

  margin: 0 auto 3rem;

  border-radius: 8px;
}

.mapa-form-field { margin-bottom: 1.4rem; }

.mapa-form-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

.mapa-form-field input:not(.mapa-input) {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,180,208,0.2);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.mapa-form-field input:focus { border-color: rgba(201,168,76,0.4); }

.mapa-form-field input[type="date"],
.mapa-form-field input[type="time"] { color-scheme: dark; }

.mapa-form-field input::placeholder { color: var(--muted); }

.mapa-btn-primary {
  width: 100%;
  padding: 0.9rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.mapa-btn-primary:hover { background: var(--gold); color: var(--deep); }
.mapa-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Status ──────────────────────────────────────────────── */

#status-msg {
  text-align: center;
  font-size: 0.88rem;
  min-height: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--silver);
  transition: color 0.3s;
}

#status-msg[data-tipo="erro"]       { color: #e05555; }
#status-msg[data-tipo="ok"]         { color: var(--gold-light); }
#status-msg[data-tipo="carregando"] { color: var(--accent2); }

/* ── Layout resultado (duas colunas) ─────────────────────── */

.mapa-resultado {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.mapa-col-esquerda {
  flex: 0 0 auto;
  width: min(100%, 580px);
}

.mapa-col-direita {
  flex: 1;
  min-width: 300px;
}

#chart-container { width: 100%; }

/* ── Lista de planetas ───────────────────────────────────── */

.mapa-planetas-lista { width: 100%; }

.mapa-lista-secao { margin-bottom: 2rem; }

.mapa-lista-secao-titulo {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  margin-bottom: 0.6rem;
  display: block;
}

.mapa-lista-item {
  display: grid;
  grid-template-columns: 30px 1fr 72px 140px;
  gap: 0.6rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(168,180,208,0.07);
}

.mapa-lista-glifo {
  font-family: 'Segoe UI Symbol','Apple Symbols',serif;
  font-size: 1.2rem;
  color: var(--silver);
  text-align: center;
  line-height: 1;
}

.mapa-lista-nome { color: var(--white); font-size: 0.95rem; }

.mapa-lista-grau {
  font-family: 'Cormorant Garamond',serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  text-align: right;
  white-space: nowrap;
}

.mapa-lista-retro { color: #e05555; font-size: 0.78rem; margin-left: 2px; }

.mapa-lista-signo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--silver);
  font-size: 0.9rem;
}

.mapa-lista-signo-glifo {
  font-family: 'Segoe UI Symbol','Apple Symbols',serif;
  font-size: 1rem;
}

/* ── Lista de casas ──────────────────────────────────────── */

.mapa-lista-casa-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
}

.mapa-lista-item-destaque .mapa-lista-casa-num {
  background: rgba(201,168,76,0.28);
  font-weight: 700;
}

.mapa-lista-item-destaque .mapa-lista-nome {
  color: var(--gold-light);
  font-weight: 400;
}

/* ── Aspectário ──────────────────────────────────────────── */

.mapa-aspecto-wrap { width: 100%; margin-top: 1.8rem; }

.mapa-aspecto-titulo {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.mapa-aspecto-scroll { overflow-x: auto; }
.mapa-aspecto-tab { border-collapse: collapse; }

.mapa-asp-hdr {
  font-family: 'Segoe UI Symbol','Apple Symbols',serif;
  font-size: 0.98rem;
  color: var(--silver);
  padding: 3px 5px;
  text-align: center;
  font-weight: normal;
  min-width: 30px;
}

.mapa-asp-rhdr {
  font-family: 'Segoe UI Symbol','Apple Symbols',serif;
  font-size: 0.98rem;
  color: var(--silver);
  padding: 3px 8px 3px 0;
  text-align: right;
  font-weight: normal;
}

.mapa-asp-cell {
  width: 30px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  border: 1px solid rgba(168,180,208,0.07);
  background: rgba(26,26,62,0.25);
}

.mapa-asp-vazio { background: rgba(17,17,40,0.15); }
.mapa-asp-upper { background: transparent; border: none; }

.mapa-aspecto-legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.mapa-asp-leg-item span {
  font-family: 'Segoe UI Symbol','Apple Symbols',serif;
  font-size: 1rem;
  margin-right: 3px;
}

/* ── Autocomplete ────────────────────────────────────────── */

.mapa-cidade-wrapper { position: relative; }

.mapa-sugestoes {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cosmos);
  border: 1px solid rgba(201,168,76,0.35);
  border-top: none;
  z-index: 50;
  display: none;
  max-height: 220px;
  overflow-y: auto;
}

.mapa-sugestoes.aberto { display: block; }

.mapa-sugestao-item {
  padding: 0.65rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(168,180,208,0.08);
  transition: background 0.15s;
}

.mapa-sugestao-item:last-child { border-bottom: none; }
.mapa-sugestao-item:hover { background: rgba(201,168,76,0.08); }
.mapa-sugestao-cidade { font-size: 0.88rem; color: var(--white); font-weight: 400; }
.mapa-sugestao-detalhe { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }

/* ── Teaser card ─────────────────────────────────────────── */

.mapa-label-triade {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.8rem;
}

.mapa-teaser-card {
  padding: 2.8rem 2rem;
  background: linear-gradient(135deg, rgba(20,20,55,0.85), rgba(12,12,30,0.95));
  border: 1px solid rgba(201,168,76,0.35);
  text-align: center;
}

.mapa-teaser-estrela {
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.mapa-teaser-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.mapa-teaser-sub {
  color: var(--silver);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

.mapa-btn-teaser {
  padding: 0.9rem 2.8rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.mapa-btn-teaser:hover { background: var(--gold); color: var(--deep); }

/* ── Modal de leitura gratuita ───────────────────────────── */

.mapa-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,6,15,0.92);
  z-index: 300;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  overflow-y: auto;
  backdrop-filter: blur(6px);
}

.mapa-modal-overlay.aberto { display: flex; }

.mapa-modal {
  position: relative;
  background: #f8f5f0;
  border: 1px solid rgba(180,150,80,0.25);
  max-width: 720px;
  width: 100%;
  padding: 3rem 3rem 2.5rem;
  margin: auto;
}

.mapa-modal-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none;
  border: none;
  color: #888;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.mapa-modal-close:hover { color: #333; }

.mapa-modal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(180,150,80,0.2);
}

.mapa-modal .mapa-label { color: #8a6420; }

.mapa-modal-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  color: #1a1a2e;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.mapa-modal-titulo em { font-style: italic; color: #8a6420; }

.mapa-modal-corpo .mapa-texto-secao {
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(180,150,80,0.12);
}

.mapa-modal-corpo .mapa-texto-secao:last-child { border-bottom: none; }

.mapa-modal-corpo .mapa-texto-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 300;
  color: #1a1a2e;
  margin-bottom: 0.3rem;
}

.mapa-modal-corpo .mapa-texto-titulo em { font-style: italic; color: #8a6420; }

.mapa-modal-corpo .mapa-texto-subtitulo {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.2rem;
}

.mapa-modal-corpo .mapa-texto-corpo {
  color: #3a3a4a;
  font-size: 1.05rem;
  line-height: 1.95;
}

.mapa-modal-corpo .mapa-texto-corpo p { margin-bottom: 1rem; }
.mapa-modal-corpo .mapa-texto-corpo p:last-child { margin-bottom: 0; }

.mapa-modal-corpo .mapa-texto-corpo ul {
  list-style: none; padding: 0; margin-bottom: 1rem;
}

.mapa-modal-corpo .mapa-texto-corpo ul li {
  padding-left: 1.2rem; position: relative; margin-bottom: 0.4rem;
}

.mapa-modal-corpo .mapa-texto-corpo ul li::before {
  content: '✦'; position: absolute; left: 0;
  color: #b08030; font-size: 0.6rem; top: 0.35rem;
}

.mapa-modal-cta {
  text-align: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(180,150,80,0.2);
}

.mapa-modal-cta .mapa-cta-desc {
  color: #555;
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ── Form atômico (sem card de fundo) ────────────────────── */

.mapa-input {
  width: 100%;
  background: rgba(12,12,30,0.6);
  border: 1px solid rgba(168,180,208,0.18);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  color-scheme: dark;
  -webkit-appearance: none;
}
.mapa-input::placeholder { color: var(--muted); opacity: 0.7; }
.mapa-input:focus { border-color: var(--gold); background: rgba(12,12,30,0.85); }
.mapa-input[type="date"]::-webkit-calendar-picker-indicator,
.mapa-input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.75); cursor: pointer; opacity: 0.7;
}

.mapa-btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.mapa-btn-outline:hover { background: rgba(201,168,76,0.08); }
.mapa-btn-outline:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .mapa-resultado { flex-direction: column; align-items: center; }
  .mapa-col-esquerda { width: min(100%, 560px); }
  .mapa-col-direita  { width: 100%; max-width: 560px; }
}

@media (max-width: 768px) {
  .mapa-nav  { padding: 1rem 1.5rem; }
  .mapa-main { padding: 6rem 1.2rem 3rem; }
  .mapa-form-card { padding: 1.8rem 1.4rem; }
  .mapa-modal { padding: 2rem 1.4rem 2rem; }
}

@media (max-width: 600px) {
  .mapa-badge-gratuito { position: static; margin: 0 auto 1.2rem; display: inline-flex; }
}
/* ── Spinner de carregamento ─────────────────────────────── */
.mapa-spinner-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,6,15,0.7);
  z-index: 200;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}
.mapa-spinner-overlay.ativo { display: flex; }
.mapa-spinner {
  width: 52px; height: 52px;
  border: 2px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: mapa-spin 1s linear infinite;
}
.mapa-spinner-txt {
  color: var(--silver);
  font-size: 0.85rem;
  margin-top: 1.2rem;
  letter-spacing: 0.08em;
}
@keyframes mapa-spin { to { transform: rotate(360deg); } }
/* ── Navegação com menu ──────────────────────────────────── */

.mapa-nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.mapa-nav-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  text-shadow: 0 0 12px rgba(201,168,76,0.3);
}

.mapa-nav-link:hover { color: var(--gold); }

.mapa-nav-link.breve {
  color: var(--muted);
  opacity: 0.5;
  pointer-events: none;
  text-shadow: none;
}

.mapa-nav-link.breve::after {
  content: 'em breve';
  position: absolute;
  top: -9px; right: 0;
  font-size: 0.48rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  opacity: 0.8;
  white-space: nowrap;
}

.mapa-nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 600;
}

.mapa-nav-ham span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--silver);
  transition: all 0.35s;
  transform-origin: center;
}

.mapa-nav-ham.aberto span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mapa-nav-ham.aberto span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mapa-nav-ham.aberto span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay mobile */
.mapa-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,6,15,0.97);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(16px);
}

.mapa-nav-overlay.aberto {
  opacity: 1;
  pointer-events: all;
}

.mapa-nav-overlay-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.mapa-nav-overlay-close:hover { color: var(--white); }

.mapa-nav-overlay-inner { text-align: center; }

.mapa-nav-overlay-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 3rem;
}

.mapa-nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mapa-nav-overlay-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.1;
}

.mapa-nav-overlay-links a:hover { color: var(--gold-light); }

.mapa-nav-overlay-links a.breve { opacity: 0.4; pointer-events: none; }

.mapa-em-breve {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-left: 0.8rem;
  vertical-align: middle;
}

.mapa-nav-overlay-sub {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 0.2rem;
}

@media (max-width: 900px) {
  .mapa-nav-links { display: none; }
  .mapa-nav-ham   { display: flex; }
}

.mapa-nav-logo,
.mapa-nav-overlay-logo {
  display: flex;
  align-items: center;
}

.mapa-nav-logo img,
.mapa-nav-overlay-logo img {
  height: 64px;
  width: auto;
  display: block;
}
}
/* ── PWA Install Footer ───────────────────────────────────── */
.pwa-footer-wrap {
  position: relative;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
}

.pwa-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pwa-footer-btn:hover,
.pwa-footer-btn:focus-visible {
  background: var(--gold);
  color: var(--deep);
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.35);
  outline: none;
}

/* Tooltip iOS */
.pwa-ios-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--nebula);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--silver);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.pwa-ios-tooltip strong {
  color: var(--white);
}

.pwa-tooltip-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--nebula);
  border-right: 1px solid rgba(201, 168, 76, 0.3);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}
.pwa-footer-wrap {
  position: relative;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  text-align: center;
}