:root {
  --ink: #f6f0e8;
  --muted: #c8bcb1;
  --dim: #91867d;
  --paper: #11100f;
  --panel: #1b1816;
  --panel-2: #24201d;
  --line: rgba(246, 240, 232, 0.16);
  --red: #be342d;
  --red-dark: #741f22;
  --jade: #6ab6a1;
  --gold: #d4a84f;
  --shadow: rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(246, 240, 232, 0.12);
  background: rgba(17, 16, 15, 0.76);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.facts,
.ticker,
.tool-grid,
.sources,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--red-dark), #191412 62%, rgba(106, 182, 161, 0.28));
  color: var(--ink);
  font-size: 0.78rem;
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 72px) 56px;
  border-bottom: 1px solid var(--line);
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 76% 68%, rgba(190, 52, 45, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(17, 16, 15, 0.96), rgba(17, 16, 15, 0.58) 46%, rgba(17, 16, 15, 0.28)),
    linear-gradient(0deg, rgba(17, 16, 15, 0.92), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 680px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy,
.section-head p,
.split p,
.tracker p,
.sources p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 740px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
  box-shadow: 0 18px 50px rgba(190, 52, 45, 0.22);
}

.button.ghost {
  background: rgba(17, 16, 15, 0.42);
}

.facts {
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.facts div {
  min-width: 145px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(17, 16, 15, 0.58);
}

.facts dt {
  color: var(--dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
}

.facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.countdown {
  width: min(620px, 100%);
  margin: 26px 0 0;
  border: 1px solid rgba(246, 240, 232, 0.18);
  background: rgba(17, 16, 15, 0.62);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

.countdown-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(246, 240, 232, 0.14);
  color: var(--muted);
  font-size: 0.86rem;
}

.countdown-head strong {
  color: var(--ink);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.countdown-grid div {
  padding: 14px 12px;
  border-right: 1px solid rgba(246, 240, 232, 0.12);
}

.countdown-grid div:last-child {
  border-right: 0;
}

.countdown-grid strong {
  display: block;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  line-height: 1;
}

.countdown-grid span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 18px;
  background: #171513;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.ticker span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--gold);
  vertical-align: 1px;
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 4px;
  margin-bottom: 30px;
}

.section-head.compact {
  margin-bottom: 22px;
}

.guide-grid,
.boss-layout,
.tool-grid {
  display: grid;
  gap: 14px;
}

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

.guide-card,
.boss-card,
.panel,
.tool-output {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(36, 32, 29, 0.95), rgba(27, 24, 22, 0.95));
  box-shadow: 0 22px 60px var(--shadow);
}

.guide-card,
.boss-card {
  min-height: 214px;
  padding: 22px;
}

.guide-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(190, 52, 45, 0.2), rgba(36, 32, 29, 0.94) 48%),
    var(--panel);
}

.guide-card p,
.boss-card p,
.panel li,
.tool-output,
details p {
  color: var(--muted);
}

.guide-card a {
  color: var(--jade);
  font-weight: 800;
  text-decoration: none;
}

.guide-card h3 a {
  color: var(--ink);
}

.guide-card:hover {
  border-color: rgba(106, 182, 161, 0.5);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 9px;
  border: 1px solid rgba(106, 182, 161, 0.42);
  color: var(--jade);
  font-size: 0.75rem;
  font-weight: 800;
}

.split,
.tracker {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.combat-flow {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.combat-flow div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--red);
}

.combat-flow span {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  background: rgba(106, 182, 161, 0.16);
  color: var(--jade);
  font-weight: 900;
}

.panel {
  padding: 24px;
}

.checklist {
  padding-left: 20px;
  margin-bottom: 0;
}

.checklist li + li {
  margin-top: 10px;
}

.boss-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: var(--panel);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

td {
  color: var(--muted);
}

.status {
  display: inline-flex;
  white-space: nowrap;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.confirmed {
  color: #b9f4d6;
  background: rgba(54, 138, 94, 0.22);
}

.partial {
  color: #ffe2a8;
  background: rgba(212, 168, 79, 0.2);
}

.pending {
  color: #ffc3bf;
  background: rgba(190, 52, 45, 0.2);
}

.tools {
  background:
    linear-gradient(90deg, rgba(106, 182, 161, 0.06), transparent 38%),
    var(--paper);
}

.tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.tool {
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tool.active,
.tool:hover {
  border-color: var(--jade);
  color: var(--ink);
  background: rgba(106, 182, 161, 0.12);
}

.tool-output {
  min-height: 96px;
  padding: 22px;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0 18px;
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-bottom: 18px;
}

.sources {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px 18px;
  background: #151311;
}

.sources h2,
.sources p {
  flex-basis: 100%;
}

.sources a {
  color: var(--jade);
  font-weight: 800;
  text-decoration: none;
}

.footer {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--dim);
  background: #0d0c0b;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
  text-decoration: none;
}

.page-hero {
  padding: 138px clamp(18px, 5vw, 72px) 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(190, 52, 45, 0.16), transparent 38%),
    linear-gradient(180deg, #171412, #11100f);
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.45fr);
  gap: clamp(24px, 5vw, 56px);
}

.article-body {
  color: var(--muted);
}

.article-body h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body a {
  color: var(--jade);
  font-weight: 800;
  text-decoration: none;
}

.article-body li + li {
  margin-top: 8px;
}

.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  border-top: 1px solid rgba(246, 240, 232, 0.08);
}

.toc a:hover {
  color: var(--ink);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.mini-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
}

.mini-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .guide-grid,
  .boss-layout,
  .split,
  .tracker,
  .tool-grid,
  .content-grid,
  .mini-cards {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .guide-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 98px;
    min-height: 820px;
  }

  h1 {
    font-size: 3.45rem;
  }

  .facts div {
    width: 100%;
  }

  .countdown-head {
    flex-direction: column;
  }

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

  .countdown-grid div:nth-child(2) {
    border-right: 0;
  }

  .countdown-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(246, 240, 232, 0.12);
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
