.poem-card {
  display: block;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform .2s, box-shadow .2s;
}


.poem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}


.poem-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}


.poem-card .author {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(0,0,0,0.65);
}


.poem-section {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.75);
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  padding: 20px;
  height: 60vh;
  display: flex;
  flex-direction: column;
}


.poem-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 8px;
}


.poem-detail-container {
  max-width: 80%;
  margin: 10px auto;
  padding: 1px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
}


.poem-title {
  font-size: 26px;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 5px;
}


.poem-author {
  font-size: 22px;
  font-weight: 500;
  color: rgba(0,0,0,0.6);
  margin-top: 5px;
  margin-bottom: 20px;
}


.poem-author-link {
  color: #7b3414;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.poem-author-link:hover {
  color: #8f0000; 
}


.poem-text {
  font-weight: 600;
  font-size: 18px;
  margin-left: 10%;
  margin-right: 10%;
}


.poem-scroll::-webkit-scrollbar {
  width: 6px;
}

.poem-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 3px;
}
