body {
  font-family: Georgia, serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  overflow-x: hidden;
  height: 100vh;
}

.links {
  position: absolute;
  top: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 1000;
}

.top-left-link, .top-right-link {
  font-size: 1em;
  text-decoration: none;
  color: black;
  padding: 10px;
}

.scroll-indicator {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1em;
  text-align: center;
  z-index: 999;
}

.scroll-arrow {
  display: block;
  font-size: 1.5em;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.poem-container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 50vh;
}

.poem-line {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  font-size: 1.5em;
  margin: 50vh 0;
  text-align: center;
  white-space: pre-wrap;
  height: 1em;
}

.poem-line.left { text-align: left; }
.poem-line.right { text-align: right; }
.poem-line.center { text-align: center; }
.poem-line.bold { font-weight: bold; }
.poem-line.large { font-size: 2em; }
.poem-line.italic { font-style: italic; }
.poem-line.blank-line { height: 1.5em; }

.poem-line.visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .poem-line {
    font-size: 1.2em;
  }
  .poem-line.large {
    font-size: 1.6em;
  }
}
