/* ============================================================
   BLACK DRAGON MINIATURE PAINTERS — Shared Stylesheet
   ============================================================ */

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

/* ---- Tokens ---- */
:root {
  --black:       #080808;
  --bg:          #0d0d0d;
  --surface:     #161616;
  --surface2:    #1e1e1e;
  --border:      #2e2e2e;
  --red:         #9b1c1c;
  --red-bright:  #c0392b;
  --red-dim:     #5a1010;
  --silver:      #c8c8c8;
  --silver-dim:  #7a7a7a;
  --silver-bright: #e8e8e8;
  --text:        #dcdcdc;
  --text-muted:  #888;
  --nav-h:       64px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(8,8,8,0.97);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1.5rem;
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.nav-brand span {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  list-style: none;
}

.nav-links a,
.nav-dropdown > button {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  padding: 0 1.1rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-dropdown > button:hover { color: var(--silver-bright); }
.nav-links a.active { color: var(--silver-bright); border-bottom: 2px solid var(--red); }

/* Dropdown */
.nav-dropdown {
  position: relative;
  list-style: none;
}
.nav-dropdown > button::after {
  content: '▾';
  font-size: 0.6rem;
  opacity: 0.6;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(var(--nav-h) - 1px);
  right: 0;
  min-width: 180px;
  background: #111;
  border: 1px solid var(--border);
  border-top: 2px solid var(--red-dim);
  list-style: none;
  z-index: 300;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--silver-dim);
  padding: 0.75rem 1.25rem;
  height: auto;
  display: block;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu li a:hover {
  background: var(--surface2);
  color: var(--silver-bright);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--silver-dim);
  transition: background 0.2s;
}
.nav-toggle:hover span { background: var(--silver-bright); }

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #111;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a,
  .nav-dropdown > button {
    height: 48px;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .dropdown-menu {
    position: static;
    border: none;
    border-top: none;
    background: #0a0a0a;
  }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  background: var(--black);
  border-bottom: 2px solid var(--red-dim);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(155,28,28,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--silver-bright);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  position: relative;
}
.page-hero .rule {
  width: 80px;
  height: 2px;
  background: var(--red);
  margin: 1rem auto 0;
  position: relative;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--silver-bright);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-heading::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.2em;
  background: var(--red);
  flex-shrink: 0;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.content-section + .content-section {
  border-top: 1px solid var(--border);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul.styled {
  list-style: none;
  margin: 0.75rem 0 1rem 0;
  padding: 0;
}
ul.styled li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  color: var(--text);
}
ul.styled li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red-bright);
  font-size: 0.8rem;
  top: 0.45rem;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}
.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  opacity: 0.6;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  list-style: none;
}
.footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--silver); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.social-icons a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.2s;
}
.social-icons a:hover { color: var(--silver); }
