body {
  font-family: 'Noto Serif', serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin: 0.5rem 0;
}

.subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  font-style: italic;
}

#story-section {
  margin: 1rem 0;
}

#story-section h2 {
  font-size: 1.5rem;
  color: #34495e;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 0.5rem;
}

#spanish-story p {
  font-size: 1.1rem;
  margin: 1rem 0;
  padding: 0.5rem;
  background: #f9f9f9;
  border-left: 4px solid #3498db;
  cursor: pointer;
  transition: background 0.2s;
}

#spanish-story p:hover {
  background: #e6f3fa;
}

details {
  margin: 1rem 0;
  padding: 0.5rem;
  background: #f1f1f1;
  border-radius: 4px;
}

summary {
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem;
  color: #2c3e50;
}

details p {
  margin: 0.5rem 1rem;
  padding: 0.5rem;
  background: #fff;
  border-left: 4px solid #e74c3c;
  cursor: pointer;
  transition: background 0.2s;
}

details p:hover {
  background: #fef2f2;
}

.page-nav, .nav-link {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.nav-link a {
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-link a:hover {
  background: #ecf0f1;
}

footer {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: #ecf0f1;
  color: #7f8c8d;
}

footer a {
  color: #2980b9;
  text-decoration: none;
}

@media (max-width: 600px) {
  .container {
    margin: 1rem;
    padding: 0.5rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  #korean-story p, details p {
    font-size: 1rem;
  }
}