.bible-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Translation Sections */
.translation-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid rgba(139, 69, 19, 0.1);
  box-shadow: 0 0 16px 2px rgba(76, 175, 80, 0.25), 0 0 32px 4px rgba(76, 175, 80, 0.10);
  transition: box-shadow 0.3s;
}

.translation-section:last-of-type {
  margin-bottom: 1rem;
}

.translation-section:hover {
  box-shadow: 0 0 24px 4px rgba(76, 175, 80, 0.35), 0 0 48px 8px rgba(76, 175, 80, 0.18);
}

.translation-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.translation-flag {
  font-size: 1.2rem;
}

.translation-name {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.daily-translation-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(139, 69, 19, 0.05);
  border-radius: var(--border-radius);
  border-left: 3px solid #8B4513;
}

.daily-translation-section:last-of-type {
  margin-bottom: 1rem;
}

.daily-translation-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  justify-content: center;
}

.daily-translation-header .translation-flag {
  font-size: 1rem;
}

.daily-translation-header .translation-name {
  font-size: 0.8rem;
}

/* Main Verse Card */
.verse-card {
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
}

.verse-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8B4513, #DAA520);
}

.verse-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(218, 165, 32, 0.5);
  }
  to {
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.8);
  }
}

.verse-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.verse-text.english {
  font-family: 'Georgia', 'Times New Roman', serif;
}

.verse-text.vietnamese {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: 1.1rem;
}

.verse-text::before,
.verse-text::after {
  content: '"';
  font-size: 2rem;
  color: #8B4513;
  opacity: 0.3;
  position: absolute;
}

.verse-text::before {
  left: 0.2rem;
  top: -0.3rem;
}

.verse-text::after {
  right: 0.2rem;
  bottom: -0.5rem;
}

.verse-reference {
  color: #8B4513;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.verse-number {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(139, 69, 19, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

/* Controls */
.verse-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.control-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-primary);
  border: 2px solid rgba(139, 69, 19, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.control-btn:hover {
  border-color: #8B4513;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.control-btn.primary {
  background: linear-gradient(135deg, #8B4513, #DAA520);
  color: white;
  border-color: #8B4513;
}

.control-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

/* Actions */
.verse-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  padding: 0.6rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.action-btn:hover {
  background: var(--bg-primary);
  border-color: #8B4513;
  transform: translateY(-1px);
}

.action-btn.active {
  background: linear-gradient(135deg, #8B4513, #DAA520);
  color: white;
  border-color: #8B4513;
}

/* Daily Section */
.daily-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-left: 4px solid #DAA520;
}

.daily-section h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.daily-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.daily-verse-content {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.daily-verse {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.daily-reference {
  color: #8B4513;
  font-weight: 600;
  font-size: 1rem;
}

/* Favorites Section */
.favorites-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid #ff6b6b;
}

.favorites-section h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-align: center;
}

.favorites-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.favorite-item {
  background: var(--bg-secondary);
  padding: 1.2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
}

.favorite-verse {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  padding: 0.5rem;
  background: rgba(139, 69, 19, 0.05);
  border-radius: 4px;
  border-left: 2px solid #8B4513;
}

.favorite-verse.english {
  font-family: 'Georgia', 'Times New Roman', serif;
}

.favorite-verse.vietnamese {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: 0.95rem;
}

.favorite-reference {
  color: #8B4513;
  font-weight: 600;
  font-size: 0.9rem;
}

.favorite-item .remove-favorite {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.favorite-item .remove-favorite:hover {
  background: #ff5252;
  transform: scale(1.1);
}

.no-favorites {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  padding: 2rem;
}

/* Books Section */
.books-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid #9370DB;
}

.books-section h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-align: center;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.book-category {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.book-category h4 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.book-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.book-btn:hover {
  background: #8B4513;
  color: white;
  transform: translateY(-1px);
}

/* Statistics */
.stats-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid #4ecdc4;
}

.stats-section h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-item {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #8B4513;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  color: white;
}

.loading-overlay.show {
  display: flex;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.verse-text.updating,
.daily-verse.updating {
  animation: fadeIn 0.5s ease-out;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #8B4513;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  z-index: 1000;
  animation: slideInUp 0.3s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .verse-card {
    padding: 2rem 1.5rem;
  }
  
  .verse-text {
    font-size: 1.2rem;
  }
  
  .verse-text::before,
  .verse-text::after {
    display: none;
  }
  
  .verse-controls,
  .verse-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .control-btn,
  .action-btn {
    width: 100%;
  }
  
  .translation-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .books-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bible-container {
    padding: 0 1rem;
  }
  
  .verse-card,
  .daily-section,
  .favorites-section,
  .stats-section,
  .books-section {
    padding: 1.5rem 1rem;
  }
  
  .translation-section,
  .daily-translation-section {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .verse-text {
    font-size: 1.1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
} 