body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fafafa;
  color: #222;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.card {
  padding: 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, background-color 0.2s;
}

.card:hover {
  transform: scale(1.02);
  background-color: #f0f0f0;
}

.card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Color accents per era */
.era-early   { border-left: 5px solid #c0392b; }
.era-nostalgia { border-left: 5px solid #f39c12; }
.era-transition { border-left: 5px solid #2980b9; }
.era-modern { border-left: 5px solid #27ae60; }

footer {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: #777;
}
