/* ===== Rádio FM Livre - Estilos ===== */
:root {
  --primary: #1a365d;
  --primary-dark: #0f2440;
  --accent: #d69e2e;
  --accent-light: #f6e05e;
  --bg: #0d1b2a;
  --bg-card: #1b263b;
  --text: #e2e8f0;
  --text-muted: #a0aec0;
  --success: #38a169;
  --danger: #e53e3e;
  --whatsapp: #25D366;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 18px rgba(214, 158, 46, 0.45);
}

.logo-area h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: #fff;
}

.tagline {
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 500;
}

.header-live {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-dot.live {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.25); }
}

/* ===== Hero + Player Central ===== */
.hero {
  background: linear-gradient(180deg, var(--primary) 0%, var(--bg) 100%);
  padding: 50px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 130%;
  height: 180%;
  background: radial-gradient(circle at 50% 40%, rgba(214,158,46,0.1) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  margin-bottom: 10px;
  color: #fff;
  position: relative;
}

.hero-content > p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  position: relative;
}

/* ===== Player row: foto | botão | foto ===== */
.player-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1100px;
}

.side-photo {
  width: 320px;
  max-width: 28vw;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(214,158,46,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  flex-shrink: 0;
  background: var(--bg-card);
  transition: var(--transition);
}

.side-photo:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(214,158,46,0.2);
}

.side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-photo .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  gap: 8px;
  background: linear-gradient(135deg, #1b263b, #243447);
}

.side-photo .placeholder i {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.6;
}

/* Player principal */
.main-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: linear-gradient(145deg, rgba(27,38,59,0.95), rgba(15,36,64,0.98));
  border: 2px solid rgba(214,158,46,0.35);
  border-radius: 24px;
  padding: 32px 36px;
  min-width: 260px;
  max-width: 300px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(214,158,46,0.08);
  position: relative;
  flex-shrink: 0;
}

.btn-play-main {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, var(--accent), #b7791f);
  color: var(--primary-dark);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(214,158,46,0.45);
  transition: var(--transition);
  position: relative;
}

.btn-play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(214,158,46,0.6);
}

.btn-play-main.playing {
  background: linear-gradient(145deg, #e53e3e, #c53030);
  color: #fff;
  box-shadow: 0 8px 25px rgba(229,62,62,0.45);
}

.btn-play-main.playing:hover {
  box-shadow: 0 12px 35px rgba(229,62,62,0.55);
}

.btn-play-main i {
  margin-left: 3px; /* visual centering for play icon */
}

.btn-play-main.playing i {
  margin-left: 0;
}

.player-info {
  text-align: center;
}

.player-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.player-sub {
  font-size: 0.9rem;
  color: var(--accent-light);
  margin-top: 4px;
}

/* Equalizer animado */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  opacity: 0;
  transition: opacity 0.3s;
}

.equalizer.active {
  opacity: 1;
}

.equalizer span {
  width: 5px;
  background: var(--accent);
  border-radius: 3px;
  animation: eq 0.9s ease-in-out infinite;
}

.equalizer span:nth-child(1) { height: 40%; animation-delay: 0s; }
.equalizer span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.equalizer span:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.equalizer span:nth-child(4) { height: 55%; animation-delay: 0.45s; }
.equalizer span:nth-child(5) { height: 80%; animation-delay: 0.6s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ===== About ===== */
.about {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.about-text p {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.fale-pastor {
  font-size: 1.1rem !important;
  color: #fff !important;
  font-weight: 600;
  margin-top: 22px !important;
  margin-bottom: 12px !important;
}

.btn-whatsapp-main {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #25D366, #1da851);
  color: #fff;
  padding: 14px 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  max-width: 100%;
}

.btn-whatsapp-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-main i {
  font-size: 2rem;
}

.btn-whatsapp-main span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.btn-whatsapp-main strong {
  font-size: 1.05rem;
}

.btn-whatsapp-main small {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(214,158,46,0.2);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), #b7791f);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.about-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Gallery ===== */
.gallery {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-dark) 100%);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 8px;
  color: #fff;
}

.section-title i {
  color: var(--accent);
  margin-right: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 2px solid rgba(214,158,46,0.25);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(214,158,46,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: linear-gradient(135deg, #1b263b, #243447);
  font-size: 0.9rem;
  gap: 8px;
}

.gallery-placeholder i {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.6;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 20px 12px 10px;
  font-size: 0.85rem;
  color: #fff;
  text-align: center;
}

/* ===== Social ===== */
.social {
  padding: 60px 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.youtube { background: #ff0000; }
.social-btn.whatsapp { background: #25d366; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.tiktok { background: #000; }

.social-label {
  text-align: center;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Contact ===== */
.contact {
  padding: 50px 0 60px;
  background: var(--bg-card);
}

.contact-info {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info i {
  color: var(--accent);
  margin-right: 8px;
  width: 22px;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  padding: 24px 0;
  text-align: center;
  border-top: 2px solid var(--accent);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.admin-link {
  margin-top: 8px;
}

.admin-link a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
}

.admin-link a:hover {
  text-decoration: underline;
}

/* ===== Balão WhatsApp flutuante (direita) ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 22px;
  width: 62px;
  height: 62px;
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
  animation: floatPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.65);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #fff;
  color: #1a202c;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 6px 35px rgba(37, 211, 102, 0.75); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }

  .hero-content h2 {
    font-size: 1.65rem;
  }

  .player-row {
    gap: 16px;
  }

  .side-photo {
    width: 220px;
    max-width: 40vw;
  }

  .main-player {
    padding: 24px 20px;
    min-width: 220px;
    max-width: 260px;
  }

  .btn-play-main {
    width: 76px;
    height: 76px;
    font-size: 1.7rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 1.7rem;
    bottom: 20px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .logo-area h1 {
    font-size: 1.25rem;
  }

  .player-row {
    flex-direction: column;
    gap: 18px;
  }

  .side-photo {
    width: 260px;
    max-width: 70vw;
  }
}

/* ===== Admin (mantido) ===== */
.admin-body {
  background: #111827;
}

.admin-header {
  background: var(--primary-dark);
  padding: 20px 0;
  border-bottom: 3px solid var(--accent);
}

.admin-header h1 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.5rem;
}

.admin-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.admin-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(214,158,46,0.2);
  box-shadow: var(--shadow);
}

.admin-card h2 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #0f172a;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214,158,46,0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-secondary {
  background: #374151;
  color: #fff;
}

.btn-secondary:hover {
  background: #4b5563;
}

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.alert-success {
  background: rgba(56,161,105,0.2);
  border: 1px solid var(--success);
  color: #9ae6b4;
}

.alert-info {
  background: rgba(214,158,46,0.15);
  border: 1px solid var(--accent);
  color: var(--accent-light);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.back-link:hover {
  text-decoration: underline;
}

/* ===== Card Bíblia / Missão clicável ===== */
.bible-card {
  cursor: pointer;
  transition: var(--transition);
}

.bible-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(214,158,46,0.2);
}

.bible-open-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, #c9a227, #8b6914);
  color: #1a1205;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 14px;
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
}

.bible-cta {
  margin-top: 18px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(214,158,46,0.15), rgba(214,158,46,0.05));
  border: 1px solid rgba(214,158,46,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.bible-card:hover .bible-cta {
  background: linear-gradient(135deg, rgba(214,158,46,0.3), rgba(214,158,46,0.12));
  border-color: var(--accent);
}

.bible-cta i {
  font-size: 1.25rem;
}

/* ===== Modal Bíblia ===== */
.bible-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.bible-modal.open {
  display: flex;
}

.bible-modal-box {
  width: 100%;
  max-width: 960px;
  height: min(88vh, 720px);
  background: linear-gradient(160deg, #1b263b, #0f172a);
  border: 2px solid rgba(214,158,46,0.35);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

.bible-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(90deg, #0f2440, #1a365d);
  border-bottom: 2px solid var(--accent);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.bible-modal-header i {
  margin-right: 8px;
  color: var(--accent);
}

.bible-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(214,158,46,0.15);
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.bible-close:hover {
  background: var(--accent);
  color: #0f2440;
}

.bible-reader {
  display: grid;
  grid-template-columns: 220px 1fr;
  flex: 1;
  min-height: 0;
}

.bible-sidebar {
  border-right: 1px solid rgba(214,158,46,0.25);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(0,0,0,0.2);
}

.bible-tabs {
  display: flex;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(214,158,46,0.3);
}

.bible-tab {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.bible-tab.active {
  color: var(--accent);
  background: rgba(214,158,46,0.1);
  border-bottom: 2px solid var(--accent);
}

.bible-tab:hover:not(.active) {
  color: var(--accent-light);
  background: rgba(214,158,46,0.06);
}

.bible-book-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.bible-book-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  margin-bottom: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.bible-book-btn:hover {
  background: rgba(214,158,46,0.1);
  border-color: rgba(214,158,46,0.25);
  color: var(--accent);
}

.bible-book-btn.active {
  background: rgba(214,158,46,0.18);
  border-color: var(--accent);
  color: var(--accent-light);
  font-weight: 600;
}

.bible-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.bible-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(214,158,46,0.2);
  flex-shrink: 0;
}

.bible-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
  min-width: 120px;
}

.bible-ch-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bible-ch-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(214,158,46,0.3);
  border-radius: 8px;
  background: rgba(214,158,46,0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.bible-ch-btn:hover {
  background: rgba(214,158,46,0.2);
  border-color: var(--accent);
}

.bible-ch-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.bible-ch-select {
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(214,158,46,0.3);
  background: #0f172a;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.bible-search-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 140px;
  max-width: 280px;
  margin-left: auto;
}

.bible-search-input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(214,158,46,0.3);
  background: #0f172a;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.bible-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(214,158,46,0.2);
}

.bible-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 32px;
}

.bible-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.bible-content .bible-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.bible-verse {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 10px;
}

.bible-verse .vn {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 8px;
  font-family: 'Montserrat', sans-serif;
}

.bible-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

.bible-loading {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.bible-loading .spin {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 3px solid rgba(214,158,46,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: bibleSpin 0.8s linear infinite;
}

@keyframes bibleSpin {
  to { transform: rotate(360deg); }
}

.bible-hit {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid rgba(214,158,46,0.2);
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.bible-hit:hover {
  border-color: rgba(214,158,46,0.5);
  background: rgba(214,158,46,0.08);
}

.bible-hit .bible-hit-ref {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.bible-hit mark {
  background: rgba(214,158,46,0.35);
  color: #fff8e0;
  border-radius: 3px;
  padding: 0 2px;
}

@media (max-width: 768px) {
  .bible-reader {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .bible-sidebar {
    max-height: 32%;
    border-right: 0;
    border-bottom: 1px solid rgba(214,158,46,0.25);
  }
  .bible-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .bible-search-wrap {
    max-width: none;
    width: 100%;
    margin-left: 0;
  }
  .bible-ch-nav {
    justify-content: center;
  }
  .bible-content {
    padding: 16px 14px 28px;
  }
  .bible-verse {
    font-size: 1.08rem;
  }
  .bible-modal-box {
    height: 92vh;
  }
}
