/* ============================================
   HAVEN PROTOCOL - Main Stylesheet
   高端金融科技感 | 暗网匿名风格
   色彩体系: 深蓝黑底 + 冷青状态 + 暗金交互
   ============================================ */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 深渊底色 */
  --abyss-black: #05080F;
  --deep-coal: #0A0A0C;
  
  /* 文字层级 */
  --cold-white: #FFFFFF;
  --ghost-gray: #CCCCCC;
  --muted-gray: #666666;
  
  /* 尊贵金色系 - 替代青蓝色 */
  --amber-gold: #C5A059;
  --dark-gold: #D4AF37;
  --bright-gold: #E8C967;
  --gold-glow: rgba(212, 175, 55, 0.4);
  
  /* 状态色（保留用于特殊场景） */
  --secure-green: #00FF9D;

  /* 间距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* 字体 */
  --font-mono: 'SF Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;

  /* 过渡 */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* 全局样式 - 深渊底色 */
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: var(--abyss-black);
  color: var(--cold-white);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 深渊背景 - 纯色层 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--abyss-black);
  pointer-events: none;
  z-index: 0;
}

/* 光影层次 - 全局微光 */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 80% 90%, rgba(0, 100, 150, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(0, 80, 120, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--abyss-black);
}

::-webkit-scrollbar-thumb {
  background: var(--muted-gray);
  border-radius: 2px;
}

/* ============================================
   加载仪式蒙层
   ============================================ */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--abyss-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-slow);
}

.loading-screen.fade-out {
  opacity: 0;
}

.loading-content {
  text-align: center;
  width: 80%;
  max-width: 320px;
}

.loading-title {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  animation: flicker 1.5s infinite;
}

.loading-bar-container {
  width: 100%;
  height: 2px;
  background: var(--ghost-gray);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: var(--white);
  transition: width 50ms linear;
}

.loading-status {
  font-size: 10px;
  color: var(--ghost-gray);
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

/* 闪烁动画 */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============================================
   主内容区域
   ============================================ */
.main-app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  transition: opacity var(--transition-slow);
}

.main-app.hidden {
  display: none;
}

/* ============================================
   矩阵粒子背景 Canvas - 深度隐入背景
   ============================================ */
.matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
}

/* ============================================
   中央3D几何体 - Canvas点线球体
   ============================================ */
.geometry-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ============================================
   内容容器 - 长页面滚动布局
   ============================================ */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* 第一屏：页头（占满整屏） */
.header-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-md);
  position: relative;
}

/* 首页背景图 - 只在第一屏显示 */
.header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 极简台面光影切割背景图 */
  background: 
    linear-gradient(to bottom, rgba(5, 8, 15, 0.85) 0%, rgba(5, 8, 15, 0.6) 50%, rgba(5, 8, 15, 0.9) 100%),
    url('../assets/vault-bg.webp?v=2') center/cover no-repeat;
  z-index: -1;
}

/* 首页光影层 - 金色微光 */
.header-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 40%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* 协议状态行 - 尊贵暗金色 */
.header-protocol,
.header-status,
.header-access {
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.header-protocol { animation-delay: 0.2s; }
.header-status { animation-delay: 0.4s; }
.header-access { animation-delay: 0.6s; }

.protocol-label,
.status-label,
.access-label {
  color: #888888;
}

.protocol-value,
.status-value,
.access-value {
  color: var(--amber-gold);
  text-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

/* 主标题 - 纯白 + 金色外发光 */
.main-title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #FFFFFF;
  margin: var(--spacing-xl) 0 var(--spacing-sm);
  text-shadow: 
    0 0 20px rgba(212, 175, 55, 0.2),
    0 0 40px rgba(212, 175, 55, 0.1);
  opacity: 0;
  animation: fadeInScale 0.8s ease forwards 0.8s;
}

/* 沉默遗产 - 等宽字体呼吸效果 */
.legacy-text {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Courier New', 'SF Mono', 'Fira Code', monospace;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: #888888;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  animation: fadeInLegacy 0.8s ease forwards 1.5s, breathe 4s ease-in-out infinite 2s, floatBounce 2s infinite 1.8s;
}

@keyframes fadeInLegacy {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  to {
    opacity: 0.7;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.7;
    text-shadow: none;
  }
  50% {
    opacity: 0.9;
    text-shadow: 0 0 8px rgba(136, 136, 136, 0.3);
  }
}

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

/* 副标题 - 金色强调 */
.sub-title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--dark-gold);
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 1s;
}

/* 描述文字 - 金色渐变，加大字号 */
.description {
  font-size: 15px;
  line-height: 2;
  max-width: 300px;
  margin: 0 auto;
  background: linear-gradient(180deg, #E8C967 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 1.2s;
}

.description .highlight {
  color: #E8C967;
  font-weight: 500;
}
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 1.2s;
}

/* 关键动词高亮 - 亮金色 */
.highlight {
  color: var(--bright-gold);
  font-weight: 500;
}

/* 下滑提示 */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--muted-gray);
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

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

/* 文字渐显动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   资产卡片区域 - 悬浮磨砂玻璃效果
   ============================================ */
.asset-cards-section {
  width: 100%;
  padding: var(--spacing-xl) var(--spacing-md);
  min-height: 60vh;
}

/* 稀缺感提示 - 跳动数字 */
.queue-status {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-gray);
  margin-bottom: var(--spacing-md);
  opacity: 0.8;
}

.queue-number {
  color: var(--amber-gold);
  font-weight: 600;
  display: inline-block;
  animation: queuePulse 1.2s ease-in-out infinite;
}

@keyframes queuePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.cards-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.cards-title {
  color: var(--amber-gold);
}

.cards-divider {
  color: var(--muted-gray);
  margin: 0 10px;
}

.cards-subtitle {
  color: var(--ghost-gray);
}

.cards-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 340px;
  margin: 0 auto;
}

/* 单个资产卡片 - 左图右文布局 */
.asset-card {
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 15, 0.85);
  border-radius: 8px;
  overflow: hidden;
  border: none;
  border-left: 2px solid var(--amber-gold);
  box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.03), 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  min-height: 140px;
  backdrop-filter: blur(4px);
}

/* 卡片主内容区：图片+信息 */
.card-main {
  display: flex;
  flex-direction: row;
}

.asset-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.asset-card:hover {
  border-left-color: var(--light-gold);
  box-shadow: inset 0 0 60px rgba(212, 175, 55, 0.08), 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* 卡片产品图区域 */
.card-image-wrapper {
  width: 120px;
  min-width: 120px;
  height: 140px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 卡片信息区域 */
.card-info {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 品牌名 - 金色 */
.card-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--amber-gold);
  margin-bottom: 4px;
}

/* 型号 */
.card-model {
  font-size: 13px;
  color: var(--cold-white);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

/* 参数描述 */
.card-params {
  font-size: 9px;
  color: var(--muted-gray);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片底部：价格+状态 */
.card-info .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.card-price {
  font-size: 9px;
  color: var(--muted-gray);
  letter-spacing: 0.05em;
}

.price-value {
  color: var(--amber-gold);
  font-weight: 600;
  font-size: 12px;
}

.card-status-badge {
  font-size: 8px;
  color: var(--secure-green);
  padding: 3px 8px;
  border: 1px solid rgba(0, 255, 157, 0.3);
  background: rgba(0, 255, 157, 0.08);
  border-radius: 2px;
  letter-spacing: 0.08em;
}

/* ARCHIVE条栏 - 卡片底部 */
.card-archive-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.05);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-archive-bar:hover {
  background: rgba(212, 175, 55, 0.12);
}

.card-archive-bar:hover .archive-arrow {
  transform: translateX(4px);
}

.card-archive-bar:hover .archive-cursor {
  opacity: 1;
}

/* 闪烁光标 */
.archive-cursor {
  width: 10px;
  height: 14px;
  background: var(--amber-gold);
  animation: blink 1s step-end infinite;
}

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

.archive-text {
  font-size: 10px;
  font-family: 'Courier New', monospace;
  color: var(--amber-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-arrow {
  color: var(--amber-gold);
  font-size: 12px;
  transition: transform 0.2s ease;
}

/* ============================================
   表单区（第三屏）
   ============================================ */
}

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

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

/* ============================================
   表单区（第三屏）
   ============================================ */
.form-section {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.form-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.form-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber-gold);
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

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

.form-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ghost-gray);
}

.form-select,
.form-input {
  background: rgba(5, 8, 15, 0.8);
  border: 1px solid rgba(102, 102, 102, 0.4);
  color: var(--cold-white);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 12px;
  letter-spacing: 0.05em;
  transition: border-color var(--transition-fast);
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--amber-gold);
}

.form-select option {
  background: var(--abyss-black);
  color: var(--cold-white);
}

.form-input::placeholder {
  color: var(--muted-gray);
}

/* 扫描状态提示 */
.scanning-status {
  font-size: 9px;
  color: var(--amber-gold);
  letter-spacing: 0.1em;
  animation: pulse 1s infinite;
}

.scanning-status.hidden {
  display: none;
}

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

/* 验证码区域 */
.verification-group {
  background: rgba(5, 8, 15, 0.5);
  padding: var(--spacing-sm);
  border: 1px solid rgba(102, 102, 102, 0.3);
}

.verification-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.captcha-question {
  font-size: 14px;
  color: var(--cold-white);
  letter-spacing: 0.1em;
}

.captcha-input {
  width: 60px;
  background: transparent;
  border: 1px solid var(--muted-gray);
  color: var(--amber-gold);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 6px 10px;
  text-align: center;
}

.captcha-input:focus {
  outline: none;
  border-color: var(--amber-gold);
}

/* 免责声明 */
.disclaimer {
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted-gray);
  letter-spacing: 0.02em;
  margin-top: var(--spacing-sm);
}

/* 提交按钮 - 实心暗金色 + 纯黑文字（特权入口） */
.submit-btn {
  background: var(--dark-gold);
  border: none;
  color: var(--abyss-black);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 14px 24px;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-top: var(--spacing-sm);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  animation: btnBreathe 2s ease-in-out infinite;
}

@keyframes btnBreathe {
  0%, 100% {
    filter: brightness(0.8);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  }
  50% {
    filter: brightness(1);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
  }
}

.submit-btn:hover {
  background: var(--bright-gold);
  filter: brightness(1.1);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
  animation: none;
}

.submit-btn:active {
  transform: scale(0.98) translateY(0);
}

/* ============================================
   错误提示
   ============================================ */
.error-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 50, 50, 0.9);
  color: #FFFFFF;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  z-index: 10000;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(-50%); }
  25% { transform: translateX(calc(-50% - 10px)); }
  75% { transform: translateX(calc(-50% + 10px)); }
}

/* ============================================
   连接蒙层
   ============================================ */
.connecting-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--abyss-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.connecting-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.connecting-content {
  text-align: center;
  width: 85%;
  max-width: 320px;
}

.connecting-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--amber-gold);
  margin-bottom: var(--spacing-md);
}

.connecting-status {
  font-size: 10px;
  color: var(--ghost-gray);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.connecting-progress {
  width: 100%;
  height: 2px;
  background: rgba(102, 102, 102, 0.3);
  margin-bottom: var(--spacing-sm);
}

.connecting-bar {
  width: 0%;
  height: 100%;
  background: var(--amber-gold);
  transition: width 0.2s ease;
}

.connecting-ip {
  font-size: 9px;
  color: var(--muted-gray);
  letter-spacing: 0.1em;
}

/* 成功状态 */
.success-icon {
  font-size: 48px;
  color: var(--secure-green);
  margin-bottom: var(--spacing-md);
}

.success-title {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--secure-green);
  margin-bottom: var(--spacing-sm);
}

.success-message {
  font-size: 11px;
  color: var(--cold-white);
  margin-bottom: var(--spacing-xs);
}

.success-note {
  font-size: 9px;
  color: var(--muted-gray);
}

/* ============================================
   底部声明（第四屏）
   ============================================ */
.footer-section {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-top: 1px solid rgba(102, 102, 102, 0.3);
}

.language-switcher {
  margin-bottom: var(--spacing-md);
}

.lang-option {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-gray);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lang-option:hover,
.lang-option.active {
  color: var(--amber-gold);
}

.lang-divider {
  color: var(--muted-gray);
  margin: 0 8px;
  font-size: 10px;
}

.footer-disclaimer {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted-gray);
  max-width: 320px;
  margin: 0 auto var(--spacing-md);
  letter-spacing: 0.02em;
}

.footer-meta {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.footer-version {
  color: var(--muted-gray);
}

.footer-divider {
  color: rgba(102, 102, 102, 0.5);
  margin: 0 8px;
}

.footer-status {
  color: var(--secure-green);
}

/* ============================================
   响应式适配
   ============================================ */
@media (min-width: 768px) {
  :root {
    font-size: 16px;
  }

  .content-wrapper {
    padding: var(--spacing-lg);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
  }
}

/* ============================================
   ARCHIVE 档案弹窗
   ============================================ */
.asset-archive {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 18, 15, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.asset-archive:hover {
  background: rgba(212, 175, 55, 0.1);
}

.archive-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-gold);
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  animation: archiveGlow 2s ease-in-out infinite;
}

.archive-icon::before {
  content: '📁';
  font-size: 12px;
}

@keyframes archiveGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.archive-hint {
  color: var(--muted-gray);
  font-size: 8px;
  font-family: var(--font-mono);
}

/* 档案弹窗蒙层 */
.archive-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.archive-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.archive-content {
  background: linear-gradient(145deg, #0d0d0f 0%, #050508 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-left: 3px solid var(--amber-gold);
  max-width: 380px;
  width: 100%;
  padding: 24px;
  position: relative;
  animation: slideUp 0.4s ease;
}

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

.archive-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-gray);
}

.archive-status {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 2px;
}

.archive-status.封存 { background: rgba(100, 100, 100, 0.3); color: #888; }
.archive-status.回收 { background: rgba(212, 175, 55, 0.2); color: var(--amber-gold); }
.archive-status.托管 { background: rgba(0, 200, 150, 0.2); color: #00C896; }
.archive-status.待定 { background: rgba(200, 100, 100, 0.2); color: #C86464; }

.archive-story {
  font-size: 13px;
  line-height: 1.8;
  color: #ccc;
  font-style: italic;
}

.archive-story::before {
  content: '"';
  color: var(--amber-gold);
  font-size: 16px;
}

.archive-story::after {
  content: '"';
  color: var(--amber-gold);
  font-size: 16px;
}

.archive-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--muted-gray);
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.archive-close:hover {
  border-color: var(--amber-gold);
  color: var(--amber-gold);
}