.reading-page {
  min-height: 100vh;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.reading-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reading-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: rgba(1, 50, 46, 0.98);
}

body.dark-mode .reading-header h1 {
  text-shadow: 0 0 15px rgba(1, 50, 46, 0.5);
}

.reading-header p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.passage-card {
  background: #f5f0e8;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(1, 50, 46, 0.3);
}

body.dark-mode .passage-card {
  background: #000000;
  border-color: #000000;
}

.passage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(1, 50, 46, 0.2);
}

.passage-title {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(1, 50, 46, 0.98);
}

body.dark-mode .passage-title {
  text-shadow: 0 0 10px rgba(1, 50, 46, 0.5);
}

.difficulty-badge {
  background: rgba(1, 50, 46, 0.2);
  color: rgba(1, 50, 46, 0.98);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

body.dark-mode .difficulty-badge {
  background: rgba(1, 50, 46, 0.3);
  border: 1px solid rgba(1, 50, 46, 0.5);
}

.passage-text {
  line-height: 2;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.passage-text p {
  margin-bottom: 1rem;
  text-align: justify;
}

.passage-translation {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(1, 50, 46, 0.05);
  border-radius: 10px;
  border-right: 4px solid rgba(1, 50, 46, 0.98);
}

body.dark-mode .passage-translation {
  background: #000000;
}

.passage-translation h3 {
  color: rgba(1, 50, 46, 0.98);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

body.dark-mode .passage-translation h3 {
  text-shadow: 0 0 10px rgba(1, 50, 46, 0.5);
}

.passage-translation p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.passage-actions {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(1, 50, 46, 0.2);
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.new-passage-btn,
.toggle-translation-btn {
  background: rgba(1, 50, 46, 0.98);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(1, 50, 46, 0.3);
  font-family: 'Cairo', sans-serif;
}

.new-passage-btn:hover,
.toggle-translation-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(1, 50, 46, 0.5);
}

.reading-tips {
  background: #f5f0e8;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(1, 50, 46, 0.3);
}

body.dark-mode .reading-tips {
  background: #000000;
  border-color: #000000;
}

.reading-tips h3 {
  color: rgba(1, 50, 46, 0.98);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

body.dark-mode .reading-tips h3 {
  text-shadow: 0 0 10px rgba(1, 50, 46, 0.5);
}

.reading-tips ul {
  list-style: none;
  padding: 0;
}

.reading-tips li {
  padding: 0.8rem 0;
  padding-right: 2rem;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
}

.reading-tips li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: rgba(1, 50, 46, 0.98);
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .passage-card {
    padding: 2rem 1.5rem;
  }
  
  .passage-title {
    font-size: 1.5rem;
  }
  
  .passage-text {
    font-size: 1.1rem;
  }
}
