/* =============================================
   TELAS-INICIAIS.CSS — Tela inicial com assets
   ============================================= */

/* ---- TELA INICIAL ---- */
.tela-inicio {
  background-image: url('../assets/img/telas/tela-inicial/fundo.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.tela-inicio::before { display: none; }

/* 1. Banner */
.inicio-banner-wrap {
  width: 100%;
  padding: 28px 20px 0;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.inicio-banner-img {
  width: 90%;
  max-width: 360px;
  height: auto;
  display: block;
}

/* 2. Personagens */
.inicio-personagens-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 160px;
}

.inicio-personagens-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
}

/* 3. Botão Iniciar */
.inicio-acoes {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 24px 12px;
  flex-shrink: 0;
}

.btn-iniciar {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-iniciar:active {
  transform: scale(0.94);
  filter: brightness(0.88);
}

.btn-iniciar-img {
  width: auto;
  max-width: 240px;
  height: auto;
  display: block;
}

.btn-iniciar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dourado-biblico), var(--dourado-claro));
  color: var(--marrom-escuro);
  font-size: 1.15rem;
  font-weight: 900;
  padding: 18px 56px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(246, 198, 91, 0.5);
  letter-spacing: 0.5px;
}

/* 4. Rodapé IK — aparece em todas as telas */
.rodape-ik {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 24px 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
  flex-shrink: 0;
}

.rodape-ik-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
