.poem-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
  color: var(--text-light);
  font-family: "Inter", sans-serif;
}

.poem-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: var(--border-light);
  padding-bottom: 2rem;
}

.poem-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.poem-author {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.poem-themes {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.theme-tag {
  background-color: rgba(100, 181, 246, 0.2);
  color: var(--primary-light);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.poem-stanza {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: var(--border-light);
  box-shadow: var(--shadow-card);
}

.stanza-text {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stanza-text p {
  margin: 0.5rem 0;
}

.stanza-analysis h3 {
  color: var(--primary-light);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.stanza-analysis p {
  line-height: 1.7;
  color: var(--text-muted);
}

.poem-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 3rem 0;
}

.poem-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.poem-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.poem-conclusion {
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 3rem;
}

.poem-conclusion h2 {
  color: var(--primary-light);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.poem-conclusion p {
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .poem-container {
    padding: 0 1rem;
  }

  .poem-header h1 {
    font-size: 2.2rem;
  }

  .poem-actions {
    flex-direction: column;
  }

  .poem-button {
    justify-content: center;
  }
}
