/* ==========================================================================
   warcraftforever.ro — landing page, customer panel and admin panel.
   Plain CSS, served directly: no build step needed to run the platform.
   ========================================================================== */

:root {
  --wf-ink: #05080f;
  --wf-night: #0a1024;
  --wf-deep: #101a33;
  --wf-panel: #0d1426;
  --wf-panel-2: #121b31;
  --wf-raised: #18233d;

  --wf-line: #243352;
  --wf-line-soft: rgba(255, 255, 255, 0.07);
  --wf-line-gold: #7c5e35;

  --wf-text: #d7dced;
  --wf-head: #f3f6ff;
  --wf-muted: #8b98b8;

  --wf-gold: #f4c65b;
  --wf-gold-hi: #ffe09a;
  --wf-gold-dim: #a67d46;
  --wf-gold-soft: #e3c07c;
  --wf-sky: #6fb2ff;
  --wf-sky-hi: #a7d2ff;

  --wf-ok: #46d07f;
  --wf-warn: #f4c65b;
  --wf-danger: #ff7a7a;

  --wf-alliance: #3f8fe0;
  --wf-horde: #c41f3b;

  --wf-display: 'Cinzel', 'Palatino Linotype', Georgia, serif;
  --wf-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wf-radius: 4px;
  --wf-shell: 1200px;
  --wf-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 400 16px/1.65 var(--wf-body);
  color: var(--wf-text);
  background: var(--wf-ink);
}

a { color: var(--wf-sky); text-decoration: none; transition: color .12s ease; }
a:hover { color: var(--wf-sky-hi); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--wf-gold);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--wf-display);
  color: var(--wf-head);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

p { margin: 0 0 14px; }

hr { border: 0; border-top: 1px solid var(--wf-line); margin: 24px 0; }

code, kbd {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .88em;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .45);
  border: 1px solid var(--wf-line);
  color: var(--wf-gold);
  word-break: break-all;
}

.wf-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wf-shell { width: 100%; max-width: var(--wf-shell); margin: 0 auto; padding: 0 20px; }
.wf-shell.is-narrow { max-width: 880px; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.wf-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 15, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wf-line);
}

.wf-top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.wf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 1.1rem var(--wf-display);
  color: var(--wf-gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wf-logo:hover { color: var(--wf-gold-hi); }
.wf-logo i { font-size: 1.2em; }

.wf-top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.wf-top-nav a {
  padding: 8px 14px;
  border-radius: var(--wf-radius);
  color: var(--wf-text);
  font-size: .92rem;
}

.wf-top-nav a:hover { background: rgba(255, 255, 255, .06); color: var(--wf-gold); }
.wf-top-nav a.is-active { color: var(--wf-gold); background: rgba(244, 198, 91, .1); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--wf-line-gold);
  border-radius: var(--wf-radius);
  background: linear-gradient(180deg, #2a3b63, #16233f);
  color: var(--wf-gold-hi);
  font: 600 .88rem var(--wf-body);
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}

.wf-btn:hover {
  background: linear-gradient(180deg, #35497a, #1d2e52);
  border-color: var(--wf-gold-dim);
  color: #fff;
}

.wf-btn.is-primary {
  background: linear-gradient(180deg, #e0b24c, #b4832c);
  border-color: #e7c979;
  color: #2a1d05;
  font-weight: 700;
}

.wf-btn.is-primary:hover { background: linear-gradient(180deg, #f3c763, #c9933a); color: #1d1403; }

.wf-btn.is-ghost { background: transparent; color: var(--wf-text); border-color: var(--wf-line); }
.wf-btn.is-ghost:hover { background: rgba(255, 255, 255, .06); color: var(--wf-gold); }

.wf-btn.is-danger { color: var(--wf-danger); border-color: rgba(255, 122, 122, .4); background: transparent; }
.wf-btn.is-danger:hover { background: rgba(255, 122, 122, .12); color: #ffb3b3; }

.wf-btn.is-small { padding: 6px 12px; font-size: .8rem; }
.wf-btn.is-large { padding: 14px 28px; font-size: 1rem; }
.wf-btn.is-block { width: 100%; }
.wf-btn[disabled], .wf-btn.is-disabled { opacity: .45; pointer-events: none; }

/* --------------------------------------------------------------------------
   The surfaces the browser draws

   Selection, the caret, the scrollbar and the focus ring ship with defaults
   that belong to no design. They are part of the page too.
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(244, 198, 91, .28);
  color: #fff6de;
}

html { scrollbar-color: var(--wf-line-gold) var(--wf-ink); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--wf-ink); }

::-webkit-scrollbar-thumb {
  border: 3px solid var(--wf-ink);
  border-radius: 999px;
  background: var(--wf-line-gold);
}

::-webkit-scrollbar-thumb:hover { background: var(--wf-gold-dim); }

input, textarea, select { caret-color: var(--wf-gold); }

:focus-visible {
  outline: 2px solid var(--wf-gold);
  outline-offset: 2px;
}

a { text-underline-offset: 2px; }

/* Figures in tables and prices line up on the decimal. */
.wf-table .is-numeric, .wf-price .amount, .wf-stat .value {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   The one authored moment

   The hero settles once on arrival: the plates come up from under the fold
   of the page and sharpen, which is the gesture of something being laid on a
   table. Nothing else on the page moves on its own.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .wf-hero-inner > * {
    animation: wf-settle 1000ms cubic-bezier(.16, 1, .3, 1) backwards;
  }

  .wf-hero-inner > :nth-child(2) { animation-delay: 90ms; }
  .wf-hero-inner > :nth-child(3) { animation-delay: 170ms; }
  .wf-hero-inner > :nth-child(4) { animation-delay: 240ms; }

  /* The art itself opens from a touch closer, which is what makes the words
     feel like they settled onto it rather than beside it. */
  .wf-hero.has-art::before {
    animation: wf-open 1600ms cubic-bezier(.16, 1, .3, 1) backwards;
  }

  @keyframes wf-settle {
    from {
      opacity: 0;
      transform: translateY(18px);
      filter: blur(6px);
    }
  }

  @keyframes wf-open {
    from {
      opacity: 0;
      transform: scale(1.06);
    }
  }
}

/* --------------------------------------------------------------------------
   Hero and landing sections
   -------------------------------------------------------------------------- */
.wf-hero {
  position: relative;
  padding: 108px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--wf-line-gold);
  background: #05080f;
}

/* Azeroth behind the words. The scrim is two gradients rather than one flat
   wash: a hard one from the left so the copy sits on near-black, and a softer
   one from the foot so the art still opens out on the right. */
.wf-hero.has-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wf-hero-art, url('/img/wow/hero.webp')) 50% 52% / cover no-repeat;
}

.wf-hero.has-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #05080f 12%, rgba(5, 8, 15, .95) 39%, rgba(5, 8, 15, .4) 64%, rgba(5, 8, 15, .58) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, .8), rgba(5, 8, 15, .05) 45%, rgba(5, 8, 15, .88));
}

.wf-hero > * { position: relative; z-index: 1; }

@media (max-width: 760px) {
  .wf-hero { padding: 76px 0 64px; }
  .wf-hero.has-art::after {
    background: linear-gradient(180deg, rgba(5, 8, 15, .78), rgba(5, 8, 15, .92) 55%, #05080f);
  }
}

/* Copy on the left, a real piece of the product on the right. */
.wf-hero-inner { max-width: 40rem; }

.wf-hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  line-height: 1.04;
  margin-bottom: 22px;
  letter-spacing: .005em;
  text-wrap: balance;
  color: #fff4d8;

  /* The cut-into-metal look the game's own lettering has: a dark bed under
     the glyph and a thin warm light above it. */
  text-shadow:
    0 1px 0 rgba(0, 0, 0, .9),
    0 2px 1px rgba(0, 0, 0, .7),
    0 0 42px rgba(244, 198, 91, .22);
}

.wf-hero .wf-lede {
  max-width: 52ch;
  margin: 0 0 32px;
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  line-height: 1.68;
  color: #e6ebf8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

.wf-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wf-hero-note {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--wf-line-soft);
  color: var(--wf-muted);
  font-size: .86rem;
}

.wf-hero-note b { color: var(--wf-gold); font-weight: 600; }

/* A hero that is only words — the pages either side of the landing page. */
.wf-hero.is-simple { text-align: center; }
.wf-hero.is-simple .wf-lede { margin-inline: auto; }

/* A hero that is only words — the pages either side of the landing page. */
.wf-hero.is-simple { text-align: center; }
.wf-hero.is-simple .wf-lede { margin-inline: auto; }

.wf-section { padding: 72px 0; }
.wf-section.is-tight { padding: 48px 0; }
.wf-section.is-alt { background: linear-gradient(180deg, #080d1a, #0a1024); border-block: 1px solid var(--wf-line); }

.wf-section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.wf-section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.wf-section-head p { color: var(--wf-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */
.wf-grid { display: grid; gap: 20px; }
.wf-grid.is-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.wf-grid.is-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wf-grid.is-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.wf-card {
  background: var(--wf-panel);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 24px;
}

.wf-card.is-raised { background: var(--wf-panel-2); box-shadow: var(--wf-shadow); }

.wf-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.wf-card h3 i { color: var(--wf-gold); }
.wf-card p:last-child { margin-bottom: 0; }

.wf-feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--wf-line-gold);
  border-radius: var(--wf-radius);
  background: rgba(244, 198, 91, .08);
  color: var(--wf-gold);
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Legal documents

   Long-form reading: a measure that does not run past 70 characters, more
   space above a heading than below it, and lists that are easy to scan when
   somebody is looking for the one clause that affects them.
   -------------------------------------------------------------------------- */
.wf-doc {
  max-width: 68ch;
  color: var(--wf-text);
  font-size: .97rem;
  line-height: 1.72;
}

.wf-doc h2 {
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--wf-line-soft);
  font-size: 1.22rem;
  letter-spacing: .01em;
}

.wf-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.wf-doc h3 {
  margin: 26px 0 8px;
  color: var(--wf-head);
  font-size: 1.02rem;
}

.wf-doc p { margin: 0 0 14px; }

.wf-doc ul, .wf-doc ol { margin: 0 0 16px; padding-left: 22px; }
.wf-doc li { margin-bottom: 8px; }
.wf-doc li::marker { color: var(--wf-gold-dim); }

.wf-doc a { color: var(--wf-sky); }

.wf-doc strong { color: var(--wf-head); }

.wf-doc code {
  padding: 1px 5px;
  border: 1px solid var(--wf-line);
  border-radius: 2px;
  background: rgba(0, 0, 0, .3);
  font-size: .88em;
}

.wf-doc blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--wf-line-gold);
  border-radius: 2px;
  background: rgba(244, 198, 91, .06);
  color: var(--wf-text);
}

.wf-doc blockquote p:last-child { margin-bottom: 0; }

.wf-doc table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: .92rem; }
.wf-doc th, .wf-doc td { padding: 9px 10px; border-bottom: 1px solid var(--wf-line-soft); text-align: left; vertical-align: top; }
.wf-doc th { color: var(--wf-gold-soft); font-family: var(--wf-display); font-weight: 400; letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   Warcraft furniture

   The ornament, the heading treatment and the framed art tiles that carry the
   game's own look: warm gold cut into near-black, heavy frames, key art given
   room rather than cropped into a thumbnail.
   -------------------------------------------------------------------------- */
.wf-section-head h2,
.wf-section h2 {
  color: #fff4d8;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .85), 0 2px 2px rgba(0, 0, 0, .55);
}

/* The ornament under a section heading. rule.png is the theme's own. */
.wf-ornament {
  height: 10px;
  margin: 14px auto 0;
  max-width: 340px;
  background:
    url('/img/designs/rule.png') 50% / 340px 7px no-repeat,
    linear-gradient(90deg, rgba(166, 125, 70, 0), rgba(166, 125, 70, .75), rgba(166, 125, 70, 0)) 50% / 100% 1px no-repeat;
}

.wf-versions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

/* A framed piece of key art: gold hairline, dark bevel inside it, the name
   sitting on a scrim across the foot the way a loading screen names a zone. */
.wf-version {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--wf-line-gold);
  border-radius: 2px;
  background: #080c16;
  box-shadow: inset 0 0 0 2px #05080f, inset 0 0 0 3px rgba(166, 125, 70, .35), 0 16px 40px rgba(0, 0, 0, .55);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.wf-version:hover {
  border-color: var(--wf-gold);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 2px #05080f, inset 0 0 0 3px rgba(244, 198, 91, .45), 0 22px 52px rgba(0, 0, 0, .65);
}

.wf-version-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.wf-version-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wf-version-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 15, .1) 38%, rgba(5, 8, 15, .94));
}

/* The name sits on the scrim across the foot of the art, the way a loading
   screen names the zone you are flying into. */
.wf-version-art h3 {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 11px;
  z-index: 1;
  margin: 0;
  color: #fff4d8;
  font-size: 1.12rem;
  letter-spacing: .04em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .95);
}

.wf-version figcaption {
  padding: 16px 18px 18px;
  color: var(--wf-muted);
  font-size: .89rem;
  line-height: 1.6;
}

.wf-version figcaption b {
  display: block;
  margin-bottom: 4px;
  color: var(--wf-gold-soft, #e3c07c);
  font-family: var(--wf-display);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* The designs strip: two plates, side by side, under their own heading. */
.wf-looks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.wf-looks figure { margin: 0; }

.wf-looks figcaption {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--wf-line-soft);
  color: var(--wf-muted);
  font-size: .89rem;
  line-height: 1.6;
}

.wf-looks figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--wf-head);
  font-family: var(--wf-display);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: .03em;
}

/* --------------------------------------------------------------------------
   Design plates

   A small working piece of each design, drawn with that design's own chrome
   — the stone frame, the carved window, the bar across the top — rather than
   a swatch of its colours. What the platform supplies is the chrome, so the
   chrome is what is shown.
   -------------------------------------------------------------------------- */
.wf-plate {
  --plate-ink: #0b1526;
  --plate-line: #7c5e35;
  --plate-gold: #f4c65b;

  position: relative;
  padding: 10px;
  border-radius: 2px;
  background: var(--plate-ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  font-family: var(--wf-display);
  user-select: none;
}

.wf-plate-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  color: var(--plate-gold);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wf-plate-bar span { opacity: .55; }
.wf-plate-bar span:first-child { opacity: 1; }

.wf-plate-body {
  padding: 14px 14px 16px;
  background: rgba(0, 0, 0, .28);
}

.wf-plate-title {
  margin: 0 0 10px;
  color: #f5ecd7;
  font-size: .92rem;
  letter-spacing: .06em;
}

/* Stand-in lines of text. Deliberately not sparklines or grey boxes: these
   are ruled lines at text weight, so the plate reads as a page of writing. */
.wf-plate-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wf-plate-lines i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04));
}

.wf-plate-lines i:nth-child(2) { width: 88%; }
.wf-plate-lines i:nth-child(3) { width: 94%; }
.wf-plate-lines i:nth-child(4) { width: 62%; }

.wf-plate-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Classic Era: the eight-piece stone frame and the steel bar. */
.wf-plate.is-classic {
  --plate-ink: #0e1118;
  --plate-line: #684f24;
  --plate-gold: #f8b700;

  padding: 0;
  border: 1px solid #684f24;
  background: #0e1118 url('/img/designs/grey-bar-wide.gif') 0 0 / auto 30px repeat-x;
  box-shadow: inset 0 0 0 3px #0b0d13, inset 0 0 0 4px #3a2d14, 0 18px 44px rgba(0, 0, 0, .55);
}

.wf-plate.is-classic .wf-plate-cta {
  border: 1px solid #900;
  background: #600 radial-gradient(#c30000, #600 85%);
  color: #ffd9a0;
}

/* Forever: the carved window, border-image at a quarter of its usual slice. */
.wf-plate.is-forever {
  --plate-ink: #081228;
  --plate-line: #7c5e35;

  padding: 0;
  border: 1px solid #7c5e35;
  background:
    linear-gradient(#7c5e35, #7c5e35) 0 30px / 100% 1px no-repeat,
    linear-gradient(180deg, #0c1b35, #0c1b35 30px, #081228 30px) 0 0 / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 3px #060e1e, 0 18px 44px rgba(0, 0, 0, .55);

  /* The carved corners the Forever window actually has. */
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px),
                     calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.wf-plate.is-forever.is-kalimdor {
  background:
    linear-gradient(#7c5e35, #7c5e35) 0 30px / 100% 1px no-repeat,
    linear-gradient(180deg, #16301f, #16301f 30px, #07150f 30px) 0 0 / 100% 100% no-repeat;
}

.wf-plate.is-forever .wf-plate-cta {
  border: 1px solid #a67d46;
  background: #0b1526;
  color: #f5ecd7;
}

.wf-designs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.wf-design figcaption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--wf-line-soft);
}

.wf-design h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.wf-design p {
  margin: 0;
  color: var(--wf-muted);
  font-size: .89rem;
  line-height: 1.6;
}

/* A design you can pick: the plate, with its radio underneath. */
.wf-design-choice {
  display: block;
  padding: 14px;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  background: var(--wf-panel);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.wf-design-choice:hover { border-color: var(--wf-gold-dim); }
.wf-design-choice:has(input:checked) { border-color: var(--wf-gold); background: var(--wf-panel-2); }
.wf-design-choice .wf-plate { pointer-events: none; }

/* --------------------------------------------------------------------------
   The feature list

   Hairlines rather than a grid of identical cards: six short entries read
   faster as a list, and the page keeps one card idiom for the plans.
   -------------------------------------------------------------------------- */
.wf-ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 48px;
}

.wf-ledger > div {
  padding: 20px 0;
  border-top: 1px solid var(--wf-line-soft);
}

.wf-ledger h3 {
  margin: 0 0 6px;
  color: var(--wf-head);
  font-size: 1rem;
  letter-spacing: .02em;
}

.wf-ledger p {
  max-width: 60ch;
  margin: 0;
  color: var(--wf-muted);
  font-size: .9rem;
  line-height: 1.62;
}

/* The gold rule that closes a section. */
.wf-rule {
  height: 8px;
  margin: 0 auto 28px;
  max-width: 384px;
  background:
    url('/img/designs/rule.png') 50% / 384px 8px no-repeat,
    linear-gradient(90deg, rgba(166, 125, 70, 0), rgba(166, 125, 70, .7), rgba(166, 125, 70, 0)) 50% / 100% 1px no-repeat;
}

/* Guild list on the landing page: names, not cards. */
.wf-guilds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}

.wf-guilds a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--wf-line);
  border-radius: 2px;
  color: var(--wf-text);
  text-decoration: none;
  font-size: .92rem;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.wf-guilds a:hover {
  border-color: var(--wf-gold-dim);
  background: rgba(244, 198, 91, .05);
  color: var(--wf-head);
}

.wf-guilds .faction {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.wf-guilds .faction.is-alliance { background: var(--wf-alliance); box-shadow: 0 0 7px rgba(63, 143, 224, .8); }
.wf-guilds .faction.is-horde { background: var(--wf-horde); box-shadow: 0 0 7px rgba(196, 31, 59, .8); }
.wf-guilds .realm { color: var(--wf-muted); font-size: .82rem; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.wf-plan {
  display: flex;
  flex-direction: column;
  background: var(--wf-panel);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 28px 24px;
  position: relative;
}

.wf-plan.is-featured {
  border-color: var(--wf-gold-dim);
  box-shadow: 0 0 0 1px rgba(244, 198, 91, .22), var(--wf-shadow);
  background: linear-gradient(180deg, #141f38, #0d1426);
}

.wf-plan-flag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e0b24c, #b4832c);
  color: #2a1d05;
  font: 700 .7rem var(--wf-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wf-plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.wf-plan .wf-plan-tag { color: var(--wf-muted); font-size: .88rem; margin-bottom: 18px; min-height: 1.5em; }

.wf-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.wf-price .amount { font: 700 2.3rem/1 var(--wf-display); color: var(--wf-gold); }
.wf-price .period { color: var(--wf-muted); font-size: .88rem; }

.wf-plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1 0 auto; }

.wf-plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .92rem;
  border-bottom: 1px solid var(--wf-line-soft);
}

.wf-plan li:last-child { border-bottom: 0; }
.wf-plan li i { color: var(--wf-ok); margin-top: 4px; font-size: .85em; }
.wf-plan li.is-off { color: var(--wf-muted); }
.wf-plan li.is-off i { color: var(--wf-muted); }

/* --------------------------------------------------------------------------
   Panel layout (customer + admin)
   -------------------------------------------------------------------------- */
.wf-panel-wrap {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.wf-side {
  position: sticky;
  top: 64px;
  align-self: stretch;
  min-height: calc(100vh - 64px);
  padding: 24px 14px;
  background: linear-gradient(180deg, #0a1024, #070b16);
  border-right: 1px solid var(--wf-line);
}

.wf-side-label {
  padding: 0 10px 8px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.wf-side-label:not(:first-child) { margin-top: 22px; }

.wf-side a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: var(--wf-radius);
  color: var(--wf-text);
  font-size: .92rem;
}

.wf-side a i { width: 17px; text-align: center; color: var(--wf-muted); }
.wf-side a:hover { background: rgba(255, 255, 255, .055); color: var(--wf-head); }
.wf-side a:hover i { color: var(--wf-gold); }

.wf-side a.is-active {
  background: rgba(244, 198, 91, .1);
  color: var(--wf-gold-hi);
  box-shadow: inset 2px 0 0 var(--wf-gold);
}

.wf-side a.is-active i { color: var(--wf-gold); }

.wf-side .wf-pill {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--wf-gold);
  color: #241a04;
  font-size: .7rem;
  font-weight: 700;
}

.wf-main { padding: 28px 28px 60px; min-width: 0; }

.wf-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wf-line);
}

.wf-page-head h1 { font-size: 1.6rem; margin: 0 0 4px; }
.wf-page-head p { margin: 0; color: var(--wf-muted); font-size: .92rem; }
.wf-page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.wf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; margin-bottom: 26px; }

.wf-stat {
  padding: 18px;
  background: var(--wf-panel);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
}

.wf-stat .value { display: block; font: 700 1.9rem/1 var(--wf-display); color: var(--wf-gold); margin-bottom: 6px; }
.wf-stat .label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wf-muted); }
.wf-stat.is-alert .value { color: var(--wf-ok); }

/* --------------------------------------------------------------------------
   Boxes, tables, forms
   -------------------------------------------------------------------------- */
.wf-box {
  background: var(--wf-panel);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  margin-bottom: 22px;
  overflow: hidden;
}

.wf-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(0, 0, 0, .2));
  border-bottom: 1px solid var(--wf-line);
}

.wf-box-head h2, .wf-box-head h3 {
  display: flex; align-items: center; gap: 9px;
  margin: 0; font-size: .95rem; letter-spacing: .04em;
  color: var(--wf-gold);
}

.wf-box-head i { color: var(--wf-gold-dim); }
.wf-box-body { padding: 20px; }
.wf-box-body.is-flush { padding: 0; }

.wf-table-wrap { overflow-x: auto; }
.wf-table { width: 100%; border-collapse: collapse; font-size: .9rem; }

.wf-table th {
  text-align: left;
  padding: 11px 16px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wf-muted);
  background: rgba(0, 0, 0, .25);
  border-bottom: 1px solid var(--wf-line);
  white-space: nowrap;
}

.wf-table td { padding: 12px 16px; border-bottom: 1px solid var(--wf-line-soft); vertical-align: middle; }
.wf-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.wf-table tbody tr:last-child td { border-bottom: 0; }
.wf-table .is-numeric { text-align: right; font-variant-numeric: tabular-nums; }
.wf-table .is-actions { text-align: right; white-space: nowrap; }

.wf-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px dashed var(--wf-line-soft); font-size: .9rem;
}

.wf-row:last-child { border-bottom: 0; }
.wf-row > span:first-child { color: var(--wf-muted); }
.wf-row strong { font-weight: 500; color: var(--wf-head); text-align: right; word-break: break-word; }

.wf-field { margin-bottom: 18px; }

.wf-field label, .wf-label {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.wf-input, .wf-select, .wf-textarea {
  width: 100%;
  padding: 10px 13px;
  font: 400 .95rem var(--wf-body);
  color: var(--wf-head);
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  transition: border-color .14s ease, background .14s ease;
}

.wf-input::placeholder, .wf-textarea::placeholder { color: rgba(139, 152, 184, .7); }
.wf-input:focus, .wf-select:focus, .wf-textarea:focus { border-color: var(--wf-gold-dim); background: rgba(0, 0, 0, .5); outline: none; }
.wf-input[disabled], .wf-select[disabled] { opacity: .55; cursor: not-allowed; }
.wf-textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.wf-textarea.is-code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; min-height: 200px; }

.wf-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--wf-gold) 50%),
                    linear-gradient(135deg, var(--wf-gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.wf-input-group { display: flex; align-items: stretch; }
.wf-input-group .wf-input { border-radius: var(--wf-radius) 0 0 var(--wf-radius); }

.wf-input-group .wf-suffix {
  display: flex; align-items: center;
  padding: 0 14px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid var(--wf-line);
  border-left: 0;
  border-radius: 0 var(--wf-radius) var(--wf-radius) 0;
  color: var(--wf-muted);
  font-size: .88rem;
  white-space: nowrap;
}

/* Battle.net, and the divider under it on the sign-in pages. */
.wf-btn.is-bnet { background: #148eff; border-color: #148eff; color: #fff; }
.wf-btn.is-bnet:hover { background: #3aa4ff; border-color: #3aa4ff; color: #fff; }

.wf-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--wf-muted); font-size: .78rem; }
.wf-or::before, .wf-or::after { content: ""; flex: 1; height: 1px; background: var(--wf-line, rgba(255,255,255,.12)); }

.wf-help { margin: 6px 0 0; font-size: .8rem; color: var(--wf-muted); }

/* A heading inside a box body, below the box's own head. */
.wf-subhead { margin: 22px 0 0; font-size: .95rem; letter-spacing: .04em; color: var(--wf-gold-dim); }
.wf-subhead:first-child { margin-top: 0; }
.wf-error { margin: 6px 0 0; font-size: .8rem; color: var(--wf-danger); }

.wf-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }

.wf-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.wf-check input { margin-top: 4px; accent-color: var(--wf-gold); width: 16px; height: 16px; }
.wf-check span small { display: block; color: var(--wf-muted); font-size: .82rem; }

.wf-form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 6px; }

/* --------------------------------------------------------------------------
   Badges and alerts
   -------------------------------------------------------------------------- */
.wf-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--wf-line);
  background: rgba(0, 0, 0, .35);
  font-size: .74rem;
  letter-spacing: .03em;
  color: var(--wf-muted);
  white-space: nowrap;
}

.wf-badge.is-ok { color: var(--wf-ok); border-color: rgba(70, 208, 127, .4); }
.wf-badge.is-warn { color: var(--wf-warn); border-color: rgba(244, 198, 91, .4); }
.wf-badge.is-danger { color: var(--wf-danger); border-color: rgba(255, 122, 122, .4); }
.wf-badge.is-gold { color: var(--wf-gold); border-color: var(--wf-line-gold); }
.wf-badge.is-alliance { color: var(--wf-alliance); border-color: rgba(63, 143, 224, .45); }
.wf-badge.is-horde { color: var(--wf-horde); border-color: rgba(196, 31, 59, .45); }

/* State is carried by the whole border and the icon, matching .gw-alert in the
   guild engine, rather than by a stripe down one edge. */
.wf-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 17px;
  margin-bottom: 20px;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  background: rgba(0, 0, 0, .3);
  font-size: .92rem;
}

.wf-alert i { margin-top: 3px; }
.wf-alert.is-ok { border-color: rgba(70, 208, 127, .45); }
.wf-alert.is-ok i { color: var(--wf-ok); }
.wf-alert.is-error { border-color: rgba(255, 122, 122, .45); }
.wf-alert.is-error i { color: var(--wf-danger); }
.wf-alert.is-info { border-color: rgba(111, 178, 255, .45); }
.wf-alert.is-info i { color: var(--wf-sky); }
.wf-alert.is-warn { border-color: rgba(244, 198, 91, .45); }
.wf-alert.is-warn i { color: var(--wf-warn); }
.wf-alert p:last-child { margin-bottom: 0; }

.wf-empty { padding: 54px 24px; text-align: center; }
.wf-empty i { font-size: 2.4rem; color: var(--wf-line-gold); display: block; margin-bottom: 16px; }
.wf-empty h3 { font-size: 1.1rem; color: var(--wf-gold); }
.wf-empty p { max-width: 420px; margin: 0 auto 18px; color: var(--wf-muted); font-size: .92rem; }

/* --------------------------------------------------------------------------
   Tabs, pagination, misc
   -------------------------------------------------------------------------- */
.wf-tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--wf-line); margin-bottom: 24px; }

.wf-tabs a {
  padding: 10px 18px;
  font-size: .88rem;
  color: var(--wf-muted);
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: var(--wf-radius) var(--wf-radius) 0 0;
}

.wf-tabs a:hover { color: var(--wf-gold); }
.wf-tabs a.is-active { color: var(--wf-gold-hi); background: var(--wf-panel); border-color: var(--wf-line); }

.wf-pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 22px 0 4px; }

.wf-pagination a, .wf-pagination span {
  min-width: 36px; padding: 7px 11px; text-align: center; font-size: .85rem;
  border: 1px solid var(--wf-line); border-radius: var(--wf-radius);
  background: rgba(0, 0, 0, .3); color: var(--wf-text);
}

.wf-pagination a:hover { border-color: var(--wf-gold-dim); color: var(--wf-gold); }
.wf-pagination .is-current { background: rgba(244, 198, 91, .15); color: var(--wf-gold-hi); border-color: var(--wf-gold-dim); }

/* Laravel's own paginator markup */
.wf-paginator nav { display: flex; justify-content: center; padding: 20px 0 4px; }
.wf-paginator svg { width: 16px; height: 16px; }

.wf-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .9rem; margin: 0; }
.wf-dl dt { color: var(--wf-muted); }
.wf-dl dd { margin: 0; color: var(--wf-head); word-break: break-word; }

.wf-copy {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 13px;
  background: rgba(0, 0, 0, .45);
  border: 1px dashed var(--wf-line-gold);
  border-radius: var(--wf-radius);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .85rem;
  color: var(--wf-gold);
  word-break: break-all;
}

.wf-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }

.wf-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 42px;
  border-left: 1px solid var(--wf-line);
  margin-left: 13px;
}

.wf-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.wf-steps li::before {
  content: counter(step);
  position: absolute;
  left: -14px; top: -2px;
  width: 27px; height: 27px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wf-panel-2);
  border: 1px solid var(--wf-line-gold);
  color: var(--wf-gold);
  font: 700 .8rem var(--wf-body);
}

.wf-steps h4 { margin: 0 0 6px; font-size: .98rem; }
.wf-steps p { margin: 0 0 10px; font-size: .9rem; color: var(--wf-muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.wf-footer {
  flex: none;
  padding: 40px 0 34px;
  border-top: 1px solid var(--wf-line);
  background: #05080f;
  font-size: .88rem;
  color: var(--wf-muted);
}

.wf-footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.wf-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.wf-footer-links a { color: var(--wf-muted); }
.wf-footer-links a:hover { color: var(--wf-gold); }
.wf-legal { margin-top: 22px; font-size: .76rem; opacity: .7; max-width: 740px; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Auth screens
   -------------------------------------------------------------------------- */
.wf-auth { flex: 1 0 auto; display: grid; place-items: center; padding: 56px 20px; }
.wf-auth-card { width: 100%; max-width: 440px; }
.wf-auth-card .wf-box { margin-bottom: 16px; }
.wf-auth-head { text-align: center; margin-bottom: 24px; }
.wf-auth-head h1 { font-size: 1.6rem; margin-bottom: 6px; }
.wf-auth-head p { color: var(--wf-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .wf-panel-wrap { grid-template-columns: minmax(0, 1fr); }

  .wf-side {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--wf-line);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
  }

  .wf-side-label { display: none; }
  .wf-side a { padding: 8px 12px; }
  .wf-main { padding: 20px 16px 48px; }
}

@media (max-width: 640px) {
  .wf-top-inner { min-height: 58px; flex-wrap: wrap; padding-block: 10px; }
  .wf-top-nav { margin-left: 0; width: 100%; }
  .wf-hero { padding: 60px 0 54px; }
  .wf-section { padding: 52px 0; }
  .wf-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------------------
   Support conversations
   A thread reads top to bottom, oldest first, with our replies marked in gold
   so a customer scrolling back can see at a glance who said what.
--------------------------------------------------------------------------- */

.wf-thread { display: flex; flex-direction: column; gap: 14px; }

.wf-msg {
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  background: var(--wf-panel);
  padding: 14px 16px;
}

.wf-msg.is-staff { border-color: var(--wf-line-gold); background: rgba(124, 94, 53, .12); }

.wf-msg header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wf-msg header strong { color: var(--wf-head); font-size: .9rem; }
.wf-msg header time { margin-left: auto; color: var(--wf-muted); font-size: .78rem; white-space: nowrap; }

.wf-msg-body {
  color: var(--wf-text);
  font-size: .93rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.wf-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
