/* ===============================================
   GLOBAL THEME — SavageConflicts
   Shared background, navbar, footer, layout
   Author: ChatGPT & Gwezie
=============================================== */

/* ---- Reset ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---- Base ---- */
html,
body {
  font-family: "Cinzel", "Garamond", serif;
  background:
    radial-gradient(1200px 800px at 10% 5%, rgba(202,162,75,0.06), transparent 60%),
    radial-gradient(1000px 700px at 90% 100%, rgba(42,122,83,0.06), transparent 60%),
    linear-gradient(180deg, #0a0604, #130f0b 55%, #050302 100%);
  color: #e4d7b8;
  min-height: 100vh;
}

/* Shared content container */
.sc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================
   GLOBAL LINK STYLING (no more blue links)
============================================== */

a {
  color: #d9b356;
  text-decoration: none;
  font-weight: 600;
  transition: color .18s ease, text-shadow .18s ease;
}

a:hover {
  color: #f4d074;
  text-shadow: 0 0 6px rgba(217,179,86,0.45);
  text-decoration: underline;
}

a:visited {
  color: #c09c5a;
}

/* Footer link refinement */
.sc-foot-links a {
  color: #e4d7b8;
  font-weight: 600;
}

.sc-foot-links a:hover {
  color: #f4d074;
  text-shadow: 0 0 6px rgba(217,179,86,0.4);
}

/* ==============================================
   NAVBAR
============================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: radial-gradient(120% 180% at 50% 0%,
            #3b2a18 0%,
            #19110b 55%,
            #050303 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid #2b1a0c;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #caa24b, #f4d074, #caa24b);
}

.nav-link {
  color: #f3e3bd;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(234, 215, 177, 0.12);
  border: 1px solid rgba(202, 162, 75, 0.45);
  font-size: 0.95rem;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-link:hover {
  background: rgba(234, 215, 177, 0.25);
  box-shadow:
    0 0 12px rgba(202, 162, 75, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.castle-icon {
  width: 48px;
  height: auto;
  display: block;
}

/* ==============================================
   FOOTER
============================================== */

.sc-footer {
  margin-top: 40px;
  background: radial-gradient(130% 200% at 50% 10%,
              #3b2a18 0%,
              #19110b 55%,
              #050303 100%);
  color: #f0e1bf;
  border-top: 1px solid #2b1a0c;
  box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.7);
}

.sc-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #caa24b, #f4d074, #caa24b);
}

.sc-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 16px;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sc-footer-bottom {
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: #e9dbba;
}
