/* 1) Overlay escuro cobrindo toda a tela */
#install-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}
#install-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* 2) Banner “card” com efeito 3D e glassmorphism */
#install-banner {
  width: 90%;
  max-width: 360px;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transform: perspective(800px) rotateX(15deg) scale(0.9);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
#install-overlay.show #install-banner {
  transform: perspective(800px) rotateX(0deg) scale(1);
  opacity: 1;
}

/* 3) Ícone do App no topo, centralizado */
.install-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
}

/* 4) Conteúdo interno: título, texto e botões */
.banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

/* título já centralizado por default */
.banner-content h2 {
  margin: 0;
}

/* texto alinhado à esquerda, ocupando toda a largura interna */
.banner-text {
  align-self: stretch;
  text-align: left;
  margin: 0;
  line-height: 1.4;
}

/* 5) Botões lado a lado, responsivos */
.banner-buttons {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* estilo comum */
.banner-buttons button {
  flex: 1;
  max-width: 140px;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s ease;
  color: #fff;
}

/* instalar: verde */
#btn-install {
  background: #bcd250;
  color: white;
  transition: background 0.3s ease, transform 0.2s ease;
}

#btn-install:hover {
  background: #9fb43d;
  color: white;
  transform: scale(1.03);
}

/* fechar: vermelho */
#btn-dismiss {
  background: #dc3545;
}
#btn-dismiss:hover {
  background: #c82333;
}

.ios-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
}
