:root {
  --body-bg-color: #c0893d;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #c0893d;
  --hero-gradient2: #c0893d;
  --footer-bg-color: #0d0d0d;
  --link-color: #ddeb24;
  --header-bg-color: #000000;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
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(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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;
}

.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);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}

.navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 115px 0 30px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.gradient-bg {
  /* background: linear-gradient(135deg, var(--hero-gradient1), var(--hero-gradient2)); */
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 77px 0;
  }
}
.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;
}
/* Mobile nav */
@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;
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

.heading {
  padding: 2rem 0;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
}

.heading h2 {
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
}

.heading h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #b38b28, #f5d27a);
  margin-top: 0.5rem;
}

/* optional subtle glow effect */
.heading h2,
.heading p {
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.08);
}
.header h2 {
  font-size: 2.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 22px;
  margin-bottom: 20px;
  display: inline-block;

  /* Metallic gold background */
  background: linear-gradient(135deg, #8a6f1d, #d4af37, #f1df92);
  border-radius: 6px;

  /* Dark-themed text style */
  color: #0d0d0d; /* deep dark text for contrast */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); /* soft highlight */
}

/* Optional improved paragraph styling */
.header p {
  color: #e3e3e3;
  font-size: 1.1rem;
  line-height: 1.7;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.box {
  background: #111; /* dark charcoal background */
  padding: 25px 21px;
  border-radius: 10px;

  /* gold glow border effect */
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.15);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

/* Hover effect: subtle gold lift */
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.28);
}

/* Title inside the box */
.box h3 {
  color: #d4af37; /* gold title */
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Paragraph text */
.box p {
  color: #e3e3e3;
  line-height: 1.7;
  font-size: 1.05rem;
}
/* Section container */
.cust-bg {
  background: #0d0d0d; /* deep dark */
  padding: 30px 21px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
  max-width: 1000px;
  margin: 30px auto;
}

/* H2 – main title with gold bar look */
.cust-bg h2 {
  font-weight: 800;
  padding: 14px 22px;
  margin-bottom: 25px;
  display: inline-block;
  letter-spacing: 1.8px;

  /* Gold metallic background */
  background: linear-gradient(135deg, #8a6f1d, #d4af37, #f5e9b3);
  border-radius: 8px;

  /* Dark text for contrast inside gold */
  color: #0b0b0b;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

/* H3 – gold-accent subheadings */
.cust-bg h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 15px 0 12px;
  color: #d4af37; /* metallic gold */
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Paragraph text */
.cust-bg p {
  color: #e4e4e4;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 7px;
}
/* Section container */
.resources {
  backdrop-filter: blur(6px);
  padding: 30px 21px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  max-width: 1000px;
  margin: 30px auto;
  position: relative;
}

/* Elegant gold bar on the left */
.resources::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  bottom: 25px;
  width: 4px;
  background: linear-gradient(#c19a2a, #f6d880, #c19a2a);
  border-radius: 4px;
  opacity: 0.9;
}

/* Main title */
.resources h2 {
  font-family: "Cinzel", serif; /* premium geological/ancient vibe */
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;

  color: #f6d880; /* warm bright gold */
  letter-spacing: 1.5px;
  text-transform: uppercase;

  /* soft gold glow */
  text-shadow: 0 0 10px rgba(246, 216, 128, 0.35);
}

/* Base H3 styling */
.resources h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #d4b35a;
  position: relative;
  padding-left: 38px; /* space for icon */
}

/* Icons */
.resources h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.35rem;
  color: #f6d880; /* bright gold */
  text-shadow: 0 0 8px rgba(246, 216, 128, 0.45);
}

/* Specific icons per category */
.resources h3.inferred::before {
  content: "⛏️"; /* Pickaxe — earliest/least certain stage */
}

.resources h3.indicated::before {
  content: "🧭"; /* Compass — more defined direction */
}

.resources h3.measured::before {
  content: "💎"; /* Gem — most certain, highest confidence */
}

.resources h3.economy::before {
  content: "⚙️"; /* Gem — most certain, highest confidence */
}
.resources h3.risk::before {
  content: "⚠️"; /* Warning sign for risk */
}

/* Paragraph text */
.resources p {
  color: #dcdcdc;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 900px;
}
.box-first,
.box-second {
  background-color: #74747430;
  padding: 17px 15px;
}
.box-second {
  background-color: #2f2c2ca1;
}
@media (min-width: 767px) {
  .box-first {
    border-top-left-radius: 21px;
    border-bottom-left-radius: 21px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
  }
  .box-second {
    border-top-right-radius: 21px;
    border-bottom-right-radius: 21px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}
@media (max-width: 767px) {
  .box-first {
    border-radius: 21px 21px 0 0;
  }
  .box-second {
    border-radius: 0 0 21px 21px;
  }
}
/* Footer Base */
.footer {
  background: #0d0d0d;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  color: #e4e4e4;
  font-family: 'Poppins', sans-serif;
}

/* Footer Layout */
.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  padding: 0 30px;
}

/* Footer Columns */
.footer-col h4 {
  color: #d4af37;
  font-size: 1.2rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-text {
  color: #cfcfcf;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cfcfcf;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37;
}

/* Privacy link */
.footer-privacy {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
}

.footer-privacy:hover {
  text-decoration: underline;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: #161616;
  color: #fff;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form button {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #8a6f1d, #d4af37, #f6e7b0);
  color: #0d0d0d;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.newsletter-form button:hover {
  opacity: 0.85;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 25px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}

.footer-social span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;

  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
  color: #d4af37;
  font-size: 1.2rem;

  transition: 0.28s ease;
}

.footer-social span:hover {
  background: linear-gradient(135deg, #8a6f1d, #d4af37, #f6e7b0);
  color: #0d0d0d;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}
/* Main Section */
.error-404 {
  height: 100vh;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  position: relative;
  padding: 30px;
}

/* Icon Frame */
.error-icon-wrapper {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(212, 175, 55, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  animation: pulseGold 3s infinite;
}

/* Icon inside */
.error-icon {
  font-size: 5rem;
  color: #d4af37;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.6);
}

/* Title */
.error-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f6e7b0;
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(246, 216, 128, 0.4);
}

/* Message */
.error-msg {
  color: #d6d6d6;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Gold Button */
.btn-gold {
  background: linear-gradient(135deg, #8a6f1d, #d4af37, #f6e7b0);
  color: #0d0d0d;
  font-weight: 700;
  border: none;
  transition: 0.3s ease;
}

.btn-gold:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Gold Glow Animation */
@keyframes pulseGold {
  0% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 35px rgba(212, 175, 55, 0.5); }
  100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
}
/* Container */
.links {
  background: #0f0f0f;
  padding: 30px 21px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.15);
  width: 279px;
  margin-bottom: 15px;
}

/* Title */
.links h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

/* List Reset */
.sidebar-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* List items */
.sidebar-page-list li {
  position: relative;
  margin-bottom: 12px;
}

/* GOLD MARKER ICON */
.sidebar-page-list li::before {
  content: "◆";                     /* gold diamond marker */
  position: absolute;
  left: -18px;
  top: 6px;
  font-size: 0.8rem;
  color: #d4af37;                   /* pure gold color */
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

/* Link styling */
.sidebar-page-list a {
  display: block;
  padding: 8px 12px;
  color: #e3e3e3;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.25s ease;
  font-weight: 500;
}

/* Hover effect */
.sidebar-page-list a:hover {
  color: #0d0d0d;
  background: linear-gradient(135deg, #8a6f1d, #d4af37, #f6e7b0);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  transform: translateX(5px);
}
