/* ========================================
   天龙八部怀旧服官网 - 天青水墨武侠主题
   ======================================== */

:root {
  /* 主色：天青 */
  --sky-50: #eef4f7;
  --sky-100: #d9e6ed;
  --sky-200: #b3cdD9;
  --sky-300: #8eb3c5;
  --sky-400: #6b9cb1;
  --sky-500: #5B8BA8;
  --sky-600: #4a738c;
  --sky-700: #3a5a6e;
  --sky-800: #2b4351;
  --sky-900: #1e2f39;

  /* 古金 */
  --gold-300: #e2c98f;
  --gold-400: #d9bc74;
  --gold-500: #C9A96E;
  --gold-600: #b09258;
  --gold-700: #8c7545;

  /* 朱红 */
  --red-500: #B4432F;
  --red-600: #963626;

  /* 墨色 */
  --ink-950: #0a1018;
  --ink-900: #0E1620;
  --ink-850: #131d2a;
  --ink-800: #1a2736;
  --ink-700: #253546;
  --ink-600: #364a5f;
  --ink-500: #4d6478;
  --ink-400: #6b8296;
  --ink-300: #8fa3b3;
  --ink-200: #b8c5d0;
  --ink-100: #d7dfe6;

  /* 字体 */
  --font-display: 'Ma Shan Zheng', 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
  --font-body: 'Noto Serif SC', 'ZCOOL XiaoWei', serif;
  --font-xiaowei: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--ink-100);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 1200px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ========================================
   顶部导航
   ======================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 16, 24, 0.9) 0%, rgba(10, 16, 24, 0.6) 60%, transparent 100%);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  padding: 16px 0 24px;
}

.top-nav.scrolled {
  background: rgba(10, 16, 24, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-seal {
  width: 48px;
  height: 48px;
  background: var(--red-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  letter-spacing: 2px;
  box-shadow: 0 2px 12px rgba(180, 67, 47, 0.4);
  transform: rotate(-3deg);
  position: relative;
}

.logo-seal::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: normal;
  color: var(--gold-400);
  letter-spacing: 3px;
  line-height: 1;
}

.logo-text p {
  font-size: 11px;
  color: var(--ink-300);
  letter-spacing: 2px;
  margin-top: 4px;
  font-family: var(--font-xiaowei);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--ink-200);
  letter-spacing: 1px;
  font-family: var(--font-xiaowei);
  transition: all 0.3s ease;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--gold-400);
}

.nav-item:hover::before,
.nav-item.active::before {
  width: 60%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-login {
  padding: 8px 22px;
  border: 1px solid var(--gold-600);
  color: var(--gold-400);
  font-size: 14px;
  border-radius: 2px;
  transition: all 0.3s ease;
  font-family: var(--font-xiaowei);
  letter-spacing: 2px;
}

.btn-login:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--gold-400);
}

.btn-register {
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
  font-family: var(--font-xiaowei);
  letter-spacing: 2px;
}

.btn-register:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.4);
}

/* ========================================
   首屏 Hero
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 16, 24, 0.75) 0%,
    rgba(10, 16, 24, 0.55) 40%,
    rgba(10, 16, 24, 0.45) 60%,
    rgba(10, 16, 24, 0.7) 100%
  );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 16, 24, 0.6) 100%);
}

/* 竖排诗句装饰 */
.hero-verse {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: rgba(201, 169, 110, 0.35);
  letter-spacing: 8px;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.hero-verse.left {
  left: 60px;
}

.hero-verse.right {
  right: 60px;
}

.hero-verse span {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.badge-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.badge-text {
  font-family: var(--font-xiaowei);
  font-size: 14px;
  color: var(--gold-400);
  letter-spacing: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
}

.title-line {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: normal;
  color: #fff;
  letter-spacing: 20px;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(91, 139, 168, 0.4);
  line-height: 1;
  padding-left: 20px; /* 补偿字间距，让视觉居中 */
}

.title-sub {
  font-family: var(--font-xiaowei);
  font-size: 36px;
  color: var(--gold-400);
  letter-spacing: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  padding-left: 16px;
  position: relative;
  display: inline-block;
  margin-top: 8px;
}

.title-sub::before,
.title-sub::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.title-sub::before {
  right: calc(100% + 20px);
  transform: translateY(-50%);
}

.title-sub::after {
  left: calc(100% + 20px);
  background: linear-gradient(90deg, transparent, var(--gold-500));
  transform: translateY(-50%);
}

.hero-slogan {
  font-family: var(--font-xiaowei);
  font-size: 18px;
  color: var(--ink-200);
  line-height: 2.2;
  letter-spacing: 3px;
  margin-bottom: 48px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 0;
}

.btn-primary,
.btn-secondary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  min-width: 200px;
  justify-content: center;
  font-family: var(--font-xiaowei);
  font-size: 18px;
  letter-spacing: 4px;
  border-radius: 2px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: var(--ink-900);
  font-weight: 600;
  box-shadow:
    0 4px 20px rgba(201, 169, 110, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(201, 169, 110, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(91, 139, 168, 0.15);
  color: var(--sky-200);
  border: 1px solid var(--sky-500);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(91, 139, 168, 0.25);
  border-color: var(--sky-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(91, 139, 168, 0.3);
}

.btn-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

.btn-label {
  flex: 1;
  text-align: center;
}

.btn-sub {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 1px;
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-300);
  font-size: 12px;
  letter-spacing: 4px;
  animation: scrollBounce 2s ease-in-out infinite;
  font-family: var(--font-xiaowei);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--gold-500);
  border-bottom: 1px solid var(--gold-500);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.4; }
}

/* ========================================
   通用 Section
   ======================================== */
.section {
  position: relative;
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.section-decoration {
  width: 120px;
  height: 1px;
  position: relative;
}

.section-decoration::before,
.section-decoration::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.section-decoration.left {
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.section-decoration.left::after {
  content: '◆';
  right: -8px;
  color: var(--gold-500);
  font-size: 10px;
}

.section-decoration.right {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.section-decoration.right::before {
  content: '◆';
  left: -8px;
  color: var(--gold-500);
  font-size: 10px;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.title-cn {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: normal;
  color: var(--gold-400);
  letter-spacing: 8px;
}

.title-en {
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 6px;
  font-family: var(--font-xiaowei);
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-300);
  font-size: 15px;
  letter-spacing: 4px;
  margin-bottom: 60px;
  font-family: var(--font-xiaowei);
}

.section-subtitle.light {
  color: var(--ink-300);
}

/* ========================================
   开服信息
   ======================================== */
.servers-section {
  background: var(--ink-900);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(91, 139, 168, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
}

.servers-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.servers-column {
  background: rgba(26, 39, 54, 0.5);
  border: 1px solid rgba(91, 139, 168, 0.2);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  background: rgba(91, 139, 168, 0.1);
  border-bottom: 1px solid rgba(91, 139, 168, 0.2);
}

.column-header h4 {
  flex: 1;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 4px;
  color: var(--ink-100);
}

.header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.column-header.upcoming .header-dot {
  background: var(--sky-400);
  box-shadow: 0 0 8px var(--sky-400);
  animation: pulse 2s ease-in-out infinite;
}

.column-header.hot .header-dot {
  background: var(--red-500);
  box-shadow: 0 0 8px var(--red-500);
  animation: pulse 1.5s ease-in-out infinite;
}

.column-header.classic .header-dot {
  background: var(--gold-500);
  box-shadow: 0 0 8px var(--gold-500);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.header-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 2px;
  font-weight: 600;
  background: var(--sky-500);
  color: #fff;
}

.header-badge.hot {
  background: var(--red-500);
}

.header-badge.classic {
  background: var(--gold-600);
  color: var(--ink-900);
}

.server-list {
  padding: 8px;
}

.server-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 3px;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.server-item:last-child {
  margin-bottom: 0;
}

.server-item:hover {
  background: rgba(91, 139, 168, 0.1);
}

.server-item.highlight {
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.25);
}

.server-info {
  flex: 1;
  min-width: 0;
}

.server-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--ink-100);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.server-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 2px;
  font-weight: normal;
  letter-spacing: 1px;
  background: var(--gold-500);
  color: var(--ink-900);
}

.server-tag.new {
  background: var(--sky-400);
  color: #fff;
}

.server-tag.hot {
  background: var(--red-500);
  color: #fff;
}

.server-tag.classic {
  background: var(--gold-700);
  color: var(--gold-300);
}

.server-time {
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 1px;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  min-width: 60px;
  letter-spacing: 1px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.server-status.upcoming {
  color: var(--sky-300);
}

.server-status.upcoming .status-dot {
  background: var(--sky-400);
}

.server-status.hot {
  color: var(--red-500);
}

.server-status.hot .status-dot {
  background: var(--red-500);
  animation: pulse 1s ease-in-out infinite;
}

.server-status.normal {
  color: var(--gold-400);
}

.server-status.normal .status-dot {
  background: var(--gold-500);
}

.server-status.low {
  color: var(--ink-400);
}

.server-status.low .status-dot {
  background: var(--ink-500);
}

.server-btn {
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  border-radius: 2px;
  background: rgba(91, 139, 168, 0.2);
  color: var(--sky-200);
  border: 1px solid var(--sky-500);
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-xiaowei);
}

.server-btn:hover {
  background: var(--sky-500);
  color: #fff;
}

.server-btn.active {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--ink-900);
  border-color: transparent;
  font-weight: 600;
}

.server-btn.active:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

/* ========================================
   游戏特色
   ======================================== */
.features-section {
  background: var(--ink-850);
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%235B8BA8' stroke-width='0.5' opacity='0.04'/%3E%3C/svg%3E");
}

.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  position: relative;
  background: rgba(14, 22, 32, 0.8);
  border: 1px solid rgba(91, 139, 168, 0.15);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 169, 110, 0.2);
}

.feature-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.8s ease;
}

.feat-1 { background-image: url('assets/images/feat-1.jpg'); }
.feat-2 { background-image: url('assets/images/feat-2.jpg'); }
.feat-3 { background-image: url('assets/images/feat-3.jpg'); }
.feat-4 { background-image: url('assets/images/feat-4.jpg'); }
.feat-5 { background-image: url('assets/images/feat-5.jpg'); }
.feat-6 { background-image: url('assets/images/feat-6.jpg'); }
.feat-7 { background-image: url('assets/images/feat-7.jpg'); }
.feat-8 { background-image: url('assets/images/feat-8.jpg'); }
.feat-9 { background-image: url('assets/images/feat-9.jpg'); }

.feature-card:hover .feature-img {
  transform: scale(1.08);
}

.feat-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 32px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 6px;
  z-index: 2;
  transition: all 0.4s ease;
}

.feature-card:hover .feat-label {
  color: rgba(255,255,255,0.2);
  letter-spacing: 8px;
}

.feature-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 22, 32, 0.9) 100%);
}

.feature-content {
  position: relative;
  padding: 24px;
  padding-top: 0;
  margin-top: -30px;
  z-index: 2;
}

.feature-number {
  position: absolute;
  top: -60px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 56px;
  color: rgba(201, 169, 110, 0.15);
  line-height: 1;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-number {
  color: rgba(201, 169, 110, 0.3);
  transform: scale(1.1);
}

.feature-content h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: normal;
  color: var(--gold-400);
  letter-spacing: 3px;
  margin-bottom: 12px;
  position: relative;
}

.feature-content h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold-500);
  margin-top: 8px;
}

.feature-content p {
  font-size: 14px;
  color: var(--ink-300);
  line-height: 1.9;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  font-size: 11px;
  padding: 3px 10px;
  background: rgba(91, 139, 168, 0.15);
  color: var(--sky-300);
  border-radius: 2px;
  border: 1px solid rgba(91, 139, 168, 0.3);
  letter-spacing: 1px;
}

/* ========================================
   新闻公告
   ======================================== */
.news-section {
  background: var(--ink-900);
  position: relative;
  padding: 100px 40px;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
  opacity: 0.4;
}

.news-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header.light .title-cn {
  color: var(--gold-400);
}

.news-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.news-main {
  background: rgba(26, 39, 54, 0.5);
  border: 1px solid rgba(91, 139, 168, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.news-main-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.news-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.news-main-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--red-500);
  color: #fff;
  font-size: 13px;
  padding: 6px 16px;
  letter-spacing: 3px;
  font-family: var(--font-xiaowei);
  box-shadow: 0 2px 12px rgba(180, 67, 47, 0.4);
}

.news-main-content {
  padding: 28px;
}

.news-main-content h4 {
  font-size: 22px;
  color: var(--ink-50);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 14px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  font-family: var(--font-xiaowei);
}

.news-main:hover .news-main-content h4 {
  color: var(--gold-400);
}

.news-main-desc {
  font-size: 14px;
  color: var(--ink-400);
  line-height: 1.9;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-main-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-400);
}

.news-date {
  letter-spacing: 1px;
}

.news-views {
  color: var(--ink-500);
}

.news-more {
  margin-left: auto;
  color: var(--gold-500);
  font-family: var(--font-xiaowei);
  letter-spacing: 1px;
}

.news-more:hover {
  color: var(--gold-400);
}

.news-lists {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.news-list-block {
  background: rgba(26, 39, 54, 0.4);
  border: 1px solid rgba(91, 139, 168, 0.15);
  border-radius: 4px;
  padding: 22px 24px;
}

.news-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(91, 139, 168, 0.15);
}

.news-list-header h5 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: normal;
  color: var(--gold-400);
  letter-spacing: 4px;
}

.view-all {
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: var(--gold-400);
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(91, 139, 168, 0.1);
  transition: background 0.3s ease;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 2px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li:hover {
  background: rgba(91, 139, 168, 0.08);
}

.news-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 1px;
  flex-shrink: 0;
  font-weight: 600;
}

.news-tag.event {
  background: rgba(180, 67, 47, 0.15);
  color: #d16652;
  border: 1px solid rgba(180, 67, 47, 0.3);
}

.news-tag.update {
  background: rgba(91, 139, 168, 0.15);
  color: var(--sky-300);
  border: 1px solid rgba(91, 139, 168, 0.3);
}

.news-tag.fix {
  background: rgba(201, 169, 110, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.news-title {
  flex: 1;
  font-size: 14px;
  color: var(--ink-200);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.news-list li:hover .news-title {
  color: var(--gold-400);
}

.news-date-list {
  font-size: 12px;
  color: var(--ink-500);
  flex-shrink: 0;
  letter-spacing: 1px;
}

/* ========================================
   下载区
   ======================================== */
.download-section {
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(91, 139, 168, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-850) 50%, var(--ink-900) 100%);
}

.download-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
  opacity: 0.4;
}

.download-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
  opacity: 0.4;
}

.download-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.download-title {
  margin-bottom: 20px;
}

.download-title span {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: normal;
  color: var(--gold-400);
  letter-spacing: 12px;
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.2);
}

.download-title small {
  font-size: 13px;
  color: var(--ink-400);
  letter-spacing: 8px;
  font-family: var(--font-xiaowei);
}

.download-desc {
  font-size: 16px;
  color: var(--ink-300);
  line-height: 2;
  margin-bottom: 48px;
  letter-spacing: 2px;
  font-family: var(--font-xiaowei);
}

.download-buttons {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 36px;
  background: rgba(26, 39, 54, 0.8);
  border: 1px solid rgba(91, 139, 168, 0.3);
  border-radius: 4px;
  transition: all 0.4s ease;
  min-width: 220px;
  text-align: left;
}

.download-btn.large {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.download-btn.large .db-text {
  color: var(--ink-900);
}

.download-btn.large .db-icon {
  color: var(--ink-900);
}

.download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.download-btn.large:hover {
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.4);
}

.db-icon {
  width: 36px;
  height: 36px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.db-icon svg {
  width: 100%;
  height: 100%;
}

.db-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.db-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-50);
  letter-spacing: 2px;
  font-family: var(--font-xiaowei);
}

.db-sub {
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 1px;
}

.download-btn.large .db-sub {
  color: rgba(14, 22, 32, 0.7);
}

.download-sys {
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: 1px;
}

.download-sys .dot {
  margin: 0 8px;
  color: var(--ink-600);
}

/* ========================================
   底部 Footer
   ======================================== */
.site-footer {
  background: var(--ink-950);
  border-top: 1px solid rgba(91, 139, 168, 0.15);
  padding: 50px 40px 30px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-keywords {
  padding: 16px 20px;
  background: rgba(26, 39, 54, 0.4);
  border: 1px solid rgba(91, 139, 168, 0.1);
  border-radius: 4px;
  margin-bottom: 40px;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 1px;
}

.footer-keywords > span {
  color: var(--gold-500);
  font-weight: 600;
  margin-right: 8px;
}

.footer-keywords a {
  color: var(--ink-400);
  margin-right: 16px;
  transition: color 0.3s ease;
}

.footer-keywords a:hover {
  color: var(--gold-400);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 180px;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(91, 139, 168, 0.1);
}

.footer-col h6 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: normal;
  color: var(--gold-400);
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-400);
  padding: 6px 0;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.footer-col a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.qr-col {
  text-align: center;
}

.qr-code {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  background: #fff;
  border-radius: 4px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(45deg, #000 25%, transparent 25%),
    linear-gradient(-45deg, #000 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #000 75%),
    linear-gradient(-45deg, transparent 75%, #000 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-placeholder svg {
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  padding: 4px;
  border-radius: 2px;
}

.qr-col p {
  font-size: 12px;
  color: var(--ink-300);
  letter-spacing: 1px;
}

.qr-col .qr-sub {
  color: var(--ink-500);
  margin-top: 2px;
  font-size: 11px;
}

.footer-copyright {
  text-align: center;
  margin-bottom: 20px;
}

.footer-copyright p {
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 1px;
  line-height: 2;
}

.copyright-line2 {
  margin-top: 4px;
}

.footer-disclaimer {
  text-align: center;
  padding: 16px 20px;
  background: rgba(26, 39, 54, 0.3);
  border-radius: 4px;
}

.footer-disclaimer p {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

.footer-disclaimer strong {
  color: var(--ink-400);
  font-weight: 600;
}

/* ========================================
   返回顶部
   ======================================== */
.back-top {
  position: fixed;
  right: 30px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  background: rgba(26, 39, 54, 0.9);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 3px;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold-500);
  color: var(--ink-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.4);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1200px) {
  body {
    min-width: auto;
  }

  .nav-menu {
    display: none;
  }

  .hero-verse {
    display: none;
  }

  .title-line {
    font-size: 64px;
    letter-spacing: 12px;
  }

  .title-sub {
    font-size: 28px;
    letter-spacing: 10px;
  }

  .servers-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-container {
    grid-template-columns: 1fr;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    max-width: 400px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   游戏介绍分页
   ======================================== */
.guide-section {
  background: var(--ink-900);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(91, 139, 168, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
}

.guide-tabs {
  max-width: 1200px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 30px;
  font-size: 16px;
  font-family: var(--font-xiaowei);
  letter-spacing: 3px;
  color: var(--ink-300);
  background: rgba(26, 39, 54, 0.6);
  border: 1px solid rgba(91, 139, 168, 0.25);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--gold-400);
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(26, 39, 54, 0.9);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--ink-900);
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.4s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.guide-list li {
  padding: 15px 20px 15px 40px;
  border-bottom: 1px dashed rgba(91, 139, 168, 0.15);
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  color: var(--ink-200);
}

.guide-list li::before {
  content: '◆';
  position: absolute;
  left: 16px;
  top: 17px;
  color: var(--sky-500);
  font-size: 10px;
}

.guide-list li b {
  color: var(--gold-400);
  font-weight: 600;
}

.guide-list li.warn {
  color: #e0a090;
}

.guide-list li.warn b {
  color: #e07060;
}

.guide-list li.warn::before {
  color: #e07060;
}

.guide-list li.ok {
  color: #a0d8b4;
}

.guide-list li.ok b {
  color: #7ec49a;
}

.guide-list li.ok::before {
  color: #7ec49a;
}

.guide-card {
  background: rgba(26, 39, 54, 0.6);
  border-left: 3px solid var(--sky-500);
  padding: 20px 26px;
  margin-bottom: 18px;
  border-radius: 0 4px 4px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.guide-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-400);
  margin-bottom: 12px;
  letter-spacing: 2px;
  font-weight: normal;
}

.guide-card p {
  font-size: 16px;
  color: var(--ink-200);
  line-height: 2.1;
}

.guide-card b {
  color: var(--gold-400);
}

.craft-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.craft-card {
  background: rgba(26, 39, 54, 0.6);
  border: 1px solid rgba(91, 139, 168, 0.18);
  border-radius: 4px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.craft-card:hover {
  border-color: rgba(201, 169, 110, 0.35);
  background: rgba(26, 39, 54, 0.85);
}

.craft-card.wide {
  grid-column: 1 / 3;
}

.craft-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-400);
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-weight: normal;
}

.craft-card h4::before {
  content: '●';
  color: var(--sky-500);
  margin-right: 8px;
  font-size: 10px;
}

.craft-card p {
  font-size: 15px;
  color: var(--ink-300);
  line-height: 2;
}

.craft-card b {
  color: var(--gold-400);
}

.tab-note {
  text-align: center;
  color: var(--ink-400);
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-family: var(--font-xiaowei);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.guide-table th {
  background: rgba(91, 139, 168, 0.18);
  color: var(--sky-300);
  padding: 14px 16px;
  text-align: left;
  border: 1px solid rgba(91, 139, 168, 0.2);
  letter-spacing: 2px;
  font-weight: normal;
  font-family: var(--font-xiaowei);
}

.guide-table th:first-child {
  width: 150px;
  text-align: center;
  white-space: nowrap;
}

.guide-table td {
  padding: 13px 16px;
  border: 1px solid rgba(91, 139, 168, 0.12);
  color: var(--ink-200);
  line-height: 1.8;
}

.guide-table td:first-child {
  color: var(--gold-400);
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-xiaowei);
}

.guide-table tr:hover td {
  background: rgba(91, 139, 168, 0.07);
}

.guide-table .rare {
  color: #e07060;
  font-weight: 600;
}

@media (max-width: 900px) {
  .craft-cards { grid-template-columns: 1fr; }
  .craft-card.wide { grid-column: 1; }
  .tab-btn { padding: 10px 18px; font-size: 14px; }
}

/* ========================================
   开服信息表格
   ======================================== */
.server-table-wrap {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
}

.server-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  background: rgba(15, 22, 32, 0.75);
  border: 1px solid rgba(201, 169, 110, 0.25);
}

.server-table thead th {
  background: linear-gradient(180deg, #8b1a1a 0%, #6b1010 100%);
  color: #ffe88a;
  padding: 14px 18px;
  text-align: center;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  border: 1px solid rgba(245, 216, 138, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.server-table tbody td {
  padding: 14px 18px;
  text-align: center;
  border: 1px solid rgba(91, 139, 168, 0.15);
  color: #d8e2ec;
  line-height: 1.6;
  font-weight: 600;
}

.server-table tbody tr:nth-child(even) {
  background: rgba(26, 39, 54, 0.4);
}

.server-table tbody tr:hover {
  background: rgba(139, 26, 26, 0.15);
}

.server-table .svr-name {
  color: #ff5555;
  font-weight: 700;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.server-table .svr-time {
  color: #c8d4e0;
  font-weight: 600;
}

.server-table .svr-time.hot {
  color: #ff7eb0;
  font-weight: 700;
}

.server-table .svr-time.new {
  color: #ff5555;
  font-weight: 700;
}

.server-table .svr-qq {
  color: #6bb5ff;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.server-table .svr-link {
  color: #5aaaff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.server-table .svr-link:hover {
  color: var(--gold-400);
  text-decoration: underline;
}
