body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 2rem;
  color: #333;
}

.container {
  max-width: 900px;
  margin: auto;
}

h1 {
  margin-bottom: 2rem;
  color: #2c3e50;
  font-size: 2.2rem;
}

.series-list {
  list-style: none;
  padding: 0;
}

.card {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card h2 {
  margin-top: 0;
  color: #3a2f1d;
}

.card p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background-color: #c2a679;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button:hover {
  background-color: #a88a5c;
  transform: translateY(-1px);
}

/* 🔗 Nav bar styles (for navbar.html) */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  background-color: #f3efe7;
  padding: 1rem;
  border-bottom: 1px solid #e0d9c5;
  border-radius: 0 0 8px 8px;
  margin-bottom: 2rem;
}

.nav .button {
  background-color: #b89b6a;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.nav .button:hover {
  background-color: #9e8354;
}

/* 🔐 Login modal styles */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.modal-content input {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-content button {
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  background-color: #c2a679;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-content button:hover {
  background-color: #a88a5c;
}

.hidden {
  display: none;
}

.genre-badge {
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
  color: white;
}

.genre-badge.romance { background-color: #e91e63; }
.genre-badge.scifi { background-color: #3f51b5; }
.genre-badge.gaming { background-color: #4caf50; }
.genre-badge.reading { background-color: #795548; }
.genre-badge.shopping { background-color: #ff9800; }
.genre-badge.horror { background-color: #9c27b0; }
.genre-badge.thriller { background-color: #607d8b; }
.genre-badge.fantasy { background-color: #673ab7; }