/* ========================================
   遇影社团 - 企业官网样式表
   设计理念：简约大气 · 影视质感 · 匠心打磨
   ======================================== */

/* ===== CSS 变量 ===== */
:root {
  --color-bg: #0d0d0d;
  --color-bg-2: #161616;
  --color-bg-3: #1e1e1e;
  --color-bg-card: #1a1a1a;
  --color-surface: #141414;
  --color-accent: #c9a96e;
  --color-accent-2: #d4b885;
  --color-accent-3: #e8d5a3;
  --color-accent-dim: rgba(201, 169, 110, 0.12);
  --color-accent-glow: rgba(201, 169, 110, 0.25);
  --color-text: #f5f5f5;
  --color-text-2: #b0b0b0;
  --color-text-3: #707070;
  --color-text-muted: #909090;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-light: rgba(255, 255, 255, 0.04);
  --color-border-hover: rgba(201, 169, 110, 0.35);

  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scrollbar-width: thin; scrollbar-color: rgba(201,169,110,.3) #0d0d0d; }
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: #0d0d0d; }
html::-webkit-scrollbar-thumb { background: rgba(201,169,110,.3); border-radius: 3px; }

::selection { background: rgba(201,169,110,.25); color: #f5f5f5; }

body {
  font-family: var(--font-sans);
  background-color: #0d0d0d;
  background-color: var(--color-bg);
  color: #f5f5f5;
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::placeholder { color: var(--color-text-3); opacity: 0.6; }

/* ===== Preloader ===== */
#preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 99999; background: #0d0d0d; background: var(--color-bg);
  display: flex; align-items: center; justify-content: center; transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader.force-hide { display: none !important; }
.preloader-inner { text-align: center; }
.preloader-mark {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  animation: preloaderPulse 1.6s ease-in-out infinite;
  -webkit-animation: preloaderPulse 1.6s ease-in-out infinite;
}
.preloader-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 12px rgba(201,169,110,.4)); }
.preloader-text { font-size: .8rem; letter-spacing: 4px; color: #707070; color: var(--color-text-3); animation: preloaderFade 1.6s ease-in-out infinite; -webkit-animation: preloaderFade 1.6s ease-in-out infinite; }
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.08); opacity: 1; }
}
@-webkit-keyframes preloaderPulse {
  0%, 100% { -webkit-transform: scale(1); opacity: .6; }
  50% { -webkit-transform: scale(1.08); opacity: 1; }
}
@keyframes preloaderFade {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}
@-webkit-keyframes preloaderFade {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

/* ===== Back to Top ===== */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  color: var(--color-accent); font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .4s var(--ease-out);
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { border-color: var(--color-accent); background: var(--color-accent-dim); transform: translateY(-3px); }
#back-to-top svg { width: 18px; height: 18px; stroke: var(--color-accent); fill: none; stroke-width: 2; }

/* ===== 通用工具类 ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

.section-tag {
  display: inline-block; font-size: .78rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 18px; font-weight: 500;
  position: relative; padding-left: 48px;
}
.section-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 36px; height: 1px; background: var(--color-accent); opacity: .5;
  transform: translateY(-50%);
}

.section-title {
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600;
  line-height: 1.35; margin-bottom: 22px; letter-spacing: 2.5px;
}
.section-subtitle {
  font-size: 1rem; color: var(--color-text-2); max-width: 620px; line-height: 1.9;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* Decorative divider */
.section-divider {
  width: 60px; height: 2px; background: var(--color-accent); opacity: .3;
  margin: 0 auto 40px;
}

/* ===== 按钮体系 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 38px; font-size: .88rem; letter-spacing: 1.5px;
  font-weight: 500; transition: all .4s var(--ease);
  position: relative; overflow: hidden; border-radius: 2px;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.05);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary { background: var(--color-accent); color: #0d0d0d; font-weight: 600; }
.btn-primary:hover { background: var(--color-accent-2); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(201,169,110,.28); }
.btn-outline { border: 1px solid var(--color-border); color: var(--color-text); background: transparent; }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.btn-ghost { color: var(--color-text-2); background: transparent; padding: 12px 24px; }
.btn-ghost:hover { color: var(--color-accent); }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  display: flex; align-items: center; z-index: 1000;
  transition: all .45s var(--ease); background: transparent;
}
.navbar.scrolled {
  background: rgba(13,13,13,.94); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 20px rgba(0,0,0,.3);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
/* ====== Logo ====== */
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 3px; color: var(--color-text); }
.nav-logo .logo-mark {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201,169,110,.25));
  transition: all .45s var(--ease);
}
.nav-logo:hover .logo-mark { transform: scale(1.08) rotate(-3deg); filter: drop-shadow(0 0 16px rgba(201,169,110,.5)); }

/* Logo gold tint for dark bg areas */
.footer-brand .nav-logo .logo-mark,
.hero-content .logo-icon {
  filter: brightness(0) saturate(100%) invert(84%) sepia(33%) saturate(976%) hue-rotate(342deg) brightness(93%) contrast(89%);
}
.nav-menu { display: flex; align-items: center; gap: 44px; }
.nav-menu a { font-size: .88rem; color: var(--color-text-2); letter-spacing: 1.5px; position: relative; padding: 8px 0; transition: color .3s ease; }
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--color-accent); transition: width .4s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--color-text); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; padding: 8px; position: relative; z-index: 10001; pointer-events: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-text); transition: all .3s ease; border-radius: 1px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Hero 区域 ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(201,169,110,.1) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(60,50,40,.12) 0%, transparent 55%),
    linear-gradient(160deg, #0d0d0d 0%, #1a1714 40%, #0d0d0d 100%);
}
.hero-bg::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.006) 2px, rgba(255,255,255,.006) 4px);
  pointer-events: none;
}
/* Floating particles */
.hero-particles {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none;
}
.hero-particle {
  position: absolute; width: 2px; height: 2px; background: var(--color-accent);
  border-radius: 50%; opacity: 0; animation: particleFloat 8s ease-in-out infinite; -webkit-animation: particleFloat 8s ease-in-out infinite;
}
@-webkit-keyframes particleFloat {
  0% { opacity: 0; -webkit-transform: translateY(0) translateX(0); }
  10% { opacity: .6; }
  90% { opacity: .1; }
  100% { opacity: 0; -webkit-transform: translateY(-300px) translateX(40px); }
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: .6; }
  90% { opacity: .1; }
  100% { opacity: 0; transform: translateY(-300px) translateX(40px); }
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-family: var(--font-serif); font-size: 4.2rem; font-weight: 700;
  line-height: 1.25; letter-spacing: 7px; margin-bottom: 28px;
  opacity: 0; color: #f5f5f5; color: var(--color-text);
  animation: fadeUp 1s var(--ease-out) .2s forwards;
  -webkit-animation: fadeUp 1s var(--ease-out) .2s forwards;
}
.hero-ready .hero h1, .hero h1.hero-force-visible { opacity: 1; }
.hero h1 .accent {
  color: #c9a96e; color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-3) 50%, var(--color-accent) 100%);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%; animation: shimmer 3s ease-in-out infinite; -webkit-animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@-webkit-keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-desc {
  font-size: 1.08rem; color: #b0b0b0; color: var(--color-text-2); max-width: 540px;
  line-height: 2.1; margin-bottom: 44px; opacity: 0;
  animation: fadeUp 1s var(--ease-out) .45s forwards;
  -webkit-animation: fadeUp 1s var(--ease-out) .45s forwards;
}
.hero-ready .hero-desc, .hero-desc.hero-force-visible { opacity: 1; }
.hero-actions { display: flex; gap: 22px; opacity: 0; animation: fadeUp 1s var(--ease-out) .7s forwards; -webkit-animation: fadeUp 1s var(--ease-out) .7s forwards; }
.hero-ready .hero-actions, .hero-actions.hero-force-visible { opacity: 1; }
.hero-scroll {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #707070; color: var(--color-text-3); font-size: .72rem; letter-spacing: 3px;
  opacity: 0; animation: fadeIn 1s ease 1.4s forwards; -webkit-animation: fadeIn 1s ease 1.4s forwards;
}
.hero-ready .hero-scroll, .hero-scroll.hero-force-visible { opacity: 1; }
.hero-scroll .line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--color-accent), transparent); animation: scrollLine 2.4s ease infinite; }

/* ===== 页面通用 Hero ===== */
.page-hero {
  position: relative; padding: 180px 0 100px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,.06) 0%, transparent 60%), var(--color-bg);
  border-bottom: 1px solid var(--color-border); overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.2), transparent);
}
.page-hero h1 { font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700; letter-spacing: 5px; margin-bottom: 18px; }
.page-hero .breadcrumb { font-size: .84rem; color: var(--color-text-3); letter-spacing: 1.5px; }
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .breadcrumb span { margin: 0 10px; color: var(--color-text-3); }

/* ===== 业务卡片 ===== */
.service-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  padding: 44px 36px; transition: all .5s var(--ease);
  position: relative; overflow: hidden; border-radius: 3px;
  display: flex; flex-direction: column; height: 100%;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .6s var(--ease);
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 0%, rgba(201,169,110,.06) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.service-card:hover { border-color: var(--color-border-hover); transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-dim); border-radius: 10px; margin-bottom: 28px;
  transition: all .4s var(--ease);
}
.service-card:hover .service-icon { background: rgba(201,169,110,.2); transform: scale(1.05); }
.service-icon svg { width: 28px; height: 28px; stroke: var(--color-accent); fill: none; stroke-width: 1.5; transition: transform .4s; }
.service-card:hover .service-icon svg { transform: scale(1.1); }

.service-card h3 { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 600; margin-bottom: 14px; letter-spacing: 1.5px; }
.service-card p { font-size: .9rem; color: var(--color-text-2); line-height: 1.85; }

/* ===== 统计数据 ===== */
.stats {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,169,110,.03) 0%, transparent 50%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; text-align: center; position: relative; z-index: 1; }
.stat-item { padding: 20px; }
.stat-item .num {
  font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700;
  color: var(--color-accent); line-height: 1; margin-bottom: 4px;
}
.stat-item .num .suffix { font-size: 1.6rem; }
.stat-item .label { margin-top: 10px; font-size: .84rem; color: var(--color-text-2); letter-spacing: 2.5px; }

/* ===== 特性区 ===== */
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.feature-item { text-align: center; padding: 32px 24px; transition: transform .4s var(--ease); }
.feature-item:hover { transform: translateY(-4px); }
.feature-item .feature-num { font-family: var(--font-serif); font-size: 2.8rem; color: var(--color-accent); opacity: .2; font-weight: 700; margin-bottom: 16px; transition: opacity .4s; }
.feature-item:hover .feature-num { opacity: .35; }
.feature-item h4 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; letter-spacing: 1.5px; }
.feature-item p { font-size: .88rem; color: var(--color-text-2); line-height: 1.85; }

/* ===== 时间线 ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--color-border), var(--color-accent), var(--color-border)); }
.timeline-item { position: relative; padding: 0 50px 70px; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
  content: ''; position: absolute; top: 8px; width: 14px; height: 14px;
  background: var(--color-bg); border: 2px solid var(--color-accent); border-radius: 50%;
  transition: all .4s var(--ease);
}
.timeline-item:nth-child(odd)::after { right: -7px; }
.timeline-item:nth-child(even)::after { left: -7px; }
.timeline-item .year { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--color-accent); margin-bottom: 10px; letter-spacing: 2px; }
.timeline-item h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; letter-spacing: 1px; }
.timeline-item p { font-size: .86rem; color: var(--color-text-2); line-height: 1.8; }

/* ===== 团队卡片 ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { text-align: center; padding: 28px 20px; transition: all .4s var(--ease); border-radius: 4px; }
.team-card:hover { transform: translateY(-8px); background: var(--color-bg-card); }
.team-avatar {
  width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--color-bg-3), var(--color-bg-card));
  border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 2.2rem; color: var(--color-accent);
  transition: all .5s var(--ease); position: relative;
}
.team-card:hover .team-avatar {
  border-color: var(--color-accent);
  box-shadow: 0 0 40px rgba(201,169,110,.12);
  transform: scale(1.04);
}
.team-card h4 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 1px; }
.team-card .role { font-size: .82rem; color: var(--color-accent); letter-spacing: 1.5px; margin-bottom: 10px; }
.team-card .bio { font-size: .8rem; color: var(--color-text-3); line-height: 1.7; margin-top: 8px; }

/* ===== 服务详情 ===== */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 100px; }
.service-detail:last-child { margin-bottom: 0; }
.service-detail.reverse .service-detail-text { order: 2; }
.service-detail-text h3 { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; margin-bottom: 24px; letter-spacing: 2px; }
.service-detail-text p { color: var(--color-text-2); margin-bottom: 28px; line-height: 2; }
.service-detail-text ul { margin-bottom: 30px; }
.service-detail-text ul li {
  padding: 9px 0 9px 28px; position: relative; color: var(--color-text-2); font-size: .9rem; line-height: 1.7;
  transition: padding .3s;
}
.service-detail-text ul li::before {
  content: ''; position: absolute; left: 0; top: 18px; width: 10px; height: 1.5px;
  background: var(--color-accent); transition: width .3s;
}
.service-detail-text ul li:hover { padding-left: 32px; color: var(--color-text); }
.service-detail-text ul li:hover::before { width: 16px; }

.service-detail-visual { height: 380px; border-radius: 4px; position: relative; overflow: hidden; }
.visual-gradient-1 { background: linear-gradient(135deg, #2a1f14 0%, #3d2e1a 40%, #1a1410 100%); }
.visual-gradient-2 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0d0d0d 100%); }
.visual-gradient-3 { background: linear-gradient(135deg, #1e1410 0%, #2e1f1a 40%, #1a1010 100%); }
.visual-gradient-4 { background: linear-gradient(135deg, #14140e 0%, #1e1e14 40%, #0d0d0d 100%); }
.service-detail-visual .visual-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: .12; transition: opacity .5s; }
.service-detail-visual:hover .visual-icon { opacity: .2; }
.service-detail-visual .visual-icon svg { width: 140px; height: 140px; stroke: var(--color-accent); fill: none; stroke-width: 1; }
.service-detail-visual .visual-tag { position: absolute; bottom: 28px; left: 28px; font-size: .78rem; color: var(--color-text-3); letter-spacing: 3px; }

/* ===== 服务流程 ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { text-align: center; padding: 36px 24px; position: relative; }
.process-step::after {
  content: ''; position: absolute; top: 44px; left: 60%;
  width: 80%; height: 1px; background: var(--color-border);
}
.process-step:last-child::after { display: none; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-dim); border: 1px solid var(--color-border);
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--color-accent);
  font-weight: 700; transition: all .4s var(--ease); position: relative; z-index: 1;
}
.process-step:hover .process-num { background: var(--color-accent); color: #0d0d0d; border-color: var(--color-accent); transform: scale(1.1); }
.process-step h4 { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: .82rem; color: var(--color-text-2); line-height: 1.7; }

/* ===== 客户/合作伙伴 ===== */
.clients-section { background: var(--color-bg-2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.client-logos {
  display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.client-logo {
  width: 100px; height: 60px; display: flex; align-items: center; justify-content: center;
  opacity: .35; transition: all .4s ease; filter: grayscale(1);
  font-size: .8rem; color: var(--color-text-3); letter-spacing: 3px;
  border: 1px solid transparent; border-radius: 6px; padding: 10px 16px;
}
.client-logo:hover { opacity: .7; filter: grayscale(0); border-color: var(--color-border); }

/* ===== 联系页面 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }

.contact-info-item {
  display: flex; gap: 22px; margin-bottom: 40px; transition: transform .3s;
}
.contact-info-item:hover { transform: translateX(4px); }
.contact-info-item .icon {
  width: 52px; height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-dim); border-radius: 10px; transition: all .3s;
}
.contact-info-item:hover .icon { background: rgba(201,169,110,.18); }
.contact-info-item .icon svg { width: 24px; height: 24px; stroke: var(--color-accent); fill: none; stroke-width: 1.5; }
.contact-info-item h4 { font-size: .95rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 1px; }
.contact-info-item p { font-size: .86rem; color: var(--color-text-2); line-height: 1.8; }

/* ===== 表单 ===== */
.contact-form { background: var(--color-bg-card); border: 1px solid var(--color-border); padding: 48px 40px; border-radius: 4px; }
.form-group { margin-bottom: 26px; }
.form-group label { display: block; font-size: .82rem; color: var(--color-text-2); margin-bottom: 10px; letter-spacing: 1.5px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; background: var(--color-bg-3);
  border: 1px solid var(--color-border); color: var(--color-text); border-radius: 3px;
  transition: all .3s ease; font-size: .9rem; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(201,169,110,.06); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-submit { width: 100%; justify-content: center; padding: 16px; }

.form-success {
  display: none; text-align: center; padding: 24px;
  background: var(--color-accent-dim); border: 1px solid var(--color-accent);
  border-radius: 4px; color: var(--color-accent); font-size: .88rem; margin-top: 18px;
  letter-spacing: 1px;
}
.form-success.show { display: block; animation: fadeIn .5s ease; }

/* ===== 地图区域 ===== */
.map-section { background: var(--color-bg-2); border-top: 1px solid var(--color-border); }
.map-placeholder {
  height: 360px; background: var(--color-bg-3); border: 1px solid var(--color-border);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(201,169,110,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-placeholder .map-label { position: relative; text-align: center; color: var(--color-text-3); }
.map-placeholder .map-label .pin {
  width: 44px; height: 44px; margin: 0 auto 16px; color: var(--color-accent);
  animation: pinBounce 2s ease-in-out infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== CTA 区域 ===== */
.cta-section {
  background: radial-gradient(ellipse at center, rgba(201,169,110,.07) 0%, transparent 60%), var(--color-bg-2);
  border-top: 1px solid var(--color-border); text-align: center; padding: 110px 0;
}
.cta-section h2 { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; margin-bottom: 22px; letter-spacing: 3px; }
.cta-section p { color: var(--color-text-2); margin-bottom: 40px; font-size: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 26px 0; cursor: pointer; transition: all .3s; }
.faq-item:hover { border-color: rgba(201,169,110,.2); }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 500; letter-spacing: .5px; }
.faq-question .faq-arrow { font-size: .8rem; color: var(--color-accent); transition: transform .3s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-top: 16px; font-size: .9rem; color: var(--color-text-2); line-height: 1.9; }

/* ===== 页脚 ===== */
.footer { background: var(--color-bg); border-top: 1px solid var(--color-border); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand p { font-size: .84rem; color: var(--color-text-3); line-height: 1.9; max-width: 280px; }
.footer-col h5 { font-size: .9rem; font-weight: 600; margin-bottom: 22px; letter-spacing: 1.5px; color: var(--color-text); }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a { font-size: .84rem; color: var(--color-text-3); transition: all .3s ease; }
.footer-col ul li a:hover { color: var(--color-accent); padding-left: 4px; }
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); border-radius: 6px; transition: all .3s ease;
}
.footer-social a:hover { border-color: var(--color-accent); background: var(--color-accent-dim); transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; stroke: var(--color-text-3); fill: none; stroke-width: 1.5; transition: stroke .3s ease; }
.footer-social a:hover svg { stroke: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--color-text-3);
}
.footer-bottom a:hover { color: var(--color-accent); }

/* ===== 动画定义 ===== */
@-webkit-keyframes fadeUp {
  from { opacity: 0; -webkit-transform: translateY(36px); }
  to { opacity: 1; -webkit-transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
@-webkit-keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@-webkit-keyframes fadeInScale {
  from { opacity: 0; -webkit-transform: scale(.94); }
  to { opacity: 1; -webkit-transform: scale(1); }
}
@-webkit-keyframes scrollLine {
  0% { -webkit-transform: scaleY(0); transform-origin: top; }
  50% { -webkit-transform: scaleY(1); transform-origin: top; }
  51% { -webkit-transform: scaleY(1); transform-origin: bottom; }
  100% { -webkit-transform: scaleY(0); transform-origin: bottom; }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@-webkit-keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,169,110,.1); }
  50% { box-shadow: 0 0 40px rgba(201,169,110,.2); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,169,110,.1); }
  50% { box-shadow: 0 0 40px rgba(201,169,110,.2); }
}

/* ===== 滚动揭示动画 ===== */
.reveal {
  opacity: 0; transform: translateY(48px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; letter-spacing: 4px; }
  .stats-grid { gap: 28px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .service-detail { gap: 44px; }
  .client-logos { gap: 36px; }
}

@media (max-width: 968px) {
  .section { padding: 80px 0; }
  .hero h1 { font-size: 2.6rem; letter-spacing: 3px; }
  .page-hero { padding: 150px 0 70px; }
  .page-hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-features { grid-template-columns: 1fr; gap: 20px; max-width: 440px; margin: 0 auto; }
  .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-detail.reverse .service-detail-text { order: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .timeline::before { left: 24px; }
  .timeline-item { width: 100%; padding-left: 56px; padding-right: 0; text-align: left !important; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item::after { left: 17px !important; right: auto !important; }
}

@media (max-width: 768px) {
  .hero-particles { display: none; }
  .service-icon { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero-desc { font-size: .94rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .cta-section h2 { font-size: 2rem; }
  .contact-form { padding: 32px 22px; }
  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .client-logos { gap: 28px; }
  .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(13,13,13,.98); backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column; padding: 36px; gap: 24px;
    transform: translateY(-150%); transition: transform .45s var(--ease);
    border-bottom: 1px solid var(--color-border);
    z-index: 999; pointer-events: none;
  }
  .nav-menu.active { transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: flex; }
  #back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }

  /* Mobile: login btn and user dropdown visible next to hamburger */
  .nav-login-btn {
    margin-left: auto; margin-right: 12px; padding: 6px 18px; font-size: .82rem;
    flex-shrink: 0; white-space: nowrap;
  }
  .nav-user {
    margin-left: auto; margin-right: 12px;
  }
  .nav-user-btn { padding: 4px 10px 4px 4px; font-size: .82rem; }
  .nav-user-avatar { width: 28px; height: 28px; font-size: .75rem; }
  .nav-user-name { max-width: 70px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 1.8rem; letter-spacing: 2px; }
  .section-title { font-size: 1.5rem; }
  .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .stat-item .num { font-size: 2.4rem; }
  .stats-grid { gap: 20px; }
  .section-tag { font-size: .7rem; letter-spacing: 3px; padding-left: 36px; }
  .section-tag::before { width: 24px; }
}

/* ========================================
   会员系统 - 登录弹窗
   ======================================== */
.auth-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000;
  background: rgba(0,0,0,.85); display: flex;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.auth-overlay.open { opacity: 1; pointer-events: auto; }

.auth-modal {
  background: var(--color-bg-2); border-radius: 16px;
  padding: 40px 36px; width: 420px; max-width: 92vw;
  position: relative; border: 1px solid rgba(201,169,110,.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.auth-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; color: var(--color-text-muted);
  font-size: 28px; cursor: pointer; line-height: 1; transition: color .2s;
}
.auth-close:hover { color: var(--color-accent); }

.auth-tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.auth-tab {
  flex: 1; padding: 12px; text-align: center; background: none; border: none;
  color: var(--color-text-muted); font-size: 1rem; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all .2s;
}
.auth-tab.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.auth-tab:hover:not(.active) { color: #fff; }

.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-form label { display: block; margin: 12px 0 4px; font-size: .82rem; color: var(--color-text-muted); }
.auth-form label span { font-size: .72rem; color: rgba(255,255,255,.3); }
.auth-form input {
  width: 100%; padding: 12px 14px; background: var(--color-bg-3);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  color: var(--color-text); font-size: .95rem; transition: border-color .2s;
  box-sizing: border-box;
}
.auth-form input:focus { outline: none; border-color: var(--color-accent); }
.auth-msg { font-size: .82rem; margin-bottom: 8px; min-height: 20px; }
.auth-msg.error { color: #e85d3d; }
.auth-msg.success { color: #5dbe7e; }
.auth-switch { text-align: center; margin-top: 16px; font-size: .85rem; color: var(--color-text-muted); }
.auth-switch a { color: var(--color-accent); text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-consent { margin: 14px 0 4px; }
.consent-check { display: flex; align-items: flex-start; gap: 8px; font-size: .76rem; line-height: 1.5; color: var(--color-text-muted); cursor: pointer; }
.consent-check input { margin-top: 2px; flex-shrink: 0; width: 15px; height: 15px; accent-color: var(--color-accent); }
.consent-check a { color: var(--color-accent); text-decoration: none; }
.consent-check a:hover { text-decoration: underline; }
.agreement-gate-scroll { max-height: 46vh; overflow-y: auto; padding: 14px 16px; margin: 14px 0; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; font-size: .82rem; line-height: 1.7; color: var(--color-text-2); }
.agreement-gate-scroll h4 { color: var(--color-accent); margin: 14px 0 6px; font-size: .9rem; }
.agreement-gate-scroll h4:first-child { margin-top: 0; }
.agreement-gate-scroll ul { margin: 6px 0; padding-left: 20px; }
.agreement-gate-scroll li { margin: 3px 0; }
.code-input-row { display: flex; gap: 8px; }
.code-input-row input { flex: 1; }
.code-btn { white-space: nowrap; flex-shrink: 0; font-size: .78rem !important; padding: 8px 14px !important; height: auto; min-width: auto; }
.code-btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-outline {
  background: transparent; color: var(--color-accent); border: 1px solid rgba(201,169,110,.4);
  border-radius: 6px; cursor: pointer; transition: all .2s; font-family: inherit;
}
.btn-outline:hover { background: rgba(201,169,110,.1); border-color: var(--color-accent); }

.btn-danger {
  background: #e85d3d; color: #fff; border: 1px solid #e85d3d;
  border-radius: 6px; padding: 10px 20px; cursor: pointer; font-family: inherit;
  font-size: .88rem; transition: all .2s;
}
.btn-danger:hover { background: #c94a2d; border-color: #c94a2d; }
.btn-danger:disabled { opacity: .4; cursor: not-allowed; }

/* ====== 在线状态 ====== */
.online-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #5dbe7e; border: 1.5px solid rgba(93,190,126,.3);
  box-shadow: 0 0 6px rgba(93,190,126,.5); vertical-align: middle;
  position: relative; top: -1px;
}
.online-dot-lg { width: 12px; height: 12px; border-width: 2px; }
.offline-dot { background: #555; border-color: rgba(100,100,100,.3); box-shadow: none; }

/* Online count bar in members page */
.online-count-bar {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--color-text-muted); margin-bottom: 16px;
  padding: 8px 14px; background: rgba(93,190,126,.08); border-radius: 8px;
  border: 1px solid rgba(93,190,126,.15);
}
.online-count-bar .count-num { color: #5dbe7e; font-weight: 700; font-size: 1rem; }

/* ====== 注销账号弹窗 ====== */
.delete-account-dialog { max-width: 460px; }
.delete-warning-list { margin: 12px 0; padding: 12px; background: rgba(232,93,61,.08); border-radius: 8px; border: 1px solid rgba(232,93,61,.15); }
.delete-warning-item { font-size: .8rem; color: var(--color-text-muted); padding: 4px 0; }
.delete-form-section { margin-top: 12px; }
.delete-form-section input {
  padding: 10px 12px; background: var(--color-bg-3); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; color: var(--color-text); font-size: .88rem;
}
.delete-form-section input:focus { outline: none; border-color: var(--color-accent); }
.delete-countdown-section { margin-top: 14px; }
.delete-countdown-bar {
  width: 100%; height: 6px; background: var(--color-bg-3); border-radius: 3px; overflow: hidden; margin-bottom: 8px;
}
.delete-countdown-fill {
  height: 100%; background: linear-gradient(90deg, #e85d3d, #5dbe7e); border-radius: 3px;
  transition: width .3s linear; width: 0%;
}
.delete-countdown-text { text-align: center; font-size: .8rem; color: #e85d3d; transition: color .3s; }

/* ====== 导航用户区 ====== */
.nav-login-btn, .nav-login-link a {
  background: var(--color-accent); color: var(--color-bg); border: none;
  padding: 8px 22px; border-radius: 20px; font-size: .88rem; cursor: pointer;
  transition: all .25s; text-decoration: none; font-family: inherit;
  margin-left: 20px; flex-shrink: 0; white-space: nowrap;
}
.nav-login-btn:hover, .nav-login-link a:hover {
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,110,.4);
}

.nav-user {
  position: relative; margin-left: 16px; flex-shrink: 0;
}
.nav-user-btn {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15); border-radius: 24px;
  padding: 5px 14px 5px 5px; cursor: pointer; transition: all .2s;
  color: var(--color-text); font-family: inherit; font-size: .88rem;
}
.nav-user-btn:hover { background: rgba(255,255,255,.1); border-color: var(--color-accent); }
.nav-user-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-accent);
  color: var(--color-bg); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; overflow: hidden; flex-shrink: 0;
}
.nav-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px;
  background: var(--color-bg-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 8px 0; opacity: 0; pointer-events: none;
  transform: translateY(-6px); transition: all .2s;
  box-shadow: 0 12px 32px rgba(0,0,0,.5); z-index: 9999;
}
.nav-user-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-user-item {
  display: block; padding: 10px 20px; color: var(--color-text); text-decoration: none;
  font-size: .9rem; transition: all .15s;
}
.nav-user-item:hover { background: rgba(201,169,110,.1); color: var(--color-accent); }
.nav-user-divider { height: 1px; background: rgba(255,255,255,.08); margin: 6px 0; }

.admin-only { display: none; }
.forum-admin-only { display: none; }

/* ====== 页面通用容器 ====== */
.page-section {
  padding: 80px 0; min-height: 60vh;
  padding-top: calc(var(--nav-height, 80px) + 40px);
}
.page-section .container { max-width: 900px; }
.page-card {
  background: var(--color-bg-2); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 32px; margin-bottom: 24px;
}
.page-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; color: var(--color-accent); }

/* ====== Steam 账号价值卡片 ====== */
.steam-card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(22,22,22,.95) 0%, rgba(30,24,18,.95) 100%);
  border: 1px solid rgba(201,169,110,.18);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
}
.steam-card-header { padding: 28px 28px 20px; }
.steam-input-wrap { display: flex; gap: 12px; }
.steam-input {
  flex: 1; padding: 14px 16px; background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  color: var(--color-text); font-size: .95rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.steam-input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(201,169,110,.12); }
.steam-input::placeholder { color: var(--color-text-3); }
.steam-card-body { padding: 0 28px 28px; }
.steam-user { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.steam-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--color-bg-3);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  border: 2px solid rgba(201,169,110,.25); overflow: hidden; flex-shrink: 0;
}
.steam-nickname { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.steam-id { font-size: .8rem; color: var(--color-text-3); text-decoration: none; transition: color .2s; }
.steam-id:hover { color: var(--color-accent); }
.steam-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steam-stat {
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 18px 12px; text-align: center; transition: all .2s;
}
.steam-stat:hover { border-color: rgba(201,169,110,.25); transform: translateY(-2px); }
.steam-stat-value { font-size: 1.25rem; font-weight: 700; color: var(--color-accent); margin-bottom: 6px; }
.steam-stat-label { font-size: .75rem; color: var(--color-text-3); }
.steam-card-error {
  margin: 0 28px 24px; padding: 12px 16px; border-radius: 10px;
  background: rgba(232,93,61,.12); color: #e85d3d; border: 1px solid rgba(232,93,61,.25);
  font-size: .9rem; display: none;
}
@media (max-width: 640px) {
  .steam-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steam-input-wrap { flex-direction: column; }
  .steam-input-wrap button { width: 100%; }
}

/* ====== 个人中心 ====== */
.profile-header {
  display: flex; align-items: center; gap: 28px; margin-bottom: 32px;
  flex-wrap: wrap;
}
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar {
  width: 100px; height: 100px; border-radius: 50%; background: var(--color-bg-3);
  border: 2px solid rgba(201,169,110,.3); display: flex;
  align-items: center; justify-content: center; font-size: 2.4rem;
  font-weight: 700; color: var(--color-accent); overflow: hidden; position: relative;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-edit {
  position: absolute; bottom: 0; right: 0; width: 32px; height: 32px;
  background: var(--color-accent); border-radius: 50%; border: 2px solid var(--color-bg);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--color-bg); font-size: .9rem; transition: transform .2s;
}
.profile-avatar-edit:hover { transform: scale(1.1); }
.profile-info { flex: 1; min-width: 200px; }
.profile-nickname { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.profile-username { color: var(--color-text-muted); font-size: .9rem; margin-bottom: 8px; }
.profile-labels { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-label {
  font-size: .72rem; padding: 2px 10px; border-radius: 10px;
  background: rgba(201,169,110,.15); color: var(--color-accent);
  border: 1px solid rgba(201,169,110,.25);
}

/* ====== 表单组件 ====== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .88rem; color: var(--color-text-muted); }
.form-input, .form-textarea {
  width: 100%; padding: 12px 14px; background: var(--color-bg-3);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  color: var(--color-text); font-size: .95rem; transition: border-color .2s;
  box-sizing: border-box; font-family: inherit;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--color-accent); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: .78rem; color: var(--color-text-muted); margin-top: 4px; }
.form-error { color: #e85d3d; font-size: .82rem; margin-top: 4px; }

/* ====== 论坛帖子卡片 ====== */
.post-card {
  background: var(--color-bg-2); border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; padding: 24px; margin-bottom: 16px;
  transition: all .25s;
}
.post-card:hover { border-color: rgba(201,169,110,.2); transform: translateY(-2px); }
.post-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg-3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--color-accent); font-size: 1rem; overflow: hidden;
  flex-shrink: 0; border: 1px solid rgba(255,255,255,.1);
}
.post-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { flex: 1; }
.post-author { font-weight: 600; font-size: .95rem; }
.post-author a { color: var(--color-text); text-decoration: none; }
.post-author a:hover { color: var(--color-accent); }
.post-time { font-size: .78rem; color: var(--color-text-muted); margin-top: 2px; }
.post-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.post-title a { color: var(--color-text); text-decoration: none; }
.post-title a:hover { color: var(--color-accent); }
.post-content { font-size: .93rem; line-height: 1.7; color: var(--color-text-muted); white-space: pre-wrap; word-break: break-word; }
.post-actions { display: flex; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.post-action-btn {
  font-size: .82rem; color: var(--color-text-muted); background: none; border: none;
  cursor: pointer; padding: 4px 0; transition: color .2s; font-family: inherit;
}
.post-action-btn:hover { color: var(--color-accent); }
.post-action-btn.danger:hover { color: #e85d3d; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination button {
  background: var(--color-bg-2); border: 1px solid rgba(255,255,255,.1);
  color: var(--color-text); padding: 8px 14px; border-radius: 8px;
  cursor: pointer; font-size: .88rem; transition: all .2s; font-family: inherit;
}
.pagination button:hover:not(:disabled) { border-color: var(--color-accent); color: var(--color-accent); }
.pagination button.active { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.pagination button:disabled { opacity: .3; cursor: not-allowed; }

/* ====== 成员列表 ====== */
.member-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.member-card {
  background: var(--color-bg-2); border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; padding: 28px 20px; text-align: center;
  transition: all .25s;
}
.member-card:hover { border-color: rgba(201,169,110,.2); transform: translateY(-3px); }
.member-avatar { position: relative;  /* for level badge */
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--color-bg-3); border: 2px solid rgba(201,169,110,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 700; color: var(--color-accent); overflow: visible;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-nickname { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.member-bio { font-size: .82rem; color: var(--color-text-muted); margin-bottom: 10px; line-height: 1.5; }
.member-labels { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
.member-badge {
  font-size: .68rem; padding: 2px 8px; border-radius: 8px;
  background: rgba(201,169,110,.1); color: var(--color-accent);
  border: 1px solid rgba(201,169,110,.15);
}
.member-role-badge {
  font-size: .68rem; padding: 2px 8px; border-radius: 8px;
  background: rgba(232,93,61,.15); color: #e85d3d;
  border: 1px solid rgba(232,93,61,.25);
}

/* ====== 等级徽章系统 ====== */
.level-badge {
  position: absolute; bottom: -4px; right: -4px;
  min-width: 26px; height: 26px; border-radius: 13px;
  padding: 0 5px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800; color: #fff;
  border: 2px solid var(--color-bg-1);
  z-index: 2; line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
/* Tier 0: Lv.0-9 — 灰色初心者 */
.level-badge.tier-0 { background: linear-gradient(135deg, #888, #666); border-color: #555; }
/* Tier 1: Lv.10-19 — 铜色 */
.level-badge.tier-1 { background: linear-gradient(135deg, #b87333, #8b4513); }
/* Tier 2: Lv.20-29 — 银色 */
.level-badge.tier-2 { background: linear-gradient(135deg, #c0c0c0, #808080); color: #333; }
/* Tier 3: Lv.30-39 — 金色 */
.level-badge.tier-3 { background: linear-gradient(135deg, #ffd700, #daa520); color: #333; }
/* Tier 4: Lv.40-49 — 铂金 */
.level-badge.tier-4 { background: linear-gradient(135deg, #e5e4e2, #b0b0b0); color: #333; border-color: #999; }
/* Tier 5: Lv.50-59 — 钻石蓝 */
.level-badge.tier-5 { background: linear-gradient(135deg, #00bfff, #1e90ff); }
/* Tier 6: Lv.60-69 — 紫水晶 */
.level-badge.tier-6 { background: linear-gradient(135deg, #9b30ff, #7b68ee); }
/* Tier 7: Lv.70-79 — 红宝石 */
.level-badge.tier-7 { background: linear-gradient(135deg, #ff1744, #d50000); }
/* Tier 8: Lv.80-89 — 祖母绿 */
.level-badge.tier-8 { background: linear-gradient(135deg, #00e676, #00c853); color: #111; }
/* Tier 9: Lv.90-99 — 黑金皇冠 */
.level-badge.tier-9 { background: linear-gradient(135deg, #1a1a1a, #333); border-color: #ffd700; color: #ffd700; box-shadow: 0 0 8px rgba(255,215,0,.3); }
/* Tier 10: Lv.100+ — 传奇彩虹 */
.level-badge.tier-10 { background: linear-gradient(135deg, #ff0080, #ff8c00, #40e0d0); border-color: #ffd700; box-shadow: 0 0 12px rgba(255,215,0,.5); animation: badgeGlow 2s ease-in-out infinite; }
/* Fallback: beyond tier 10 — scale into modified tiers */
.level-badge.tier-11 { background: linear-gradient(135deg, #ff6b6b, #ffd93d); border-color: #ffd700; }
.level-badge.tier-12 { background: linear-gradient(135deg, #6c5ce7, #a29bfe); border-color: #ffd700; }
.level-badge.tier-13 { background: linear-gradient(135deg, #00cec9, #55efc4); border-color: #ffd700; color: #111; }
.level-badge.tier-14 { background: linear-gradient(135deg, #fd79a8, #e84393); border-color: #ffd700; }
/* Ultra-high levels */
.level-badge.tier-max { /* 300+ */
  background: linear-gradient(135deg, #ffd700, #ff0080, #00bfff);
  border-color: #fff; box-shadow: 0 0 16px rgba(255,215,0,.6);
  animation: badgeGlow 1.5s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,215,0,.3); }
  50% { box-shadow: 0 0 16px rgba(255,215,0,.7); }
}
/* Larger badge in profile */
.profile-avatar-wrap { position: relative; display: inline-block; }
.profile-avatar-wrap .level-badge {
  width: 36px; height: 36px; font-size: .75rem; bottom: 0; right: 0; border-width: 3px;
}
/* Nav avatar badge */
.nav-user .level-badge {
  width: 20px; height: 20px; font-size: .5rem; bottom: -2px; right: -2px; border-width: 2px;
}
/* Members grid avatar needs relative */
.member-avatar { position: relative; overflow: visible !important; }
.member-avatar > :first-child { border-radius: 50%; overflow: hidden; }
/* Points & level display */
.profile-stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 16px 0; }
.profile-stat {
  text-align: center; padding: 12px 20px;
  background: var(--color-bg-2); border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06); min-width: 80px;
}
.profile-stat .val { font-size: 1.4rem; font-weight: 800; color: var(--color-accent); }
.profile-stat .lbl { font-size: .72rem; color: var(--color-text-muted); margin-top: 2px; }
/* Sign-in button */
.signin-btn {
  background: linear-gradient(135deg, var(--color-accent), #b8942e);
  color: var(--color-bg); border: none; border-radius: 8px;
  padding: 8px 18px; font-weight: 700; cursor: pointer; font-size: .85rem;
  transition: all .2s; font-family: inherit;
}
.signin-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,169,110,.4); }
.signin-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ====== 关注按钮 ====== */
.follow-btn {
  background: var(--color-accent); color: var(--color-bg);
  border: none; padding: 8px 20px; border-radius: 20px;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: all .2s; letter-spacing: .5px;
}
.follow-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,169,110,.4); }
.follow-btn:disabled { opacity: .6; cursor: not-allowed; }
.follow-btn.friend-btn { background: #5dbe7e; }
.follow-btn-sm {
  background: var(--color-bg-3); color: var(--color-accent);
  border: 1px solid var(--color-accent); border-radius: 14px;
  padding: 4px 12px; font-size: .75rem; cursor: pointer;
  font-family: inherit; transition: all .2s; font-weight: 600;
}
.follow-btn-sm:hover { background: var(--color-accent); color: var(--color-bg); }
.follow-btn-sm:disabled { opacity: .5; cursor: not-allowed; }

/* ====== 好友芯片 ====== */
.friend-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-bg-3); border-radius: 24px;
  padding: 6px 14px 6px 8px; text-decoration: none;
  color: var(--color-text); transition: all .2s; border: 1px solid rgba(255,255,255,.05);
}
.friend-chip:hover { border-color: var(--color-accent); transform: translateY(-1px); }
.friend-chip-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-accent); display: flex; align-items: center;
  justify-content: center; font-size: .7rem; font-weight: 700;
  color: var(--color-bg); overflow: hidden;
}
.friend-chip-name { font-size: .82rem; }

/* ====== 搜索栏 ====== */
.member-search-bar input {
  background: var(--color-bg-3); color: var(--color-text);
  border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
  padding: 10px 16px; font-family: inherit; font-size: .9rem;
  transition: border-color .2s;
}
.member-search-bar input:focus { border-color: var(--color-accent); outline: none; }

/* ====== 搜索结果 ====== */
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--color-bg-2);
  border-radius: 10px; text-decoration: none; color: inherit;
  transition: all .2s; border: 1px solid rgba(255,255,255,.04);
}
.search-result-item:hover { border-color: var(--color-accent); transform: translateX(2px); }
.sri-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-accent); display: flex; align-items: center;
  justify-content: center; font-size: .85rem; font-weight: 700;
  color: var(--color-bg); overflow: hidden;
}
.sri-avatar-frame {
  display: inline-flex; align-items: center; justify-content: center;
  /* 注意：width/height 由各页面自己控制（profile=116px, member=84px, chat=44px） */
  border-radius: 50%; padding: 2px; flex-shrink: 0;
  box-sizing: border-box; position: relative; overflow: visible;
}
.sri-avatar-frame.golden_crown { background: radial-gradient(circle, rgba(240,192,96,.25) 0%, rgba(240,192,96,.05) 60%, transparent 70%); box-shadow: 0 0 0 2px rgba(240,192,96,.5), 0 0 10px rgba(240,192,96,.5); border: 1px solid rgba(240,192,96,.8); animation: sri-goldenGlow 3s ease-in-out infinite; }
.sri-avatar-frame.golden_crown::before { content: '👑'; position: absolute; top: -8px; left: 50%; transform: translateX(-50%) scale(.75); font-size: 11px; filter: drop-shadow(0 0 3px rgba(240,192,96,.9)); z-index: 3; animation: sri-crownFloat 2s ease-in-out infinite; pointer-events: none; }
.sri-avatar-frame.shadow_wings { background: radial-gradient(circle, rgba(123,104,238,.25) 0%, rgba(123,104,238,.05) 60%, transparent 70%); box-shadow: 0 0 0 2px rgba(123,104,238,.5), 0 0 10px rgba(123,104,238,.5); border: 1px solid rgba(123,104,238,.8); animation: sri-purplePulse 3s ease-in-out infinite; }
.sri-avatar-frame.shadow_wings::before { content: '🦇'; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) scale(.7); font-size: 11px; filter: drop-shadow(0 0 3px rgba(123,104,238,.9)); z-index: 3; animation: sri-crownFloat 2s ease-in-out infinite; pointer-events: none; }
.sri-avatar-frame.star_ring { background: radial-gradient(circle, rgba(80,200,255,.25) 0%, rgba(80,200,255,.05) 60%, transparent 70%); box-shadow: 0 0 0 2px rgba(80,200,255,.5), 0 0 10px rgba(80,200,255,.5); border: 1px solid rgba(80,200,255,.8); animation: sri-cyanPulse 3s ease-in-out infinite; }
.sri-avatar-frame.star_ring::before { content: '⭐'; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) scale(.75); font-size: 10px; filter: drop-shadow(0 0 3px rgba(80,200,255,.9)); z-index: 3; animation: sri-starTwinkle 1.5s ease-in-out infinite; pointer-events: none; }
.sri-avatar-frame.phoenix_flame { background: radial-gradient(circle, rgba(255,107,74,.25) 0%, rgba(255,107,74,.05) 60%, transparent 70%); box-shadow: 0 0 0 2px rgba(255,107,74,.5), 0 0 10px rgba(255,107,74,.5); border: 1px solid rgba(255,107,74,.8); animation: sri-flamePulse 1.5s ease-in-out infinite; }
.sri-avatar-frame.phoenix_flame::before { content: '🔥'; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%) scale(.75); font-size: 10px; filter: drop-shadow(0 0 3px rgba(255,107,74,.9)); z-index: 3; animation: sri-flameFlicker 1s ease-in-out infinite; pointer-events: none; }

@keyframes sri-goldenGlow { 0%,100% { box-shadow: 0 0 0 2px rgba(240,192,96,.5), 0 0 10px rgba(240,192,96,.4); } 50% { box-shadow: 0 0 0 2px rgba(240,192,96,.7), 0 0 14px rgba(240,192,96,.6); } }
@keyframes sri-crownFloat { 0%,100% { transform: translateX(-50%) translateY(0) scale(.75); } 50% { transform: translateX(-50%) translateY(-2px) scale(.75); } }
@keyframes sri-purplePulse { 0%,100% { box-shadow: 0 0 0 2px rgba(123,104,238,.5), 0 0 10px rgba(123,104,238,.4); } 50% { box-shadow: 0 0 0 2px rgba(123,104,238,.7), 0 0 14px rgba(123,104,238,.6); } }
@keyframes sri-cyanPulse { 0%,100% { box-shadow: 0 0 0 2px rgba(80,200,255,.5), 0 0 10px rgba(80,200,255,.4); } 50% { box-shadow: 0 0 0 2px rgba(80,200,255,.7), 0 0 14px rgba(80,200,255,.6); } }
@keyframes sri-starTwinkle { 0%,100% { opacity: 1; transform: translateX(-50%) scale(.75); } 50% { opacity: .35; transform: translateX(-50%) scale(.75); } }
@keyframes sri-flamePulse { 0%,100% { box-shadow: 0 0 0 2px rgba(255,107,74,.5), 0 0 10px rgba(255,107,74,.4); } 50% { box-shadow: 0 0 0 2px rgba(255,107,74,.7), 0 0 14px rgba(255,107,74,.6); } }
@keyframes sri-flameFlicker { 0%,100% { transform: translateX(-50%) translateY(0) scale(.75); opacity: .8; } 50% { transform: translateX(-50%) translateY(-2px) scale(.75); opacity: 1; } }
.sri-info { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: .85rem; }
.sri-info small { font-size: .72rem; }
.sri-badge {
  font-size: .68rem; background: rgba(201,169,110,.15);
  color: var(--color-accent); padding: 2px 8px; border-radius: 10px;
}

/* ====== 成员卡片关注行 ====== */
.member-follow-row { padding: 0 8px 8px; }
/* Invite section */
.invite-link-box {
  background: var(--color-bg-2); border: 1px dashed rgba(201,169,110,.2);
  border-radius: 8px; padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  word-break: break-all; font-size: .82rem; color: var(--color-text-muted);
}
.invite-link-box code { color: var(--color-accent); font-size: .85rem; }

/* ====== 隐私开关 (Toggle Switch) ====== */
.privacy-toggle {
  position: relative; display: inline-block; width: 48px; height: 26px;
  flex-shrink: 0; cursor: pointer;
}
.privacy-toggle input { opacity: 0; width: 0; height: 0; }
.privacy-slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #444; border-radius: 26px;
  transition: .25s;
}
.privacy-slider::before {
  content: ''; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: .25s;
}
.privacy-toggle input:checked + .privacy-slider { background: var(--color-accent); }
.privacy-toggle input:checked + .privacy-slider::before { transform: translateX(22px); }

/* ====== 管理员面板 ====== */
.admin-layout { display: flex; gap: 24px; flex-wrap: wrap; }
.admin-sidebar {
  width: 220px; flex-shrink: 0; background: var(--color-bg-2);
  border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 8px 0;
  position: sticky; top: 100px; align-self: flex-start;
}
.admin-sidebar a {
  display: block; padding: 12px 24px; color: var(--color-text-muted);
  text-decoration: none; font-size: .9rem; transition: all .15s;
  border-left: 2px solid transparent;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  color: var(--color-accent); background: rgba(201,169,110,.06);
  border-left-color: var(--color-accent);
}
.admin-main { flex: 1; min-width: 300px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th {
  text-align: left; padding: 12px 14px; font-weight: 600; color: var(--color-text-muted);
  border-bottom: 2px solid rgba(255,255,255,.08); font-size: .82rem; text-transform: uppercase; letter-spacing: 1px;
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.admin-table tr:hover td { background: rgba(255,255,255,.02); }
/* Admin points management */
.admin-points-cell { display: flex; align-items: center; gap: 6px; }
.admin-points-cell input { width: 70px; text-align: center; }
.admin-points-cell button { flex-shrink: 0; }
.admin-points-cell .pts-display { font-weight: 700; color: var(--color-accent); min-width: 50px; text-align: center; }

.admin-user-cell { display: flex; align-items: center; gap: 10px; }
.admin-user-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--color-bg-3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--color-accent); overflow: hidden;
}
.admin-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-tag {
  display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 8px;
  margin: 1px 3px 1px 0;
  background: rgba(201,169,110,.1); color: var(--color-accent);
  border: 1px solid rgba(201,169,110,.15);
}
.admin-tag .remove {
  margin-left: 4px; cursor: pointer; opacity: .6; font-size: .8rem; color: #e85d3d;
}
.admin-tag .remove:hover { opacity: 1; }
.admin-labels-display { min-height: 22px; display: flex; flex-wrap: wrap; align-items: center; }
.admin-labels-cell .form-input {
  background: var(--color-bg-3); color: var(--color-text);
  border: 1px solid rgba(201,169,110,.3); border-radius: 6px;
  font-family: inherit; outline: none;
}
.admin-labels-cell .form-input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(201,169,110,.15); }
.admin-btn-sm {
  font-size: .78rem; padding: 4px 12px; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.15); background: var(--color-bg-3);
  color: var(--color-text); transition: all .2s; font-family: inherit;
}
.admin-btn-sm:hover { border-color: var(--color-accent); color: var(--color-accent); }
.admin-btn-sm.danger { color: #e85d3d; border-color: rgba(232,93,61,.3); }
.admin-btn-sm.danger:hover { background: rgba(232,93,61,.1); }
.admin-btn-sm.primary { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.admin-inline-form { display: flex; gap: 6px; align-items: center; margin: 6px 0; }
.admin-inline-form input {
  padding: 6px 10px; background: var(--color-bg-3); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; color: var(--color-text); font-size: .82rem; font-family: inherit;
}
.admin-inline-form input:focus { outline: none; border-color: var(--color-accent); }

/* ====== 空状态 ====== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-text-muted); }
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.empty-state p { font-size: 1rem; margin-bottom: 4px; }

/* ====== Toast 提示 ====== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--color-bg-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 12px 20px; min-width: 240px; max-width: 360px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); animation: toastIn .3s ease;
  font-size: .9rem; color: var(--color-text); display: flex; align-items: center; gap: 8px;
}
.toast.error { border-color: rgba(232,93,61,.4); border-left: 3px solid #e85d3d; }
.toast.success { border-color: rgba(93,190,126,.4); border-left: 3px solid #5dbe7e; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* ====== 响应式 ====== */
@media (max-width: 768px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; }
  .admin-sidebar a { border-left: none; border-bottom: 2px solid transparent; padding: 10px 16px; font-size: .82rem; }
  .admin-sidebar a.active { border-bottom-color: var(--color-accent); border-left: none; }
  .admin-table { font-size: .78rem; }
  .admin-table th, .admin-table td { padding: 8px 6px; }
  .member-grid { grid-template-columns: 1fr; }
  .profile-header { flex-direction: column; text-align: center; }
  .profile-labels { justify-content: center; }
  .auth-modal { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .post-header { flex-wrap: wrap; }
  .member-grid { grid-template-columns: 1fr; }
}

/* ========================================
   响应式网格工具类
   ======================================== */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-2-narrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* ========================================
   全面移动端响应式优化
   ======================================== */

/* ===== 平板 (≤1024px) ===== */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-2 { gap: 48px; }
  .split-2-narrow { gap: 32px; }
  .nav-menu { gap: 28px; }
  .hero h1 { font-size: 3rem; }
}

/* ===== 手机 (≤768px) ===== */
@media (max-width: 768px) {
  /* --- 基础排版 --- */
  :root { --nav-height: 60px; }
  html { font-size: 15px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }

  /* --- 导航栏 --- */
  .navbar .container { flex-wrap: nowrap; min-height: 44px; height: auto; gap: 4px; }
  .nav-logo { font-size: 1rem; letter-spacing: 1px; gap: 6px; flex-shrink: 0; }
  .nav-logo .logo-mark { width: 28px; height: 28px; }
  .nav-logo span { white-space: nowrap; }
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(13,13,13,.98); backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column; padding: 24px 28px; gap: 18px;
    transform: translateY(-150%); transition: transform .4s var(--ease);
    border-bottom: 1px solid var(--color-border);
    z-index: 999; max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-menu.active { transform: translateY(0); }
  .nav-menu a { font-size: .95rem; padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }

  /* Mobile: login button & user menu — 防挤压重叠 */
  .nav-login-btn {
    margin-left: auto; margin-right: 8px; padding: 6px 14px;
    font-size: .8rem; flex-shrink: 0; white-space: nowrap;
  }
  .nav-user { margin-left: auto; margin-right: 6px; flex-shrink: 0; max-width: 45%; }
  .nav-user-btn { padding: 4px 8px 4px 4px; font-size: .78rem; }
  .nav-user-avatar { width: 26px; height: 26px; font-size: .68rem; }
  .nav-user-name { max-width: 48px; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-user-dropdown { min-width: 160px; }
  .nav-toggle { display: flex; flex-shrink: 0; padding: 4px; }

  /* --- Hero --- */
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero h1 { font-size: 2rem; letter-spacing: 3px; line-height: 1.3; }
  .hero-desc { font-size: .92rem; line-height: 1.9; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 14px; width: 100%; }
  .hero-actions .btn { justify-content: center; width: 100%; padding: 13px 28px; font-size: .9rem; }
  .hero-scroll { display: none; }

  /* --- Page Hero --- */
  .page-hero { padding: 100px 0 56px; }
  .page-hero h1 { font-size: 1.8rem; letter-spacing: 3px; }
  .page-hero .breadcrumb { font-size: .78rem; }

  /* --- Section 标题 --- */
  .section-title { font-size: 1.6rem; letter-spacing: 2px; margin-bottom: 16px; }
  .section-subtitle { font-size: .9rem; }
  .section-tag { font-size: .72rem; letter-spacing: 3px; padding-left: 36px; margin-bottom: 14px; }
  .section-tag::before { width: 24px; }
  .section-divider { margin-bottom: 28px; }

  /* --- 网格布局 --- */
  .cards-grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .split-2 { grid-template-columns: 1fr; gap: 36px; }
  .split-2-narrow { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-features { grid-template-columns: 1fr; gap: 16px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .process-step::after { display: none; }
  .process-step { padding: 24px 16px; }

  /* --- 服务卡片 --- */
  .service-card { padding: 28px 22px; }
  .service-card h3 { font-size: 1.1rem; }
  .service-card p { font-size: .85rem; }

  /* --- 服务详情 --- */
  .service-detail { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .service-detail.reverse .service-detail-text { order: 0; }
  .service-detail-text h3 { font-size: 1.5rem; }
  .service-detail-visual { height: 240px; }

  /* --- 统计数据 --- */
  .stat-item .num { font-size: 2.4rem; }
  .stat-item .num .suffix { font-size: 1.2rem; }
  .stat-item .label { font-size: .76rem; letter-spacing: 1.5px; }

  /* --- 团队卡片 --- */
  .team-avatar { width: 90px; height: 90px; font-size: 1.8rem; }
  .team-card h4 { font-size: .98rem; }
  .team-card .role { font-size: .76rem; }
  .team-card .bio { font-size: .76rem; }

  /* --- 时间线 --- */
  .timeline::before { left: 16px; }
  .timeline-item { width: 100%; padding-left: 44px; padding-right: 0; text-align: left !important; padding-bottom: 48px; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item::after { left: 9px !important; right: auto !important; }
  .timeline-item .year { font-size: 1.4rem; }

  /* --- 特性区 --- */
  .feature-item { padding: 24px 16px; }
  .feature-item .feature-num { font-size: 2.2rem; }
  .feature-item h4 { font-size: 1.05rem; }
  .feature-item p { font-size: .84rem; }

  /* --- 合作伙伴 --- */
  .client-logos { gap: 16px; }
  .client-logo { width: 80px; height: 44px; font-size: .72rem; padding: 8px 10px; letter-spacing: 2px; }

  /* --- CTA --- */
  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: 1.6rem; letter-spacing: 2px; }
  .cta-section p { font-size: .9rem; margin-bottom: 28px; }

  /* --- 表单 --- */
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group input, .form-group textarea, .form-group select { padding: 12px 14px; font-size: .92rem; }
  .form-submit { width: 100%; padding: 14px; font-size: .9rem; }

  /* --- 联系信息 --- */
  .contact-info-item { gap: 14px; margin-bottom: 28px; }
  .contact-info-item .icon { width: 42px; height: 42px; }
  .contact-info-item h4 { font-size: .9rem; }
  .contact-info-item p { font-size: .82rem; }

  /* --- 地图 --- */
  .map-placeholder { height: 240px; }

  /* --- FAQ --- */
  .faq-item { padding: 20px 0; }
  .faq-question { font-size: .92rem; }
  .faq-answer p { font-size: .85rem; }

  /* --- 页脚 --- */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; font-size: .72rem; }

  /* --- 回到顶部 --- */
  #back-to-top, .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }

  /* --- 按钮通用 --- */
  .btn { padding: 12px 28px; font-size: .85rem; letter-spacing: 1px; }

  /* --- Page Section (论坛/个人/管理等) --- */
  .page-section { padding: 48px 0; padding-top: calc(var(--nav-height) + 24px); }
  .page-section .container { max-width: 100%; }
  .page-card { padding: 20px 16px; border-radius: 12px; }

  /* --- 认证弹窗 --- */
  .auth-overlay { padding: 0; align-items: stretch; }
  .auth-modal {
    width: 100%; max-width: 100%; min-height: 100vh; border-radius: 0;
    padding: 60px 20px 32px; border: none;
    display: flex; flex-direction: column; justify-content: center;
    overflow-y: auto;
  }
  .auth-close { top: 16px; right: 16px; font-size: 24px; }
  .auth-tabs { margin-bottom: 20px; }
  .auth-tab { padding: 10px; font-size: .92rem; }
  .auth-form input { padding: 12px 14px; font-size: .92rem; }
  .auth-form label { font-size: .8rem; }
  .code-input-row { flex-direction: row; gap: 8px; }
  .code-btn { font-size: .76rem !important; padding: 8px 12px !important; }
  .auth-switch { font-size: .82rem; }

  /* --- 论坛 --- */
  .post-card { padding: 18px 16px; border-radius: 12px; }
  .post-header { gap: 10px; margin-bottom: 12px; }
  .post-avatar { width: 38px; height: 38px; font-size: .88rem; }
  .post-title { font-size: 1.02rem; }
  .post-content { font-size: .88rem; line-height: 1.65; }
  .post-actions { gap: 10px; }
  .post-action-btn { font-size: .78rem; padding: 6px 0; }
  .pagination { gap: 4px; flex-wrap: wrap; }
  .pagination button { padding: 8px 12px; font-size: .82rem; }

  /* --- 个人中心 --- */
  .profile-header { flex-direction: column; text-align: center; gap: 16px; }
  .profile-avatar { width: 80px; height: 80px; font-size: 2rem; }
  .profile-avatar-edit { width: 28px; height: 28px; font-size: .8rem; }
  .profile-nickname { font-size: 1.25rem; }
  .profile-labels { justify-content: center; }
  .form-input, .form-textarea { padding: 11px 13px; font-size: .9rem; }

  /* --- 成员列表 --- */
  .member-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member-card { padding: 20px 14px; border-radius: 12px; }
  .member-avatar { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: 12px; }
  .member-nickname { font-size: .95rem; }
  .member-bio { font-size: .76rem; }
  .member-badge, .member-role-badge { font-size: .62rem; padding: 2px 6px; }

  /* --- 管理员面板 --- */
  .admin-layout { flex-direction: column; gap: 16px; }
  .admin-sidebar {
    width: 100%; position: static; display: flex; flex-wrap: wrap;
    gap: 4px; padding: 8px; border-radius: 12px;
  }
  .admin-sidebar a {
    border-left: none; border-bottom: 2px solid transparent;
    padding: 10px 16px; font-size: .82rem; border-radius: 8px;
  }
  .admin-sidebar a.active { border-bottom-color: transparent; background: rgba(201,169,110,.1); border-left: none; }
  .admin-table { font-size: .76rem; }
  .admin-table th { padding: 8px 6px; font-size: .72rem; }
  .admin-table td { padding: 8px 6px; }
  .admin-user-avatar { width: 30px; height: 30px; font-size: .76rem; }
  .admin-inline-form input { width: 60px !important; font-size: .76rem; }
  .admin-btn-sm { font-size: .72rem; padding: 4px 10px; }

  /* --- Toast --- */
  .toast-container { top: 12px; right: 12px; left: 12px; }
  .toast { min-width: auto; max-width: 100%; font-size: .85rem; padding: 10px 16px; }

  /* --- 空状态 --- */
  .empty-state { padding: 40px 16px; }
  .empty-state .icon { font-size: 2.4rem; }
  .empty-state p { font-size: .9rem; }
}

/* ===== 小手机 (≤480px) ===== */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* 导航 */
  .nav-logo { font-size: .9rem; letter-spacing: 1px; gap: 5px; }
  .nav-logo .logo-mark { width: 24px; height: 24px; }
  .nav-user { margin-right: 4px; max-width: 40%; }
  .nav-user-name { max-width: 40px; font-size: .75rem; }
  .nav-user-avatar { width: 24px; height: 24px; }
  .nav-menu { padding: 20px 20px; gap: 14px; }
  .nav-menu a { font-size: .9rem; }

  /* Hero */
  .hero h1 { font-size: 1.65rem; letter-spacing: 2px; }
  .hero-desc { font-size: .85rem; }

  /* Page Hero */
  .page-hero { padding: 84px 0 40px; }
  .page-hero h1 { font-size: 1.5rem; }

  /* 标题 */
  .section-title { font-size: 1.35rem; letter-spacing: 1.5px; }
  .section-subtitle { font-size: .85rem; }

  /* 网格 */
  .cards-grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-steps { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }

  /* 统计数字 */
  .stat-item .num { font-size: 2rem; }
  .stat-item .num .suffix { font-size: 1rem; }
  .stat-item .label { font-size: .72rem; letter-spacing: 1px; }
  .stat-item { padding: 12px; }

  /* 卡片 */
  .service-card { padding: 24px 18px; }
  .service-card h3 { font-size: 1.05rem; }
  .service-icon { width: 48px; height: 48px; margin-bottom: 20px; }
  .service-icon svg { width: 24px; height: 24px; }

  /* 服务详情 */
  .service-detail-visual { height: 180px; }
  .service-detail-text h3 { font-size: 1.3rem; }
  .service-detail-text ul li { font-size: .85rem; }

  /* CTA */
  .cta-section h2 { font-size: 1.4rem; }

  /* 表单 */
  .contact-form { padding: 22px 16px; }

  /* 认证弹窗 */
  .auth-modal { padding: 52px 16px 24px; }
  .auth-tabs { margin-bottom: 16px; }
  .auth-tab { padding: 8px; font-size: .88rem; }

  /* 论坛 */
  .post-card { padding: 16px 14px; }
  .post-avatar { width: 34px; height: 34px; font-size: .82rem; }
  .post-title { font-size: .95rem; }
  .post-content { font-size: .84rem; }

  /* 管理员表格 - 卡片模式 */
  .admin-table { font-size: .72rem; }
  .admin-table th { padding: 6px 4px; }
  .admin-table td { padding: 6px 4px; }
  .admin-user-cell { gap: 6px; }
  .admin-user-avatar { width: 26px; height: 26px; font-size: .68rem; }

  /* 按钮 */
  .btn { padding: 11px 22px; font-size: .82rem; }
  .pagination button { padding: 7px 10px; font-size: .78rem; }

  /* Toast */
  .toast-container { top: 10px; right: 10px; left: 10px; }

  /* 回到顶部 */
  #back-to-top, .back-to-top { bottom: 12px; right: 12px; width: 36px; height: 36px; }

  /* 预加载 */
  .preloader-mark { width: 42px; height: 42px; }
  .preloader-text { font-size: .72rem; letter-spacing: 3px; }
}

/* ===== 超小屏 (≤360px) ===== */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.45rem; }
  .section-title { font-size: 1.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .nav-logo span { display: none; }
  .nav-logo .logo-mark { width: 28px; height: 28px; }
  .auth-tab { font-size: .82rem; padding: 8px 4px; }
  .post-title { font-size: .88rem; }
  .member-badge, .member-role-badge { font-size: .58rem; }
}

/* ===== 触摸设备优化：禁用 backdrop-filter，避免部分移动端 WebView 黑屏/渲染异常 ===== */
@media (hover: none) and (pointer: coarse) {
  .navbar.scrolled,
  .nav-menu,
  .auth-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}


/* ===== 触摸设备优化 ===== */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .team-card:hover,
  .member-card:hover,
  .post-card:hover,
  .feature-item:hover {
    transform: none;
  }
  .nav-menu a:hover::after { width: 0; }
  .nav-menu a:active { color: var(--color-accent); }
  .btn:hover { transform: none; }
  #back-to-top:hover, .back-to-top:hover { transform: none; }
}

/* ===== 兑换码管理 - 使用者展开/折叠 ===== */
.rc-main-row { transition: background .15s; }
.rc-main-row:hover { background: rgba(255,255,255,.03); }
.rc-main-row.rc-exhausted { opacity: .45; }
.rc-main-row.rc-exhausted:hover { opacity: .65; }
.rc-arrow { display: inline-block; transition: transform .2s; font-size: .65rem; color: var(--color-text-muted); }
.rc-detail-row { background: rgba(255,255,255,.015); border-bottom: 1px solid rgba(255,255,255,.05); }
.rc-detail-row.rc-collapsed .rc-expand-btn { display: inline-block; }
.rc-expand-btn:hover { background: rgba(255,255,255,.12) !important; }

/* ===== 举报系统 - 案宗管理 ===== */
.report-row-pending { background: rgba(232,93,61,.04); }
.report-row-pending:hover { background: rgba(232,93,61,.08); }
.report-row-ban { opacity: .7; }
.report-row-dismiss { opacity: .55; }
.report-status { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: .72rem; font-weight: 600; }
.report-status-pending { background: rgba(232,93,61,.15); color: #e85d3d; border: 1px solid rgba(232,93,61,.25); }
.report-status-ban { background: rgba(232,93,61,.1); color: #c96; border: 1px solid rgba(232,93,61,.15); }
.report-status-dismiss { background: rgba(255,255,255,.03); color: var(--color-text-muted); border: 1px solid rgba(255,255,255,.06); }
.ban-dur-btn { padding: 4px 10px; font-size: .75rem; background: var(--color-bg-3); color: var(--color-text); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; cursor: pointer; font-family: inherit; transition: all .15s; }
.ban-dur-btn:hover { border-color: rgba(232,93,61,.4); color: #e85d3d; }
.ban-dur-btn.active { background: rgba(232,93,61,.2); color: #e85d3d; border-color: rgba(232,93,61,.5); font-weight: 700; }

