:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --footer-bg-color: #2e2014;
  --link-color: #cca17b;
  --header-bg-color: #ffffff;
  --font-family: 'Candara', Arial, sans-serif;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
  linear-gradient(rgba(41, 29, 9, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/library-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero-section h1{
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0.25rem 0.6rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1.05;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  background: linear-gradient(
    90deg,
    #fff2dd 0%,
    #f6d7b1 20%,
    #d9a56a 45%,
    #f7e2c7 70%,
    #fff2dd 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.55),
    0 10px 30px rgba(0,0,0,0.85),
    0 0 22px rgba(255, 190, 120, 0.22);
  -webkit-text-stroke: 1px rgba(40, 25, 15, 0.55);
  background-size: 220% 100%;
  animation: heroShimmer 6.5s ease-in-out infinite;
}
@keyframes heroShimmer{
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-section h1::before{
  content: "";
  position: absolute;
  inset: -40% -15%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 195, 125, 0.28),
    rgba(255, 195, 125, 0.08) 35%,
    transparent 70%
  );
  filter: blur(22px);
  opacity: 0.95;
  animation: heroHaloPulse 4.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroHaloPulse{
  0%, 100%{
    transform: scale(1);
    opacity: 0.85;
  }
  50%{
    transform: scale(1.06);
    opacity: 1;
  }
}
.hero-section h1::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 78%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 170, 0.95),
    rgba(210, 150, 90, 0.85),
    rgba(255, 215, 170, 0.95),
    transparent
  );
  box-shadow:
    0 0 18px rgba(255, 190, 120, 0.35),
    0 0 40px rgba(255, 160, 90, 0.12);
  animation: heroLineGlow 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroLineGlow{
  0%, 100%{
    opacity: 0.55;
    width: 68%;
  }
  50%{
    opacity: 1;
    width: 82%;
  }
}
 .hero-section {
  padding: 115px 0 30px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}
.hero-section.with-bg {
  background-image: url('/images/hero-.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 30px;
  }
}
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
  section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}
h2, h3 {
  color: var(--heading-color) !important;
}
.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}
.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}
      .sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}
.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}
.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}
.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}
.sidebar-page-list li a:hover {
  padding-left: 11px;
}
      .twitter-tweet {
  width: 279px !important;
}
.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}
.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  padding: 1.9rem 19px;
  text-align: center;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  gap: 15px;
}
.footer-links a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-links a:hover {
  opacity: 1;
}
.footer-divider {
  border: none;
  height: 1px;
  margin: 1.5rem auto;
  width: 60%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--link-color),
    transparent
  );
  opacity: 0.5;
}
.footer-bottom {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
}
 .navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
  .navbar-light .navbar-nav .nav-link {
    color: var(--nav-link-color, #141414) !important;
  }
  .navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb, var(--header-bg-color) 65%, transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }
  .navbar-nav {
    width: 100%;
  }
  .navbar-nav .nav-item {
    margin: 7px 0;
  }
  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }
  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }
  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}
.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}
.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}
.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}
.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.dropdown.open .dropdown-menu {
  display: block;
}
@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }
  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}
.story-section{
  position: relative;
  overflow: hidden;
}
.story-section::before{
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 40%;
  height: 160%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.15) 45%,
    rgba(255, 220, 180, 0.35) 50%,
    rgba(255,255,255,0.15) 55%,
    transparent 100%
  );
  transform: rotate(12deg);
  animation: shineLine 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.story-section > *{
  position: relative;
  z-index: 2;
}
@keyframes shineLine{
  0%   { left: -60%; opacity: 0; }
  10%  { opacity: 1; }
  50%  { left: 120%; opacity: 1; }
  60%  { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}
.box-one {
    position: relative;
    height: 100%;
    padding: 2.5rem 1.2rem;
    border-radius: 20px;
    background: rgba(20, 14, 10, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 200, 150, 0.12);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(255, 190, 120, 0.04);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    animation: floatBox 8s ease-in-out infinite;
}
@keyframes floatBox {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.box-one:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 170, 100, 0.25);
}
.box-icon {
    position: absolute;
    top: -28px;
    left: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #c89b6d,
        #8a5a3c
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 190, 120, 0.4);
}
.box-icon i {
    font-size: 1.6rem;
    color: #1b120c;
}
.box-one h3 {
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: #f2d4b1;
    text-shadow: 0 0 10px rgba(255, 200, 150, 0.15);
}
.box-one p {
    color: #e2d3c4;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.custom-section{
  position: relative;
  max-width: 980px;
  margin: 4rem auto;
  padding: 2.8rem 1.4rem;
  background: linear-gradient(
    180deg,
    rgba(255, 252, 245, 0.97) 0%,
    rgba(248, 243, 234, 0.96) 100%
  );
  border: 2px solid rgba(255, 215, 170, 0.35);
  border-radius: 18px;
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.85);
  color: #1e1712;
  overflow: hidden;
  animation: wikiCardFade 1.1s ease both;
}
@keyframes wikiCardFade{
  from{
    opacity: 0;
    transform: translateY(14px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.custom-section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 210, 150, 0.95),
    rgba(170, 110, 70, 0.9)
  );
  box-shadow: 6px 0 18px rgba(0,0,0,0.25);
}
.custom-section::after{
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 260%;
  transform: skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  opacity: 0.35;
  filter: blur(1px);
  animation: wikiScan 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wikiScan{
  0%{
    left: -85%;
    opacity: 0;
  }
  12%{
    opacity: 0.35;
  }
  35%{
    left: 140%;
    opacity: 0;
  }
  100%{
    left: 140%;
    opacity: 0;
  }
}
.custom-section .wiki-title{
  margin: 0 0 1.3rem 0;
  padding-left: 1.2rem;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.25px;
  line-height: 1.15;
  color: #1a1410;
  border-bottom: 2px solid rgba(60, 40, 25, 0.18);
  padding-bottom: 0.8rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}
.custom-section .wiki-subtitle{
  position: relative;
  margin: 1.7rem 0 0.7rem;
  padding-left: 1.9rem;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: 0.2px;
  color: #241b15;
}
.custom-section .wiki-subtitle::before{
  content: "§";
  position: absolute;
  left: 1.1rem;
  top: 0;
  font-weight: 900;
  opacity: 0.7;
  color: rgba(140, 85, 45, 0.95);
}
.custom-section p{
  margin: 0 0 1rem 0;
  line-height: 1.85;
  color: rgba(211, 202, 196, 0.92);
}
.custom-section p + .wiki-subtitle{
  margin-top: 2.2rem;
}
.custom-section{
  background-image:
    radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 7px 7px;
}
.custom-section:hover{
  box-shadow:
    0 22px 65px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transform: translateY(-2px);
  transition: 0.45s ease;
}
.newsletter .newsletter-box{
  position: relative;
  overflow: hidden; 
}
.newsletter .newsletter-box::after{
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 260%;
  transform: skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  opacity: 0.25;
  filter: blur(1px);
  animation: newsletterScan 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes newsletterScan{
  0%{
    left: -85%;
    opacity: 0;
  }
  12%{
    opacity: 0.25;
  }
  35%{
    left: 140%;
    opacity: 0;
  }
  100%{
    left: 140%;
    opacity: 0;
  }
}
.newsletter-title{
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: rgba(230, 196, 137, 0.95);
}
.newsletter-text{
  margin: 0 0 14px;
  color: rgba(242, 230, 213, 0.78);
  font-size: 14px;
  line-height: 1.45;
}
.newsletter-row{
  display: flex;
  flex-direction: column; 
  gap: 10px;
  width: 100%;
}
.newsletter-input,
.newsletter-btn{
  width: 100%;
  max-width: 100%;
}
.newsletter-input{
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(200, 163, 106, 0.22);
  background: rgba(20, 12, 7, 0.45); 
  color: #f2e6d5;
  outline: none;
}
.newsletter-input::placeholder{
  color: rgba(242, 230, 213, 0.45);
}
.newsletter-input:focus{
  border-color: rgba(200, 163, 106, 0.55);
  box-shadow: 0 0 0 3px rgba(200, 163, 106, 0.10);
}
.newsletter-btn{
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(200, 163, 106, 0.28);
  background: rgba(200, 163, 106, 0.14); 
  color: rgba(242, 230, 213, 0.85);
  font-weight: 700;
  cursor: not-allowed;
  opacity: 0.55;
}
.newsletter-note{
  display: block;
  margin-top: 10px;
  color: rgba(242, 230, 213, 0.55);
  font-size: 12px;
}
.sidebar-linking{
  width: 100%;
  background: rgba(10, 6, 3, 0.32);
  border: 1px solid rgba(200, 163, 106, 0.18);
  border-radius: 14px;
  padding: 16px 14px;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
  overflow: hidden;
  position: relative;
}
.sidebar-linking h3{
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(230, 196, 137, 0.95);
}
.sidebar-linking .page-list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-linking .page-list li{
  margin: 0;
  padding: 0;
}
.sidebar-linking .page-list li + li{
  margin-top: 8px;
}
.sidebar-linking .page-list a{
  position: relative;
  display: block;
  padding: 10px 10px 10px 38px; 
  border-radius: 10px;
  text-decoration: none;
  color: rgba(242, 230, 213, 0.85);
  background: rgba(20, 12, 7, 0.22);
  border: 1px solid rgba(200, 163, 106, 0.12);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.sidebar-linking .page-list a::before{
  content: "🎭";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.9;
}
.sidebar-linking .page-list a:hover{
  transform: translateY(-1px);
  background: rgba(20, 12, 7, 0.35);
  border-color: rgba(200, 163, 106, 0.30);
  color: rgba(242, 230, 213, 0.95);
}
.sidebar-linking .page-list a.active{
  background: rgba(200, 163, 106, 0.12);
  border-color: rgba(200, 163, 106, 0.40);
}
.sidebar-linking::after{
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 260%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  opacity: 0.22;
  filter: blur(1px);
  animation: sidebarScan 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sidebarScan{
  0%{ left: -85%; opacity: 0; }
  12%{ opacity: 0.22; }
  35%{ left: 140%; opacity: 0; }
  100%{ left: 140%; opacity: 0; }
}
  .tw-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .twitter-tweet {
    max-width: 100%;
    margin: 0 auto;
  }
  