body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: #f8f4f0;
    color: #333;
    transition: background 0.3s, color 0.3s;
  }
  
  #dark-toggle:checked ~ .container {
    background: #111;
    color: #f0f0f0;
  }
  
  .container {
    max-width: 900px;
    margin: auto;
    padding: 1em;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  nav {
    display: flex;
    gap: 1em;
    align-items: center;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
  }
  
  h1, h2, h3 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  }
  
  .fade-in {
    animation: fade 1.5s ease-in;
  }
  
  @keyframes fade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  blockquote {
    margin: 2em 0;
    padding: 1em;
    background: rgba(0,0,0,0.05);
    border-left: 4px solid #aaa;
    font-style: italic;
  }
  
  #dark-toggle {
    display: none;
  }
  
  .toggle {
    cursor: pointer;
    font-size: 1.5em;
  }
  
  .grid {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .poem-card {
    border: 1px solid #ccc;
    padding: 1em;
    background: #fff;
    transition: transform 0.2s;
  }
  
  #dark-toggle:checked ~ .container .poem-card {
    background: #222;
    border-color: #555;
  }
  
  .poem-card:hover {
    transform: scale(1.02);
  }
  
  details summary {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 0.5em;
  }
  
  .hero-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1em 0;
  }  