/* --- Fonts --- 
Should I include the poems-buttons have
the fonts that the poem themselves have? */

@font-face {
  font-family: 'Vercetti';
  src: url('../fonts/Vercetti-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* --- Layout --- */
#poems-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

/* --- Header --- */
.poems-header h1 {
  font-size: 3rem;
  color: #2C1746;
  letter-spacing: 0.1em;
  margin-bottom: 0.2em;
}

.poems-tagline {
  font-style: italic;
  font-size: 1.2rem;
  color: #2C1746;
  margin-bottom: 2rem;
}

/* --- Buttons --- */
.poems-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: Vercetti;
  font-weight: bolder;
}

.poem-link {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.poem-link:hover {
  background-color: #f3cbff6b;
  color: #2C1746;
  cursor: pointer;
}

/* --- Tooltip Hover Content Warning --- */
.poem-link::after {
  content: attr(data-cw);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #fdfdfddd;
  color: #2C1746;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: pre-line;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
  max-width: 260px;
}

.poem-link:hover::after {
  opacity: 1;
}

.poems-footer {

  padding: 20px;

}

.poems-tagline {

  text-align: center;
}