/*
 * Parchment Deluxe (2026-11-09) — the same look as the game's login screens.
 *
 * Same palette as before, finished properly: the room is lit from the centre, the parchment
 * sheet is brighter in the middle and set in a gilt / dark-leather / gilt frame, and section
 * headings are red ink.
 *
 * Loaded AFTER each page's own <style> and nav-mobile.css, so it wins at equal specificity.
 * It only re-colours and re-frames: no layout changes. Remove the one
 * <link rel="stylesheet" href="deluxe.css"> line from a page to get the old look back.
 */

/* ── The room ── */
body {
  background:
    radial-gradient(ellipse 80% 70% at 50% 38%, #3a2a20 0%, #1e140e 55%, #120c08 100%);
  background-color: #120c08;
  background-attachment: fixed;
}

/* ── Top bar: dark leather between two gilt rules ── */
.top-bar {
  background: linear-gradient(180deg, #2a1a10 0%, #1a0f08 100%);
  border-bottom: 1px solid #c9a84c;
  box-shadow: inset 0 1px 0 #8a6d2b, 0 1px 0 #2a1a10, 0 3px 0 #8a6d2b, 0 8px 18px rgba(0,0,0,0.5);
}
.top-bar::after { display: none; }
@media (max-width: 900px) {
  .top-bar nav .nav-links { background: linear-gradient(180deg, #2a1a10 0%, #1a0f08 100%); border-bottom: 1px solid #c9a84c; }
}

/* ── Status banner: leather strip ruled in gilt ── */
.countdown-banner {
  background: linear-gradient(180deg, #2a1a10 0%, #1e120a 100%);
  border-bottom: 1px solid #c9a84c;
  box-shadow: inset 0 -3px 0 #2a1a10, inset 0 -4px 0 #8a6d2b;
}

/* ── Hero: lit from the centre, a gold rule under the name ── */
.hero { background: transparent; }
.hero-bg { background: radial-gradient(ellipse 55% 60% at 50% 45%, rgba(201,168,76,0.10), transparent 70%); }
.hero-content h1 { color: #f0dfb0; text-shadow: 0 2px 0 #1a0f08, 0 0 30px rgba(201,168,76,0.25); }
/* The divider's diamond used to sit on a dark patch that hid the line behind it; the hero
   is lit now, so leave a gap in the line instead. */
.hero-divider { width: 280px; background: linear-gradient(90deg, transparent, #c9a84c 30%, #c9a84c 44%, transparent 44% 56%, #c9a84c 56%, #c9a84c 70%, transparent); }
.hero-divider::before { background: none; color: #c9a84c; }
.hero-cta {
  background: #2c1810; border: 1px solid #c9a84c; color: #f0dfb0;
  box-shadow: inset 0 0 0 3px #2c1810, inset 0 0 0 4px rgba(201,168,76,0.45);
}
.hero-cta:hover { background: #3a2216; color: #fff4d8; }

/* ── The sheet: lit parchment in a gilt / leather / gilt frame (wax seal removed 2026-11-18) ── */
.parchment {
  background: radial-gradient(ellipse 75% 60% at 50% 40%, #f6ecd0 0%, #ecdcb4 70%, #e2cfa0 100%);
  box-shadow:
    0 0 0 2px #c9a84c,
    0 0 0 3px #8a6d2b,
    0 0 0 11px #2a1a10,
    0 0 0 12px #3a2618,
    0 0 0 13px #8a6d2b,
    0 0 0 14px #c9a84c,
    0 28px 70px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(0,0,0,0.18);
}
.parchment::before { border-color: rgba(44,24,16,0.12); }

/* headings in red ink */
.section-head h2 { color: #7a1a14; }
/* Page titles sit on the dark room, not the sheet: keep them light, gilt-shadowed. */
.page-header h1 { color: #f0dfb0; text-shadow: 0 2px 0 #1a0f08, 0 0 24px rgba(201,168,76,0.25); }
.page-header .hr { background: linear-gradient(90deg, transparent, #c9a84c 30%, #c9a84c 44%, transparent 44% 56%, #c9a84c 56%, #c9a84c 70%, transparent); }
.page-header .hr::before { background: none; color: #c9a84c; }

/* cards and boxes: ruled, not filled */
.class-card, .community-card, .highlight, .find-item, .stat { background: rgba(255,255,255,0.18); border-color: rgba(44,24,16,0.22); }
.class-card:hover, .highlight:hover { border-color: #8a6d2b; }
.lore-block { background: rgba(138,109,43,0.08); }

/* ── Footer ── */
.footer-logo { color: #c9a84c; }
