/* Kerigma - Design System CSS & Custom Styles V3.1 (Full-Width, Fontes Ampliadas, Mapa Interativo & Imagens Imersivas) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --bg-dark: #090D16;
  --bg-card: #1E293B;
  --primary-purple: #8B5CF6;
  --primary-blue: #3B82F6;
  --accent-gold: #F59E0B;
  --accent-emerald: #10B981;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15), transparent 45%),
    radial-gradient(circle at 100% 50%, rgba(59, 130, 246, 0.1), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(245, 158, 11, 0.08), transparent 40%);
  background-attachment: fixed;
  color: #F8FAFC;
  font-size: 1.05rem; /* Fonte base ampliada para máxima legibilidade */
  line-height: 1.7;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* Redesign Tipográfico - Escala Visual Expandida */
h1, .h1 { font-size: 2.25rem; line-height: 2.75rem; font-weight: 900; letter-spacing: -0.02em; }
h2, .h2 { font-size: 1.75rem; line-height: 2.25rem; font-weight: 800; }
h3, .h3 { font-size: 1.4rem; line-height: 1.9rem; font-weight: 700; }
p, label, input, select, textarea { font-size: 1.05rem; }
button { font-size: 1rem; }

/* Utilidades de Tela de Largura Total */
.app-container-full {
  width: 100%;
  max-width: 100% !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1536px) {
  .app-container-full {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Scrollbar personalizada premium */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #090D16;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
  border: 2px solid #090D16;
}

/* Modal Overlay & Box */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background-color: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-box {
  background-color: #1E293B;
  border-radius: 1.75rem;
  width: 100%;
  max-width: 38rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.8);
  animation: bounceIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Banner Principal de Fundo Épico */
.hero-gamified-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(9, 13, 22, 0.96) 100%),
              url('assets/img/hero_biblical_banner.png') center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Container do Mapa da Jornada do Time */
.mapa-jornada-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%),
              url('assets/img/mapa_equipe_jornada.png') center/cover no-repeat;
  border-radius: 2rem;
  border: 2px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(245, 158, 11, 0.15);
  position: relative;
  min-height: 380px;
}

/* Checkpoints do Mapa */
.map-node {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.map-node:hover {
  transform: scale(1.15) translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(245, 158, 11, 0.6));
}

/* Cards com Glassmorphism Expandidos */
.glass-card {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.45);
  border-radius: 1.75rem;
}

.glass-card-hover {
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 20px 56px 0 rgba(139, 92, 246, 0.3);
}

/* Gradiantes Vibrantes */
.gradient-purple-blue {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #D946EF 100%);
}

.gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.gradient-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.gradient-dark-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%),
              radial-gradient(circle at top right, rgba(139, 92, 246, 0.35), transparent 70%);
}

/* Animações Gamificadas */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
  }
  50% {
    box-shadow: 0 0 36px rgba(245, 158, 11, 0.85);
  }
}

.glow-xp {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.03);
  }
  80% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

.animate-bounce-in {
  animation: bounceIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Barra de Progresso Animada */
.progress-bar-fill {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Opções de Quiz Selecionadas */
.quiz-option {
  padding: 1.15rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 1.25rem;
  transition: all 0.2s ease;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.7);
}
.quiz-option:hover {
  border-color: rgba(139, 92, 246, 0.65);
  background: rgba(139, 92, 246, 0.22);
}
.quiz-option.selected {
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.4);
}

/* Bottom Navigation Bar Mobile */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(9, 13, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0;
  color: #94A3B8;
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.bottom-nav-item.active {
  color: #8B5CF6;
}
.bottom-nav-item.active svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.6));
}
