:root {
  --bg: #030406;
  --bg-2: #080b10;
  --panel: rgba(12, 16, 22, 0.78);
  --panel-solid: #111720;
  --panel-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(237, 198, 116, 0.22);
  --line-cool: rgba(143, 186, 216, 0.18);
  --text: #f7f0df;
  --muted: #b8b1a4;
  --dim: #827b70;
  --accent: #e8bd68;
  --accent-hot: #ff8c42;
  --blue: #72b7ff;
  --signal: #72dfa3;
  --danger: #ff9a9a;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.55);
  --radius-lg: 28px;
  --radius-md: 18px;
  --serif: Cambria, Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100%; color: var(--text); font-family: var(--sans); background: var(--bg); overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,4,6,.86), rgba(3,4,6,.48) 42%, rgba(3,4,6,.75)),
    radial-gradient(circle at 15% 12%, rgba(95, 145, 189, .26), transparent 30rem),
    radial-gradient(circle at 82% 20%, rgba(255, 125, 43, .18), transparent 28rem),
    url('/assets/hero-gate.png') center top / cover no-repeat;
  filter: saturate(.86) contrast(1.06);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(3,4,6,.35) 48%, #030406 100%);
  background-size: 72px 72px, 72px 72px, auto;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 82%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.shell { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }
.site-backdrop { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.site-backdrop span { position: absolute; display: block; border-radius: 999px; filter: blur(42px); opacity: .6; }
.site-backdrop span:nth-child(1){ width: 42rem; height: 20rem; left: -14rem; top: 12rem; background: rgba(51, 82, 111, .34); }
.site-backdrop span:nth-child(2){ width: 26rem; height: 18rem; right: -10rem; top: 22rem; background: rgba(255, 111, 41, .16); }
.site-backdrop span:nth-child(3){ width: 22rem; height: 22rem; left: 35%; bottom: -12rem; background: rgba(232, 189, 104, .12); }
.site-header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(3,5,8,.94), rgba(3,5,8,.72)); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(0,0,0,.38);
}
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-mark { display: inline-flex; align-items: center; gap: .9rem; min-width: max-content; }
.brand-crest { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(232,189,104,.35); box-shadow: 0 0 32px rgba(232,189,104,.2); }
.brand-copy strong { display: block; font-family: var(--serif); font-size: 1.22rem; letter-spacing: .055em; text-transform: uppercase; }
.brand-copy small { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.site-nav, .footer-links, .hero-actions, .download-meta, .forum-counts { display: flex; align-items: center; gap: .78rem; flex-wrap: wrap; }
.site-nav a, .footer-links a { color: var(--muted); font-size: .92rem; transition: color .2s ease, transform .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active, .footer-links a:hover { color: var(--text); transform: translateY(-1px); }
.nav-cta, .button-primary, .button-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: .82rem 1.18rem; border-radius: 999px;
  font-weight: 900; letter-spacing: .035em; text-transform: uppercase; font-size: .78rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-cta, .button-primary { color: #170f07; background: linear-gradient(135deg, #fff0b7, #e8bd68 42%, #a9642b); box-shadow: 0 16px 36px rgba(193, 112, 38, .28); }
.button-secondary { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.055); }
.nav-cta:hover, .button-primary:hover, .button-secondary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(0,0,0,.34); }
main { padding: 1rem 0 3.5rem; }
.hero-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 1rem; align-items: stretch; padding-top: 1rem; }
.hero-copy, .hero-art-card, .page-hero, .callout-panel, .download-card, .forum-section, .info-card, .showcase-card, .feature-rail article, .vendor-card, .panel, .board-group {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(18, 24, 32, .86), rgba(5, 7, 10, .78)); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-copy::before, .page-hero::before, .callout-panel::before, .download-card::before, .forum-section::before, .showcase-card::before, .feature-rail article::before, .vendor-card::before, .panel::before, .board-group::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 28%, rgba(232,189,104,.04)); opacity: .66;
}
.panel-glow::after { content: ""; position: absolute; inset: auto -10% -35% 15%; height: 55%; background: radial-gradient(circle, rgba(232,189,104,.16), transparent 64%); pointer-events: none; }
.hero-copy { padding: clamp(1.5rem, 4vw, 3.4rem); min-height: 590px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 900; }
h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: .98; letter-spacing: -.035em; }
.hero-copy h1 { max-width: 830px; font-size: clamp(3rem, 7.4vw, 6.45rem); text-shadow: 0 18px 50px rgba(0,0,0,.6); }
.hero-eyebrow-compact { font-size: .421875rem; }
.hero-title-compact { font-size: clamp(1.6875rem, 4.1625vw, 3.628125rem) !important; }
.hero-text, .page-hero p, .forum-section p, .info-card p, .download-card p, .callout-panel li, .preview-row p, .site-footer p, .site-footer small, .feature-rail p, .showcase-card p, .vendor-card p, .lead, .board-row p { color: var(--muted); line-height: 1.72; }
.hero-text { max-width: 680px; margin: 1.1rem 0 1.45rem; font-size: 1.12rem; }
.hero-art-card { min-height: 590px; padding: .65rem; display: grid; place-items: stretch; }
.hero-art-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.realm-status { position: absolute; left: 1.4rem; bottom: 1.4rem; display: grid; gap: .1rem; padding: .82rem 1rem; border-radius: 18px; background: rgba(4,6,9,.72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); font-weight: 800; }
.realm-status small { color: var(--muted); font-weight: 600; }
.status-dot { display: inline-block; width: .65rem; height: .65rem; margin-right: .45rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 16px rgba(114,223,163,.75); }
.connection-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0 0; }
.connection-card div, .download-card dl div, .preview-row, .forum-row, .board-row { padding: 1rem; border: 1px solid var(--line-cool); border-radius: var(--radius-md); background: rgba(255,255,255,.045); }
.connection-card dt, .download-card dt, .vendor-meta dt { color: var(--dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.connection-card dd, .download-card dd, .vendor-meta dd { margin: .32rem 0 0; color: var(--text); font-weight: 800; }
.single-column { grid-template-columns: 1fr; }
.feature-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.feature-rail article { padding: 1.2rem; }
.feature-rail span { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 1rem; border-radius: 50%; color: #160f08; background: var(--accent); font-weight: 900; }
.feature-rail h2 { font-size: 1.42rem; }
.feature-rail p { margin-bottom: 0; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.showcase-card { display: grid; grid-template-columns: 1fr; }
.showcase-card.wide { grid-column: 1 / -1; grid-template-columns: .95fr 1.05fr; align-items: center; }
.showcase-card img { width: 100%; min-height: 250px; height: 100%; object-fit: cover; }
.showcase-card div { padding: 1.4rem; position: relative; }
.showcase-card h2, .callout-panel h2, .download-card h2, .page-hero h1, .forum-section h2, .vendor-results-head h2 { font-size: clamp(1.8rem, 3vw, 3.2rem); }
.dual-panel, .section-grid, .download-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.dual-panel { grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr); }
.section-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.callout-panel, .download-card, .forum-section, .info-card, .page-hero, .panel, .board-group { padding: clamp(1.2rem, 2.6vw, 2rem); }
.blade-panel { background: linear-gradient(145deg, rgba(24, 29, 38, .9), rgba(7, 9, 13, .84)); }
.glass-panel, .subdued { background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.preview-list, .forum-shell, .forum-table, .board-table { display: grid; gap: .85rem; }
.preview-row { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1rem; align-items: center; }
.preview-row h3, .forum-row h3, .vendor-card h3 { font-size: 1.28rem; }
.preview-row p, .preview-row h3 { margin: .2rem 0 0; }
.preview-row a, .forum-counts span, .forum-lastpost strong, .download-meta span, .vendor-price, .board-stats, .last-post { color: var(--accent); font-weight: 900; }
.page-hero { display: grid; gap: 1.2rem; margin-top: 1rem; min-height: 275px; align-items: center; }
.media-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr); }
.media-hero img { width: 100%; height: 250px; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 22px 58px rgba(0,0,0,.35); }
.compact-hero h1, .panel h1, .board-group h2 { font-size: clamp(2.3rem, 5vw, 4.7rem); }
.page-hero p { max-width: 850px; font-size: 1.03rem; }
.download-meta { justify-content: space-between; color: var(--muted); margin-bottom: .9rem; }
.download-card dl { display: grid; gap: .75rem; margin: 1rem 0 1.2rem; }
.gold-card { border-color: rgba(255, 224, 151, .38); }
.step-list, .callout-panel ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.forum-shell { margin-top: 1rem; }
.forum-section header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.forum-row { display: grid; grid-template-columns: auto minmax(0, 1.2fr) auto minmax(170px, .45fr); gap: 1rem; align-items: center; }
.forum-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; color: #170f07; background: linear-gradient(135deg, #ffeab2, #bc7b2b); font-weight: 900; box-shadow: 0 12px 26px rgba(171, 97, 31, .22); }
.forum-link { color: var(--text); }
.forum-link:hover { color: var(--accent); }
.forum-counts { align-items: end; flex-direction: column; gap: .15rem; }
.forum-lastpost { display: grid; gap: .2rem; justify-items: end; }
.forum-identity-shell { margin-top: 1rem; }
.identity-actions { align-items: center; }
.thread-row { padding: 1.1rem 1.2rem; border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.account-session-note { display: grid; gap: .35rem; margin-top: 1rem; padding: .95rem 1rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.account-session-note strong { color: var(--accent); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.account-session-note span { font-family: var(--serif); font-size: 1.2rem; }
.account-session-note p { margin: 0; }
.portal-form { display: grid; gap: .95rem; }
.portal-form label { display: grid; gap: .38rem; }
.portal-form span { color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; }
.portal-form input, .portal-form select { min-height: 3.2rem; padding: .86rem 1rem; border-radius: 16px; border: 1px solid var(--line-cool); background: rgba(255,255,255,.065); color: var(--text); font: inherit; outline: none; }
.portal-form input:focus, .portal-form select:focus { border-color: rgba(232, 189, 104, .76); box-shadow: 0 0 0 4px rgba(232,189,104,.1); }
.portal-form input::placeholder { color: #777f8a; }
.portal-form select option { color: #11161d; }
.form-status { margin: .85rem 0 0; min-height: 1.4rem; color: var(--muted); }
.form-status.success { color: var(--signal); }
.form-status.error { color: var(--danger); }
.form-status.pending { color: var(--accent); }
.vendor-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vendor-form label:first-child, .vendor-form button { grid-column: 1 / -1; }
.vendor-results-shell { margin-top: 1.4rem; }
.vendor-results-head { margin-bottom: .9rem; }
.vendor-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vendor-card { padding: 1.2rem; }
.vendor-card-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.vendor-price { font-size: 1.2rem; }
.vendor-meta { display: grid; gap: .7rem; margin: 1rem 0 0; }
.vendor-meta div { padding: .85rem .95rem; border-radius: 15px; background: rgba(255,255,255,.04); }
.board-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(170px,.55fr); gap: 1rem; align-items: center; }
.board-name a { color: var(--text); }
.site-footer { border-top: 1px solid var(--line); background: rgba(4,6,9,.88); }
.footer-shell { display: flex; justify-content: space-between; gap: 1rem; padding: 1.45rem 0 2.25rem; }
.site-footer strong { font-family: var(--serif); text-transform: uppercase; letter-spacing: .08em; }
.site-footer p { margin: .4rem 0; max-width: 700px; }
.site-footer small { display: block; max-width: 760px; font-size: .76rem; }
@media (max-width: 1040px) { .hero-shell, .media-hero, .dual-panel, .showcase-card.wide { grid-template-columns: 1fr; } .feature-rail, .vendor-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-copy, .hero-art-card { min-height: auto; } .hero-art-card img { min-height: 390px; } }
@media (max-width: 780px) { .nav-shell, .footer-shell, .forum-section header { flex-direction: column; align-items: flex-start; } .site-nav { width: 100%; } .nav-cta { display: none; } .connection-card, .download-grid, .section-grid, .showcase-grid, .vendor-form, .vendor-results, .feature-rail, .forum-row, .board-row, .preview-row { grid-template-columns: 1fr; } .forum-counts, .forum-lastpost { align-items: flex-start; justify-items: start; } .media-hero img, .hero-art-card img { min-height: 260px; } }
@media (max-width: 520px) { .shell { width: min(100% - 1rem, 1200px); } .hero-copy h1 { font-size: 2.8rem; } .hero-copy, .callout-panel, .download-card, .forum-section, .page-hero { padding: 1rem; border-radius: 20px; } .brand-copy small { display: none; } }
