:root {
  color-scheme: dark;
  --bg: #070605;
  --panel: #14100c;
  --panel-2: #20150d;
  --gold: #e6b55f;
  --gold-soft: #f5d993;
  --red: #8b2615;
  --ink: #fff5db;
  --muted: #d4c0a1;
  --line: rgba(230, 181, 95, .35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(52px, 8vw, 128px);
  padding: 18px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08));
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(230px, 28vw, 340px);
  height: 104px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
  color: var(--gold-soft);
  font-size: 16px;
  font-weight: 800;
}

.nav a {
  min-width: 72px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #f4ddb1;
  background: linear-gradient(180deg, rgba(54, 20, 11, .8), rgba(11, 7, 5, .64));
  border: 1px solid rgba(230, 181, 95, .46);
  box-shadow: inset 0 1px 0 rgba(255, 232, 170, .18);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .68);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.nav a:hover {
  color: #2d1208;
  background: linear-gradient(180deg, #ffe09a, #c9822d 58%, #7d2a12);
  border-color: #ffe2a0;
  text-shadow: none;
}

.nav-download {
  color: #fff0b4;
  border-color: rgba(255, 224, 154, .8);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px clamp(22px, 7vw, 96px) 70px;
  background:
    linear-gradient(90deg, rgba(5, 3, 2, .88), rgba(5, 3, 2, .36) 52%, rgba(5, 3, 2, .7)),
    linear-gradient(0deg, var(--bg), rgba(7, 6, 5, .08) 34%),
    url("assets/hero-bg.jpg") center / cover no-repeat;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 96px);
  line-height: .95;
  color: var(--gold-soft);
  text-shadow: 0 4px 0 #4c1409, 0 0 28px rgba(229, 98, 34, .35);
}

.tagline {
  max-width: 620px;
  color: #f1dec0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  min-width: 172px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 2px solid var(--gold);
  font-size: 18px;
  font-weight: 800;
}

.btn.primary {
  color: #2d1208;
  background: linear-gradient(180deg, #ffe09a, #c9822d 55%, #7d2a12);
}

.btn.secondary {
  color: var(--gold-soft);
  background: rgba(10, 7, 5, .58);
}

.classic-board {
  position: absolute;
  right: clamp(36px, 9vw, 128px);
  top: 295px;
  width: min(760px, calc(100vw - 112px));
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  z-index: 2;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(37, 15, 9, .96), rgba(9, 6, 5, .96));
  border: 1px solid rgba(230, 181, 95, .64);
  box-shadow: 0 0 0 3px rgba(74, 22, 10, .55), 0 18px 34px rgba(0, 0, 0, .45);
}

.download-stack {
  display: grid;
  gap: 9px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(64, 24, 12, .92), rgba(20, 10, 7, .96)),
    #24120c;
  border-right: 1px solid rgba(230, 181, 95, .34);
}

.download-stack a {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: #f8e7b2;
  background: linear-gradient(180deg, #8e3018, #4f140a);
  border: 1px solid rgba(230, 181, 95, .62);
  font-size: 19px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .55);
}

.download-stack .download-main {
  min-height: 88px;
  color: #2d1208;
  background: linear-gradient(180deg, #fff0b4, #d59637 58%, #842b12);
  border-color: #ffe2a0;
  font-size: 28px;
  text-shadow: none;
}

.download-stack a:nth-child(3) {
  color: #1d1009;
  background: linear-gradient(180deg, #ead39b, #b78742);
}

.download-stack a:nth-child(4),
.download-stack a:nth-child(5) {
  color: #f3dfaa;
  background: rgba(10, 7, 5, .7);
}

.intro-board {
  background:
    radial-gradient(circle at 90% 10%, rgba(191, 54, 22, .18), transparent 38%),
    linear-gradient(180deg, rgba(18, 10, 7, .92), rgba(8, 6, 5, .98));
  color: #f1dec0;
  border: 0;
}

.intro-board h2 {
  margin: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: var(--gold-soft);
  background: linear-gradient(90deg, rgba(125, 31, 14, .84), rgba(18, 9, 6, .72));
  border-bottom: 1px solid rgba(230, 181, 95, .52);
  font-size: 27px;
  text-shadow: 0 2px 0 #3a0d06;
}

.intro-board h2 span {
  margin-left: 10px;
  color: #f0c56c;
  font-size: 14px;
  font-weight: 700;
  text-shadow: none;
}

.intro-board ul {
  margin: 0;
  padding: 16px 24px 20px;
  list-style: none;
}

.intro-board li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(230, 181, 95, .2);
  color: #e5d0ad;
  font-size: 16px;
  line-height: 1.62;
}

.intro-board li:last-child {
  border-bottom: 0;
}

.intro-board strong {
  color: #ffcf74;
}

.showcase-section {
  padding: clamp(64px, 8vw, 108px) clamp(22px, 7vw, 96px);
  background:
    radial-gradient(circle at 78% 18%, rgba(160, 38, 18, .22), transparent 32%),
    linear-gradient(180deg, #080605, #170b07 52%, #080605);
}

.role-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.role-showcase article {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(12, 8, 5, .2), rgba(10, 6, 4, .94)),
    radial-gradient(circle at 50% 35%, rgba(226, 109, 27, .24), transparent 46%);
  border: 1px solid rgba(230, 181, 95, .44);
}

.role-showcase img {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: min(112%, 420px);
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, .65));
}

.role-showcase article div {
  position: relative;
  z-index: 1;
  padding-top: 150px;
}

.role-showcase h3 {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 28px;
  text-shadow: 0 2px 0 #4c1409;
}

.role-showcase p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gear-showcase {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(36, 16, 9, .9), rgba(8, 5, 4, .95));
  border: 1px solid rgba(230, 181, 95, .38);
}

.gear-showcase img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  background: radial-gradient(circle, rgba(230, 181, 95, .18), rgba(10, 7, 5, .9) 58%);
  border: 1px solid rgba(230, 181, 95, .34);
}

.section {
  padding: clamp(56px, 9vw, 110px) clamp(22px, 7vw, 96px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.15;
}

.intro,
.news {
  background: linear-gradient(180deg, #090706, #120b08);
}

.classes {
  background:
    linear-gradient(90deg, rgba(7, 6, 5, .92), rgba(7, 6, 5, .76)),
    url("assets/hero-bg.jpg") center / cover fixed;
}

.feature-grid,
.class-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.class-list article {
  min-height: 170px;
  padding: 26px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
}

.feature-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.feature-grid h3,
.class-list h3 {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 24px;
}

.feature-grid p,
.class-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.news-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.news-list a {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.news-list time {
  color: var(--gold);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 32px 20px 36px;
  color: var(--muted);
  background: #050403;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.footer-links a {
  color: var(--gold-soft);
}

.footer-links a + a::before {
  content: "|";
  margin: 0 8px;
  color: rgba(212, 192, 161, .65);
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .brand {
    width: 230px;
    height: 92px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
  }

  .nav a {
    min-width: 62px;
    height: 34px;
    padding: 0 12px;
  }

  .hero {
    align-items: end;
  }

  .feature-grid,
  .class-list,
  .role-showcase {
    grid-template-columns: 1fr;
  }

  .role-showcase article {
    min-height: 360px;
  }

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

  .classic-board {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .intro-board h2 {
    display: block;
    padding: 14px 16px;
  }

  .intro-board h2 span {
    display: block;
    margin: 4px 0 0;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .classic-board {
    top: 255px;
    right: 36px;
    width: min(660px, calc(100vw - 72px));
    grid-template-columns: 185px minmax(0, 1fr);
  }

  .download-stack a {
    min-height: 50px;
    font-size: 17px;
  }

  .download-stack .download-main {
    min-height: 72px;
    font-size: 24px;
  }

  .intro-board h2 {
    min-height: 58px;
    font-size: 24px;
  }

  .intro-board li {
    padding: 9px 0;
    font-size: 15px;
  }
}
