
/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Crimson+Pro:wght@400;600&display=swap');

body {
  background-image: url('/assets/velvet-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat;
  color: #C0C0C0;
  font-family: 'Crimson Pro', Georgia, serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #C0C0C0;
  text-decoration: none;
  border-bottom: 1px dotted #C0C0C0;
}

a:hover {
  color: #7C1E33;
  border-bottom: 1px solid #7C1E33;
}

header {
  background-color: #5D3A9B;
  padding: 1rem;
  text-align: center;
  text-shadow: 1px 1px 2px #1A1A1A;
}

header h1 {
  font-family: 'Cinzel Decorative', 'Georgia', serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #1A1A1A;
}

main h1, main h2, main h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav li a {
  color: #ffffff;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav li a.active {
  color: #C0C0C0;
  text-shadow:
    0 0 5px #5D3A9B,   /* purple glow */
    0 0 10px #C0C0C0;  /* silver outer glow */
}

nav li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #C0C0C0; /* Silver underline */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  max-width: 750px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #2A2A2A;
  border: 2px solid #C0C0C0; /* silver border */
  border-radius: 12px;
  box-shadow:
    0 0 10px rgba(192, 192, 192, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.05);
}

footer {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
  background-color: #1A1A1A;
  padding: 1.5rem;
  border-top: 1px solid #444;
  color: #777;
  position: relative;
}

footer .goblin-totals {
  margin-bottom: 0.75rem;
}

footer .goblin-totals ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

footer .goblin-totals li {
  display: inline-block;
  font-size: 1rem;
  color: #bfbfbf;
}
