@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');
:root {
  --wgf-bg: #030301;
  --wgf-bg-soft: #080703;
  --wgf-panel: #0d0b06;
  --wgf-panel-2: #151106;
  --wgf-line: #4a3a13;
  --wgf-line-2: #80631d;
  --wgf-gold: #ffd86b;
  --wgf-gold-2: #c99632;
  --wgf-orange: #ffae2a;
  --wgf-text: #f6ecd8;
  --wgf-muted: #b8aa8d;
  --wgf-blue: #62b5ff;
  --wgf-green: #39d875;
  --wgf-red: #ff6363;
  --wgf-max: 1460px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: block !important;
  grid-template-columns: none !important;
  color: var(--wgf-text);
  background:
    radial-gradient(circle at 18% -8%, rgba(255,216,107,.13), transparent 34rem),
    radial-gradient(circle at 88% 6%, rgba(255,174,42,.06), transparent 32rem),
    linear-gradient(180deg, #0b0803 0%, #050402 55%, #020201 100%);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.wgf-shell {
  width: 100% !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wgf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--wgf-line);
  background: rgba(5,4,2,.96);
  backdrop-filter: blur(10px);
}

.wgf-header-inner {
  width: min(var(--wgf-max), 100%);
  margin: 0 auto;
  padding: 11px clamp(14px, 3vw, 32px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, 360px) auto;
  gap: 14px;
  align-items: center;
}

.wgf-brand {
  color: var(--wgf-gold);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

.wgf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.wgf-nav-group {
  position: relative;
}

.wgf-nav-button,
.wgf-nav a.direct {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--wgf-muted);
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
}

.wgf-nav-button:hover,
.wgf-nav-button.active,
.wgf-nav a.direct:hover,
.wgf-nav a.direct.active {
  color: #090703;
  border-color: var(--wgf-gold);
  background: var(--wgf-gold);
}

.wgf-dropdown {
  display: none;
  position: absolute;
  top: 39px;
  left: 0;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--wgf-line);
  background: #070603;
  box-shadow: 0 18px 40px rgba(0,0,0,.58);
}

.wgf-nav-group:hover .wgf-dropdown,
.wgf-nav-group.open .wgf-dropdown {
  display: block;
}

.wgf-dropdown a {
  display: block;
  padding: 10px;
  color: var(--wgf-muted);
  border: 1px solid transparent;
}

.wgf-dropdown a:hover {
  color: var(--wgf-gold);
  border-color: rgba(255,216,107,.18);
  background: rgba(255,216,107,.06);
}

.wgf-dropdown strong {
  display: block;
  color: var(--wgf-gold);
  font-size: 14px;
}

.wgf-dropdown small {
  display: block;
  margin-top: 3px;
  color: var(--wgf-muted);
  line-height: 1.25;
}

.wgf-search {
  width: 100%;
}

.wgf-search input {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wgf-line);
  background: #090805;
  color: var(--wgf-text);
  outline: none;
}

.wgf-search input:focus {
  border-color: var(--wgf-line-2);
  box-shadow: 0 0 0 2px rgba(255,216,107,.08);
}

.wgf-menu-toggle {
  display: none;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--wgf-line);
  background: #090805;
  color: var(--wgf-gold);
  font-weight: 900;
  cursor: pointer;
}

.wgf-main {
  width: min(var(--wgf-max), 100%);
  margin: 0 auto;
  padding: 26px clamp(14px, 3vw, 32px) 56px;
  flex: 1;
}

.wgf-breadcrumbs {
  color: var(--wgf-muted);
  font-size: 13px;
  margin: 0 0 18px;
}

.wgf-breadcrumbs a {
  color: var(--wgf-gold-2);
}

.wgf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.wgf-kicker {
  margin: 0 0 9px;
  color: var(--wgf-gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wgf-hero h1 {
  margin: 0;
  color: var(--wgf-gold);
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: .95;
}

.wgf-hero p {
  max-width: 850px;
  color: var(--wgf-muted);
  line-height: 1.48;
}

.wgf-hero-search {
  max-width: 760px;
  margin-top: 18px;
}

.wgf-hero-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--wgf-line);
  background: #090805;
  color: var(--wgf-text);
  outline: none;
  font-size: 17px;
}

.wgf-hero-search input:focus {
  border-color: var(--wgf-line-2);
  box-shadow: 0 0 0 2px rgba(255,216,107,.08);
}

.wgf-search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.wgf-search-pills a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--wgf-line);
  background: rgba(255,216,107,.035);
  color: var(--wgf-muted);
  font-weight: 900;
  font-size: 13px;
}

.wgf-search-pills a:hover {
  border-color: var(--wgf-gold);
  color: var(--wgf-gold);
}

.wgf-hero-card,
.wgf-card,
.wgf-panel {
  border: 1px solid var(--wgf-line);
  background:
    linear-gradient(180deg, rgba(255,216,107,.055), transparent),
    rgba(10,9,5,.95);
}

.wgf-hero-card {
  padding: 16px;
}

.wgf-hero-card span,
.wgf-card span {
  display: block;
  color: var(--wgf-gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wgf-hero-card strong,
.wgf-card strong {
  display: block;
  margin-top: 8px;
  color: var(--wgf-gold);
  font-size: 24px;
}

.wgf-hero-card small,
.wgf-card small {
  display: block;
  margin-top: 8px;
  color: var(--wgf-muted);
  line-height: 1.35;
}

.wgf-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin: 22px 0;
}

.wgf-card {
  min-height: 158px;
  padding: 16px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.wgf-card:hover {
  transform: translateY(-2px);
  border-color: var(--wgf-gold);
  background:
    linear-gradient(180deg, rgba(255,216,107,.12), rgba(255,216,107,.025)),
    #090805;
}

.wgf-card em {
  display: inline-flex;
  margin-top: 12px;
  color: var(--wgf-gold);
  font-style: normal;
  font-weight: 900;
}

.wgf-section {
  margin-top: 28px;
}

.wgf-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

.wgf-section h2 {
  margin: 0;
  color: var(--wgf-gold);
  font-size: 28px;
}

.wgf-section p {
  color: var(--wgf-muted);
}

.wgf-panel {
  padding: 16px;
}

.wgf-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.wgf-category {
  border: 1px solid var(--wgf-line);
  background: #090805;
  padding: 14px;
}

.wgf-category h3 {
  margin: 0 0 8px;
  color: var(--wgf-gold);
  font-size: 20px;
}

.wgf-category a {
  display: block;
  color: var(--wgf-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,216,107,.08);
}

.wgf-category a:hover {
  color: var(--wgf-gold);
}

.wgf-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.wgf-link-card {
  border: 1px solid var(--wgf-line);
  background: #090805;
  padding: 12px;
}

.wgf-link-card:hover {
  border-color: var(--wgf-gold);
}

.wgf-link-card strong {
  display: block;
  color: var(--wgf-gold);
}

.wgf-link-card small {
  display: block;
  margin-top: 4px;
  color: var(--wgf-muted);
}

.wgf-ad-slot {
  display: none;
}

.wgf-ad-slot[data-ad-loaded="true"] {
  display: block;
  min-height: 90px;
  margin: 24px 0;
  border: 1px solid rgba(255,216,107,.16);
  background: rgba(255,216,107,.025);
}

.wgf-footer {
  border-top: 1px solid var(--wgf-line);
  background: #050402;
}

.wgf-footer-inner {
  width: min(var(--wgf-max), 100%);
  margin: 0 auto;
  padding: 24px clamp(14px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 18px;
}

.wgf-footer h3,
.wgf-footer h4 {
  margin: 0 0 8px;
  color: var(--wgf-gold);
}

.wgf-footer p,
.wgf-footer a {
  color: var(--wgf-muted);
}

.wgf-footer a {
  display: block;
  padding: 4px 0;
}

.wgf-disclaimer {
  grid-column: 1 / -1;
  color: var(--wgf-muted);
  font-size: 12px;
  border-top: 1px solid rgba(255,216,107,.12);
  padding-top: 14px;
}

@media (max-width: 1180px) {
  .wgf-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .wgf-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .wgf-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .wgf-nav.open {
    display: flex;
  }

  .wgf-search {
    grid-column: 1 / -1;
  }

  .wgf-dropdown {
    position: static;
    box-shadow: none;
    margin-top: 6px;
  }

  .wgf-nav-group.open .wgf-dropdown {
    display: block;
  }

  .wgf-hero {
    grid-template-columns: 1fr;
  }

  .wgf-tool-grid,
  .wgf-category-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .wgf-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .wgf-main {
    padding: 18px 12px 44px;
  }

  .wgf-hero h1 {
    font-size: 40px;
  }

  .wgf-tool-grid,
  .wgf-category-grid,
  .wgf-link-grid,
  .wgf-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Phase 3 content refinements */
.wgf-content-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}

.wgf-content-card {
  border: 1px solid var(--wgf-line);
  background: rgba(10,9,5,.95);
  padding: 15px;
}

.wgf-content-card h3 {
  margin: 0 0 8px;
  color: var(--wgf-gold);
  font-size: 20px;
}

.wgf-content-card p {
  margin: 0;
  color: var(--wgf-muted);
  line-height: 1.45;
}

.wgf-faq {
  display: grid;
  gap: 10px;
}

.wgf-faq details {
  border: 1px solid var(--wgf-line);
  background: #090805;
  padding: 12px;
}

.wgf-faq summary {
  color: var(--wgf-gold);
  font-weight: 900;
  cursor: pointer;
}

.wgf-faq p {
  color: var(--wgf-muted);
  line-height: 1.45;
}

.wgf-seo-copy {
  border: 1px solid var(--wgf-line);
  background: rgba(10,9,5,.95);
  padding: 16px;
}

.wgf-seo-copy h2,
.wgf-seo-copy h3 {
  color: var(--wgf-gold);
}

.wgf-seo-copy p,
.wgf-seo-copy li {
  color: var(--wgf-muted);
  line-height: 1.5;
}

.wgf-seo-copy ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.wgf-ad-slot {
  display: none;
}

.wgf-ad-slot[data-ad-loaded="true"] {
  display: block;
  min-height: 90px;
  margin: 24px 0;
  border: 1px solid rgba(255,216,107,.16);
  background: rgba(255,216,107,.025);
}

@media (max-width: 900px) {
  .wgf-content-strip {
    grid-template-columns: 1fr;
  }
}

/* Phase: larger and more forgiving dropdown hover targets */
.wgf-nav-button,
.wgf-nav a.direct {
  min-height: 42px !important;
  padding: 0 16px !important;
}

.wgf-nav-group:hover > .wgf-nav-button,
.wgf-nav-group.open > .wgf-nav-button {
  color: #090703 !important;
  border-color: #ffd86b !important;
  background: #ffd86b !important;
}

.wgf-dropdown {
  top: calc(100% - 1px) !important;
  min-width: 260px !important;
  padding: 10px !important;
}

.wgf-dropdown a {
  padding: 12px !important;
}

/* WGF_DESIGN_SYSTEM_PHASE1_START */
:root {
  --bg-base: #0C0B09;
  --bg-panel: #181410;
  --bg-panel-raised: #221C14;
  --bg-panel-hover: #2B2318;
  --bg-panel-selected: #382E1E;
  --bg-input: #141210;

  --border-subtle: #2A2018;
  --border-thin: #3D2F1A;
  --border-medium: #5C4525;
  --border-accent: #7A5C2A;
  --border-gold: #C89B3C;
  --border-gold-bright: #E8BB50;

  --gold-bright: #FFD100;
  --gold-primary: #C89B3C;
  --gold-secondary: #A67C2E;
  --gold-muted: #7D5A1E;

  --text-primary: #E8D5A3;
  --text-secondary: #B09060;
  --text-muted: #7D6445;
  --text-hint: #4D3E2B;

  --link-realm: #69B3FF;
  --link-realm-hover: #99CCFF;
  --link-player: #E8D5A3;
  --link-armory: #C89B3C;

  --quality-poor: #9D9D9D;
  --quality-common: #E8D5A3;
  --quality-uncommon: #1EFF00;
  --quality-rare: #0070DD;
  --quality-epic: #A335EE;
  --quality-legendary: #FF8000;
  --quality-artifact: #E6CC80;
  --quality-heirloom: #00CCFF;
  --quality-wow-token: #00CCFF;

  --status-positive: #4CAF50;
  --status-warning: #FF9800;
  --status-danger: #CF4444;
  --status-info: #4A90D9;

  --coin-gold: #FFD100;
  --coin-silver: #C0C0C0;
  --coin-copper: #B87333;

  --font-display: 'Cinzel', 'Palatino Linotype', 'Book Antiqua', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-content: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 38px;
  --text-hero: 52px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --panel-top-accent: 2px solid var(--border-gold);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gold-bright);
}

.wgf-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-thin);
  border-top: var(--panel-top-accent);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.wgf-panel-header {
  background: var(--bg-panel-raised);
  border-bottom: 1px solid var(--border-medium);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-secondary);
}

.wgf-panel-body {
  padding: 14px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-thin);
  border-top: 2px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.feature-card:hover {
  background: var(--bg-panel-hover);
  border-color: var(--border-accent);
  border-top-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-primary,
button.search-btn,
.search-button {
  background: linear-gradient(180deg, #C8982A 0%, #8B6508 100%);
  border: 1px solid #7A5A06;
  border-radius: var(--radius-sm);
  color: #FFF5D6;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-primary:hover,
button.search-btn:hover {
  filter: brightness(1.15);
}

.btn-secondary,
button.filter-btn,
button.reset-btn {
  background: var(--bg-panel-raised);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 7px 14px;
  cursor: pointer;
}

.btn-secondary:hover,
button.filter-btn:hover,
button.reset-btn:hover {
  border-color: var(--border-accent);
  color: var(--gold-secondary);
  background: var(--bg-panel-hover);
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  border-color: var(--border-accent);
  color: var(--gold-secondary);
  background: rgba(200, 155, 60, 0.06);
}

.tab-btn.active {
  background: rgba(200, 155, 60, 0.15);
  border-color: var(--border-gold);
  color: var(--gold-primary);
  font-weight: 600;
}

.wgf-select,
select.wgf-select,
.filter-select,
.realm-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-input);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 7px 32px 7px 10px;
  cursor: pointer;
}

.wgf-input,
input[type="text"].wgf-input,
input[type="search"].wgf-input,
.search-input,
.filter-search {
  background: var(--bg-input);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 7px 12px;
}

.wgf-input:focus,
.search-input:focus,
.wgf-select:focus {
  border-color: var(--border-gold);
  outline: none;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  text-align: center;
  min-height: 120px;
}

.empty-state .empty-icon {
  width: 36px;
  height: 36px;
  opacity: 0.25;
  margin-bottom: 10px;
}

.empty-state .empty-title {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 0 4px;
}

.empty-state .empty-sub {
  font-size: var(--text-xs);
  color: var(--text-hint);
  margin: 0;
}

.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 6px;
}

.section-title,
h1,
h2 {
  font-family: var(--font-display);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
}

.wgf-hide-public-draft,
.draft-badge,
.badge-draft,
[class*="draft-badge" i],
[class*="draft_badge" i] {
  display: none !important;
}

/* PvP formatter classes */
.winrate-high { color: var(--status-positive) !important; }
.winrate-mid { color: var(--text-primary) !important; }
.winrate-low { color: var(--status-danger) !important; }
.record-wins { color: var(--status-positive) !important; }
.record-losses { color: var(--status-danger) !important; }
.realm-name,
.realm-link {
  color: var(--link-realm) !important;
}
.realm-name:hover,
.realm-link:hover {
  color: var(--link-realm-hover) !important;
}
/* WGF_DESIGN_SYSTEM_PHASE1_END */

/* WGF_STUB_PAGE_CLEANUP_START */
.wgf-clean-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.wgf-clean-hero {
  background: var(--bg-panel, #181410);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-top: 2px solid var(--border-gold, #C89B3C);
  border-radius: var(--radius-md, 5px);
  padding: 32px;
  margin-bottom: 24px;
}

.wgf-clean-hero h1 {
  color: var(--gold-primary, #C89B3C);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 6px 0 12px;
}

.wgf-clean-hero p {
  max-width: 760px;
  color: var(--text-secondary, #B09060);
  font-size: 16px;
}

.wgf-clean-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.wgf-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.wgf-clean-card {
  display: block;
  background: var(--bg-panel, #181410);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-radius: var(--radius-md, 5px);
  padding: 20px;
  min-height: 150px;
}

.wgf-clean-card:hover {
  background: var(--bg-panel-hover, #2B2318);
  border-color: var(--border-accent, #7A5C2A);
}

.wgf-clean-card-kicker {
  color: var(--gold-muted, #7D5A1E);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wgf-clean-card h2 {
  color: var(--gold-primary, #C89B3C);
  font-family: var(--font-display, Georgia, serif);
  font-size: 20px;
  margin: 0 0 8px;
}

.wgf-clean-card p,
.wgf-clean-note {
  color: var(--text-secondary, #B09060);
}

@media (max-width: 820px) {
  .wgf-clean-grid {
    grid-template-columns: 1fr;
  }

  .wgf-clean-hero {
    padding: 24px;
  }
}
/* WGF_STUB_PAGE_CLEANUP_END */


/* WGF_HOMEPAGE_TRIM_START */
.wgf-home {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 20px 72px;
}

.wgf-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.wgf-home-hero-copy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(200,155,60,.11), transparent 34%),
    linear-gradient(180deg, rgba(24,20,16,.98), rgba(14,12,10,.98));
  border: 1px solid var(--border-thin, #3D2F1A);
  border-top: 2px solid var(--border-gold, #C89B3C);
  border-radius: var(--radius-md, 5px);
  padding: clamp(28px, 5vw, 54px);
}

.wgf-home-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.wgf-home-hero-copy > * {
  position: relative;
  z-index: 1;
}

.wgf-home-hero h1 {
  color: var(--gold-primary, #C89B3C);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  max-width: 860px;
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}

.wgf-home-hero p {
  max-width: 760px;
  color: var(--text-secondary, #B09060);
  font-size: 17px;
  margin: 0;
}

.wgf-home-search {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-top: 26px;
}

.wgf-home-search input {
  flex: 1;
  min-width: 0;
  background: var(--bg-input, #141210);
  border: 1px solid var(--border-medium, #5C4525);
  color: var(--text-primary, #E8D5A3);
  border-radius: var(--radius-sm, 3px);
  padding: 12px 14px;
  font-size: 15px;
}

.wgf-home-search input:focus {
  outline: none;
  border-color: var(--border-gold, #C89B3C);
}

.wgf-home-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.wgf-home-quicklinks a {
  color: var(--text-secondary, #B09060);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  background: rgba(0,0,0,.14);
}

.wgf-home-quicklinks a:hover {
  color: var(--gold-primary, #C89B3C);
  border-color: var(--border-accent, #7A5C2A);
  background: rgba(200,155,60,.07);
}

.wgf-home-live-panel {
  min-height: 100%;
}

.wgf-home-live-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wgf-home-live-list li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle, #2A2018);
}

.wgf-home-live-list li:last-child {
  border-bottom: 0;
}

.wgf-home-live-list strong {
  color: var(--text-primary, #E8D5A3);
  font-size: 14px;
}

.wgf-home-live-list span {
  color: var(--text-muted, #7D6445);
  font-size: 13px;
}

.wgf-home-primary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.wgf-home-feature {
  min-height: 198px;
  display: flex;
  flex-direction: column;
}

.wgf-home-feature .card-link {
  margin-top: auto;
}

.wgf-home-secondary {
  background: var(--bg-panel, #181410);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-radius: var(--radius-md, 5px);
  padding: 24px;
}

.wgf-home-section-head h2 {
  color: var(--gold-primary, #C89B3C);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  margin: 0 0 8px;
}

.wgf-home-section-head p {
  color: var(--text-secondary, #B09060);
  max-width: 720px;
  margin: 0 0 18px;
}

.wgf-home-link-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.wgf-home-link-grid a {
  background: var(--bg-panel-raised, #221C14);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-radius: var(--radius-sm, 3px);
  color: var(--text-secondary, #B09060);
  padding: 11px 12px;
  text-align: center;
  font-size: 13px;
}

.wgf-home-link-grid a:hover {
  color: var(--gold-primary, #C89B3C);
  background: var(--bg-panel-hover, #2B2318);
  border-color: var(--border-accent, #7A5C2A);
}

@media (max-width: 980px) {
  .wgf-home-hero {
    grid-template-columns: 1fr;
  }

  .wgf-home-primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wgf-home-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wgf-home {
    padding: 24px 14px 56px;
  }

  .wgf-home-search {
    flex-direction: column;
  }

  .wgf-home-primary-grid,
  .wgf-home-link-grid {
    grid-template-columns: 1fr;
  }
}
/* WGF_HOMEPAGE_TRIM_END */


/* WGF_SECTION_SHELL_START */
.wgf-section-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 20px 72px;
}

.wgf-section-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.wgf-section-hero > div:first-child,
.wgf-section-sidecard,
.wgf-section-content {
  background: var(--bg-panel, #181410);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-radius: var(--radius-md, 5px);
}

.wgf-section-hero > div:first-child {
  border-top: 2px solid var(--border-gold, #C89B3C);
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 18% 0%, rgba(200,155,60,.11), transparent 34%),
    linear-gradient(180deg, rgba(24,20,16,.98), rgba(12,10,8,.98));
}

.wgf-section-hero h1 {
  color: var(--gold-primary, #C89B3C);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 8px 0 12px;
}

.wgf-section-hero p {
  color: var(--text-secondary, #B09060);
  max-width: 760px;
  font-size: 16px;
  margin: 0;
}

.wgf-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.wgf-section-sidecard {
  overflow: hidden;
}

.wgf-section-sidecard ul {
  list-style: none;
  margin: 0;
  padding: 16px 18px;
}

.wgf-section-sidecard li {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle, #2A2018);
}

.wgf-section-sidecard li:last-child {
  border-bottom: 0;
}

.wgf-section-sidecard strong {
  color: var(--text-primary, #E8D5A3);
  font-size: 14px;
}

.wgf-section-sidecard span {
  color: var(--text-muted, #7D6445);
  font-size: 13px;
}

.wgf-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.wgf-section-card {
  display: block;
  min-height: 170px;
  background: var(--bg-panel, #181410);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-radius: var(--radius-md, 5px);
  padding: 20px;
}

.wgf-section-card:hover {
  background: var(--bg-panel-hover, #2B2318);
  border-color: var(--border-accent, #7A5C2A);
}

.wgf-section-card h2 {
  color: var(--gold-primary, #C89B3C);
  font-family: var(--font-display, Georgia, serif);
  font-size: 21px;
  margin: 6px 0 8px;
}

.wgf-section-card p {
  color: var(--text-secondary, #B09060);
  margin: 0;
  font-size: 14px;
}

.wgf-section-content {
  overflow: hidden;
}

.wgf-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wgf-pill-grid a {
  color: var(--text-secondary, #B09060);
  background: var(--bg-panel-raised, #221C14);
  border: 1px solid var(--border-thin, #3D2F1A);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}

.wgf-pill-grid a:hover {
  color: var(--gold-primary, #C89B3C);
  border-color: var(--border-accent, #7A5C2A);
}

@media (max-width: 980px) {
  .wgf-section-hero,
  .wgf-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wgf-section-hero > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wgf-section-shell {
    padding: 24px 14px 56px;
  }

  .wgf-section-hero,
  .wgf-section-grid {
    grid-template-columns: 1fr;
  }
}
/* WGF_SECTION_SHELL_END */


/* WGF_TOKEN_GOLD_THEME_START */

/* Token page: hide old duplicate page masthead/nav if present. */
body.wgf-token-page > header:not(.wgf-global-header):not(.wgf-priority-header):not(.wgf-unified-header),
body.wgf-token-page .site-header:not(.wgf-global-header),
body.wgf-token-page .token-site-header,
body.wgf-token-page .legacy-header,
body.wgf-token-page .old-header {
  display: none !important;
}

/* Token page shell should match the rest of WoW Gold Farms. */
body.wgf-token-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(200,155,60,.08), transparent 34%),
    #030302 !important;
  color: #E8D5A3 !important;
}

/* Remove the blue-token-card look without breaking token JS. */
body.wgf-token-page .token-hero,
body.wgf-token-page .token-card,
body.wgf-token-page .token-panel,
body.wgf-token-page .token-section,
body.wgf-token-page .token-history,
body.wgf-token-page .token-chart,
body.wgf-token-page .token-grid > *,
body.wgf-token-page .panel,
body.wgf-token-page .card {
  background: #181410 !important;
  border: 1px solid #3D2F1A !important;
  border-radius: 8px !important;
  color: #E8D5A3 !important;
  box-shadow: none !important;
}

body.wgf-token-page .token-hero {
  border-top: 2px solid #C89B3C !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(200,155,60,.12), transparent 34%),
    linear-gradient(180deg, #181410, #0C0A08) !important;
}

body.wgf-token-page h1,
body.wgf-token-page h2,
body.wgf-token-page h3,
body.wgf-token-page .token-title,
body.wgf-token-page .panel-title,
body.wgf-token-page .card-title {
  color: #E8D5A3 !important;
}

body.wgf-token-page .section-eyebrow,
body.wgf-token-page .token-kicker,
body.wgf-token-page .panel-header,
body.wgf-token-page .wgf-panel-header {
  color: #C89B3C !important;
  border-color: #3D2F1A !important;
}

body.wgf-token-page .token-price,
body.wgf-token-page #tokenPrice {
  color: #FFD100 !important;
  text-shadow: 0 0 18px rgba(255,209,0,.16);
}

body.wgf-token-page p,
body.wgf-token-page li,
body.wgf-token-page .muted,
body.wgf-token-page .token-subtitle {
  color: #B09060 !important;
}

body.wgf-token-page input,
body.wgf-token-page select {
  background: #0E0C09 !important;
  color: #E8D5A3 !important;
  border: 1px solid #5C4525 !important;
}

body.wgf-token-page button,
body.wgf-token-page .btn-primary {
  background: linear-gradient(180deg, #D6A83E, #9D741F) !important;
  border: 1px solid #E5C15B !important;
  color: #090704 !important;
  font-weight: 700 !important;
}

body.wgf-token-page button:hover,
body.wgf-token-page .btn-primary:hover {
  filter: brightness(1.08);
}

/* WGF_TOKEN_GOLD_THEME_END */
