@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Crimson+Pro:ital,wght@0,300;0,400;1,300&display=swap');

/* ══════════════════════════════════════════
   Hero Dynasty — Shared Golden Theme
   Used by: index, adventurers, and all
   content pages in the golden theme.
   Page-specific CSS stays per-file.
══════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(140,90,30,0.55) rgba(220,195,145,0.4);
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: rgba(220,195,145,0.4); }
::-webkit-scrollbar-thumb { background: rgba(140,90,30,0.5); border-radius: 3px; }
html { scroll-behavior: smooth; }

/* ── Body ── */
body {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(90,55,20,0.22) 0%, transparent 46%),
    radial-gradient(ellipse at 88% 75%, rgba(80,45,12,0.26) 0%, transparent 40%),
    radial-gradient(ellipse at 55% 50%, rgba(90,55,20,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 28% 82%, rgba(80,45,12,0.18) 0%, transparent 36%),
    radial-gradient(ellipse at 72% 18%, rgba(70,40,10,0.12) 0%, transparent 32%),
    linear-gradient(158deg, #f0dba8 0%, #e6c878 18%, #f2e0a8 38%, #dbbe78 56%, #ecd290 76%, #f0dba8 100%);
  background-attachment: fixed;
  color: #000000;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Header (content pages) ── */
header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: linear-gradient(180deg, rgba(22,9,2,0.97), rgba(15,5,1,0.95));
  border-bottom: 2px solid rgba(160,115,40,0.5);
  backdrop-filter: blur(24px);
}
.hdr-left { display: flex; align-items: center; gap: 14px; }
.hdr-logo { width: 36px; height: 36px; border-radius: 7px; opacity: 0.9; }
.hdr-brand {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: #a08858;
}
.hdr-sep { color: rgba(160,115,40,0.45); }
.hdr-page {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: #d4b865;
}
.hdr-right { display: flex; align-items: center; gap: 10px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border: 1px solid rgba(160,115,40,0.45); border-radius: 7px;
  color: #d4b865; background: transparent; font-family: 'Cinzel', serif;
  font-size: 0.85rem; font-weight: 400; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.back-btn:hover {
  border-color: rgba(160,115,40,0.8);
  background: rgba(160,115,40,0.12);
}
.hamburger {
  display: none; padding: 8px 12px;
  border: 1px solid rgba(160,115,40,0.45); border-radius: 7px;
  background: transparent; color: #d4b865;
  font-size: 1rem; cursor: pointer;
  font-family: 'Cinzel', serif; font-weight: 400;
}

/* ── Mobile Nav (content pages — simple link list) ── */
.mobile-nav {
  display: none; flex-direction: column;
  position: sticky; top: 68px; z-index: 999;
  background: rgba(22,9,2,0.97);
  border-bottom: 1px solid rgba(160,115,40,0.2);
}
.mobile-nav.open { display: flex; }
.mobile-nav > a {
  padding: 0.85rem 1.5rem; color: #a08858; text-decoration: none;
  font-family: 'Cinzel', serif; font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(160,115,40,0.1);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav > a:hover { color: #f2e4c4; background: rgba(160,115,40,0.08); }
.mobile-nav > a.active { color: #d4b865; }

/* ── Banner ── */
.banner { position: relative; height: clamp(120px, 14vw, 200px); overflow: hidden; }
.banner-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #2a1005, #3e1e08, #2a1005);
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.04) translateX(-0.5%); }
  100% { transform: scale(1.09) translateX(0.5%); }
}
.banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,4,0,0.2) 0%, rgba(10,4,0,0.1) 40%, rgba(10,4,0,0.75) 100%);
}
.banner-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 22px; text-align: center;
}
.banner-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: #e0c880; margin-bottom: 6px; opacity: 0.8;
}
.banner-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.9rem); font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: #f2e4c4;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.banner-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(160,115,40,0.45), transparent);
}

/* ── Main container ── */
.main { max-width: 100%; margin: 0; padding: 36px 24px 60px; }

/* ── Section heading ── */
.section-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: #3d1e00;
  margin-bottom: 6px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(140,90,30,0.3);
}
.section-sub {
  font-size: 1.05rem; font-weight: 400; color: #1a0800;
  margin-bottom: 24px; margin-top: 8px;
}

/* ── Guide block ── */
.guide-block {
  background: linear-gradient(135deg, rgba(218,190,138,0.55), rgba(205,172,115,0.7));
  border: 1px solid rgba(140,90,30,0.28);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 28px;
}
.guide-body {
  font-size: 1.05rem; font-weight: 400; color: #000000;
  line-height: 1.8; margin-top: 12px;
}

/* ── Page note ── */
.page-note {
  background: rgba(140,90,30,0.08);
  border: 1px solid rgba(140,90,30,0.25);
  border-radius: 7px; padding: 12px 16px;
  font-size: 1rem; font-weight: 400;
  color: #1a0800; line-height: 1.6; margin-bottom: 10px;
}
.page-note strong { color: #3d1e00; font-weight: 500; }

/* ── Inner heading ── */
.inner-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: #3d1e00;
  margin: 24px 0 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(140,90,30,0.22);
}

/* ── Footer (rich — shared by home + all content pages) ── */
footer {
  background: linear-gradient(0deg, rgba(15,5,1,0.98), rgba(22,9,2,0.95));
  border-top: 2px solid rgba(160,115,40,0.4);
  padding: 32px 24px 24px; text-align: center;
}

.footer-server-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; padding: 14px 28px;
  border: 1px solid rgba(160,115,40,0.2);
  border-radius: 10px;
  background: rgba(22,9,2,0.4);
  max-width: 420px; margin: 0 auto 28px;
}
.footer-server-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.footer-server-stat-label {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(160,115,40,0.5);
}
.footer-server-stat-value {
  font-family: 'Crimson Pro', serif;
  font-size: 1.3rem; font-weight: 300;
  color: #d4b865; letter-spacing: 0.06em;
}
.footer-server-stat-value--sm { font-size: 0.88rem; color: #a08858; }
.footer-server-divider { width: 1px; height: 32px; background: rgba(160,115,40,0.2); }

.footer-links-zone {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 660px; margin: 0 auto 28px;
}
.footer-links-col { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.footer-links-col--right { text-align: right; align-items: flex-end; }
.footer-links-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(160,115,40,0.5);
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(140,90,30,0.15);
}
.footer-link {
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem; font-weight: 300;
  color: rgba(160,115,40,0.45); text-decoration: none;
  padding: 4px 0 4px 8px; letter-spacing: 0.02em;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  display: block;
}
.footer-links-col--right .footer-link {
  border-left: none; border-right: 2px solid transparent;
  padding-left: 0; padding-right: 8px;
}
.footer-link:hover {
  color: #a08858;
  border-left-color: rgba(140,90,30,0.5);
  transform: translateX(3px);
}
.footer-links-col--right .footer-link:hover {
  border-right-color: rgba(140,90,30,0.5);
  border-left-color: transparent;
  transform: translateX(-3px);
}

.footer-socials-col {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 0 28px; flex-shrink: 0;
}
.footer-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 9px;
  border: 1px solid rgba(160,115,40,0.3);
  background: rgba(22,9,2,0.5);
  text-decoration: none;
  transition: border-radius 0.4s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.footer-social-btn:hover {
  border-radius: 50%;
  border-color: rgba(160,115,40,0.7);
  box-shadow: 0 0 16px rgba(160,115,40,0.3);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(160,115,40,0.15);
}
.footer-logo { width: 36px; height: 36px; border-radius: 8px; margin-bottom: 8px; opacity: 0.85; }
footer p { color: rgba(160,115,40,0.4); font-family: 'Crimson Pro', serif; font-size: 0.85rem; margin: 2px 0; }
.signature { color: #a08858; font-weight: 300; }

/* ── Responsive ── */
@media (max-width: 640px) {
  header { padding: 0 16px; }
  .hdr-brand, .hdr-sep { display: none; }
  .main { padding: 24px 16px 48px; }
  .guide-block { padding: 20px 16px; }
  .footer-links-zone { flex-direction: column; align-items: center; gap: 24px; }
  .footer-links-col, .footer-links-col--right { width: 100%; text-align: center; align-items: center; }
  .footer-link { border: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .footer-link:hover { transform: none; }
  .footer-socials-col { flex-direction: row; padding: 0; }
  .footer-server-bar { gap: 20px; max-width: 100%; }
}
