﻿:root {
  --primary-gold: #ffcc00;
  --primary-glow: rgba(255, 204, 0, 0.3);
  --secondary-red: #b91c1c;
  --secondary-glow: rgba(185, 28, 28, 0.3);
  --dark-bg: #0a0a0a;
  --card-bg: rgba(20, 20, 20, 0.85);
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

body {
  background: 
    radial-gradient(circle at 20% 30%, rgba(185, 28, 28, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 204, 0, 0.1) 0%, transparent 50%),
    linear-gradient(to bottom, #000000, #0f0f0f, #000000);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 核心修改：Logo上下排列 + 左右铺满到边缘 */
.header {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  position: relative;
  display: flex;
  flex-direction: column; /* 让两个Logo上下排列 */
  gap: 0; /* 取消Logo之间的间距（如需间距可设2px） */
}
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
  box-shadow: 0 0 15px var(--primary-glow);
}
/* Logo图片左右铺满到页面边缘，上下对齐 */
.header img {
  width: 100%; /* 宽度100%，铺满左右边缘 */
  max-width: none; /* 取消原1920px宽度限制，确保铺满 */
  height: auto; /* 高度自动，保持比例 */
  display: block;
  margin: 0; /* 取消居中，让图片贴紧左右边缘 */
  filter: brightness(1.05) contrast(1.1);
}

.navbar {
  background: linear-gradient(to bottom, 
    rgba(50, 25, 0, 0.95), 
    rgba(30, 15, 0, 0.98));
  display: flex;
  justify-content: center;
  list-style: none;
  border-bottom: 1px solid var(--primary-gold);
  box-shadow: 0 4px 25px var(--primary-glow);
  padding: 0;
  margin: 0;
  backdrop-filter: blur(8px);
  position: relative;
}
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}
.navbar li {
  margin: 0;
  display: flex;
  align-items: center;
  position: relative;
}
.navbar a {
  display: block;
  padding: 18px 24px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.navbar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-gold), var(--secondary-red));
  transition: all 0.4s ease;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0;
}
.navbar a:hover::before {
  width: 100%;
  opacity: 0.15;
}
.navbar a:hover {
  color: var(--primary-gold);
  text-shadow: 0 0 10px var(--primary-glow);
  transform: translateY(-2px);
}
.navbar li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 20px;
  margin: 0 15px;
  background: linear-gradient(to bottom, transparent, var(--primary-gold), transparent);
  opacity: 0.8;
}

.server-status {
  background: linear-gradient(to right, 
    rgba(185, 28, 28, 0.2), 
    rgba(255, 204, 0, 0.15), 
    rgba(185, 28, 28, 0.2));
  color: #e2e8f0;
  text-align: center;
  padding: 4px 0;
  font-size: 17px;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 204, 0, 0.3);
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { opacity: 0.9; }
  50% { opacity: 1; }
  100% { opacity: 0.9; }
}
.server-status::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.game-intro,
.equipment-showcase,
.site-footer {
  background: var(--card-bg);
  backdrop-filter: blur(10px) saturate(180%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 35px 25px;
  text-align: center;
  max-width: 980px;
  margin: 20px auto;
  position: relative;
}
.game-intro::before,
.equipment-showcase::before,
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
  border-radius: 12px 12px 0 0;
}

.game-intro h2,
.equipment-showcase h2,
#activities > h2 {
  position: relative;
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-gold);
  margin: 0 auto 35px;
  padding: 0 25px;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 0 15px var(--primary-glow);
  background: linear-gradient(to bottom, #ffd700, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.game-intro h2::before,
.equipment-showcase h2::before,
#activities > h2::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 20px;
  text-shadow: 
    0 0 6px rgba(255, 255, 255, 0.3),
    0 0 10px rgba(255, 204, 0, 0.3);
}
.game-intro h2::after,
.equipment-showcase h2::after,
#activities > h2::after {
  content: '✦';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 20px;
  text-shadow: 
    0 0 6px rgba(255, 255, 255, 0.3),
    0 0 10px rgba(255, 204, 0, 0.3);
}

.intro-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 780px;
  margin: 0 auto;
}
.intro-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 8px;
  padding: 10px 18px;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
  transition: left 0.6s;
}
.intro-card:hover::before {
  left: 100%;
}
.intro-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 204, 0, 0.4);
  box-shadow: 0 5px 15px var(--primary-glow);
}
.intro-card strong {
  color: var(--primary-gold);
  margin-right: 6px;
  text-shadow: 0 0 5px var(--primary-glow);
}

.equipment-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 25px;
}
.equipment-item {
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.95), rgba(15, 15, 15, 0.98));
  border: 2px solid #555;
  border-radius: 16px;
  padding: 20px 12px;
  width: calc((100% - 55px) / 3);
  max-width: 300px;
  color: var(--text-light);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}
.equipment-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}
.equipment-item:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 30px var(--primary-glow);
}
.equipment-item img {
  width: 100%;
  max-width: 280px;
  height: 336px;
  object-fit: contain;
  background: #000;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.equipment-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--primary-glow);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 820px;
}
.activity-grid .intro-card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px;
}

#activities .intro-card strong {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
#activities .intro-card strong::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.site-footer {
  margin: 30px auto;
  padding: 0 25px 15px;
}
.footer-content {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.health-tip {
  margin: 0;
  padding: 12px 0 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}
.health-tip p {
  margin: 4px 0;
}
.copyright {
  margin-top: 10px;
}
.copyright p {
  margin: 4px 0;
}
.copyright p:last-child {
  color: var(--text-muted);
  font-weight: normal;
  margin-top: 8px;
  text-shadow: none;
}

#back-to-top {
  position: fixed;
  bottom: 150px;
  right: 100px;
  width: 60px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary-gold), var(--secondary-red));
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 30px var(--primary-glow);
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .navbar a { padding: 15px 20px; font-size: 16px; }
  .equipment-item { width: calc(50% - 15px); }
  .activity-grid { grid-template-columns: 1fr; }
  .game-intro, .equipment-showcase, .site-footer {
    margin: 15px 10px;
    padding: 25px 15px;
  }
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .navbar { flex-wrap: wrap; justify-content: space-around; }
  .navbar li:not(:last-child)::after { display: none; }
  .equipment-item { width: 100%; }
  .game-intro h2, .equipment-showcase h2, #activities > h2 {
    font-size: 24px;
    padding: 0 15px;
  }
  .game-intro h2::before,
  .equipment-showcase h2::before,
  #activities > h2::before,
  .game-intro h2::after,
  .equipment-showcase h2::after,
  #activities > h2::after {
    display: none;
  }
}
/* === 强制启用文本选择（修复无法选定问题）=== */
* {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  pointer-events: auto !important;
}
*::before,
*::after {
  pointer-events: none !important;
}