* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: #f5e4c4;
  background: #090706;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Serif SC", SimSun, serif;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/metin-card-heroes.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 52% 46%, rgba(186, 37, 24, 0.34), transparent 26rem),
    linear-gradient(90deg, rgba(5, 3, 2, 0.24), rgba(5, 3, 2, 0.78) 66%),
    linear-gradient(0deg, rgba(5, 3, 2, 0.56), transparent 42%),
    rgba(5, 3, 2, 0.18);
}

.topbar {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(250, 229, 190, 0.86);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(244, 208, 137, 0.28), 0 8px 22px rgba(0, 0, 0, 0.45);
}

.server {
  font-size: 14px;
  letter-spacing: 3px;
}

.hero-copy {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  align-self: center;
  padding: 7vh 0 16vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.82);
}

.eyebrow {
  margin: 0 0 10px;
  color: #d0a469;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1 {
  margin: 0;
  color: #f3d49d;
  font-size: clamp(62px, 8vw, 128px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow:
    0 3px 0 #7d241b,
    0 10px 24px rgba(0, 0, 0, 0.9),
    0 0 34px rgba(166, 34, 24, 0.45);
}

.subtitle {
  margin: 8px 0 0;
  color: #f6eddc;
  font-size: clamp(24px, 3.1vw, 48px);
  font-weight: 800;
  letter-spacing: 4px;
}

.intro {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(247, 224, 185, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.qq-group {
  margin: 16px 0 0;
  color: #f04b38;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow:
    0 2px 0 rgba(86, 14, 8, 0.85),
    0 8px 18px rgba(0, 0, 0, 0.88);
}

.download {
  margin-top: 26px;
  min-width: 238px;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #fff7de;
  text-decoration: none;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 2px;
  background:
    linear-gradient(180deg, rgba(255, 102, 63, 0.96), rgba(139, 18, 13, 0.98)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  border: 1px solid rgba(255, 217, 154, 0.74);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px rgba(88, 16, 10, 0.76),
    inset 0 12px 22px rgba(255, 221, 159, 0.16),
    0 16px 36px rgba(0, 0, 0, 0.62);
}

.download:hover {
  filter: brightness(1.08);
}

.download:active {
  transform: translateY(1px);
}

.download svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.foot {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 26px;
  color: rgba(255, 235, 200, 0.6);
  text-align: right;
  font-size: 13px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

@media (min-width: 860px) {
  .hero::before {
    background-size: auto 118vh;
    background-position: left 7% top 50%;
  }
}

@media (max-width: 720px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 3, 2, 0.08), rgba(5, 3, 2, 0.76) 58%, rgba(5, 3, 2, 0.9)),
      rgba(5, 3, 2, 0.08);
  }

  .topbar {
    width: min(100% - 32px, 520px);
    padding-top: 18px;
  }

  .server {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-copy {
    width: min(100% - 32px, 520px);
    align-items: flex-start;
    text-align: left;
    justify-content: end;
    padding: 44vh 0 12vh;
  }

  .eyebrow {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .subtitle {
    font-size: 24px;
    letter-spacing: 3px;
  }

  .intro {
    max-width: 340px;
    font-size: 15px;
    line-height: 1.7;
  }

  .qq-group {
    font-size: 20px;
  }

  .download {
    width: min(100%, 280px);
    min-height: 60px;
    font-size: 21px;
  }

  .foot {
    width: min(100% - 32px, 520px);
    text-align: left;
    padding-bottom: 18px;
  }
}
