/* white-nights.css */
/* Base styles from main.css are inherited */

.book-review-page {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.line-1 {
  height: 1px;
  background-color: #eee;
  margin: 15px 0 30px 0;
}

.book-hero {
  margin-bottom: 30px;
}

.book-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  color: #2c2c2c;
}

.book-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  margin-bottom: 15px;
  font-family: 'Space Mono', monospace;
  font-weight: 400;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 15px;
  font-family: 'Space Mono', monospace;
}

.review-date::before {
  content: "📅 ";
  opacity: 0.7;
}

.book-author::before {
  content: "✍️ ";
  opacity: 0.7;
}

.book-category::before {
  content: "📚 ";
  opacity: 0.7;
}

.book-status {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  margin-bottom: 25px;
  font-family: 'Space Mono', monospace;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Book Cover Image Section */
.book-image-container {
  margin: 30px 0 40px;
  text-align: center;
}

.book-cover {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.image-caption {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin-top: 12px;
  font-family: 'Space Mono', monospace;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
  font-family: 'Space Mono', monospace;
  color: #2c2c2c;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.review-content {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  font-family: 'Space Mono', monospace;
  color: #333;
}

.review-content p {
  margin-bottom: 18px;
}

.review-content p:last-child {
  margin-bottom: 0;
}

/* Quote Section */
.quote-section {
  margin: 40px 0;
  padding: 0 20px;
}

.philosophical-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  border-left: 4px solid #667eea;
  padding-left: 20px;
  margin: 0;
  position: relative;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  padding: 25px 25px 25px 45px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.1);
}

.philosophical-quote::before {
  content: '"';
  font-size: 3rem;
  color: #667eea;
  position: absolute;
  top: 10px;
  left: 15px;
  font-family: Georgia, serif;
  opacity: 0.7;
}

.philosophical-quote p {
  margin: 0 0 15px 0;
  font-family: 'Space Mono', monospace;
}

.philosophical-quote cite {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: #666;
  font-style: normal;
  font-weight: 600;
  font-family: 'Space Mono', monospace;
}

/* Rating Section */
.rating-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  padding: 25px;
  border-radius: 8px;
  margin: 40px 0;
  border: 1px solid #e0e4ff;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.rating-label {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  color: #2c2c2c;
}

.stars {
  font-size: 1.2rem;
  color: #ffd700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.reading-recommendation {
  font-size: 0.95rem;
  line-height: 1.6;
  font-family: 'Space Mono', monospace;
  color: #444;
}

.reading-recommendation strong {
  color: #667eea;
}

.back-to-posts {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667eea;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 50px;
  padding: 8px 0;
  font-family: 'Space Mono', monospace;
  transition: all 0.2s ease;
}

.back-to-posts:hover {
  color: #764ba2;
}

.back-to-posts svg {
  transition: transform 0.2s ease;
}

.back-to-posts:hover svg {
  transform: translateX(-4px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .book-hero h1 {
    font-size: 1.8rem;
  }
  
  .book-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .book-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .book-cover {
    max-width: 240px;
  }
  
  .philosophical-quote {
    padding: 20px 20px 20px 35px;
    font-size: 1rem;
  }
  
  .philosophical-quote::before {
    font-size: 2.5rem;
    top: 8px;
    left: 10px;
  }
  
  .rating-section {
    padding: 20px;
  }
  
  .book-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .book-hero h1 {
    font-size: 1.6rem;
  }
  
  .review-content {
    font-size: 0.95rem;
  }
  
  .quote-section {
    padding: 0 10px;
  }
}