/* ==========================================================================
   WI-FI CELESTIAL - DESIGN SYSTEM & STYLING
   Inspirado no livro de Vanessa Bosso (V.C. Boss)
   Iluminado pelos Ensinamentos de Cristo e o Sermão da Montanha
   ========================================================================== */

:root {
  /* Paleta Celestial Quântica & Real */
  --bg-cosmos: #060914;
  --bg-cosmos-deep: #03050c;
  --bg-card: rgba(13, 21, 45, 0.72);
  --bg-card-hover: rgba(20, 32, 68, 0.85);
  --bg-card-solid: #0d152d;
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --bg-glass-border-gold: rgba(229, 184, 105, 0.25);
  
  /* Cores de Acento */
  --gold-primary: #E5B869;
  --gold-light: #F7D794;
  --gold-dark: #B8860B;
  --cyan-quantum: #4FD1C5;
  --cyan-glow: #38B2AC;
  --indigo-5d: #6366F1;
  --magenta-vortex: #EC4899;
  --emerald-dharma: #10B981;
  --ruby-royal: #E11D48;
  
  /* Textos */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-gold: #FCE7B8;

  /* Fontes */
  --font-heading: 'Cinzel', serif, system-ui;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras & Brilhos */
  --shadow-celestial: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --glow-gold: 0 0 20px rgba(229, 184, 105, 0.35);
  --glow-cyan: 0 0 20px rgba(79, 209, 197, 0.35);
  
  /* Transições */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-cosmos);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Canvas */
#quantum-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* App Wrapper */
#app-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   CABEÇALHO CELESTIAL
   ========================================================================== */
.celestial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--bg-glass-border);
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-symbol {
  width: 46px;
  height: 46px;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.2) 0%, rgba(13, 21, 45, 0.8) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-gold);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.brand-symbol:hover {
  transform: scale(1.08) rotate(5deg);
}

.wifi-divine-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 6;
  stroke-linecap: round;
}

.wifi-dot {
  fill: var(--gold-light);
  stroke: none;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(247, 215, 148, 0.4);
}

.brand-subtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--cyan-quantum);
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border-gold);
  color: var(--gold-light);
  padding: 8px 14px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.icon-btn:hover, .icon-btn.playing {
  background: rgba(229, 184, 105, 0.2);
  border-color: var(--gold-primary);
  box-shadow: var(--glow-gold);
}

.vibration-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-dharma);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-dharma);
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* ==========================================================================
   NAVEGAÇÃO / ABAS
   ========================================================================== */
.celestial-nav {
  margin: 20px 0 28px;
  position: sticky;
  top: 10px;
  z-index: 100;
}

.nav-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(10, 16, 35, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-tab .nav-icon {
  font-size: 1.1rem;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(229, 184, 105, 0.2) 0%, rgba(13, 21, 45, 0.9) 100%);
  border: 1px solid var(--bg-glass-border-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-tab.highlight-tab {
  border: 1px solid rgba(229, 184, 105, 0.3);
  color: var(--gold-light);
}

/* ==========================================================================
   CARDS & CONTAINERS GERAIS
   ========================================================================== */
.celestial-main {
  flex: 1;
  margin-bottom: 40px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.celestial-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-celestial);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.celestial-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.glow-card {
  border-color: var(--bg-glass-border-gold);
  box-shadow: var(--shadow-celestial), 0 0 25px rgba(229, 184, 105, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section-intro {
  margin-bottom: 24px;
}

.intro-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  background: rgba(229, 184, 105, 0.15);
  border: 1px solid rgba(229, 184, 105, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.section-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-intro p {
  color: var(--text-secondary);
  max-width: 800px;
  font-size: 1rem;
}

/* ==========================================================================
   BOTÕES & INPUTS
   ========================================================================== */
.btn-celestial-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, #C49746 100%);
  color: #0B0E1A;
  border: none;
  padding: 12px 22px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(229, 184, 105, 0.3);
  transition: var(--transition-smooth);
}

.btn-celestial-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 184, 105, 0.45);
}

.btn-celestial-gold {
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
  color: #070B19;
  border: none;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
  transition: var(--transition-bounce);
}

.btn-celestial-gold:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
}

.btn-celestial-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--bg-glass-border);
  padding: 12px 20px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-celestial-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-action-sm {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-action-sm:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.celestial-input, .celestial-select, .celestial-textarea {
  width: 100%;
  background: rgba(8, 14, 30, 0.8);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.celestial-input:focus, .celestial-select:focus, .celestial-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(229, 184, 105, 0.25);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* ==========================================================================
   1. DASHBOARD STYLES
   ========================================================================== */
.welcome-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}

.tag-celestial {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--cyan-quantum);
  text-transform: uppercase;
}

.welcome-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin: 6px 0 10px;
  line-height: 1.4;
}

.welcome-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 650px;
}

.welcome-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.stat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bg-glass-border);
  padding: 8px 14px;
  border-radius: 12px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Sincronicidade */
.synchro-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #E2E8F0;
  font-style: italic;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 3px solid var(--gold-primary);
  margin-bottom: 16px;
}

.synchro-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.synchro-principle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-quantum);
}

.btn-refresh-synchro {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-refresh-synchro:hover {
  color: var(--gold-light);
}

/* Termômetro 3D vs 5D */
.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.label-3d { color: #F87171; }
.label-5d { color: #34D399; }

.celestial-slider {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #EF4444 0%, #F59E0B 40%, #10B981 80%, #6366F1 100%);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.celestial-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFF;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.gauge-status-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.frequency-hertz {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan-quantum);
}

.frequency-state {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}

.gauge-recommendation {
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Ações Rápidas */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quick-act-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.quick-act-btn:hover {
  background: rgba(229, 184, 105, 0.1);
  border-color: var(--bg-glass-border-gold);
  transform: translateY(-2px);
}

.act-icon {
  font-size: 1.4rem;
}

.act-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.act-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Vórtice Card */
.vortex-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vortex-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   2. ENSINAMENTOS DE CRISTO & SERMÃO DA MONTANHA
   ========================================================================== */
.christ-promises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.christ-promise-card {
  background: rgba(13, 21, 45, 0.85);
  border: 1px solid rgba(229, 184, 105, 0.2);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.christ-promise-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

.promise-ref {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan-quantum);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.promise-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.promise-text {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
}

.sermon-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.sermon-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 22px;
  transition: var(--transition-smooth);
}

.sermon-card:hover {
  border-color: var(--bg-glass-border-gold);
  transform: translateY(-3px);
}

.sermon-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sermon-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.bible-ref {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-quantum);
  background: rgba(79, 209, 197, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

.sermon-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #FFF;
  margin-bottom: 10px;
}

.sermon-verse {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-gold);
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--gold-primary);
  padding: 12px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
  line-height: 1.6;
}

.sermon-theme {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.sermon-insight {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.sermon-quantum-box {
  background: rgba(79, 209, 197, 0.08);
  border: 1px dashed rgba(79, 209, 197, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
}

.quantum-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan-quantum);
  display: block;
  margin-bottom: 4px;
}

.sermon-quantum-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Bíblia dentro das Leis Universais */
.law-bible-box {
  background: rgba(229, 184, 105, 0.08);
  border: 1px solid rgba(229, 184, 105, 0.25);
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0;
}

.bible-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

.bible-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: #FFF;
  margin-bottom: 6px;
}

.christ-link-text {
  font-size: 0.82rem;
  color: var(--text-gold);
  line-height: 1.5;
}

/* ==========================================================================
   3. HOLODECK STYLES
   ========================================================================== */
.holodeck-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.preset-dropdown-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.preset-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.preset-chip:hover {
  background: rgba(229, 184, 105, 0.2);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

/* Wizard */
.wizard-card {
  margin-bottom: 30px;
  border-color: var(--bg-glass-border-gold);
}

.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-glass-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.wizard-steps-indicators {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.step-indicator {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.step-indicator.active {
  background: var(--gold-primary);
  color: #0B0E1A;
  font-weight: 700;
}

.btn-close-wizard {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.step-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.step-instruction {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.wizard-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

/* Guia de Respiração para Vibração */
.breathing-guide-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  margin: 20px 0;
}

.breathing-circle-outer {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px dashed rgba(79, 209, 197, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.breathing-circle-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-quantum) 0%, rgba(13, 21, 45, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: var(--glow-cyan);
  transition: transform 3s ease-in-out;
}

.breathing-circle-inner.inhale {
  transform: scale(1.4);
}

.breathing-circle-inner.exhale {
  transform: scale(0.9);
}

.timer-display-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

#vibration-timer {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
}

.faith-decree-box {
  background: rgba(229, 184, 105, 0.1);
  border-left: 4px solid var(--gold-primary);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.decree-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-gold);
  line-height: 1.7;
}

/* Galeria do Holodeck */
.holodeck-gallery-container {
  margin-top: 30px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gallery-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
}

.gallery-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.holodeck-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.creation-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  transition: var(--transition-smooth);
}

.creation-card:hover {
  transform: translateY(-4px);
  border-color: var(--bg-glass-border-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.creation-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-quantum);
  background: rgba(79, 209, 197, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.creation-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.creation-statement {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.creation-details {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creation-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--bg-glass-border);
  padding-top: 12px;
  font-size: 0.8rem;
}

.btn-delete-creation {
  background: transparent;
  border: none;
  color: #F87171;
  cursor: pointer;
}

/* ==========================================================================
   4. GRABOVOI STYLES
   ========================================================================== */
.grabovoi-stage-card {
  text-align: center;
  padding: 36px 24px;
  margin-bottom: 30px;
  background: radial-gradient(circle at center, rgba(30, 48, 96, 0.7) 0%, rgba(13, 21, 45, 0.9) 100%);
  border: 1px solid var(--bg-glass-border-gold);
}

.stage-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan-quantum);
}

.grabovoi-code-digits {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: #FFF;
  text-shadow: 0 0 25px rgba(247, 215, 148, 0.6), 0 0 50px rgba(79, 209, 197, 0.4);
  margin: 16px 0 8px;
  transition: transform 0.2s ease;
}

.grabovoi-code-digits.activating {
  animation: quantum-burst 1.2s ease-out;
}

@keyframes quantum-burst {
  0% { transform: scale(1); text-shadow: 0 0 10px #FFF; }
  50% { transform: scale(1.15); color: var(--gold-light); text-shadow: 0 0 40px var(--gold-primary), 0 0 80px var(--cyan-quantum); }
  100% { transform: scale(1); }
}

.grabovoi-code-purpose {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.grabovoi-digit-breakdown {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.stage-control-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.grabovoi-catalog-section {
  margin-bottom: 30px;
}

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.grabovoi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.grabovoi-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.grabovoi-card:hover, .grabovoi-card.selected {
  border-color: var(--gold-primary);
  background: rgba(229, 184, 105, 0.1);
  transform: translateY(-2px);
}

.g-card-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.g-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.g-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Digits 0-9 Meaning */
.digits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.digit-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.d-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan-quantum);
}

.d-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   5. FAXINA PESADA (LIMPEZA & KARMA)
   ========================================================================== */
.cleaning-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* Ho'oponopono */
.hooponopono-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.counter-badge {
  background: rgba(229, 184, 105, 0.2);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.hooponopono-mantra-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.mantra-phrase {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.mantra-phrase.active-glow {
  background: rgba(79, 209, 197, 0.25);
  border-color: var(--cyan-quantum);
  color: #FFF;
  box-shadow: var(--glow-cyan);
  transform: scale(1.04);
}

.hooponopono-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-pulse-action {
  width: 100%;
  font-size: 1.1rem;
  padding: 14px;
}

.sub-actions-row {
  display: flex;
  justify-content: space-between;
}

/* 21 Dias Arcanjo Miguel */
.journey-progress-container {
  margin-bottom: 16px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-quantum), var(--gold-primary));
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.days-pill-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.day-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: 8px;
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.day-pill.done {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-dharma);
  color: #6EE7B7;
}

.day-pill.current {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(229, 184, 105, 0.15);
}

.journey-prayer-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 10px;
  margin: 10px 0 16px;
  line-height: 1.6;
}

.journey-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Sombra */
.shadow-emotion-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.emotion-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.emotion-chip.active {
  background: rgba(236, 72, 153, 0.2);
  border-color: var(--magenta-vortex);
  color: #FFF;
}

.shadow-insight-result {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
  border-left: 3px solid var(--magenta-vortex);
}

.shadow-insight-result h4 {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.shadow-insight-result p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   6. PODER DO EU SOU
   ========================================================================== */
.converter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.converter-input-side, .converter-output-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reprogrammed-result {
  background: rgba(229, 184, 105, 0.1);
  border: 1px dashed var(--gold-primary);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.6;
  min-height: 90px;
  display: flex;
  align-items: center;
}

.mantras-catalog-section {
  margin-top: 30px;
}

.mantras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.mantra-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  transition: var(--transition-smooth);
}

.mantra-card:hover {
  border-color: var(--bg-glass-border-gold);
  transform: translateY(-2px);
}

.m-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-quantum);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.m-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.5;
}

/* ==========================================================================
   7. LEIS UNIVERSAIS
   ========================================================================== */
.laws-filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab.active {
  background: var(--gold-primary);
  color: #0B0E1A;
  border-color: var(--gold-primary);
}

.laws-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.law-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 20px;
  transition: var(--transition-smooth);
}

.law-card:hover {
  border-color: var(--bg-glass-border-gold);
  transform: translateY(-3px);
}

.law-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.law-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #FFF;
  margin: 6px 0 10px;
}

.law-axiom {
  font-style: italic;
  color: var(--cyan-quantum);
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: block;
}

.law-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   8. ORAÇÃO QUÂNTICA
   ========================================================================== */
.quantum-prayer-card {
  max-width: 850px;
  margin: 0 auto;
}

.prayer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--bg-glass-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.prayer-text-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  padding: 20px 0;
}

.prayer-line {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.prayer-line.stanza {
  font-size: 1.3rem;
  color: var(--gold-light);
  font-weight: 800;
}

.prayer-line.highlight {
  color: var(--text-primary);
  font-weight: 700;
}

.prayer-line.finale {
  font-size: 1.25rem;
  color: var(--cyan-quantum);
  font-weight: 800;
  margin-top: 10px;
}

.prayer-line.current-reciting {
  color: var(--gold-light);
  text-shadow: var(--glow-gold);
  transform: scale(1.08);
}

/* ==========================================================================
   MODAIS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 5, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0D152D;
  border: 1px solid var(--bg-glass-border-gold);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-glass-border);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.zenon-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}

.celestial-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  margin-top: 2px;
}

.zenon-verdict {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Pocket Card Modal Preview */
.pocket-card-preview {
  width: 320px;
  height: 200px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #121E3E 0%, #080D1A 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), var(--glow-gold);
  padding: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pocket-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 700;
}

.pocket-card-code {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #FFF;
  text-align: center;
  text-shadow: 0 0 15px rgba(247, 215, 148, 0.5);
}

.pocket-card-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--cyan-quantum);
  font-weight: 600;
}

.pocket-card-cmd {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-light);
}

/* Toast */
.celestial-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(13, 21, 45, 0.95);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 600;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-bounce);
}

.celestial-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.celestial-footer {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid var(--bg-glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-quote {
  font-family: var(--font-heading);
  color: var(--gold-light);
  margin-bottom: 6px;
  font-style: italic;
}
