/* ==========================================================================
   Zombie Hunters - 官网主样式 v3.0
   橙红双轨军事废土风 - 对齐游戏 UI（WarZ 风格）
   色彩语义：血红=行动按钮 | 品牌橙=品牌强调/HUD装饰 | 金=VIP/徽章 | 军绿=状态 | 货币绿=数值 | 钢蓝=次要按钮
   设计元素：哑光军事质感、撕纸边、grunge纹理、战术角标、扫描线
   ========================================================================== */

/* CSS 变量 - 主题色 */
:root {
  /* 背景层级（对齐游戏炭黑底 + 高对比卡片） */
  --bg-darkest: #050505;
  --bg-dark: #0a0a0a;
  --bg-card: #1d1d1d;
  --bg-elevated: #262626;
  --bg-hover: #2e2e2e;

  /* 品牌橙 - 品牌标识 / HUD 装饰 / 导航高亮 / 标题点缀 */
  --accent-orange: #ff6b1a;
  --accent-orange-dark: #cc5414;
  --accent-orange-glow: rgba(255, 107, 26, 0.4);
  --accent-orange-soft: rgba(255, 107, 26, 0.12);

  /* 行动色 - 血红（购买 / 充值 / 开始等主要操作按钮） */
  --accent-red: #c42222;
  --accent-red-dark: #7d1515;
  --accent-red-bright: #e04b4b;
  --accent-red-glow: rgba(196, 34, 34, 0.4);
  --accent-red-soft: rgba(196, 34, 34, 0.12);

  /* 状态色 - 军绿（成功 / 在线 / 存活） */
  --accent-green: #4a7c3a;
  --accent-green-dark: #2f5223;
  --accent-green-glow: rgba(74, 124, 58, 0.4);

  /* 货币绿 - 游戏点数 / 余额等数值显示 */
  --accent-currency: #6fbf44;
  --accent-currency-glow: rgba(111, 191, 68, 0.4);

  /* 徽章金 - VIP / 高级会员 / 金币 */
  --accent-gold: #c9a227;
  --accent-gold-dark: #9a7a18;
  --accent-gold-soft: rgba(201, 162, 39, 0.15);

  /* 次要按钮 - 钢蓝（次级功能按钮，如每日奖励） */
  --accent-steel: #5a768f;
  --accent-steel-dark: #42586c;

  /* 警示色 */
  --accent-yellow: #ffb800;
  --accent-yellow-glow: rgba(255, 184, 0, 0.4);

  /* 文字色 */
  --text-bright: #ffffff;
  --text-light: #e8e8e8;
  --text-muted: #8a8a8a;
  --text-dim: #555555;
  --text-tactical: #ff6b1a;

  /* 边框色 */
  --border-color: #333333;
  --border-light: #262626;
  --border-tactical: rgba(255, 107, 26, 0.3);
  --border-hud: rgba(255, 107, 26, 0.6);

  /* 阴影 */
  --shadow-dark: rgba(0, 0, 0, 0.7);
  --shadow-orange: rgba(255, 107, 26, 0.3);
  --shadow-red: rgba(196, 34, 34, 0.3);
  --shadow-gold: rgba(201, 162, 39, 0.3);

  /* grunge 噪点纹理（程序化 SVG 生成，全站低成本质感） */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* 撕纸边形状（军事废土质感，重点卡片专用） */
  --torn-edge: polygon(0% 3%, 4% 0.8%, 11% 2%, 19% 0.5%, 28% 1.8%, 38% 0.6%, 48% 2%, 58% 0.5%, 68% 1.6%, 79% 0.6%, 89% 1.8%, 96% 0.8%, 100% 2.5%, 98.6% 16%, 100% 32%, 98.8% 50%, 100% 67%, 98.9% 83%, 99.8% 97%, 96% 99.2%, 87% 98%, 76% 99.6%, 64% 98.4%, 52% 99.8%, 40% 98.6%, 28% 99.8%, 16% 98.5%, 7% 99.6%, 0.4% 97.5%);

  /* 尺寸 */
  --navbar-height: 72px;
  --container-width: 1280px;

  /* 过渡 */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* 字体 */
  --font-main: 'Rajdhani', 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --font-heading: 'Orbitron', 'Impact', 'Arial Black', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Share Tech Mono', 'Consolas', 'Courier New', monospace;
}

/* ==========================================================================
   Reset / 基础样式
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-darkest);
  background-image:
    var(--noise),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.025) 0%, transparent 55%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #050505 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* 全局战术网格背景（中性色，哑光军事风） */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* 全局扫描线效果 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 3px,
    rgba(0, 0, 0, 0.15) 3px
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0.4;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--accent-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

/* ==========================================================================
   工具类
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-orange { color: var(--accent-orange); }
.text-red { color: var(--accent-red); }
.text-green { color: var(--accent-green); }
.text-gold { color: var(--accent-gold); }
.text-currency { color: var(--accent-currency); }
.text-muted { color: var(--text-muted); }
.text-tactical { color: var(--text-tactical); font-family: var(--font-mono); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* ==========================================================================
   导航栏 Navbar - 战术HUD风格
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-tactical);
  z-index: 1000;
  transition: var(--transition-base);
}

/* 导航栏底部装饰线 */
.navbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-orange) 20%,
    var(--accent-red) 50%,
    var(--accent-orange) 80%,
    transparent 100%);
  opacity: 0.6;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.navbar-container {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--text-bright);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* Logo 危险标识 */
.navbar-logo .logo-icon {
  font-size: 1.6rem;
  color: var(--accent-orange);
}

.navbar-logo .logo-accent {
  color: var(--accent-red);
  position: relative;
}

/* Logo 后的战术标签 */
.navbar-logo .logo-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-orange);
  background: var(--accent-orange-soft);
  border: 1px solid var(--accent-orange);
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 1px;
  margin-left: 6px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-menu .nav-link {
  display: block;
  padding: 10px 18px;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition-base);
  font-family: var(--font-main);
}

/* 战术下划线 */
.navbar-menu .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

/* 战术角标 */
.navbar-menu .nav-link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-orange);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-menu .nav-link:hover,
.navbar-menu .nav-link.active {
  color: var(--accent-orange);
}

.navbar-menu .nav-link:hover::before,
.navbar-menu .nav-link.active::before {
  width: 70%;
}

.navbar-menu .nav-link:hover::after,
.navbar-menu .nav-link.active::after {
  opacity: 1;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-user .user-name {
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background: var(--bg-card);
  transition: var(--transition-base);
}

.navbar-user .user-name:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-tactical);
  border-radius: 2px;
  box-shadow: 0 10px 40px var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-base);
  overflow: hidden;
}

/* 下拉菜单顶部装饰 */
.user-dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-red));
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: block;
  padding: 12px 18px;
  color: var(--text-light);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-base);
  position: relative;
}

.user-dropdown a:last-child {
  border-bottom: none;
}

.user-dropdown a:hover {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  padding-left: 24px;
}

.user-dropdown a::before {
  content: '▸';
  position: absolute;
  left: 12px;
  opacity: 0;
  color: var(--accent-orange);
  transition: var(--transition-base);
}

.user-dropdown a:hover::before {
  opacity: 1;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.navbar-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 1px;
  transition: var(--transition-base);
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ==========================================================================
   按钮 Buttons - 战术风格
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

/* 按钮内扫光效果 */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: #d42a2a;
  border-color: #f05555;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-red {
  background: var(--accent-red-dark);
  color: #fff;
  border-color: var(--accent-red);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-red:hover {
  background: var(--accent-red);
  border-color: var(--accent-red-bright);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: rgba(255, 107, 26, 0.05);
  color: var(--text-light);
  border-color: var(--accent-orange);
}

.btn-outline:hover {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--accent-green);
  color: #fff;
  border-color: #5f9a4c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-green:hover {
  background: #579144;
  border-color: #6fae5b;
  transform: translateY(-2px);
  color: #fff;
}

.btn-steel {
  background: var(--accent-steel);
  color: #fff;
  border-color: #6f8ca6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-steel:hover {
  background: #69869f;
  border-color: #85a0b8;
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* 危险操作 - 红色虚线框（对齐游戏"删除"按钮） */
.btn-danger-outline {
  background: var(--accent-red-soft);
  color: var(--accent-red);
  border: 1px dashed var(--accent-red);
}

.btn-danger-outline:hover {
  background: var(--accent-red);
  color: #fff;
  border-style: solid;
  border-color: var(--accent-red-bright);
}

/* 撕纸边工具类（页面级重点卡片使用） */
.torn-edge {
  clip-path: var(--torn-edge);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
  letter-spacing: 3px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   主内容区
   ========================================================================== */
.main-content {
  min-height: calc(100vh - var(--navbar-height));
  padding-top: var(--navbar-height);
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   Hero 区域 - 视频背景+战术HUD
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-darkest);
  /* 内联背景图统一缩放模式：等比放大铺满 + 居中 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 视频背景 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 氛围特效层（雨/烟雾/闪电光影，Canvas 位于背景图之上、暗色遮罩之下） */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Hero 底部渐变遮罩（上部完整显示图片画质，仅底部向上渐变过渡） */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 55%,
    rgba(5, 5, 5, 0.45) 78%,
    rgba(5, 5, 5, 0.88) 92%,
    rgba(5, 5, 5, 0.98) 100%);
  z-index: 1;
}

/* Hero 战术扫描线 */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(255, 107, 26, 0.04) 4px,
    rgba(255, 107, 26, 0.04) 4px
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 0 24px;
  animation: fadeInUp 1.2s ease;
}

/* Hero 战术HUD - 左上角 */
.hero-hud-tl {
  position: absolute;
  top: 100px;
  left: 30px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange);
  text-align: left;
  opacity: 0.7;
  animation: hud-flicker 4s infinite;
}

.hero-hud-tl div {
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.hero-hud-tl .hud-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-hud-tl .hud-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-orange);
  animation: pulse 1.5s infinite;
}

/* Hero 战术HUD - 右上角 */
.hero-hud-tr {
  position: absolute;
  top: 100px;
  right: 30px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-red);
  text-align: right;
  opacity: 0.7;
  animation: hud-flicker 5s infinite;
}

.hero-hud-tr .hud-warn {
  display: inline-block;
  padding: 2px 6px;
  background: var(--accent-red-soft);
  border: 1px solid var(--accent-red);
  margin-bottom: 4px;
  animation: warn-blink 1s infinite;
}

@keyframes warn-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes hud-flicker {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.4; }
  52% { opacity: 0.7; }
  54% { opacity: 0.5; }
}

/* Hero 战术边框 - 四角装饰 */
.hero-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-orange);
  z-index: 4;
  opacity: 0.6;
}

.hero-corner.tl {
  top: 90px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.hero-corner.tr {
  top: 90px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

.hero-corner.bl {
  bottom: 80px;
  left: 20px;
  border-right: none;
  border-top: none;
}

.hero-corner.br {
  bottom: 80px;
  right: 20px;
  border-left: none;
  border-top: none;
}

/* Hero 标签 */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(196, 34, 34, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}

.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulse 1s infinite;
  box-shadow: 0 0 8px var(--accent-red);
}

/* Hero 主标题 - 故障文字效果 */
.hero-title {
  font-size: 5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  text-shadow: 0 4px 10px var(--shadow-dark);
  font-family: var(--font-heading);
}

.hero-title .accent {
  color: var(--accent-red);
  position: relative;
  display: inline-block;
}

/* 标题故障层 */
.hero-title .accent::before,
.hero-title .accent::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero-title .accent::before {
  color: var(--accent-red);
  animation: glitch-1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.hero-title .accent::after {
  color: var(--accent-orange);
  animation: glitch-2 3s infinite;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 2px); }
  94% { transform: translate(2px, -2px); }
  96% { transform: translate(-1px, 1px); }
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); }
  93% { transform: translate(2px, -2px); }
  95% { transform: translate(-2px, 2px); }
  97% { transform: translate(1px, -1px); }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 36px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: var(--font-main);
}

.hero-subtitle .div {
  color: var(--accent-orange);
  margin: 0 12px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero 滚动提示 */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--accent-orange);
  font-size: 0.8rem;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll .scroll-icon {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--accent-orange);
  border-radius: 12px;
  margin: 0 auto 8px;
  position: relative;
}

.hero-scroll .scroll-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

/* Hero 底部渐变过渡 */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-darkest) 100%);
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   Section 通用 - 战术风格
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 3;
}

.section-sm {
  padding: 50px 0;
}

/* 章节标题 - 战术风 */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

/* 标题前置标签 */
.section-title .section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid var(--accent-orange);
  background: var(--accent-orange-soft);
}

.section-title h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-bright);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px var(--shadow-dark);
}

.section-title h2 .accent {
  color: var(--accent-orange);
}

/* 标题装饰线 - 笔刷质感 */
.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 8%, var(--accent-orange) 92%, transparent 100%);
  margin: 18px auto 0;
  position: relative;
  clip-path: polygon(0 45%, 3% 10%, 8% 60%, 14% 20%, 21% 80%, 28% 30%, 36% 95%, 44% 25%, 52% 85%, 60% 20%, 68% 75%, 76% 30%, 84% 90%, 91% 25%, 96% 60%, 100% 35%, 100% 100%, 0 100%);
}

.section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent-red);
  margin: 0 auto 12px;
  opacity: 0.7;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
  letter-spacing: 1px;
}

/* 章节背景变体 */
.section-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darkest) 100%);
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 26, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 26, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-dark) 100%);
}

/* ==========================================================================
   战术卡片 - Tactical Card
   ========================================================================== */
.card {
  background-color: var(--bg-card);
  background-image: var(--noise), linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
}

/* 战术角标装饰 */
.card::before,
.card::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent-orange);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

.card::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow:
    0 15px 40px var(--shadow-dark),
    inset 0 0 0 1px rgba(255, 107, 26, 0.1);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-darkest);
}

/* 图片顶部战术渐变 */
.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, transparent 100%);
  z-index: 2;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.85) contrast(1.1);
}

.card:hover .card-image img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.card-body {
  padding: 24px;
  position: relative;
}

/* 卡片头部 - 内边距与内容区一致 */
.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-elevated);
}

.card-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-bright);
  letter-spacing: 2px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   特色功能卡片 - 战术特性
   ========================================================================== */
.feature-card {
  background-color: var(--bg-card);
  background-image: var(--noise), linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darkest) 100%);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  clip-path: var(--torn-edge);
}

.feature-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-dark);
}

/* 卡片顶部装饰条 */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), var(--accent-red), var(--accent-orange), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--accent-orange);
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition-base);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.3rem;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* 特性编号 - 战术风 */
.feature-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-orange);
  opacity: 0.5;
  letter-spacing: 2px;
  z-index: 1;
}

/* ==========================================================================
   网格布局 Grid
   ========================================================================== */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid-2 {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   公告列表 News List
   ========================================================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-orange);
  border-radius: 2px;
  transition: var(--transition-base);
  position: relative;
}

.news-item:hover {
  background: var(--bg-elevated);
  border-left-color: var(--accent-red);
  transform: translateX(5px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

.news-item .news-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  padding: 10px;
  background: var(--bg-darkest);
  border-radius: 2px;
  border: 1px solid var(--border-color);
}

.news-item .news-date .day {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
  font-family: var(--font-heading);
}

.news-item .news-date .month {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

.news-item .news-content {
  flex: 1;
}

.news-item .news-title {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 8px;
  transition: var(--transition-base);
  letter-spacing: 1px;
}

.news-item:hover .news-title {
  color: var(--accent-orange);
}

.news-item .news-summary {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-item .news-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.news-item .news-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  border-radius: 2px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ==========================================================================
   公告资讯 - 卡片式设计 News Cards
   ========================================================================== */

/* 分类颜色变量 */
.cat-red { --cat-color: var(--accent-red); --cat-bg: rgba(196, 34, 34, 0.15); }
.cat-blue { --cat-color: #4a90e2; --cat-bg: rgba(74, 144, 226, 0.15); }
.cat-gold { --cat-color: var(--accent-gold); --cat-bg: var(--accent-gold-soft); }

/* Hero 头部 */
.news-hero {
  position: relative;
  padding: 80px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.news-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 107, 26, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(196, 34, 34, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darkest) 100%);
  z-index: 0;
}

.news-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 26, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.news-hero-content {
  position: relative;
  z-index: 1;
}

.news-hero-title {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  color: var(--text-bright);
}

.news-hero-title .accent {
  color: var(--accent-orange);
}

.news-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* 分类 Tab 筛选 */
.news-cat-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.news-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition-base);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.news-cat-tab:hover {
  border-color: var(--accent-orange);
  color: var(--text-bright);
  transform: translateY(-2px);
}

.news-cat-tab.active {
  background: var(--cat-color, var(--accent-orange));
  border-color: var(--cat-color, var(--accent-orange));
  color: #fff;
}

.news-cat-tab.active .cat-num {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.news-cat-tab .cat-icon {
  font-size: 1.05rem;
}

.news-cat-tab .cat-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* 卡片网格 */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-base);
  position: relative;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-color, var(--accent-orange));
  z-index: 2;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--cat-color, var(--accent-orange));
  box-shadow: 0 12px 35px var(--shadow-dark);
}

.news-card-cover {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-darkest);
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85) contrast(1.1);
}

.news-card:hover .news-card-cover img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.news-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-darkest) 100%);
}

.news-card-cover-placeholder span {
  font-size: 3.5rem;
  opacity: 0.4;
}

.news-card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--cat-bg, rgba(196, 34, 34, 0.15));
  color: var(--cat-color, var(--accent-red));
  border: 1px solid var(--cat-color, var(--accent-red));
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-card-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 1.15rem;
  color: var(--text-bright);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition-base);
  letter-spacing: 1px;
}

.news-card:hover .news-card-title {
  color: var(--cat-color, var(--accent-orange));
}

.news-card-summary {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.news-card-date {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.news-card-read {
  font-size: 0.85rem;
  color: var(--cat-color, var(--accent-orange));
  font-weight: 600;
  transition: var(--transition-base);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-card:hover .news-card-read {
  transform: translateX(5px);
}

/* 分页 */
.news-pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.news-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-base);
  font-family: var(--font-mono);
}

.news-page-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.news-page-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.news-page-ellipsis {
  padding: 0 8px;
  color: var(--text-dim);
}

/* 空状态 */
.news-empty {
  text-align: center;
  padding: 80px 20px;
}

.news-empty-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* ==========================================================================
   首页公告卡片 Home News Cards
   ========================================================================== */
.home-news-cats {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.home-news-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-base);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.home-news-cat:hover {
  border-color: var(--cat-color, var(--accent-orange));
  color: var(--text-bright);
  transform: translateY(-2px);
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.home-news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-base);
  position: relative;
}

.home-news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-color, var(--accent-orange));
  z-index: 2;
}

.home-news-card:hover {
  transform: translateY(-5px);
  border-color: var(--cat-color, var(--accent-orange));
  box-shadow: 0 10px 30px var(--shadow-dark);
}

.home-news-card-cover {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-darkest);
}

.home-news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85) contrast(1.1);
}

.home-news-card:hover .home-news-card-cover img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.home-news-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-darkest) 100%);
}

.home-news-card-placeholder span {
  font-size: 3rem;
  opacity: 0.4;
}

.home-news-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--cat-bg, rgba(196, 34, 34, 0.15));
  color: var(--cat-color, var(--accent-red));
  border: 1px solid var(--cat-color, var(--accent-red));
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-news-card-body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.home-news-card-title {
  font-size: 1.05rem;
  color: var(--text-bright);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition-base);
  letter-spacing: 1px;
}

.home-news-card:hover .home-news-card-title {
  color: var(--cat-color, var(--accent-orange));
}

.home-news-card-summary {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-card-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-mono);
}

/* ==========================================================================
   公告详情页 News Detail
   ========================================================================== */
.news-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.news-detail-cover {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--bg-darkest);
}

.news-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-body {
  padding: 35px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.news-detail-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  background: var(--cat-bg, rgba(196, 34, 34, 0.15));
  color: var(--cat-color, var(--accent-red));
  border: 1px solid var(--cat-color, var(--accent-red));
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-detail-title {
  font-size: 2rem;
  color: var(--text-bright);
  line-height: 1.3;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.news-detail-summary {
  padding: 15px 20px;
  background: var(--bg-elevated);
  border-left: 4px solid var(--cat-color, var(--accent-orange));
  border-radius: 2px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
}

.news-detail-content {
  border-top: 1px solid var(--border-light);
  padding-top: 25px;
  margin-top: 25px;
}

/* 响应式 */
@media (max-width: 768px) {
  .news-card-grid,
  .home-news-grid {
    grid-template-columns: 1fr;
  }
  .news-cat-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .news-cat-tab {
    flex-shrink: 0;
  }
  .news-hero-title {
    font-size: 2rem;
  }
  .news-detail-cover {
    height: 220px;
  }
  .news-detail-body {
    padding: 20px;
  }
  .news-detail-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   通用页面 Hero - 战术风格页面头部
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-color);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.85) 0%,
      rgba(5, 5, 5, 0.7) 50%,
      rgba(5, 5, 5, 0.95) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5, 5, 5, 0.8) 100%);
  z-index: 1;
}

/* 页面Hero 战术扫描线 */
.page-hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(255, 107, 26, 0.04) 4px,
    rgba(255, 107, 26, 0.04) 4px
  );
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(196, 34, 34, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-bright);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px var(--shadow-dark);
  font-family: var(--font-heading);
}

.page-hero-title .accent {
  color: var(--accent-orange);
}

.page-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-main);
}

/* ==========================================================================
   服务器状态 Server Status - 战术卡片
   ========================================================================== */
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 24px;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* 顶部装饰条 */
.server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-green);
}

.server-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow-dark), 0 0 20px var(--accent-green-glow);
}

.server-card .server-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-family: var(--font-heading);
}

.server-card .server-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.server-card .server-status.online {
  background: rgba(74, 124, 58, 0.15);
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.server-card .server-status.offline {
  background: rgba(136, 136, 136, 0.15);
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
}

.server-card .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.server-card .status-dot.online {
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

.server-card .status-dot.offline {
  background: var(--text-muted);
}

.server-card .server-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.server-card .server-info span {
  color: var(--accent-orange);
  font-weight: 700;
}

/* ==========================================================================
   预约 CTA 区域 - 战术号召
   ========================================================================== */
.reserve-cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-dark) 50%, var(--bg-darkest) 100%);
}

.reserve-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(255, 107, 26, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(196, 34, 34, 0.12) 0%, transparent 50%);
}

/* 装饰网格 */
.reserve-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 26, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 26, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.reserve-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.reserve-cta-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(196, 34, 34, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.reserve-cta h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--text-bright);
  letter-spacing: 4px;
}

.reserve-cta h2 .accent {
  color: var(--accent-orange);
}

.reserve-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
  letter-spacing: 1px;
}

/* 预约人数显示 */
.reserve-count-display {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--accent-orange);
  border-radius: 2px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
}

.reserve-count-display .count-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.reserve-count-display .count-num {
  color: var(--accent-orange);
  font-size: 1.5rem;
  font-weight: 700;
}

.reserve-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   表单 Forms - 战术风格
   ========================================================================== */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-main);
}

.form-label .required {
  color: var(--accent-red);
  margin-left: 4px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--text-light);
  background: var(--bg-darkest);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  transition: var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-soft);
  background: var(--bg-card);
}

.form-control::placeholder {
  color: var(--text-dim);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b1a' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-text {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-error {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--accent-red);
}

.form-control.is-invalid {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px var(--accent-red-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-hint {
  background: var(--bg-card);
  border-left: 3px solid var(--accent-orange);
  padding: 15px 20px;
  border-radius: 2px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   预约表单 - 战术风格
   ========================================================================== */
.reserve-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background-color: var(--bg-card);
  background-image: var(--noise), linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darkest) 100%);
  border: 1px solid var(--border-tactical);
  padding: 40px;
  position: relative;
  clip-path: var(--torn-edge);
}

/* 战术角标 */
.reserve-form-wrap::before,
.reserve-form-wrap::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-orange);
}

.reserve-form-wrap::before {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
}

.reserve-form-wrap::after {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
}

/* 玩家类型多选标签 */
.player-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.player-type-tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-darkest);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-base);
  user-select: none;
}

.player-type-tag:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange-soft);
}

.player-type-tag input {
  position: absolute;
  opacity: 0;
}

.player-type-tag .tag-icon {
  font-size: 1.3rem;
}

.player-type-tag .tag-text {
  flex: 1;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.player-type-tag .tag-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.player-type-tag input:checked ~ .tag-check {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.player-type-tag input:checked ~ .tag-check::after {
  content: '✓';
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.player-type-tag:has(input:checked) {
  background: var(--accent-orange-soft);
  border-color: var(--accent-orange);
}

/* 预约成功显示 */
.reserve-success {
  text-align: center;
  padding: 40px 20px;
}

.reserve-success-icon {
  font-size: 4rem;
  color: var(--accent-green);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.reserve-success-title {
  font-size: 1.6rem;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.reserve-success-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.reserve-code-display {
  display: inline-block;
  padding: 16px 32px;
  background: var(--bg-darkest);
  border: 1px solid var(--accent-orange);
  border-radius: 2px;
  margin: 20px 0;
  position: relative;
}

.reserve-code-display::before {
  content: '预约码 / RESERVATION CODE';
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--bg-card);
  padding: 0 8px;
  font-size: 0.7rem;
  color: var(--accent-orange);
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.reserve-code-display .code {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 4px;
}

.reserve-share-section {
  margin-top: 30px;
  padding: 20px;
  background: var(--bg-darkest);
  border: 1px dashed var(--border-color);
  border-radius: 2px;
}

.reserve-share-title {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.reserve-share-link {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.reserve-share-link input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--accent-orange);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  border-radius: 2px;
  outline: none;
}

.reserve-share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reserve-share-btns a, .reserve-share-btns button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-main);
}

.reserve-share-btns a:hover, .reserve-share-btns button:hover {
  background: var(--accent-orange-soft);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* ==========================================================================
   用户中心 User Center
   ========================================================================== */
.user-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 40px 0;
}

.user-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 24px;
  position: sticky;
  top: 90px;
  height: fit-content;
}

.user-profile {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--border-color);
}

.user-profile .user-username {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 1px;
}

.user-profile .user-email {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.user-menu {
  list-style: none;
}

.user-menu li {
  margin-bottom: 4px;
}

.user-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-light);
  border-radius: 2px;
  font-size: 0.95rem;
  transition: var(--transition-base);
  letter-spacing: 1px;
}

.user-menu a:hover,
.user-menu a.active {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  border-left: 3px solid var(--accent-orange);
  padding-left: 13px;
  box-shadow: inset 0 0 15px var(--accent-orange-soft);
}

.user-content {
  min-height: 400px;
}

.info-card {
  background-color: var(--bg-card);
  background-image: var(--noise);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  clip-path: var(--torn-edge);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.info-card .info-card-title {
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 1px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-item {
  padding: 15px;
  background: var(--bg-darkest);
  border-radius: 2px;
  border: 1px solid var(--border-light);
}

.info-item .info-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.info-item .info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
}

.info-item .info-value.accent {
  color: var(--accent-orange);
}

.info-item .info-value.green {
  color: var(--accent-green);
}

/* ==========================================================================
   用户中心 - 全新设计 User Center Redesign
   ========================================================================== */

/* Hero 横幅 */
.uc-hero {
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.uc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 107, 26, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(74, 124, 58, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darkest) 100%);
  z-index: 0;
}

.uc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255, 107, 26, 0.02) 20px, rgba(255, 107, 26, 0.02) 21px);
  z-index: 1;
}

.uc-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.uc-avatar-wrap {
  flex-shrink: 0;
}

.uc-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  border: 4px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--accent-orange);
  text-transform: uppercase;
}

.uc-status-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--accent-green);
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 124, 58, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(74, 124, 58, 0); }
}

.uc-hero-info {
  flex: 1;
  min-width: 280px;
}

.uc-hero-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.uc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.uc-meta-divider {
  color: var(--text-dim);
}

.uc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.uc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.uc-badge-green {
  background: rgba(74, 124, 58, 0.15);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.uc-badge-red {
  background: rgba(196, 34, 34, 0.15);
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.uc-badge-gold {
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.uc-badge-orange {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.uc-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 资产统计卡片 */
.uc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.uc-stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  transition: var(--transition-base);
}

.uc-stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-orange);
}

.uc-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-orange);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

.uc-stat-gp::before { background: var(--accent-gold); }
.uc-stat-gd::before { background: var(--accent-currency); }
.uc-stat-char::before { background: var(--accent-green); }
.uc-stat-time::before { background: var(--accent-steel); }

.uc-stat-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-elevated);
  /* 战术卡片纹理底 */
  background-image: linear-gradient(rgba(29, 29, 29, 0.82), rgba(29, 29, 29, 0.82)), url('/images/generated/tactical-card-bg.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.uc-stat-body {
  flex: 1;
  min-width: 0;
}

.uc-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.uc-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-bright);
  font-family: var(--font-heading);
  line-height: 1;
}

.uc-stat-value-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.3;
}

/* Tab 导航 */
.uc-tabs-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.uc-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-elevated);
  overflow-x: auto;
}

.uc-tab {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  border-bottom: 3px solid transparent;
  font-family: var(--font-main);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.uc-tab:hover {
  color: var(--text-bright);
  background: var(--accent-orange-soft);
}

.uc-tab.active {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
  background: var(--bg-card);
}

.uc-tab-icon {
  font-size: 1.1rem;
}

.uc-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--accent-orange);
  color: #fff;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Tab 面板 */
.uc-tab-panel {
  display: none;
  padding: 30px;
  animation: uc-fade-in 0.4s ease;
}

.uc-tab-panel.active {
  display: block;
}

@keyframes uc-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 账户概览 */
.uc-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.uc-info-block {
  background: var(--bg-darkest);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 22px;
}

.uc-block-title {
  font-size: 1.05rem;
  color: var(--accent-gold);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}

.uc-block-icon {
  font-size: 1.2rem;
}

.uc-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
}

.uc-info-row:last-child {
  border-bottom: none;
}

.uc-info-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.uc-info-value {
  color: var(--text-bright);
  font-weight: 600;
  font-size: 0.95rem;
}

/* 快捷操作 */
.uc-quick-block {
  display: flex;
  flex-direction: column;
}

.uc-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
}

.uc-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  font-family: var(--font-main);
  letter-spacing: 1px;
}

.uc-quick-btn:hover {
  background: var(--accent-orange-soft);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.uc-quick-icon {
  font-size: 1.6rem;
}

/* 角色卡片 */
.uc-char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.uc-char-card {
  background: var(--bg-darkest);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 20px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.uc-char-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-green);
}

.uc-char-card.is-dead::before {
  background: var(--text-dim);
}

.uc-char-card.is-hardcore::after {
  content: 'HARDCORE';
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 30px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.uc-char-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

.uc-char-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.uc-char-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.uc-char-card.is-dead .uc-char-avatar {
  background: linear-gradient(135deg, #555 0%, #333 100%);
}

.uc-char-card.is-hardcore .uc-char-avatar {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
}

.uc-char-info {
  flex: 1;
  min-width: 0;
}

.uc-char-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.uc-char-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.uc-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid;
  letter-spacing: 1px;
}

.uc-tag-hardcore {
  background: rgba(196, 34, 34, 0.15);
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.uc-tag-alive {
  background: rgba(74, 124, 58, 0.15);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.uc-tag-dead {
  background: rgba(85, 85, 85, 0.15);
  color: var(--text-muted);
  border-color: var(--text-dim);
}

/* 等级进度条 */
.uc-char-level {
  margin-bottom: 16px;
}

.uc-level-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.uc-level-label {
  color: var(--accent-orange);
  font-weight: 600;
}

.uc-level-xp {
  color: var(--text-muted);
}

.uc-progress-bar {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  overflow: hidden;
}

.uc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-red) 100%);
  border-radius: 3px;
  transition: width 1s ease;
}

.uc-char-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.uc-char-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.uc-char-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.uc-char-stat-value {
  font-size: 0.88rem;
  color: var(--text-bright);
  font-weight: 500;
}

/* 充值记录 */
.uc-summary-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-darkest);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 24px;
}

.uc-summary-item {
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid var(--border-light);
}

.uc-summary-item:last-child {
  border-right: none;
}

.uc-summary-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.uc-summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  font-family: var(--font-heading);
}

/* 时间线 */
.uc-timeline {
  position: relative;
  padding-left: 30px;
}

.uc-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.uc-timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.uc-timeline-item:last-child {
  padding-bottom: 0;
}

.uc-timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  z-index: 1;
}

.uc-timeline-dot.completed {
  background: var(--accent-green);
  box-shadow: 0 0 0 2px var(--accent-green), 0 0 10px var(--accent-green-glow);
}

.uc-timeline-dot.pending {
  background: var(--accent-orange);
  box-shadow: 0 0 0 2px var(--accent-orange);
  animation: pulse-pending 1.5s ease-in-out infinite;
}

@keyframes pulse-pending {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent-orange); }
  50% { box-shadow: 0 0 0 5px rgba(255, 107, 26, 0.3); }
}

.uc-timeline-content {
  background: var(--bg-darkest);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 14px 18px;
  transition: var(--transition-base);
}

.uc-timeline-content:hover {
  border-color: var(--accent-orange);
}

.uc-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.uc-timeline-title {
  font-weight: 600;
  color: var(--text-bright);
  font-size: 0.95rem;
}

.uc-status-tag {
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.uc-status-completed {
  background: rgba(74, 124, 58, 0.15);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.uc-status-pending {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.uc-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* 空状态 */
.uc-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.uc-empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.uc-empty h3 {
  color: var(--text-bright);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.uc-empty p {
  margin-bottom: 6px;
}

/* 修改密码 */
.uc-pwd-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.uc-pwd-info h3 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.uc-pwd-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.uc-pwd-tips {
  list-style: none;
  padding: 0;
}

.uc-pwd-tips li {
  padding: 8px 0;
  color: var(--text-light);
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border-light);
}

.uc-pwd-tips li:last-child {
  border-bottom: none;
}

.uc-pwd-form {
  background: var(--bg-darkest);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 24px;
}

.uc-pwd-input-wrap {
  position: relative;
}

.uc-pwd-input-wrap .form-control {
  padding-right: 44px;
}

.uc-pwd-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  color: var(--text-muted);
  transition: var(--transition-base);
}

.uc-pwd-toggle:hover {
  color: var(--accent-orange);
}

/* 密码强度 */
.uc-pwd-strength {
  margin-top: 8px;
}

.uc-strength-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.uc-strength-fill {
  height: 100%;
  width: 0;
  background: var(--text-dim);
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

.uc-strength-fill.weak {
  width: 33%;
  background: var(--accent-red);
}

.uc-strength-fill.medium {
  width: 66%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.5);
}

.uc-strength-fill.strong {
  width: 100%;
  background: var(--accent-green);
}

.uc-strength-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.uc-pwd-match {
  margin-top: 6px;
  font-size: 0.8rem;
  min-height: 18px;
}

.uc-pwd-match.match {
  color: var(--accent-green);
}

.uc-pwd-match.no-match {
  color: var(--accent-red);
}

/* 响应式 */
@media (max-width: 992px) {
  .uc-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .uc-panel-grid {
    grid-template-columns: 1fr;
  }
  .uc-pwd-wrap {
    grid-template-columns: 1fr;
  }
  .uc-summary-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .uc-summary-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .uc-hero-content {
    flex-direction: column;
    text-align: center;
  }
  .uc-hero-meta {
    justify-content: center;
  }
  .uc-hero-actions {
    justify-content: center;
  }
  .uc-stats {
    grid-template-columns: 1fr;
  }
  .uc-tabs {
    flex-wrap: wrap;
  }
  .uc-tab {
    flex: 1 1 50%;
  }
  .uc-char-grid {
    grid-template-columns: 1fr;
  }
  .uc-char-stats {
    grid-template-columns: 1fr;
  }
  .uc-summary-bar {
    grid-template-columns: 1fr;
  }
  .uc-summary-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
  }
  .uc-summary-item:last-child {
    border-bottom: none;
  }
  .uc-quick-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   分页 Pagination
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  border-radius: 2px;
  font-size: 0.95rem;
  transition: var(--transition-base);
  font-family: var(--font-mono);
}

.pagination a:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.pagination .active a,
.pagination .active span,
.pagination span.current {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  font-weight: 600;
}

.pagination .disabled a,
.pagination .disabled span {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.5;
}

/* ==========================================================================
   截图轮播 Carousel
   ========================================================================== */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-darkest);
  border: 1px solid var(--border-color);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 450px;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 5;
  backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel-dot.active {
  background: var(--accent-orange);
  transform: scale(1.2);
}

.carousel-slide {
  cursor: pointer;
}

.carousel-slide .carousel-zoom-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 4px 12px;
  background: rgba(5, 5, 5, 0.85);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  border-radius: 2px;
  font-size: 0.8rem;
  opacity: 0;
  transition: var(--transition-base);
  pointer-events: none;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.carousel-slide:hover .carousel-zoom-hint {
  opacity: 1;
}

/* ==========================================================================
   图片灯箱 Lightbox
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-image-wrap {
  max-width: 90vw;
  max-height: 82vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid var(--accent-orange);
  border-radius: 2px;
  color: var(--accent-orange);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid var(--accent-orange);
  border-radius: 2px;
  color: var(--accent-orange);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

.lightbox-counter {
  color: var(--accent-orange);
  font-size: 0.95rem;
  margin-top: 18px;
  opacity: 0.8;
  font-family: var(--font-mono);
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

/* ==========================================================================
   法律文档页面 Legal Pages
   ========================================================================== */
.legal-container {
  max-width: 860px;
}

.legal-header {
  text-align: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.legal-title {
  font-size: 2.4rem;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.legal-update-date {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.legal-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-orange);
  border-radius: 2px;
  padding: 20px 25px;
  margin-bottom: 35px;
}

.legal-toc h3 {
  color: var(--accent-orange);
  font-size: 1.05rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 20px;
}

.legal-toc li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition-base);
}

.legal-toc a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.legal-content {
  color: var(--text-light);
  line-height: 1.85;
  font-size: 0.98rem;
}

.legal-content h2 {
  color: var(--text-bright);
  font-size: 1.4rem;
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border-light);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.legal-content strong {
  color: var(--text-bright);
}

.legal-content ul {
  padding-left: 25px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-footer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .legal-toc ul {
    columns: 1;
  }
  .legal-title {
    font-size: 1.8rem;
  }
  .legal-content {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   提示框 Alert
   ========================================================================== */
.alert {
  padding: 15px 20px;
  border-radius: 2px;
  margin-bottom: 20px;
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: rgba(74, 124, 58, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.alert-error {
  background: rgba(196, 34, 34, 0.1);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.alert-info {
  background: var(--accent-orange-soft);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* ==========================================================================
   表格 Table
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: 2px;
  border: 1px solid var(--border-color);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.table th {
  background: var(--bg-elevated);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  font-weight: 700;
  font-family: var(--font-main);
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
  font-size: 0.95rem;
}

.table tbody tr {
  transition: var(--transition-base);
}

.table tbody tr:hover {
  background: var(--bg-elevated);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* 状态标签 - 对齐游戏 HUD 状态显示 */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid;
  white-space: nowrap;
}

.status-completed {
  background: rgba(74, 124, 58, 0.15);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.status-pending {
  background: rgba(138, 138, 138, 0.12);
  color: var(--text-muted);
  border-color: var(--text-dim);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

/* ==========================================================================
   页脚 Footer
   ========================================================================== */
.footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-tactical);
  padding: 60px 0 24px;
  margin-top: 80px;
  position: relative;
  z-index: 3;
}

/* 页脚顶部装饰线 */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-orange) 30%,
    var(--accent-red) 50%,
    var(--accent-orange) 70%,
    transparent 100%);
  opacity: 0.6;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--text-bright);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand .footer-logo .accent {
  color: var(--accent-red);
}

.footer-brand .footer-logo .logo-icon {
  color: var(--accent-orange);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-base);
  letter-spacing: 0.5px;
}

.footer-col ul a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--accent-orange-soft);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent-orange);
}

/* ==========================================================================
   动画 Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* 滚动进入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   响应式 Responsive
   ========================================================================== */

/* 平板 - 1024px */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .user-layout {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-hud-tl, .hero-hud-tr {
    display: none;
  }

  .hero-corner {
    width: 40px;
    height: 40px;
  }
}

/* 移动端 - 768px */
@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 5px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-menu .nav-link {
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: 2px;
  }

  .navbar-menu .nav-link::after {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-actions {
    gap: 8px;
  }

  .navbar-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .navbar-logo .logo-tag {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

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

  .hero-corner {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.85rem;
    letter-spacing: 2px;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: 15px;
  }

  .news-item .news-date {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
  }

  .news-item .news-date .day {
    font-size: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .player-type-grid {
    grid-template-columns: 1fr;
  }

  .user-layout {
    grid-template-columns: 1fr;
  }

  .user-sidebar {
    position: static;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .carousel-slide {
    height: 280px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .btn-lg {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .reserve-cta h2 {
    font-size: 2rem;
  }

  .reserve-form-wrap {
    padding: 24px 20px;
  }
}

/* 小屏移动端 - 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .navbar-logo {
    font-size: 1.1rem;
  }

  .navbar-logo .logo-icon {
    font-size: 1.3rem;
  }

  .reserve-cta h2 {
    font-size: 1.6rem;
  }
}
