:root {
  --bg: #090604;
  --panel: rgba(20, 12, 8, 0.82);
  --panel-dark: rgba(8, 6, 5, 0.9);
  --text: #f5ead7;
  --muted: #c7b7a1;
  --gold: #ffc44a;
  --gold-deep: #a75f15;
  --ember: #ff7b1f;
  --blood: #8e1b12;
  --fel: #76dd4f;
  --moon: #79a9ff;
  --line: rgba(255, 196, 74, 0.28);
  --shadow: rgba(0, 0, 0, 0.72);
  --max-width: 1120px;
  --header-height: 62px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(137, 31, 16, 0.22), transparent 36rem),
    linear-gradient(180deg, #070504 0%, #140b07 42%, #080504 100%);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.ember-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 180, 58, 0.78) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 89, 24, 0.58) 0 1px, transparent 2px);
  background-position: 0 0, 48px 90px;
  background-size: 170px 170px, 230px 230px;
  opacity: 0.22;
  animation: emberDrift 22s linear infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - var(--max-width)) / 2));
  background:
    linear-gradient(180deg, rgba(6, 4, 3, 0.96), rgba(9, 6, 5, 0.72)),
    radial-gradient(circle at 50% 0, rgba(255, 168, 39, 0.12), transparent 24rem);
  border-bottom: 1px solid rgba(255, 196, 74, 0.2);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffd986;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 97, 19, 0.36);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #1b0903;
  background: linear-gradient(180deg, #ffe08a, #ef8b20 58%, #8d2010);
  border: 1px solid rgba(255, 220, 138, 0.82);
  clip-path: polygon(50% 0, 93% 24%, 93% 76%, 50% 100%, 7% 76%, 7% 24%);
  box-shadow: 0 0 22px rgba(255, 99, 21, 0.42);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d8c4a7;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  background: rgba(16, 10, 7, 0.86);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold);
}

.section-shell {
  position: relative;
  padding: clamp(70px, 7.5vw, 104px) 20px;
}

.section-shell::after,
.poster-section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 196, 74, 0.42), transparent);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-height) + 44px);
  overflow: hidden;
}

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

.hero-media {
  z-index: -3;
  background: url("../images/blizzard-tanaan-portal.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 77% 45%, rgba(118, 221, 79, 0.14), transparent 17rem),
    radial-gradient(circle at 50% 17%, rgba(255, 130, 32, 0.2), transparent 30rem),
    linear-gradient(90deg, rgba(7, 5, 4, 0.92) 0%, rgba(9, 6, 5, 0.66) 46%, rgba(9, 6, 5, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 5, 4, 0.5), rgba(7, 5, 4, 0.12) 48%, #090604);
}

.hero-content {
  width: min(var(--max-width), calc(100vw - 40px));
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 117, 27, 0.35);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  line-height: 1.03;
}

h1 {
  color: #ffd05c;
  font-size: clamp(4.4rem, 10vw, 8.6rem);
  text-transform: uppercase;
  text-shadow:
    0 4px 0 #5d1309,
    0 0 16px rgba(255, 223, 116, 0.42),
    0 0 42px rgba(255, 89, 20, 0.5);
}

h2 {
  color: #ffc44a;
  font-size: clamp(2.1rem, 4.2vw, 3.45rem);
  text-shadow: 0 2px 0 #4c1209, 0 0 18px rgba(255, 93, 20, 0.28);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-expansion {
  margin: -6px 0 14px;
  color: #aee66c;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(118, 221, 79, 0.52);
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #f5ddbb;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 700;
  text-shadow: 0 2px 18px var(--shadow);
}

.countdown-panel {
  width: min(660px, calc(100vw - 40px));
  min-width: 0;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255, 196, 74, 0.34);
  background:
    linear-gradient(180deg, rgba(26, 14, 8, 0.9), rgba(9, 6, 5, 0.9)),
    radial-gradient(circle at 50% 0, rgba(255, 108, 26, 0.18), transparent 20rem);
  box-shadow:
    inset 0 0 0 1px rgba(255, 118, 29, 0.09),
    0 24px 72px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(255, 89, 20, 0.16);
}

.hero-countdown {
  margin-top: 18px;
}

.panel-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(66px, 1fr));
  gap: 10px;
}

.countdown-grid div {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 196, 74, 0.2);
  background: linear-gradient(180deg, rgba(9, 7, 6, 0.88), rgba(54, 24, 10, 0.72));
  box-shadow: inset 0 -18px 36px rgba(255, 86, 20, 0.08);
}

.countdown-grid strong {
  display: block;
  color: #fff3ce;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.05rem);
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 128, 31, 0.4);
}

.countdown-grid span {
  color: #c8b496;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-message {
  min-height: 1.45em;
  margin: 10px 0 0;
  color: #ffd783;
  font-weight: 900;
}

.hero-actions,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  min-width: 0;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border: 1px solid rgba(255, 218, 137, 0.48);
  color: #260e05;
  background: linear-gradient(180deg, #ffd86f, #f09625 52%, #a73312);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 128, 31, 0.26);
}

.btn-secondary,
.btn-ghost {
  color: #ffe6b8;
  background: linear-gradient(180deg, rgba(83, 54, 30, 0.94), rgba(18, 12, 9, 0.94));
}

.hero-brief {
  display: grid;
  width: min(820px, 100%);
  margin: 26px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  color: #dfccb0;
  text-align: left;
}

.hero-brief ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-brief li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 12px;
}

.hero-brief li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: linear-gradient(135deg, var(--gold), var(--ember));
  transform: rotate(45deg);
}

.hero-brief strong {
  color: #ffd56f;
}

.poster-section {
  overflow: hidden;
  background-color: #090604;
}

.poster-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 5, 4, 0.18), rgba(8, 5, 4, 0.9)),
    radial-gradient(circle at 50% 0, rgba(255, 160, 44, 0.1), transparent 28rem);
  pointer-events: none;
}

.section-heading {
  position: relative;
  width: min(var(--max-width), 100%);
  margin: 0 auto 34px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading p {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
}

.lore {
  background:
    linear-gradient(180deg, rgba(3, 8, 22, 0.82), rgba(5, 5, 10, 0.94)),
    url("../images/blizzard-shadowmoon-valley.jpg") center / cover no-repeat;
}

.lore-grid {
  position: relative;
  display: grid;
  width: min(920px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.circle-item {
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(255, 196, 74, 0.24);
  background: linear-gradient(180deg, rgba(9, 7, 10, 0.82), rgba(6, 5, 8, 0.88));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36), inset 0 0 30px rgba(121, 169, 255, 0.05);
  text-align: center;
}

.circle-item img {
  width: 108px;
  height: 108px;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid #d79f35;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(35, 18, 8, 0.9), 0 0 24px rgba(255, 165, 44, 0.32);
}

.circle-item h3 {
  color: #ffd16e;
  margin-bottom: 8px;
}

.circle-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.features {
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.75), rgba(8, 6, 5, 0.94)),
    url("../images/blizzard-iron-horde.jpg") center / cover fixed;
}

.feature-grid {
  position: relative;
  display: grid;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 242px;
  padding: 24px;
  border: 1px solid rgba(255, 196, 74, 0.2);
  background:
    linear-gradient(180deg, rgba(24, 14, 9, 0.9), rgba(9, 6, 5, 0.82)),
    radial-gradient(circle at 20% 0, rgba(255, 123, 31, 0.13), transparent 15rem);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.38), inset 0 0 30px rgba(255, 87, 19, 0.05);
  text-align: center;
}

.feature-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto 16px;
  color: #ffe4a6;
  border: 3px solid #d79f35;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 120, 28, 0.4), rgba(70, 21, 10, 0.92)),
    linear-gradient(180deg, rgba(255, 212, 117, 0.18), transparent);
  box-shadow: 0 0 0 4px rgba(24, 12, 7, 0.88), 0 0 28px rgba(255, 105, 20, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-card h3 {
  color: #ffd16e;
}

.feature-card p,
.hardcore-copy p,
.launch p,
.discord p,
.site-footer p {
  color: var(--muted);
}

.launch {
  background:
    linear-gradient(180deg, rgba(10, 6, 4, 0.9), rgba(10, 6, 4, 0.98)),
    url("../images/blizzard-tanaan-portal.jpg") center / cover no-repeat;
}

.release-grid {
  position: relative;
  display: grid;
  width: min(900px, 100%);
  margin: 0 auto 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.campaign-grid {
  width: min(var(--max-width), 100%);
}

.release-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 74, 0.26);
  background: #130b07;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.44);
}

.release-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.06);
}

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

.release-card div {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  text-align: center;
  text-transform: uppercase;
}

.release-card strong {
  display: block;
  color: #ffd15d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  text-shadow: 0 2px 0 #4c1209, 0 0 15px rgba(255, 100, 20, 0.42);
}

.release-card span {
  color: #f3e2c6;
  font-weight: 900;
}

.countdown-panel.compact {
  position: relative;
  width: min(640px, 100%);
}

.hardcore {
  background: #080604;
}

.hardcore-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/blizzard-iron-horde.jpg") center / cover no-repeat;
  filter: saturate(1.14) contrast(1.08);
}

.hardcore::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 5, 4, 0.94), rgba(7, 5, 4, 0.58), rgba(7, 5, 4, 0.88)),
    linear-gradient(0deg, rgba(7, 5, 4, 0.95), rgba(7, 5, 4, 0.2), rgba(7, 5, 4, 0.82));
}

.hardcore-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.hardcore-lead {
  color: #ffd985;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
}

.badge-row {
  justify-content: flex-start;
}

.badge-row span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 13px;
  color: #ffe2b1;
  border: 1px solid rgba(255, 196, 74, 0.32);
  background: rgba(24, 12, 8, 0.78);
  box-shadow: inset 0 0 18px rgba(255, 94, 20, 0.12);
  font-weight: 900;
}

.rules-panel {
  padding: 26px;
  border: 1px solid rgba(255, 196, 74, 0.25);
  background: rgba(8, 6, 5, 0.78);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.46), inset 0 0 38px rgba(255, 73, 16, 0.08);
}

.rules-panel h3 {
  color: #ffd16e;
}

.rules-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.rules-panel li + li {
  margin-top: 12px;
}

.steps {
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.93), rgba(8, 6, 5, 0.98)),
    url("../images/blizzard-frostfire-outpost.jpg") center / cover no-repeat;
}

.step-list {
  position: relative;
  display: grid;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.step-list li {
  min-height: 154px;
  padding: 22px;
  border: 1px solid rgba(255, 196, 74, 0.22);
  background: linear-gradient(180deg, rgba(13, 15, 28, 0.82), rgba(7, 6, 10, 0.84));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.step-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 900;
}

.step-list p {
  margin: 0;
  color: #f2dec0;
  font-weight: 800;
}

.discord {
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.72), rgba(8, 7, 12, 0.96)),
    url("../images/blizzard-shadowmoon-valley.jpg") center / cover no-repeat;
}

.discord-inner {
  position: relative;
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 196, 74, 0.28);
  background:
    linear-gradient(145deg, rgba(12, 16, 32, 0.88), rgba(8, 7, 12, 0.9)),
    radial-gradient(circle at 50% 0, rgba(121, 169, 255, 0.16), transparent 22rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  text-align: center;
}

.discord-inner p {
  max-width: 650px;
  margin: 16px auto 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(20px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid rgba(255, 196, 74, 0.18);
  background: #070504;
}

.site-footer strong {
  color: #ffd16e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.site-footer p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

@keyframes emberDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-90px, -180px, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 18px;
    background: rgba(7, 5, 4, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
  }

  .nav-open .main-nav {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 4px;
  }

  .hero-brief,
  .hardcore-content {
    grid-template-columns: 1fr;
  }

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

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

  .features {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 36px);
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 75% 34%, rgba(118, 221, 79, 0.1), transparent 14rem),
      linear-gradient(90deg, rgba(7, 5, 4, 0.94), rgba(7, 5, 4, 0.84)),
      linear-gradient(180deg, rgba(7, 5, 4, 0.45), rgba(7, 5, 4, 0.14) 48%, #090604);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 3.35rem);
    overflow-wrap: anywhere;
  }

  .hero-content,
  .countdown-panel {
    width: calc(100vw - 40px);
    max-width: 100%;
  }

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

  .hero-actions,
  .badge-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-brief,
  .lore-grid,
  .feature-grid,
  .release-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .release-card {
    min-height: 220px;
  }

  .feature-card,
  .step-list li {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
