/* ==========================================================================
   MyTM Official Consumer Website Stylesheet
   Modern, Dark Flow Theme, Responsive & Accessible
   ========================================================================== */

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-input: #1e293b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #6366f1;
  --border-danger: rgba(239, 68, 68, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #00f0ff;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --gradient-brand: linear-gradient(135deg, #00f0ff 0%, #6366f1 50%, #8b5cf6 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-danger: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(185, 28, 28, 0.05) 100%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
  --shadow-danger-glow: 0 0 30px rgba(239, 68, 68, 0.2);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body.dark-theme {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 渐变与强调字 */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: #4f46e5;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.btn-danger {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-danger:hover {
  background: #b91c1c;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* 顶部导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.82);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #00f0ff 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.logo-icon.small {
  width: 28px;
  height: 28px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: var(--accent-cyan);
}

.nav-item.nav-danger {
  color: #f87171;
}

.nav-item.nav-danger:hover {
  color: #ef4444;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s;
}

/* 首屏 Hero */
.hero-section {
  padding: 80px 0 90px;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-metric {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border-color);
}

/* Hero 右侧预览视窗 */
.hero-preview {
  position: relative;
}

.preview-window {
  background: #131b2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 8px;
}

.window-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-left: 8px;
}

.window-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.focus-timer-card {
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.focus-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.pulsing-circle {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.timer-dial {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dial-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.dial-progress {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 90;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

.timer-display {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.time-main {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.time-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.task-info-bar {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.task-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.task-output-plan {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.floating-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.takeover-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-text strong {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.stat-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 区域通用头 */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.text-center {
  text-align: center;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-tag.tag-danger {
  color: #f87171;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

/* 核心特性网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--gradient-card);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card.highlight {
  border-color: rgba(0, 240, 255, 0.4);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.08) 0%, rgba(17, 24, 39, 0.7) 100%);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card.highlight .feature-icon-box {
  background: rgba(0, 240, 255, 0.18);
  color: var(--accent-cyan);
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 下载专区 */
.download-section {
  background: radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.download-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.download-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.platform-icon {
  margin-bottom: 20px;
}
.windows-color { color: #38bdf8; }
.android-color { color: #4ade80; }
.apple-color { color: #f8fafc; }

.platform-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.platform-version {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 24px;
}

.platform-features {
  list-style: none;
  text-align: left;
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-btn-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.qrcode-download-banner {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.qrcode-graphic {
  background: white;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qrcode-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.qrcode-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 反馈与工单中心 */
.feedback-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: flex-start;
}

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
}

.card-head {
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea.form-control {
  resize: vertical;
}

.input-with-button {
  display: flex;
  gap: 10px;
}

.input-with-button .form-control {
  flex: 1;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 工单查询结果展示 */
.track-result-box {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeIn 0.3s ease;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ticket-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.status-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #374151;
  color: #e5e7eb;
}
.status-badge.pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.status-badge.processing { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-badge.replied { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.status-badge.closed { background: rgba(156, 163, 175, 0.15); color: #9ca3af; }

.result-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.result-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.result-section {
  margin-top: 12px;
}

.result-section label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.result-content {
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  white-space: pre-wrap;
}

.reply-section {
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
  margin-top: 16px;
}

.result-reply {
  font-size: 0.92rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid #38bdf8;
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  white-space: pre-wrap;
}

/* 账户注销板块 (重点合规) */
.delete-section {
  background: radial-gradient(circle at 50% 30%, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
}

.delete-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.danger-warning-card {
  background: var(--gradient-danger);
  border: 1px solid var(--border-danger);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-danger-glow);
}

.warning-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f87171;
  margin-bottom: 20px;
}

.warning-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.warning-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.warning-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #fca5a5;
  line-height: 1.6;
}

.item-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 2px;
}

.item-tag.tag-red {
  background: #dc2626;
  color: #ffffff;
}

.warning-item.critical {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.critical-text {
  color: #ffffff;
  font-size: 0.92rem;
}

.store-guide-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 10px;
}

.store-guide-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.store-guide-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guide-col strong {
  font-size: 0.82rem;
  color: #e2e8f0;
  display: block;
  margin-bottom: 6px;
}

.guide-col ol {
  padding-left: 18px;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* 注销表单卡片 */
.delete-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.auth-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.checkbox-agreement {
  margin: 12px 0 8px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #fca5a5;
  line-height: 1.5;
}

.checkbox-container input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: #ef4444;
}

/* 页脚 */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  background: #080c14;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 36px;
}

.footer-brand {
  max-width: 280px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links-group {
  display: flex;
  gap: 56px;
}

.link-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-col h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.link-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.link-col a:hover {
  color: var(--accent-cyan);
}

.api-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #34d399;
}

.status-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

.status-dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

.status-dot-yellow {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.server-endpoint {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Toast 提示 */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 420px;
}

.toast.success { border-color: rgba(16, 185, 129, 0.4); }
.toast.error { border-color: rgba(239, 68, 68, 0.4); }
.toast.info { border-color: rgba(59, 130, 246, 0.4); }

/* 模态框 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  background: #131b2e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  text-align: left;
}

/* 导航栏用户与积分 */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.points-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.points-pill-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.pill-coin {
  font-size: 1rem;
}

.pill-number {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.pill-unit {
  font-size: 0.72rem;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.user-profile-menu-container {
  position: relative;
}

.user-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-avatar-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar-char {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
}

.user-display-email {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  z-index: 100;
  animation: fadeIn 0.15s ease;
}

.dropdown-header {
  padding: 10px 16px 8px;
}

.dropdown-header .user-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.dropdown-header .user-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: var(--text-primary);
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dropdown-item.danger {
  color: #f87171;
}

.dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.12);
}

/* 导航栏动作容器与语言选择器 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lang-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
}

.lang-text {
  font-size: 0.86rem;
  font-weight: 600;
}

.lang-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  padding: 6px;
  min-width: 145px;
  z-index: 120;
  animation: fadeIn 0.15s ease-out;
}

.lang-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.lang-dropdown-item.active {
  color: var(--accent-cyan);
  font-weight: 700;
  background: rgba(0, 240, 255, 0.08);
}

.dropdown-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.dropdown-check {
  margin-left: auto;
  color: var(--accent-cyan);
}

/* 关于我们 (About Us) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.about-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

/* 模态框通用关闭按钮与头部 */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-header-simple {
  text-align: center;
  margin-bottom: 20px;
}

.modal-sub {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 6px;
}

.auth-modal-card {
  position: relative;
  max-width: 420px;
  text-align: left;
}

/* 积分模态框 */
.points-modal-card {
  position: relative;
  max-width: 760px;
  width: 95%;
  max-height: 88vh;
  overflow-y: auto;
  text-align: left;
  padding: 28px;
}

.points-hero-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 24px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.points-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coin-icon {
  font-size: 1.3rem;
}

.hero-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.streak-badge {
  font-size: 0.8rem;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.hero-card-middle {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-points-num {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  letter-spacing: -0.5px;
}

.hero-points-unit {
  font-size: 1.1rem;
  color: #fbbf24;
  font-weight: 700;
}

.hero-card-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.checkin-tag {
  margin-left: auto;
  font-size: 0.78rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.points-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
}

/* 兑换任务卡片网格 */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.reward-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.25s ease;
}

.reward-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.reward-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.reward-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.reward-type-badge {
  font-size: 0.72rem;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.reward-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.reward-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reward-cost {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fbbf24;
  font-family: var(--font-mono);
}

.reward-stock {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 我的体验券列表 */
.coupon-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.coupon-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--accent-cyan);
}

.coupon-status {
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.coupon-status.available {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.coupon-status.used {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

/* 收支明细列表 */
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.history-reason {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
}

.history-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.history-delta {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 1rem;
}

.history-delta.positive {
  color: #34d399;
}

.history-delta.negative {
  color: #f87171;
}

.loading-placeholder, .empty-placeholder {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 账号与安全设置模态框 */
.settings-modal-card {
  position: relative;
  max-width: 540px;
  text-align: left;
}

.settings-content-box {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.setting-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.badge-success {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 4px;
}

.setting-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}

.danger-zone-accordion {
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.04);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.accordion-head:hover {
  background: rgba(239, 68, 68, 0.08);
}

.danger-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f87171;
}

.accordion-body {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
}

.danger-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.btn-danger-border {
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.btn-danger-border:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fff;
}

/* 渐进式 4 步注销向导模态框 */
.wizard-modal-card {
  position: relative;
  max-width: 620px;
  width: 95%;
  text-align: left;
  padding: 30px;
}

.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.step-node {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.step-node.active {
  color: var(--accent-indigo);
  font-weight: 700;
}

.step-node.completed {
  color: var(--accent-green);
}

.step-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 8px;
}

.wizard-step-content {
  animation: fadeIn 0.2s ease;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.reasons-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-label input[type="radio"] {
  accent-color: var(--accent-indigo);
}

.warning-callout-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}

.warning-callout-box ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #fca5a5;
  line-height: 1.6;
}

.store-refund-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #fde68a;
  line-height: 1.6;
  margin-bottom: 18px;
}

.store-guide-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.guide-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.guide-card strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: #fff;
}

.guide-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.agreement-row {
  margin: 18px 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-red);
  width: 16px;
  height: 16px;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-sm);
}

.auth-tabs .tab-btn {
  flex: 1;
  text-align: center;
  padding: 6px 12px;
  font-size: 0.85rem;
}

.auth-tabs .tab-btn.active {
  background: var(--accent-indigo);
  color: #fff;
}

.input-with-button {
  display: flex;
  gap: 8px;
}

.input-with-button input {
  flex: 1;
}

/* 动效 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .feedback-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b0f19;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .form-row, .store-guide-steps {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-trust {
    flex-wrap: wrap;
  }
  .qrcode-download-banner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links-group {
    flex-wrap: wrap;
    gap: 32px;
  }
}

/* ==========================================================================
   网站顶部广播通知条 (Announcement Bar)
   ========================================================================== */
.site-announcement-bar {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
}

.site-announcement-bar .announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.announcement-badge {
  background: #ffffff;
  color: #4f46e5;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.announcement-content {
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.announcement-close:hover {
  color: #ffffff;
}

/* ==========================================================================
   心流生态 · 个人资产与星币自律商城展区 (Marketplace)
   ========================================================================== */
.marketplace-section {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, rgba(11, 15, 25, 0) 70%),
              var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0;
}

.marketplace-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .marketplace-layout {
    grid-template-columns: 1fr;
  }
}

/* 左侧：个人资产看板 */
.user-asset-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow);
  position: sticky;
  top: 100px;
}

.asset-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.asset-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asset-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #0b0f19;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.asset-user-meta .asset-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.asset-user-meta .asset-role-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-top: 4px;
}

.asset-user-meta .asset-role-badge.is-pro {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  border: none;
  font-weight: 700;
}

.asset-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.asset-metric-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.asset-metric-item:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #38bdf8;
}

.metric-value.amber {
  color: #f59e0b;
}

.metric-value.purple {
  color: #c084fc;
}

.metric-value.emerald {
  color: #34d399;
}

.metric-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.asset-action-btn {
  width: 100%;
  margin-top: 10px;
}

/* 未登录时的资产卡片引导 */
.asset-login-prompt {
  text-align: center;
  padding: 30px 10px;
}

.asset-login-prompt p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 右侧：自律商城商品卡片网格 */
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.product-card.featured {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(17, 24, 39, 0.8) 100%);
}

.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.product-tag.tag-hot {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.product-tag.tag-pro {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.product-tag.tag-limit {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.product-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price .cost-points {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f59e0b;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-price .cost-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

