body {
  background: radial-gradient(circle at center, #0e0e0e, #000000 80%);
  color: #d0d0d0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  padding: 2rem;
}

h2, h3 {
  color: #ffd56a;
}

h1 {
  background: linear-gradient(to right, #5db0fd, #ff6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  color: #6cf;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  background-color: #222;
  padding: 2px 4px;
  border-radius: 4px;
  color: #0f0;
}

/* Laws Page Enhancements */
.laws-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  box-shadow: 0 0 12px #1e90ff22;
}

.codex {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(0,0,0,0.1);
  border-radius: 12px;
}


.codex h1 {
  margin-top: 2rem;
  background: linear-gradient(to right, #fdd35d, #ff6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.6rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.3rem;
}

.codex h2 {
  margin-top: 2rem;
  color: #ffd56a;
  font-size: 1.4rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.3rem;
}

.codex p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #ccc;
}

.sigil {
  width: 400px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease-in-out;
  animation: pulse-glow 5s infinite;
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 6px #f8c82b);
  }
  50% {
    filter: drop-shadow(0 0 20px #ffd700);
  }
  100% {
    filter: drop-shadow(0 0 6px #f8c82b);
  }
}

.nav-center {
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.nav-center a {
  color: #8ecfff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-center a:hover {
  color: #ffd56a; /* Golden glow on hover */
}

.divider {
  color: #444;
  margin: 0 5px;
}

/* Optional: underline below the nav */
.nav-center::after {
  content: "";
  display: block;
  margin: 10px auto;
  width: 200px;
  border-bottom: 1px solid #333;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 260px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: #87CEFA;
  text-decoration: none;
  display: block;
  padding: 6px 12px;
}

.dropdown-menu a:hover {
  background-color: #222;
}
