:root {
  --bg: #fff3e0;
  --text: #333;
  --card-bg: #ffffff;
  --highlight: #ff4081;
  --footer: #eeeeee;
}

body.dark {
  --bg: #1e1e2f;
  --text: #eee;
  --card-bg: #2a2a40;
  --highlight: #ff80ab;
  --footer: #111;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

.hero {
  background: linear-gradient(135deg, var(--highlight), #8c9eff);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.btn {
  background: white;
  color: var(--highlight);
  padding: 10px 20px;
  border-radius: 20px;
  margin: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.anime-section {
  padding: 60px 20px;
  text-align: center;
}

.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.anime-card {
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.2s ease;
  color: var(--text);
}

.anime-card:hover {
  transform: translateY(-5px);
}

.anime-card img {
  width: 100%;
  border-radius: 10px;
}

.anime-card h3 {
  margin: 10px 0 5px;
  color: var(--highlight);
}

.anime-card p, .anime-card a {
  font-size: 0.9rem;
  margin: 5px 0;
}

.anime-card a {
  display: inline-block;
  color: #2196f3;
  text-decoration: underline;
}

footer {
  background: var(--footer);
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}
