/* ============================================================
   朝阳元启科技直播 · 全站样式
   主题：薄荷青底 · 蓝绿主调
   目标：清爽、专业，区别于常见暗紫金直播模板
   ============================================================ */

:root {
  /* —— 背景与卡片（青白冷调·加深一档） —— */
  --bg: #eef6f5;
  --bg-2: #e3f0ee;
  --bg-3: #d5e8e5;
  --card: #fbfdfd;
  --card-2: #f1f8f7;
  --border: #d4e4e2;
  --border-strong: #b7d2cf;

  /* —— 文字（冷墨青·加深） —— */
  --text: #10262a;
  --text-2: #3f5a5e;
  --text-3: #6e8a8e;

  /* —— 主色：蓝绿（青碧） —— */
  --primary: #0d8f83;
  --primary-2: #0a7068;
  --primary-soft: #d3efeb;
  --accent: #1279b8;
  --accent-2: #3aa3d8;
  --accent-soft: #d6ecf7;

  /* —— 辅助色 —— */
  --gold: #c98a12;
  --gold-2: #e0a63a;
  --green: #17976a;
  --pink: #d94f8c;
  --teal: #0d9a92;
  --blue: #2f74e6;

  /* —— 渐变（碧海青蓝配色·加深） —— */
  --grad-1: linear-gradient(135deg, #0d8f83 0%, #1279b8 100%);
  --grad-2: linear-gradient(135deg, #1279b8 0%, #14a3b8 100%);
  --grad-3: linear-gradient(135deg, #0d8f83 0%, #1b8fb8 100%);
  --grad-soft: linear-gradient(135deg, #d3efeb 0%, #d6ecf7 100%);
  --grad-bg: linear-gradient(180deg, #eef6f5 0%, #e3f0ee 100%);
  --grad-primary: linear-gradient(135deg, #0d8f83 0%, #1279b8 100%);

  /* —— 阴影（青蓝柔光·加深） —— */
  --shadow: 0 4px 24px rgba(13, 143, 131, 0.12);
  --shadow-md: 0 8px 32px rgba(16, 38, 42, 0.10);
  --shadow-hover: 0 16px 48px rgba(13, 143, 131, 0.24);
  --shadow-card: 0 2px 12px rgba(16, 38, 42, 0.05), 0 1px 2px rgba(16, 38, 42, 0.04);

  /* —— 圆角（更圆润的现代感） —— */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--grad-bg);
  color: var(--text);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea {
  font-family: inherit;
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: all 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 143, 131, 0.12);
  background: var(--card);
}

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

/* ============== 通用按钮 ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: 1.5px solid transparent;
  letter-spacing: 0.2px;
}
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  background: var(--grad-1);
  color: white;
  box-shadow: 0 6px 20px rgba(13, 143, 131, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 143, 131, 0.45);
  color: white;
}
.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--card);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.btn-ghost {
  color: var(--text-2);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--primary);
  background: var(--primary-soft);
}
.btn-danger {
  background: var(--primary-soft);
  color: var(--primary-2);
  border-color: var(--primary-soft);
}
.btn-danger:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ============== 顶部导航 ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 246, 245, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--grad-1);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: white;
  box-shadow: 0 6px 16px rgba(13, 143, 131, 0.35);
  transform: rotate(-5deg);
  transition: transform 0.3s;
}
.logo:hover .logo-mark { transform: rotate(0deg) scale(1.05); }
.logo-text {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-nav { display: flex; gap: 60px; flex: 1; margin-left: 100px;}
.main-nav a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.user-area { display: flex; align-items: center; gap: 12px; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}
.user-chip:hover { border-color: var(--primary); color: var(--primary); }
.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-1);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
}
.user-name { font-size: 13px; font-weight: 600; }
.user-balance {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  padding-left: 10px;
  border-left: 1.5px dashed var(--border);
}
.nav-toggle {
  display: none;
  font-size: 22px;
  color: var(--text);
}

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* —— 图片横幅模式 —— */
.hero-banner {
  padding: 140px 0 140px;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: white;
}

.hero-banner .hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 38, 42, 0.55) 0%, rgba(13, 143, 131, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-banner .hero-content { z-index: 2; }

.hero-banner .hero-badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-banner .btn-outline {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  color: white;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
}
.glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8ad5c9 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: floatGlow 10s ease-in-out infinite;
}
.glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #a5d8ec 0%, transparent 70%);
  bottom: -200px; right: -200px;
  animation: floatGlow 12s ease-in-out infinite reverse;
}
.glow-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #9fdcc6 0%, transparent 70%);
  top: 30%; right: 20%;
  animation: floatGlow 14s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 50px) scale(1.05); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 143, 131, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 143, 131, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}
.hero-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text);
}
.grad-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.grad-text-2 {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 70px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 36px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  min-width: 160px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.stat strong {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.stat span { font-size: 13px; color: var(--text-2); margin-top: 4px; font-weight: 500; }

/* ============== 通用章节 ============== */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.title-deco {
  display: inline-block;
  margin-right: 8px;
  font-size: 32px;
  filter: drop-shadow(0 2px 8px rgba(13, 143, 131, 0.3));
}
.section-sub { color: var(--text-2); font-size: 15px; }

/* ============== 直播间卡片 ============== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.live-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}
.live-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  color: var(--text);
}
.live-cover {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--bg-2);
}
.live-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.live-card:hover .live-cover img { transform: scale(1.08); }
.live-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(16, 38, 42, 0.5));
}
.live-tag, .live-online {
  position: absolute;
  top: 14px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}
.live-tag {
  left: 14px;
  background: var(--primary);
  color: white;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 12px rgba(13, 143, 131, 0.4);
}
.live-online {
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-weight: 600;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 143, 131, 0.6); }
  50% { box-shadow: 0 0 0 10px rgba(13, 143, 131, 0); }
}
.live-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.3s;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.live-card:hover .live-play { opacity: 1; }
.live-info { padding: 20px; }
.live-host { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.live-host-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--card);
  box-shadow: 0 0 0 2px var(--primary);
}
.live-host-name { font-size: 15px; font-weight: 700; }
.live-host-tag { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.live-title { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ============== Feature Cards ============== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  font-size: 44px;
  margin-bottom: 18px;
  display: inline-block;
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon { transform: scale(1.15) rotate(-5deg); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 13px; line-height: 1.7; }

/* ============== Page Banner ============== */
.page-banner {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(13, 143, 131, 0.15), transparent 60%);
  pointer-events: none;
}
.page-banner h1 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}
.page-banner p { color: var(--text-2); position: relative; font-size: 15px; }
.recharge-banner { padding: 80px 0 30px; }

/* ============== 主播列表 ============== */
.streamer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.streamer-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.streamer-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(13, 143, 131, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.streamer-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  color: var(--text);
}
.streamer-card:hover::before { opacity: 1; }
.streamer-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
}
.streamer-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #0d8f83, #1279b8, #14a3b8, #0d8f83);
  animation: rotate 5s linear infinite;
  filter: blur(0.5px);
}
@keyframes rotate { to { transform: rotate(360deg); } }
.streamer-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--card);
}
.streamer-live {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  border: 2.5px solid var(--card);
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(13, 143, 131, 0.4);
}
.streamer-name { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.streamer-sig { color: var(--text-2); font-size: 13px; margin-bottom: 16px; min-height: 40px; line-height: 1.6; }
.streamer-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 20px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--border);
}
.streamer-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--grad-1);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 14px rgba(13, 143, 131, 0.3);
  transition: all 0.2s;
}
.streamer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 143, 131, 0.45);
  color: white;
}

/* ============== 直播详情页 ============== */
.live-page {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  padding: 24px 0;
}
.live-stage { min-width: 0; }
.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1d20;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--card);
}
.player { width: 100%; height: 100%; object-fit: contain; }
.player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 143, 131, 0.42), rgba(18, 121, 184, 0.42));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 2;
}
.player-overlay.hidden { opacity: 0; pointer-events: none; }
.player-play {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: grid;
  place-items: center;
  font-size: 32px;
  color: var(--primary);
  backdrop-filter: blur(10px);
  padding-left: 6px;
  transition: transform 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.player-overlay:hover .player-play { transform: scale(1.1); }
.player-hint { color: white; font-size: 14px; font-weight: 600; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.danmu-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.danmu {
  position: absolute;
  white-space: nowrap;
  color: white;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  animation: danmuFly 8s linear forwards;
}
@keyframes danmuFly {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}
.danmu.gift { color: var(--accent-2); font-size: 22px; }
.danmu.system { color: var(--primary-soft); }

.live-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
  gap: 12px;
}
.live-meta-left { display: flex; align-items: center; gap: 14px; }
.live-meta-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--primary); box-shadow: 0 2px 8px rgba(13, 143, 131, 0.2); }
.live-meta-name { font-weight: 700; font-size: 16px; }
.live-meta-id { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.live-meta-right { display: flex; align-items: center; gap: 14px; }
.live-meta-online { font-size: 13px; color: var(--primary); font-weight: 700; padding: 6px 12px; background: var(--primary-soft); border-radius: var(--radius-pill); }

.live-side {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: fit-content;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.side-tabs {
  display: flex;
  background: var(--card-2);
  border-bottom: 1.5px solid var(--border);
}
.side-tabs .tab {
  flex: 1;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.2s;
}
.side-tabs .tab.active {
  color: var(--primary);
  background: var(--card);
  position: relative;
}
.side-tabs .tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--grad-1);
  border-radius: 2px;
}
.tab-pane { display: none; padding: 18px; }
.tab-pane.active { display: block; }

.chat-list {
  height: 380px;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 12px;
}
.chat-list::-webkit-scrollbar { width: 4px; }
.chat-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.chat-item {
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--card-2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  animation: chatIn 0.3s ease;
  border: 1px solid var(--border);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.chat-name { color: var(--primary); font-weight: 700; margin-right: 6px; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; padding: 10px 14px; font-size: 13px; }
.chat-form button {
  padding: 10px 18px;
  background: var(--grad-1);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.chat-form button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13, 143, 131, 0.3); }
.chat-form button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.balance-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--grad-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}
.balance-box strong { color: var(--primary); font-family: 'Orbitron', sans-serif; font-size: 20px; }

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.gift-item {
  background: var(--card-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 4px;
  text-align: center;
  transition: all 0.2s;
}
.gift-item:hover, .gift-item.selected {
  border-color: var(--primary);
  transform: scale(1.05);
  background: var(--primary-soft);
  box-shadow: 0 4px 12px rgba(13, 143, 131, 0.15);
}
.gift-icon { font-size: 30px; margin-bottom: 6px; }
.gift-name { font-size: 11px; color: var(--text); margin-bottom: 3px; font-weight: 600; }
.gift-price { font-size: 11px; color: var(--primary); font-weight: 700; }

.gift-actions { display: flex; flex-direction: column; gap: 10px; }

/* ============== 充值 ============== */
.recharge-banner { padding: 80px 0 30px; }

.recharge-section { padding: 50px 0 80px; }

.recharge-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.recharge-left { }

.recharge-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.recharge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1.5px dashed var(--border);
}

.recharge-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.recharge-subtitle {
  font-size: 13px;
  color: var(--text-3);
}

.recharge-amounts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.amount-card {
  background: var(--card-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 8px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.amount-card:hover, .amount-card.selected {
  border-color: var(--primary);
  transform: translateY(-6px) scale(1.02);
  background: var(--primary-soft);
  box-shadow: 0 12px 32px rgba(13, 143, 131, 0.25);
}

.amount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--grad-1);
  color: white;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: opacity 0.25s;
}

.amount-card:hover .amount-badge, .amount-card.selected .amount-badge {
  opacity: 1;
}

.amount-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.amount-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
}

.amount-yuan {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
}

.amount-gold {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 8px;
  line-height: 1.6;
}

.amount-gold-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.amount-bonus {
  display: inline-block;
  font-size: 10px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
  background: rgba(13, 143, 131, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.recharge-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--card-2);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
}

.recharge-custom label {
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  font-weight: 600;
}

.recharge-custom input { flex: 1; }

.recharge-custom span { color: var(--text-2); font-weight: 500; }

/* —— 右侧信息卡片 —— */
.recharge-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recharge-info-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}

.recharge-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.recharge-info-icon { font-size: 28px; }

.recharge-info-header h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.recharge-info-balance {
  text-align: center;
  padding: 20px;
  background: var(--grad-soft);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.balance-label {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.balance-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.balance-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
}

.balance-unit {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}

.recharge-info-divider {
  height: 1.5px;
  background: var(--border);
  margin-bottom: 16px;
}

.recharge-info-tips {
  margin: 0;
}

.recharge-info-tips p {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 8px;
  line-height: 1.6;
}

.recharge-info-tips p:last-child { margin-bottom: 0; }

.recharge-benefit-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.recharge-benefit-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-2);
  border-bottom: 1px dashed var(--border);
}

.benefit-list li:last-child { border-bottom: none; }

.benefit-icon { font-size: 16px; flex-shrink: 0; }

/* ============== 联系我们 ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
.contact-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; color: var(--primary); }
.contact-card p { color: var(--text-2); margin-bottom: 14px; line-height: 1.85; }
.company-meta { list-style: none; margin-top: 24px; }
.company-meta li { padding: 10px 0; border-top: 1px dashed var(--border); font-size: 14px; }
.company-meta strong { color: var(--text); margin-right: 10px; font-weight: 600; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .ci {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border-radius: var(--radius-sm);
}
.contact-list strong { display: block; color: var(--text); margin-bottom: 6px; font-weight: 700; }
.contact-list p { margin: 0; color: var(--text-2); font-size: 14px; }
.contact-tip {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  color: #0d4f70;
  font-size: 13px;
  font-weight: 500;
}

/* ============== 广告合作 ============== */
.ads-intro {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
}
.ads-intro h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; color: var(--primary); }
.ads-intro p { color: var(--text-2); line-height: 1.85; font-size: 15px; }

.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.ads-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.ads-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.ads-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.ads-card:hover::before { transform: scaleX(1); }
.ads-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border-radius: var(--radius-sm);
  font-size: 28px;
  margin-bottom: 18px;
}
.ads-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.ads-card > p { color: var(--text-2); font-size: 14px; line-height: 1.75; margin-bottom: 16px; }
.ads-feature { list-style: none; }
.ads-feature li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 13px;
  color: var(--text-2);
  border-top: 1px dashed var(--border);
}
.ads-feature li:first-child { border-top: none; }
.ads-feature li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  color: var(--primary);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.process-step {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.process-step h4 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

.ads-contact { padding-top: 20px; }
.ads-cta { text-align: center; }
.ads-cta h2 { font-size: 24px; }
.ads-cta > p { max-width: 640px; margin-left: auto; margin-right: auto; }
.ads-cta .contact-list { max-width: 560px; margin: 24px auto 0; text-align: left; }
.ads-cta .contact-list li { justify-content: flex-start; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ads-card { padding: 24px 20px; }
  .ads-intro { padding: 24px 20px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ============== 登录 / 注册 ============== */
.auth-page { min-height: calc(100vh - 72px - 240px); display: grid; place-items: center; padding: 50px 0; }
.auth-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  width: 100%;
  max-width: 920px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.auth-card-wide { max-width: 980px; grid-template-columns: 0.8fr 1.4fr; }
.auth-side {
  padding: 56px 44px;
  background: var(--grad-1);
  position: relative;
  overflow: hidden;
}
.auth-side::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -70px; right: -70px;
}
.auth-side::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -40px; left: -40px;
}
.auth-side h2 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
}
.auth-side p { color: rgba(255, 255, 255, 0.92); position: relative; line-height: 1.7; }
.auth-side-warn { background: var(--grad-3); }
.auth-side-list {
  list-style: none;
  margin-top: 32px;
  position: relative;
}
.auth-side-list li {
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-side-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.auth-form { padding: 56px 44px; }
.auth-form h1 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.auth-tip { color: var(--text-2); margin-bottom: 28px; font-size: 13px; }
.auth-tip a { color: var(--primary); font-weight: 600; }
.auth-form form label {
  display: block;
  margin-bottom: 18px;
}
.auth-form form label > span {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}
.auth-form form input { padding: 14px 16px; }
.auth-form form small { display: block; color: var(--text-3); font-size: 11px; margin-top: 6px; }
.auth-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}
.checkbox input { width: 16px; height: 16px; accent-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-demo {
  margin-top: 26px;
  padding: 16px;
  background: var(--card-2);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.85;
}
.auth-demo code { color: var(--primary); background: var(--primary-soft); padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* ============== 协议页 ============== */
.protocol-banner {
  padding: 80px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.protocol-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(13, 143, 131, 0.18), transparent 60%);
  pointer-events: none;
}
.protocol-banner-icon {
  font-size: 52px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(13, 143, 131, 0.3));
  position: relative;
  display: inline-block;
}
.protocol-banner h1 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.protocol-banner p {
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  position: relative;
  line-height: 1.7;
}

/* —— 协议列表导航（上方） —— */
.protocol-nav-top {
  background: var(--card);
  border-bottom: 1.5px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.protocol-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.protocol-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.protocol-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.protocol-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.2s;
  font-weight: 500;
  border: 1px solid transparent;
}
.protocol-nav-list a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}
.protocol-nav-list a.active {
  background: var(--grad-1);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(13, 143, 131, 0.3);
}
.protocol-nav-icon { font-size: 14px; flex-shrink: 0; }
.protocol-nav-text { white-space: nowrap; }

.protocol-page {
  padding: 24px 0 60px;
}

.protocol-content {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 56px;
  min-width: 0;
  box-shadow: var(--shadow-card);
  max-width: 960px;
  margin: 0 auto;
}
.protocol-meta {
  display: none;
  gap: 20px;
  font-size: 12px;
  color: var(--text-3);
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1.5px dashed var(--border);
  flex-wrap: wrap;
}
.protocol-section { margin-bottom: 32px; }
.protocol-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}
.protocol-section p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.95;
  text-align: justify;
}
.protocol-footer {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1.5px dashed var(--border);
  text-align: center;
}
.protocol-footer p {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 6px;
}
.protocol-footer .btn { margin-top: 18px; }

/* ============== 页脚协议 ============== */
.footer-protocols {
  background: var(--card-2);
  border-top: 1.5px solid var(--border);
  padding: 28px 0;
}
.footer-protocols h4 {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
}
.footer-protocols-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}
.footer-protocols-list a {
  font-size: 12px;
  color: var(--text-3);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.footer-protocols-list a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

/* ============== 个人中心 ============== */
.user-page { padding: 0 0 60px; }
.user-hero {
  position: relative;
  background: var(--grad-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}
.user-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-1);
  opacity: 0.1;
}
.user-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 143, 131, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 143, 131, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.user-hero-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(13, 143, 131, 0.3) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  filter: blur(40px);
}
.user-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 44px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.user-avatar-lg {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--grad-1);
  display: grid;
  place-items: center;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: white;
  border: 4px solid var(--card);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(13, 143, 131, 0.35);
}
.user-hero-info { flex: 1; min-width: 0; }
.user-hero-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.user-hero-info p { color: var(--text-2); font-size: 13px; margin-bottom: 4px; }
.user-hero-balance { text-align: right; }
.balance-label { color: var(--text-2); font-size: 13px; margin-bottom: 6px; font-weight: 600; }
.balance-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 38px;
  font-weight: 900;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 14px;
}
.balance-num small { font-size: 14px; color: var(--text-2); margin-left: 8px; -webkit-text-fill-color: var(--text-2); }

.user-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.user-tile {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
  color: var(--text);
}
.user-tile:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--primary);
}
.tile-icon {
  display: block;
  font-size: 36px;
  margin-bottom: 10px;
  transition: transform 0.3s;
}
.user-tile:hover .tile-icon { transform: scale(1.15) rotate(-8deg); }

.user-block {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}
.user-block h2 { font-size: 19px; font-weight: 800; margin-bottom: 22px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 14px 0; border-bottom: 1px dashed var(--border); text-align: left; }
.info-table th { color: var(--text-2); font-weight: 600; width: 140px; }
.verified { color: var(--green); font-size: 12px; margin-left: 6px; font-weight: 600; }
.mask-id { color: var(--text-3); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
}
.badge-admin { background: var(--grad-1); color: white; border-color: transparent; }
.badge-warn { background: var(--accent-soft); color: #0d4f70; border-color: var(--accent); }
.empty-tip { color: var(--text-3); text-align: center; padding: 32px 0; }
.empty-tip a { color: var(--primary); font-weight: 600; }

/* ============== 弹窗 ============== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(16, 38, 42, 0.5);
  backdrop-filter: blur(8px);
}
.modal-box {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(16, 38, 42, 0.2);
  animation: modalIn 0.3s;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-box h3 { text-align: center; margin-bottom: 22px; font-size: 20px; font-weight: 800; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--card-2);
  font-size: 20px;
  color: var(--text-2);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--primary); color: white; }
.pay-modal-box {
  text-align: center;
}

.pay-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-modal-icon { font-size: 28px; }

.pay-modal-box h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.pay-info {
  background: var(--grad-soft);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1.5px solid var(--border);
}

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

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

.pay-info-label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}

.pay-info-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.pay-info-value-amount strong {
  color: var(--primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
}

.pay-qr { text-align: center; margin-bottom: 22px; }

.pay-qr-border {
  display: inline-block;
  padding: 12px;
  background: var(--grad-soft);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.pay-qr img {
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-md);
}

.pay-qr p { color: var(--text-2); font-size: 13px; font-weight: 500; margin-top: 14px; }

.pay-actions { display: flex; gap: 12px; }

.pay-actions .btn { flex: 1; }

/* ============== 警告提示 ============== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 14px;
  border: 1.5px solid;
  font-weight: 500;
}
.alert-success { background: rgba(23, 151, 106, 0.08); color: #0f5c40; border-color: rgba(23, 151, 106, 0.3); }
.alert-error { background: var(--primary-soft); color: var(--primary-2); border-color: rgba(13, 143, 131, 0.3); }

/* ============== 页脚 ============== */
.site-footer {
  background: var(--card);
  border-top: 1.5px solid var(--border);
  margin-top: 90px;
  padding: 60px 0 0;
  box-shadow: 0 -4px 24px rgba(13, 143, 131, 0.04);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 44px;
}
.footer-logo {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-desc { color: var(--text-2); font-size: 13px; line-height: 1.85; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col a, .footer-col p {
  display: block;
  color: var(--text-2);
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1.5px solid var(--border);
  padding: 22px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
}
.footer-bottom p { margin: 4px 0; }
.footer-warning { color: var(--primary); font-weight: 600; }

/* ============== 安装页 ============== */
.install-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--grad-bg);
  padding: 40px 20px;
}
.install-card {
  max-width: 620px;
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.install-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 26px; }
.install-result { padding: 22px; border-radius: var(--radius); margin-bottom: 26px; }
.install-result.is-ok { background: rgba(23, 151, 106, 0.08); border: 1.5px solid rgba(23, 151, 106, 0.3); color: #0f5c40; }
.install-result.is-fail { background: var(--primary-soft); border: 1.5px solid rgba(13, 143, 131, 0.3); color: var(--primary-2); }
.install-result p { padding: 4px 0; font-size: 14px; }
.install-tips { background: var(--card-2); padding: 22px; border-radius: var(--radius); border: 1.5px solid var(--border); }
.install-tips h3 { margin-bottom: 12px; font-weight: 700; }
.install-tips ol { padding-left: 22px; color: var(--text-2); font-size: 13px; line-height: 1.85; }
.install-tips code { background: var(--card); padding: 2px 8px; border-radius: 4px; color: var(--primary); font-weight: 600; }

/* ============== 响应式 ============== */
@media (max-width: 1024px) {
  .live-grid, .streamer-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .live-page { grid-template-columns: 1fr; }
  .live-side { position: static; }
  .user-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .recharge-layout { grid-template-columns: 1fr; }
  .recharge-info-card { position: static; }
  .recharge-amounts { grid-template-columns: repeat(3, 1fr); }
  .auth-card, .auth-card-wide { max-width: 760px; grid-template-columns: 1fr; }
  .auth-side { padding: 40px 32px; }
  .auth-side-list { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; height: 64px; }
  .main-nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--card);
    flex-direction: column;
    gap: 0;
    border-bottom: 1.5px solid var(--border);
    display: none;
    padding: 12px 0;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; width: 100%; }
  .main-nav a.active::after { display: none; }
  .nav-toggle { display: block; }
  .user-area .user-name, .user-area .user-balance { display: none; }
  .hero { padding: 60px 0 70px; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stat { padding: 16px 24px; min-width: 130px; }
  .stat strong { font-size: 24px; }
  .live-grid, .streamer-grid, .feature-grid { grid-template-columns: 1fr; }
  .user-grid { grid-template-columns: 1fr 1fr; }
  .user-hero-inner { flex-direction: column; text-align: center; }
  .user-hero-balance { text-align: center; }
  .user-avatar-lg { margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .auth-card, .auth-card-wide { grid-template-columns: 1fr; max-width: 480px; }
  .auth-side { display: none; }
  .auth-form { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .recharge-amounts { grid-template-columns: repeat(2, 1fr); }
  .gift-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .page-banner { padding: 50px 0 30px; }
  .page-banner h1 { font-size: 30px; }
  .recharge-card { padding: 28px 22px; }
  .recharge-custom { flex-direction: column; align-items: stretch; }
  .modal-box { padding: 28px 22px; }
  .pay-qr img { width: 180px; height: 180px; }
  .protocol-banner { padding: 56px 0 36px; }
  .protocol-banner h1 { font-size: 26px; }
  .protocol-banner-icon { font-size: 40px; }
  .protocol-content { padding: 28px 22px; }
  .protocol-nav-title { display: none; }
  .protocol-nav-list a { font-size: 12px; padding: 6px 10px; }
  .footer-protocols-list { gap: 6px 10px; }
  .footer-protocols-list a { font-size: 11px; padding: 4px 8px; }
  .contact-card { padding: 28px 22px; }
  .live-meta { flex-direction: column; align-items: flex-start; }
}
