/* Global */
body {
  font-family: 'Georgia', serif;
  margin: 0;
  background: #0d0d0d;
  color: #eee;
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Cinzel', serif;
  margin: 0.5em 0;
}

header {
  background: #222;
  padding: 1em;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: #ffcc66;
  margin: 0 0.8em;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.intro {
  text-align: center;
  padding: 3em 1em;
  background: #111;
}

/* Character Sections */
.character {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 3em 1em;
  gap: 2em;
  border-bottom: 1px solid #333;
}

.char-text {
  flex: 1 1 300px;
  max-width: 500px;
}

.char-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.7);
}

/* 🌿 Ulud — Turtle Druid */
#ulud {
  background: linear-gradient(135deg, #030504, #0c2216);
}

#ulud h2 {
  color: #4de68a;
}

#ulud a h3 {
  color: #4de68a;
}


#ulud ul li strong {
  color: #39c16d;
}

/* 🌌 Arcaena — Wizard Elf */
#arcaena {
  background: linear-gradient(135deg, #030303, #1a233f);
}

#arcaena h2 {
  color: #6da7ff;
}
#arcaena a h3 {
  color: #6da7ff;
}

#arcaena ul li strong {
  color: #3e72d9;
}

/* 🌌 Nie — Divination Wizard Elf */
#nie {
  background: linear-gradient(135deg, #030303, #1a233f);
}

#nie h2 {
  color: #cde0fd;
}
#nie a h3 {
  color: #cde0fd;
}

#nie ul li strong {
  color: #8faed9;
}

/* Gallery */
.gallery {
  padding: 3em 1em;
  text-align: center;
}

.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
  margin-top: 2em;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.7);
}

/* Footer */
footer {
  text-align: center;
  padding: 1em;
  background: #111;
  font-size: 0.9em;
}

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

footer a:hover {
  text-decoration: underline;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  nav a {
    display: inline-block;
    margin: 0.5em;
  }

  .character {
    flex-direction: column;
    text-align: center;
  }

  .char-img img {
    max-width: 250px;
  }

  memory-img img {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95em;
  }

  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1.2em;
  }

  nav a {
    font-size: 0.9em;
  }
}
