:root {
  --bg: #070604;
  --bg-2: #100c08;
  --surface: #16110c;
  --surface-2: #1e1710;
  --ink: #f3e6c8;
  --muted: #b7a88a;
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --radiant: #8fbf3a;
  --radiant-2: #c6e36a;
  --dire: #c62828;
  --dire-2: #ff5a4a;
  --orange: #c62828;
  --orange-2: #f0d78c;
  --teal: #8fbf3a;
  --navy: #070604;
  --navy-2: #8fbf3a;
  --line: rgba(212, 175, 55, 0.28);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
  --radius: 2px;
  --header: 82px;
  --max: 1200px;
  --font-serif: "Cinzel", "Times New Roman", serif;
  --font-sans: "Rajdhani", "Segoe UI", sans-serif;
  --font-display: "Cinzel Decorative", "Cinzel", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(143, 191, 58, 0.08), transparent 42%),
    radial-gradient(900px 420px at 100% 0%, rgba(198, 40, 40, 0.12), transparent 42%),
    var(--bg);
  line-height: 1.65;
  font-size: 1.08rem;
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(7, 6, 4, 0.15), rgba(7, 6, 4, 0.15)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.12) 3px);
  opacity: 0.18;
}

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

a {
  color: var(--gold-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--dire-2);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--dire);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.wrap,
.header-inner,
.hero-copy,
.hero-hud {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.wrap {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #1a140e 0%, #0c0906 100%);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--radiant), var(--gold) 50%, var(--dire));
}

.header-inner {
  min-height: calc(var(--header) - 4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--gold);
  background: var(--surface);
  color: var(--gold-2);
  padding: 8px 14px;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-2);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-cta {
  background: linear-gradient(180deg, #9b2218, #5c100c) !important;
  color: var(--gold-2) !important;
  border: 1px solid var(--gold);
  padding: 8px 14px !important;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  padding: 0 0 48px;
}

.hero-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-pan 22s ease-in-out infinite alternate;
}

.hero-bg,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.82) 0%, rgba(7, 6, 4, 0.35) 48%, rgba(7, 6, 4, 0.7) 100%),
    linear-gradient(180deg, rgba(7, 6, 4, 0.2) 0%, rgba(7, 6, 4, 0.85) 100%);
  pointer-events: none;
}

.hero-grid,
.hero-hud {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.hero-hud {
  padding-bottom: 12px;
}

.hero-copy .kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-2);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1,
.page-hero h1,
h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 12px 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  max-width: 14ch;
  color: #fff8e7;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-2);
}

.lede {
  font-size: 1.16rem;
  max-width: 52ch;
  color: var(--muted);
}

.hero .lede {
  color: #efe2c4;
}

.page-hero .lede,
.section .lede {
  color: var(--muted);
}

.hero-pills,
.lane-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-pills span,
.lane-bar span {
  border: 1px solid var(--line);
  background: rgba(22, 17, 12, 0.7);
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lane-bar span:nth-child(1) {
  color: var(--radiant-2);
  border-color: rgba(143, 191, 58, 0.45);
}

.lane-bar span:nth-child(2) {
  color: var(--gold-2);
  border-color: var(--gold);
}

.lane-bar span:nth-child(3) {
  color: var(--dire-2);
  border-color: rgba(198, 40, 40, 0.5);
}

.hero-visual {
  display: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #b3261c, #6a100c);
  color: var(--gold-2);
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 13px 26px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn:hover {
  background: linear-gradient(180deg, #d63a2c, #7a1410);
  color: #fff8e7;
}

.btn-ghost {
  background: rgba(7, 6, 4, 0.45);
  color: var(--gold-2);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #fff8e7;
}

.btn-dark {
  background: #1a140e;
}

.section {
  padding: 88px 0;
  position: relative;
  z-index: 1;
}

.section-tight {
  padding-top: 0;
}

.grid-gap {
  margin-top: 22px;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 36px;
  max-width: 760px;
}

.section h2,
.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
}

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

.card,
.list-card,
.stat,
.faq details,
.form {
  background: linear-gradient(180deg, #1c160f, #100c08);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.card::before,
.list-card::before,
.stat::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  pointer-events: none;
  z-index: 2;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.5s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25), var(--shadow);
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 22px;
}

.card h3,
.list-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  color: var(--ink);
  padding: 26px;
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-2);
}

.band {
  background:
    linear-gradient(90deg, rgba(143, 191, 58, 0.08), transparent 30%, rgba(198, 40, 40, 0.1)),
    var(--bg-2);
  color: var(--ink);
  border-block: 1px solid var(--line);
}

.band .lede,
.band p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}

.factions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gold);
}

.faction {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.faction img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.faction:hover img {
  transform: scale(1.06);
}

.faction::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.faction div {
  position: relative;
  z-index: 1;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.faction h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 2rem;
  text-transform: uppercase;
}

.prose {
  max-width: 74ch;
}

.prose p {
  margin: 0 0 16px;
  color: #ead9b3;
}

.prose h2,
.prose h3 {
  margin: 32px 0 12px;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  color: #ead9b3;
}

.page-hero {
  padding: 88px 0 36px;
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(7, 6, 4, 0.55), var(--bg)),
    url("../images/dota-hero.jpg") center 30% / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  max-width: 18ch;
}

.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.crumbs a {
  color: inherit;
}

.figure {
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}

.figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.figure figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

.faq details {
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #0b0906;
  color: var(--ink);
}

.site-footer {
  background: #050403;
  color: var(--muted);
  padding: 56px 0 24px;
  border-top: 1px solid var(--gold);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer a {
  color: var(--gold-2);
}

.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  font-family: var(--font-serif);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.legal {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  background: #16110c;
  color: var(--ink);
  padding: 18px;
  display: none;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--gold);
}

.cookie-bar.is-visible {
  display: block;
}

.cookie-bar p {
  margin: 0 0 12px;
}

.tag {
  display: inline-block;
  background: rgba(198, 40, 40, 0.18);
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}

.list-cards {
  display: grid;
  gap: 16px;
}

.list-card {
  padding: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-feature {
  margin-top: 22px;
  flex-direction: row;
  align-items: stretch;
}

.card-feature > img {
  width: 46%;
  height: auto;
  min-height: 220px;
}

.card-feature .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-4,
  .grid-2,
  .split,
  .stats,
  .footer-grid,
  .factions {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #100c08;
    border-bottom: 1px solid var(--gold);
    padding: 12px 20px 20px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: 88vh;
    align-items: end;
  }

  .split img,
  .figure img {
    height: 280px;
  }

  .card-feature {
    flex-direction: column;
  }

  .card-feature > img {
    width: 100%;
    height: 220px;
    min-height: 0;
  }

  .has-sub .sub-menu {
    position: static;
    border: 0;
    background: transparent;
    display: none;
    padding: 0 0 8px 12px;
    min-width: 0;
    box-shadow: none;
  }

  .has-sub.is-open .sub-menu {
    display: block;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #100c08;
    border-bottom: 1px solid var(--gold);
    padding: 12px 20px 20px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}

.has-sub {
  position: relative;
}

.sub-toggle {
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
}

.sub-toggle:hover,
.has-sub.is-current .sub-toggle {
  color: var(--gold-2);
}

.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 190px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #120e0a;
  border: 1px solid var(--gold);
  z-index: 20;
  box-shadow: var(--shadow);
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu {
  display: block;
}

.sub-menu a {
  display: block;
  padding: 8px 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #1a120c;
  color: var(--gold-2);
  text-decoration: none;
  border: 1px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.toc {
  background: linear-gradient(180deg, #1c160f, #100c08);
  border: 1px solid var(--line);
  padding: 20px 22px;
  margin: 0 0 28px;
}

.toc h2 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.hero-hud {
  position: relative;
}

.hero-hud::before,
.hero-hud::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  opacity: 0.55;
}

.hero-hud::before {
  left: 0;
  top: -8px;
  border-right: 0;
  border-bottom: 0;
}

.hero-hud::after {
  right: 0;
  bottom: 8px;
  border-left: 0;
  border-top: 0;
}

@keyframes hero-pan {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.08) translateY(-2%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-full,
  .reveal,
  .card img,
  .faction img {
    animation: none;
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
