/* ===== 五湖传奇 1.76 复古风 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #d4a437;
  --gold-light: #f0c75e;
  --gold-dark: #8a6a1f;
  --bg-dark: #12100b;
  --bg-panel: #1c1912;
  --text: #e8e0cf;
  --text-dim: #a89e88;
  --red: #b3372e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  background:
    linear-gradient(rgba(13, 11, 7, 0.55), rgba(13, 11, 7, 0.55)),
    url("../photo/001.jpg") center center / cover no-repeat fixed;
  color: var(--text);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 导航 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 16, 11, 0.92);
  border-bottom: 1px solid rgba(212, 164, 55, 0.25);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.menu a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--gold-light);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(179, 55, 46, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(18, 16, 11, 0.6) 0%, rgba(18, 16, 11, 0.15) 40%, rgba(13, 12, 9, 0.65) 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -80px;
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(212, 164, 55, 0.12), transparent 70%);
  animation: glow 6s ease-in-out infinite alternate;
}

.hero-bg::after {
  animation-delay: 3s;
}

@keyframes glow {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  transform: translateY(-68px);
}

.hero h1 {
  display: flex;
  justify-content: center;
}

.hero-logo {
  max-width: 88%;
  max-height: 380px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 6px 30px rgba(212, 164, 55, 0.35));
}

.hero-sub {
  margin-top: 0;
  font-size: 20px;
  color: var(--text-dim);
  letter-spacing: 3px;
}

.hero-btns {
  margin-top: 116px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-info {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #9a8e7a;
  font-size: 11px;
  letter-spacing: 1px;
}

.hero-info b {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 18px;
  font-weight: bold;
  color: #d4a017;
  text-shadow: 0 0 24px rgba(212, 160, 23, 0.2);
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #221a06;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 164, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 164, 55, 0.5);
}

.btn-ghost {
  border-color: var(--gold-dark);
  color: var(--gold-light);
}

.btn-ghost:hover {
  background: rgba(212, 164, 55, 0.1);
}

.btn-lg {
  padding: 14px 40px;
  font-size: 17px;
}

/* ===== 区块 ===== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, rgba(28, 25, 18, 0.94), rgba(18, 16, 11, 0.96));
  border-top: 1px solid rgba(212, 164, 55, 0.15);
  border-bottom: 1px solid rgba(212, 164, 55, 0.15);
}

.section-title {
  text-align: center;
  font-size: 36px;
  letter-spacing: 6px;
  color: var(--text);
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-desc {
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
}

.section-desc b {
  color: var(--gold-light);
}

/* ===== 职业卡片 ===== */
.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: linear-gradient(180deg, #221d14, #1a1610);
  border: 1px solid rgba(212, 164, 55, 0.2);
  border-radius: 10px;
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 164, 55, 0.4);
}

.card h3 {
  font-size: 22px;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.card p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ===== 特色 ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature {
  text-align: center;
  padding: 20px 16px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(212, 164, 55, 0.35));
}

.feature h3 {
  color: var(--gold-light);
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.feature p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ===== 开区信息 ===== */
.server-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.server-item {
  background: rgba(212, 164, 55, 0.06);
  border: 1px solid rgba(212, 164, 55, 0.18);
  border-radius: 8px;
  padding: 22px 20px;
  text-align: center;
}

.server-item span {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.server-item b {
  font-size: 18px;
  color: var(--gold-light);
}

.tip {
  margin-top: 32px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* ===== 下载 ===== */
.download-box {
  margin-top: 44px;
  background: linear-gradient(180deg, #241e13, #1a1610);
  border: 1px solid rgba(212, 164, 55, 0.3);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.download-size {
  display: inline-block;
  background: rgba(179, 55, 46, 0.15);
  color: #e07a6f;
  border: 1px solid rgba(179, 55, 46, 0.4);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 13px;
  margin-bottom: 16px;
}

.download-main h3 {
  font-size: 26px;
  color: var(--gold-light);
  margin-bottom: 26px;
  letter-spacing: 2px;
}

.download-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-extra {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-extra .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.notice {
  margin-top: 40px;
  background: linear-gradient(180deg, #241e13, #1a1610);
  border: 1px solid rgba(212, 164, 55, 0.3);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.notice h3 {
  color: var(--gold-light);
  font-size: 17px;
  margin-bottom: 12px;
}

.notice ul {
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 14px;
}

.notice li {
  margin-bottom: 6px;
}

.notice b {
  color: var(--text);
}

/* ===== 页脚 ===== */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 164, 55, 0.15);
  background: rgba(13, 12, 9, 0.9);
}

.footer p {
  color: var(--gold-light);
  font-size: 15px;
  letter-spacing: 1px;
}

.footer-sub {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-copy {
  margin-top: 6px;
  color: #6b6352;
  font-size: 12px;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-logo { max-height: 120px; }
  .hero-info b { font-size: 14px; }
  .intro-cards, .features, .server-info { grid-template-columns: 1fr; }
  .menu { gap: 14px; }
  .menu a { font-size: 13px; }
  .section { padding: 60px 0; }
}
