/* ===========================
   MOBILE — SIDEBAR ABAJO
   =========================== */

@media (max-width: 900px) {

  /* Ocultar sidebar lateral */
  .sidebar {
    display: none;
  }

  /* MAIN ocupa toda la pantalla */
  main, 
  .content, 
  #app-content {
    margin: 0;
    padding: 1rem;
    padding-bottom: 90px; /* espacio para navbar abajo */
    box-sizing: border-box;
  }

  /* ===== BOTTOM NAVBAR (nuevo sidebar) ===== */
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--deep-blue, #fff);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    z-index: 999;
  }

  .mobile-nav a {
    text-decoration: none;
    color: var(--text-dark, #333);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
  }

  .mobile-nav .material-symbols-outlined {
    font-size: 28px;
  }

  /* ===== HOME PAGE MOBILE LAYOUT ===== */

  body.home #progress-section,
  body.home #quote-section,
  body.home #choose-scripture {
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
  }

  body.home .scripture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .book-card {
    width: 100%;
  }
}
