/* --- Fonts used on wiki pages --- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

/* --- PAGE BACKGROUND IMAGE --- */
body {
  background: url("https://i.pinimg.com/1200x/59/7d/b5/597db5deca02e5536249868e70ab9093.jpg") no-repeat center center fixed;
  background-size: cover;
  font-family: "Verdana", sans-serif;
  color: #4a3a6a;
  margin: 0;
  padding: 40px;
}

/* --- PAGE WRAPPER --- */
#wiki-page {
  max-width: 900px;
  margin: auto;
}

/* --- WIKI NAVBAR OVERRIDE --- */
#wiki-page .nav-wrapper {
  position: static;
  width: 100%;
  height: auto;
  margin: 0 auto 20px auto;
  text-align: center;
  padding: 0;
}

#wiki-page .navbar {
  background: rgba(255,255,255,0.6);
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(180,150,255,0.45);
  backdrop-filter: blur(5px);
  padding: 14px 0;
  border: none;
  position: static;
  text-align: center;
  max-width: 100%;
}

#wiki-page .navbar a {
  margin: 0 14px;
  text-decoration: none;
  color: #6a4a8a;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 10px;
  position: relative;
  transition: 0.25s ease;
}

#wiki-page .navbar a::before {
  content: "☽";
  position: absolute;
  left: -18px;
  top: 0;
  opacity: 0;
  transition: 0.25s ease;
}

#wiki-page .navbar a:hover::before {
  opacity: 1;
}

#wiki-page .navbar a:hover {
  background: rgba(240,220,255,0.75);
  box-shadow: 0 0 12px rgba(200,170,255,0.6);
  color: #4a2a6a;
}

/* --- WIKI CONTENT BOX --- */
#wiki-box {
  max-width: 800px;
  margin: 40px auto 0 auto;
  background: rgba(255,255,255,0.7);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(200,170,255,0.4);
}

/* --- HEADERS --- */
#wiki-box h1 {
  text-align: center;
  font-size: 32px;
  color: #6a4a8a;
  margin-bottom: 10px;
}

#wiki-box h2 {
  font-size: 22px;
  color: #6a4a8a;
  border-bottom: 2px solid #c8aefc;
  padding-bottom: 4px;
  margin-top: 30px;
}

/* --- TEXT --- */
#wiki-box p {
  line-height: 1.6;
}

/* --- INFOBOX --- */
#wiki-infobox {
  float: right;
  width: 250px;
  background: #f3e9ff;
  padding: 15px;
  border-radius: 15px;
  margin-left: 25px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  position: relative;
  z-index: 10;
}

#wiki-infobox img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* --- LOCAL MUSIC PLAYER --- */
#wiki-player {
  position: fixed;
  top: 20px;
  right: 30px;
  width: 223px;
  height: 80px;
  border: none;
  background: transparent;
  z-index: 9999;
}

/* --- Wiki-card hover glow --- */
.wiki-card img {
  transition: 0.3s ease;
}

.wiki-card:hover img {
  filter: drop-shadow(0 0 14px rgba(180,150,255,0.9));
  transform: scale(1.06);
}

/* --- See also section --- */
#wiki-seealso {
  margin-left: 20px;
  margin-top: 10px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

/* --- References --- */
#wiki-references {
  margin-left: 20px;
  margin-right: 20px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

#wiki-references li {
  margin-bottom: 6px;
}

/* --- Footer --- */
footer {
  color: purple;
  font-family: "Caveat", cursive;
  font-weight: 400;
  text-align: center;
  margin-top: 40px;
  opacity: 0.9;
}

