/* World of Vorgrym site pages (wiki, support, legal). Self-hosted fonts and
   images only: the game server sends cross-origin isolation headers, so
   third-party CSS or fonts would be blocked. */

@font-face { font-family: 'Cinzel'; font-weight: 400 700; font-display: swap;
  src: url('/site/fonts/cinzel-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-weight: 400 700; font-display: swap;
  src: url('/site/fonts/cinzel-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-weight: 400; font-display: swap;
  src: url('/site/fonts/alegreya-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-weight: 400; font-display: swap;
  src: url('/site/fonts/alegreya-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-weight: 500; font-display: swap;
  src: url('/site/fonts/alegreya-sans-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-weight: 700; font-display: swap;
  src: url('/site/fonts/alegreya-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-weight: 700; font-display: swap;
  src: url('/site/fonts/alegreya-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-weight: 400; font-display: swap;
  src: url('/site/fonts/alegreya-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya'; font-weight: 400; font-display: swap;
  src: url('/site/fonts/alegreya-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/site/fonts/alegreya-400-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya'; font-weight: 700; font-display: swap;
  src: url('/site/fonts/alegreya-700-latin.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --gold: #e8c26a;
  --gold-bright: #ffd98a;
  --gold-dim: #b08a3e;
  --ink: #efe8d8;
  --muted: #b9ae95;
  --line: rgba(232, 194, 106, 0.30);
  --line-soft: rgba(232, 194, 106, 0.13);
  --bg: #07080d;
  --panel: rgba(12, 13, 20, 0.86);
  --panel-solid: #0e1018;
  --arcane: #8f7cff;
  --fel: #6fe0a0;
  --blood: #e0564f;
  --font-display: 'Cinzel', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-ui: 'Alegreya Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'Alegreya', 'Palatino Linotype', Palatino, Georgia, serif;
  --r: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font: 400 17px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.55) 0%, rgba(7, 8, 13, 0.92) 46%, var(--bg) 100%),
    radial-gradient(ellipse at 50% -10%, rgba(232, 194, 106, 0.16), transparent 55%),
    var(--bg) url('/site/backdrop.jpg') center top / cover fixed no-repeat;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: rgba(7, 8, 13, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .inner {
  width: min(1120px, 100% - 32px); margin: 0 auto;
  display: flex; align-items: center; gap: 18px; min-height: 62px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; align-items: center; }
.site-nav a {
  color: var(--muted); text-decoration: none;
  font: 600 13px/1 var(--font-display); letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-bright); border-bottom-color: var(--gold); }
.play-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  font: 700 13px/1 var(--font-display); letter-spacing: 1.4px; text-transform: uppercase;
  color: #1a1206 !important; border: 0 !important;
  background: linear-gradient(180deg, #ffe3a1, #d9a441 55%, #b8822a);
  box-shadow: 0 0 0 1px rgba(255, 227, 161, 0.55), 0 6px 22px rgba(217, 164, 65, 0.28);
}
.play-btn:hover { filter: brightness(1.08); color: #1a1206; }

main { width: min(1120px, 100% - 32px); margin: 0 auto; padding: 40px 0 56px; }
.page-hero { padding: 26px 0 10px; }
.eyebrow { font: 700 12px/1 var(--font-display); letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dim); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--gold-bright); line-height: 1.2; letter-spacing: 0.4px; }
h1 { font-size: clamp(30px, 5vw, 48px); margin: 10px 0 12px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); }
h2 { font-size: 24px; margin: 38px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
h3 { font-size: 18px; margin: 26px 0 8px; color: var(--gold); }
.lede { font: 400 20px/1.55 var(--font-serif); color: var(--ink); max-width: 760px; margin: 0; }
.muted { color: var(--muted); }
p, li { max-width: 820px; }
.prose { font-family: var(--font-serif); font-size: 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }

.panel {
  background: linear-gradient(180deg, rgba(20, 21, 31, 0.9), var(--panel));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 26px; margin: 22px 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 230, 170, 0.06);
}
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 18px 0; }
.card {
  display: block; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, rgba(24, 25, 37, 0.92), rgba(11, 12, 19, 0.92));
  border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 18px 20px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
a.card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); color: var(--ink); }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag {
  display: inline-block; padding: 2px 9px; margin: 2px 4px 2px 0; border-radius: 999px;
  font: 600 12px/1.6 var(--font-ui); color: var(--gold); background: rgba(232, 194, 106, 0.10);
  border: 1px solid var(--line-soft);
}
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.5); }

table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font: 700 12px/1.3 var(--font-display); letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-dim); background: rgba(232, 194, 106, 0.05); }
tr:hover td { background: rgba(255, 255, 255, 0.02); }
.table-wrap { overflow-x: auto; }

.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.breadcrumbs a { color: var(--muted); }
.toc { columns: 2 220px; padding-left: 18px; }
.callout { border-left: 3px solid var(--gold); padding: 10px 16px; background: rgba(232, 194, 106, 0.06); border-radius: 0 var(--r) var(--r) 0; }

.site-footer { border-top: 1px solid var(--line-soft); background: rgba(5, 6, 10, 0.88); }
.site-footer .inner { width: min(1120px, 100% - 32px); margin: 0 auto; padding: 22px 0 28px; text-align: center; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--gold-bright); }

@media (max-width: 720px) {
  body { font-size: 16px; background-attachment: scroll; }
  .site-header .inner { flex-wrap: wrap; padding: 8px 0; }
  .site-nav { margin-left: 0; width: 100%; order: 3; gap: 2px 14px; }
  .panel { padding: 18px; }
}

/* Legal and support pages */
.legal h2 { font-size: 21px; }
.legal p.updated { display: none; }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 6px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none;
  font: 700 15px/1 var(--font-ui); color: var(--gold-bright); background: rgba(232, 194, 106, 0.07);
}
.contact-link:hover { border-color: var(--gold); background: rgba(232, 194, 106, 0.14); }
.token-name { font-family: var(--font-ui); font-weight: 700; color: var(--gold); }

/* Wiki (generated by packages/vorgrym_content/tool/site/wiki.dart) */
.wiki-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 4px 0 8px; }
.wiki-facts dt { font: 700 12px/1.9 var(--font-display); letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-dim); }
.wiki-facts dd { margin: 0; }
kbd { display: inline-block; min-width: 1.6em; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: rgba(232, 194, 106, 0.08); font: 600 13px/1.5 var(--font-ui); color: var(--gold-bright); text-align: center; white-space: nowrap; }
.panel .grid .card h3 { font-size: 17px; }
div.card p + p { margin-top: 8px; }
td strong { color: var(--ink); }
@media (max-width: 720px) {
  .wiki-facts { grid-template-columns: 1fr; gap: 0 0; }
  .wiki-facts dd { margin-bottom: 8px; }
}
.panel > h2:first-child { margin-top: 0; }
