:root {
  --gold: #ffd478;
  --gold-deep: #df8f31;
  --jade: #52d3a8;
  --jade-deep: #0d7b66;
  --ink: #061a19;
  --panel: rgba(7, 38, 35, 0.82);
  --text: #fff9e8;
  --muted: rgba(235, 255, 247, 0.74);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(5, 31, 29, 0.84), rgba(4, 20, 22, 0.96)),
    url("/home-assets/mainbg.jpg") center top / cover fixed no-repeat,
    #061a19;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 9%, rgba(82, 211, 168, 0.26), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(255, 196, 82, 0.2), transparent 27%),
    linear-gradient(rgba(255, 212, 120, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 212, 120, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 74px 74px, 74px 74px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 212, 120, 0.18);
  background: rgba(4, 26, 24, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo-image {
  width: 92px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
}

.enter-btn,
.primary-btn,
.secondary-btn {
  min-height: 46px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.enter-btn,
.primary-btn {
  color: #3a2108;
  background: linear-gradient(135deg, #fff0ae, #ef9b37);
  box-shadow: 0 14px 34px rgba(223, 143, 49, 0.28);
}

.secondary-btn {
  color: var(--text);
  border: 1px solid rgba(82, 211, 168, 0.36);
  background: rgba(82, 211, 168, 0.09);
}

.enter-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(223, 143, 49, 0.34);
}

.hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0 38px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  color: #b9ffe5;
  border: 1px solid rgba(82, 211, 168, 0.32);
  border-radius: 999px;
  background: rgba(82, 211, 168, 0.1);
  font-size: 13px;
  letter-spacing: 1px;
}

.hero h1 {
  margin: 20px 0 12px;
  line-height: 1;
}

.hero-game-logo {
  width: min(390px, 82vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.38));
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 120, 0.26);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(3, 23, 22, 0.02), rgba(3, 23, 22, 0.58)),
    url("/home-assets/loading.jpg") center 67% / cover no-repeat;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(3, 29, 27, 0.22), transparent 48%);
  pointer-events: none;
}

.hero-card::after {
  content: "赤壁集结";
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #3a2108;
  background: linear-gradient(135deg, #fff0ae, #ef9b37);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-card-content {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(4, 29, 27, 0.74);
  backdrop-filter: blur(16px);
}

.hero-card-content h2 {
  margin: 0 0 10px;
  color: #fff1b9;
}

.hero-card-content p {
  font-size: 15px;
  line-height: 1.7;
}

.media-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 120, 0.2);
  border-radius: 24px;
  background-color: rgba(8, 45, 41, 0.8);
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 28, 27, 0.12), rgba(4, 28, 27, 0.58));
}

.media-recruit {
  background-image: url("/home-assets/recruit-bg.png");
}

.media-squad {
  background-image: url("/home-assets/squad-bg.jpg");
}

.media-store {
  background-image: url("/home-assets/store-bg.jpg");
}

.media-hero {
  position: absolute;
  right: 10%;
  bottom: -28px;
  z-index: 1;
  width: auto;
  height: 205px;
  object-fit: contain;
  filter: drop-shadow(0 14px 15px rgba(0, 0, 0, 0.42));
  transition: transform 0.35s ease;
}

.media-card:hover .media-hero {
  transform: translateY(-5px) scale(1.04);
}

.media-card span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 27, 25, 0.74);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-title {
  margin: 0 0 28px;
  color: #fff1b9;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 2px;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  gap: 28px;
}

.intro-panel,
.feature-card,
.notice {
  border: 1px solid rgba(255, 212, 120, 0.17);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.intro-panel {
  padding: 34px;
}

.intro-shot {
  position: relative;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.intro-shot > img {
  width: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 63%;
  transition: transform 0.35s ease;
}

.intro-shot:hover > img {
  transform: scale(1.025);
}

.intro-shot-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(3, 27, 25, 0.76);
  backdrop-filter: blur(14px);
}

.intro-shot-caption h2 {
  margin: 0 0 8px;
  color: var(--gold);
}

.intro-shot-caption p,
.intro-panel p,
.feature-card p,
.notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.intro-panel p {
  font-size: 16px;
  line-height: 1.9;
}

.intro-panel p + p {
  margin-top: 14px;
}

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

.stat {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 28px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

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

.feature-card {
  padding: 0;
  overflow: hidden;
}

.feature-art {
  position: relative;
  height: 205px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.feature-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 37, 34, 0.92));
}

.feature-recruit {
  background-image: url("/home-assets/recruit-bg.png");
}

.feature-squad {
  background-image: url("/home-assets/squad-bg.jpg");
}

.feature-store {
  background-image: url("/home-assets/store-bg.jpg");
}

.feature-art img {
  position: absolute;
  bottom: -35px;
  left: 50%;
  z-index: 1;
  width: auto;
  height: 238px;
  object-fit: contain;
  filter: drop-shadow(0 15px 16px rgba(0, 0, 0, 0.4));
  transform: translateX(-50%);
  transition: transform 0.35s ease;
}

.feature-card:hover .feature-art img {
  transform: translateX(-50%) translateY(-5px) scale(1.035);
}

.feature-body {
  padding: 24px 26px 28px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #3a2108;
  background: linear-gradient(135deg, #fff0ae, #ef9b37);
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 12px;
  color: #fff1b9;
  font-size: 20px;
}

.notice {
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.notice h2 {
  margin: 0 0 10px;
  color: var(--gold);
}

.notice .primary-btn {
  flex: none;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 212, 120, 0.16);
  background: rgba(3, 20, 19, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  color: rgba(235, 255, 247, 0.62);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.footer-inner p {
  margin: 5px 0;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--gold);
}

.footer-legal {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .intro {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-card {
    min-height: 520px;
  }

  .media-strip,
  .features {
    grid-template-columns: 1fr;
  }

  .notice {
    display: block;
  }

  .notice .primary-btn {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .logo {
    flex: 1;
  }

  .logo-image {
    width: 78px;
  }

  .nav-links {
    font-size: 13px;
  }

  .enter-btn {
    min-height: 40px;
    padding: 0 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-card {
    min-height: 470px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .intro-panel,
  .notice {
    padding: 24px;
  }

  .intro-shot,
  .feature-card {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
