/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #0e0b16; /* near-black with a purple tint */
  color: #d1c4e9; /* soft lavender */
  font-family: 'Fira Sans', 'Verdana', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('stars-bg.png'); /* optional starry background */
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

a {
  color: #82b1ff; /* pale blue for links */
  text-decoration: none;
}

a:hover {
  color: #bb86fc; /* dreamy purple hover */
  text-shadow: 0 0 8px #bb86fc;
}

header {
  background-color: rgba(18, 18, 38, 0.9); /* deep navy with transparency */
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

footer {
  background-color: rgba(12, 12, 24, 0.8);
  color: #999;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
}

.character-card {
  background-color: rgba(33, 30, 48, 0.85);
  border: 1px solid #444;
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem;
  color: #e0e0ff;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}