/* === Base Setup === */
body {
  margin: 0;
  padding: 0;
  background-color: #1e1e1e;
  font-family: 'Georgia', serif;
  color: #f1f1f1;
  line-height: 1.8;
  -webkit-user-select: none;
  user-select: none;
}

* {
  box-sizing: border-box;
}

/* === Fixed Background Image Blur === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(15px) brightness(0.4);
}

/* === Header === */
.header {
  text-align: center;
  padding: 2rem 1rem;
}

.header h1 {
  font-family: 'Georgia', serif;
  font-size: 2.75rem;
  font-weight: normal;
  margin: 0;
  color: #fff;
}

/* === Poem Layout === */
.poem-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.poem-card {
  width: 100%;
  background-color: rgba(30, 30, 30, 0.9);
  padding: 2rem;
  border-left: 5px solid #ffcc80;
  border-radius: 4px;
  white-space: pre-wrap;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* === Title === */
.poem-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #ffcc80;
}

/* === Poem Content === */
.poem-content {
  font-size: 1.125rem;
  line-height: 1.9;
  font-family: 'Georgia', serif;
  color: #eaeaea;
}

/* === Prevent Copying === */
body, html {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.poem-card, .poem-content, .poem-title {
  pointer-events: none;
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .poem-card {
    padding: 1.5rem;
    border-left-width: 4px;
  }

  .poem-title {
    font-size: 1.4rem;
  }

  .poem-content {
    font-size: 1rem;
  }
}
