/* ============================================
   龙慧云 · 科技感UI增强层 tech-ui.css
   深色科技背景 + 粒子网络 + 玻璃拟态 + 霓虹辉光
   科技蓝主色调 + 青紫辅色 + 深色背景
   ============================================ */

/* === 1. 全局深空科技背景 === */
:root {
  --tech-bg: #050818;
  --tech-bg-2: #0a0e27;
  --tech-surface: rgba(15, 20, 40, 0.65);
  --tech-surface-hover: rgba(25, 32, 60, 0.8);
  --tech-border: rgba(0, 240, 255, 0.2);
  --tech-border-glow: rgba(0, 240, 255, 0.5);
  --tech-cyan-glow: rgba(0, 229, 255, 0.4);
  --tech-text: #e8ecf4;
  --tech-text-sub: #8a92a8;
  --tech-text-muted: #5a6378;
  --tech-neon-cyan: #00f0ff;
  --tech-neon-cyan: #165DFF;
  --tech-neon-red: #00f0ff;
  --tech-neon-cyan-light: #165DFF;
  --tech-gradient: linear-gradient(135deg, #00f0ff 0%, #0066CC 50%, #165DFF 100%);
  --tech-grad-cyan-blue: linear-gradient(135deg, #00f0ff 0%, #165DFF 100%);
  --tech-grad-text: linear-gradient(135deg, #00f0ff 0%, #165DFF 100%);
  --tech-glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
  --tech-glow-cyan: 0 0 20px rgba(22,93,255, 0.3);
  --tech-glass-blur: blur(12px);
}

/* === 粒子画布 === */
#tech-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* === 2. 页面背景覆盖 === */
body {
  background: var(--tech-bg) !important;
  color: var(--tech-text) !important;
  position: relative;
}

/* === 居中布局 - 强制覆盖 === */
#app {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 480px !important;
  min-height: 100vh !important;
  margin: 0 !important;
}

/* 首页 #app */
#app {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* 功能页 .app */
.app {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* === 3. 科技网格底纹 === */
#app::before, .app::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(0,168,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}

/* === 4. Header 科技感升级 === */
.header {
  background: linear-gradient(135deg, #061020 0%, #0a1a30 40%, #061020 100%) !important;
  border-radius: 0 0 24px 24px !important;
  border-bottom: 1px solid var(--tech-border-glow) !important;
  box-shadow: 0 4px 30px rgba(0,168,255,0.15), inset 0 1px 0 rgba(0,212,255,0.1) !important;
  position: relative;
  overflow: hidden;
}

/* Header扫描线动画 */
.header::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tech-neon-red), transparent);
  animation: tech-scan 3s ease-in-out infinite;
}

@keyframes tech-scan {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* 首页Header特殊样式 */
.header-logo {
  background: var(--tech-gradient) !important;
  box-shadow: 0 0 30px rgba(0,168,255,0.4), 0 0 60px rgba(22,93,255,0.2) !important;
  border: 2px solid rgba(0,212,255,0.3) !important;
  position: relative;
}

.header-logo::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 1px solid rgba(0,229,255,0.3);
  animation: tech-pulse-ring 2s ease-in-out infinite;
}

@keyframes tech-pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.header-title {
  background: linear-gradient(135deg, #00D4FF, #5E9EFF, #00D4FF) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  background-size: 200% auto !important;
  animation: tech-gradient-shift 4s ease infinite !important;
  text-shadow: none !important;
}

@keyframes tech-gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.header-sub {
  color: var(--tech-text-sub) !important;
  letter-spacing: 2px;
}

/* 功能页Header */
.header h1 {
  text-shadow: 0 0 20px rgba(0,212,255,0.5) !important;
}

/* === 5. Hero Banner 玻璃拟态 === */
.hero-banner {
  background: linear-gradient(135deg, rgba(0,168,255,0.15) 0%, rgba(0,212,255,0.1) 50%, rgba(22,93,255,0.08) 100%) !important;
  backdrop-filter: var(--tech-glass-blur) !important;
  -webkit-backdrop-filter: var(--tech-glass-blur) !important;
  border: 1px solid var(--tech-border) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  overflow: hidden;
  position: relative;
}

/* Hero扫描线 */
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--tech-neon-red), transparent);
  animation: tech-scan 4s ease-in-out infinite;
  z-index: 2;
}

.hero-banner-2 {
  background: linear-gradient(135deg, rgba(93,64,55,0.2) 0%, rgba(141,110,99,0.12) 50%, rgba(161,136,127,0.08) 100%) !important;
  backdrop-filter: var(--tech-glass-blur) !important;
  -webkit-backdrop-filter: var(--tech-glass-blur) !important;
  border: 1px solid rgba(141,110,99,0.3) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

.hero-badge {
  background: rgba(0,212,255,0.15) !important;
  border: 1px solid rgba(0,212,255,0.3) !important;
  text-shadow: 0 0 8px rgba(0,212,255,0.5) !important;
}

.hero-title {
  text-shadow: 0 0 12px rgba(0,212,255,0.3) !important;
}

.hero-cta {
  background: linear-gradient(135deg, #00D4FF, #0066CC) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.3) !important;
  border: 1px solid rgba(0,212,255,0.4) !important;
}

.hero-icon {
  filter: drop-shadow(0 0 15px rgba(0,212,255,0.4)) !important;
}

/* === 6. 卡片玻璃拟态 === */
.card {
  background: var(--tech-surface) !important;
  backdrop-filter: var(--tech-glass-blur) !important;
  -webkit-backdrop-filter: var(--tech-glass-blur) !important;
  border: 1px solid var(--tech-border) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

/* 卡片hover/active辉光 */
.card:active {
  background: var(--tech-surface-hover) !important;
  border-color: var(--tech-border-glow) !important;
  box-shadow: 0 0 25px rgba(0,168,255,0.3), 0 4px 20px rgba(0,0,0,0.3) !important;
  transform: scale(0.97) !important;
}

/* 卡片顶部光线 */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:active::before {
  opacity: 1;
}

.card-name {
  color: var(--tech-text) !important;
}

.card-desc {
  color: var(--tech-text-sub) !important;
}

.card-icon {
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.3));
}

/* 卡片Badge科技感 */
.card-badge.hot {
  background: rgba(0,212,255,0.15) !important;
  color: var(--tech-neon-red) !important;
  border: 1px solid rgba(0,212,255,0.3) !important;
  text-shadow: 0 0 6px rgba(0,212,255,0.4);
}

.card-badge.new {
  background: rgba(46,125,50,0.15) !important;
  color: #4caf50 !important;
  border: 1px solid rgba(76,175,80,0.3) !important;
  text-shadow: 0 0 6px rgba(76,175,80,0.4);
}

.card-badge.free {
  background: rgba(76,175,80,0.15) !important;
  color: #4caf50 !important;
  border: 1px solid rgba(76,175,80,0.3) !important;
}

.card-badge.price {
  background: rgba(22,93,255,0.15) !important;
  color: var(--tech-neon-cyan-light) !important;
  border: 1px solid rgba(22,93,255,0.3) !important;
  text-shadow: 0 0 6px rgba(22,93,255,0.4);
}

/* === 7. Section 标题科技感 === */
.section-title {
  background: linear-gradient(135deg, #00D4FF, #5E9EFF) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-count {
  background: rgba(0,168,255,0.15) !important;
  color: var(--tech-neon-red) !important;
  padding: 2px 10px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(0,212,255,0.2) !important;
  font-size: 11px !important;
}

/* === 8. 功能页 Section 玻璃拟态 === */
.section {
  background: var(--tech-surface) !important;
  backdrop-filter: var(--tech-glass-blur) !important;
  -webkit-backdrop-filter: var(--tech-glass-blur) !important;
  border: 1px solid var(--tech-border) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important;
}

.section-title-bar {
  color: var(--tech-text) !important;
}

.home-desc {
  color: var(--tech-text-sub) !important;
}

/* === 9. 按钮霓虹效果 === */
.upload-btn.primary {
  background: linear-gradient(135deg, #0066CC 0%, #00D4FF 100%) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.3), 0 4px 15px rgba(0,168,255,0.2) !important;
  border: 1px solid rgba(0,212,255,0.3) !important;
  text-shadow: 0 0 8px rgba(255,255,255,0.3) !important;
  position: relative;
  overflow: hidden;
}

.upload-btn.primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: tech-btn-shine 3s ease-in-out infinite;
}

@keyframes tech-btn-shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.upload-btn.primary:active {
  box-shadow: 0 0 30px rgba(0,212,255,0.5) !important;
}

.upload-btn.secondary {
  background: rgba(0,212,255,0.08) !important;
  color: var(--tech-neon-red) !important;
  border: 1px solid rgba(0,212,255,0.25) !important;
}

/* === 10. 颜色选择器科技感 === */
.color-dot {
  box-shadow: 0 0 10px rgba(0,0,0,0.3) !important;
  transition: all 0.25s ease !important;
}

.color-dot.active {
  border-color: var(--tech-neon-red) !important;
  box-shadow: 0 0 15px rgba(0,212,255,0.5) !important;
}

/* === 11. Footer 科技感 === */
.footer {
  color: var(--tech-text-muted) !important;
  border-top: 1px solid rgba(0,168,255,0.1) !important;
  padding-top: 20px !important;
}

.footer a {
  color: var(--tech-text-sub) !important;
}

/* === 12. 上传区域科技感 === */
.upload-hint {
  color: var(--tech-text-muted) !important;
}

.preview-label {
  color: var(--tech-text-sub) !important;
}

.preview-img {
  border-color: rgba(0,168,255,0.2) !important;
  border-radius: 12px !important;
}

/* === 13. 输入框科技感 === */
input[type="text"], input[type="password"], input[type="tel"], textarea, select {
  background: rgba(20,25,45,0.6) !important;
  border: 1px solid var(--tech-border) !important;
  color: var(--tech-text) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  transition: all 0.2s !important;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--tech-neon-red) !important;
  box-shadow: 0 0 12px rgba(0,212,255,0.2) !important;
  outline: none !important;
}

input::placeholder, textarea::placeholder {
  color: var(--tech-text-muted) !important;
}

/* === 14. AI标签科技感 === */
.tag {
  background: rgba(0,212,255,0.12) !important;
  border: 1px solid rgba(0,212,255,0.2) !important;
  text-shadow: 0 0 6px rgba(0,212,255,0.3) !important;
}

/* === 15. 文字颜色覆盖 === */
.home-icon {
  filter: drop-shadow(0 0 15px rgba(0,212,255,0.3));
}

/* === 16. 滚动条科技感 === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--tech-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(0,168,255,0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,212,255,0.5);
}

/* === 17. 加载动画科技感 === */
.loading, .spinner {
  border-color: rgba(0,212,255,0.2) !important;
  border-top-color: var(--tech-neon-red) !important;
}

/* === 18. noscript 科技感 === */
noscript {
  display: block;
  background: var(--tech-surface);
  color: var(--tech-text);
  padding: 20px;
  margin: 20px;
  border-radius: 12px;
  border: 1px solid var(--tech-border);
}

/* === 19. 响应式微调 === */
@media (max-width: 380px) {
  .header-title { font-size: 20px !important; }
  .card-name { font-size: 13px !important; }
}

/* === 20. prefers-reduced-motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #tech-particle-canvas { display: none; }
}

/* === 21. 解锁弹窗科技感 === */
.lh-unlock-overlay {
  background: rgba(5,8,16,0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.lh-unlock-card {
  background: rgba(15,20,36,0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0,212,255,0.2) !important;
  box-shadow: 0 0 40px rgba(0,212,255,0.15), 0 20px 60px rgba(0,0,0,0.5) !important;
  border-radius: 24px !important;
  position: relative;
  overflow: hidden;
}

.lh-unlock-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tech-neon-red), var(--tech-neon-cyan-light), transparent);
  animation: tech-scan 3s ease-in-out infinite;
}

.lh-unlock-close {
  background: rgba(0,212,255,0.1) !important;
  color: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(0,212,255,0.15) !important;
}

.lh-unlock-title {
  color: var(--tech-text) !important;
  text-shadow: 0 0 10px rgba(0,212,255,0.2) !important;
}

.lh-unlock-sub {
  color: var(--tech-text-sub) !important;
}

.lh-unlock-icon {
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.3)) !important;
}

/* 广告选项 - 科技红 */
.lh-opt-ad {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,212,255,0.04)) !important;
  border: 1.5px solid rgba(0,212,255,0.25) !important;
  box-shadow: 0 2px 12px rgba(0,212,255,0.08) !important;
}
.lh-opt-ad:active {
  box-shadow: 0 0 20px rgba(0,212,255,0.2) !important;
  border-color: rgba(0,212,255,0.5) !important;
}
.lh-opt-ad .lh-opt-arrow { color: var(--tech-neon-red) !important; }

/* 付费选项 - 科技金 */
.lh-opt-pay {
  background: linear-gradient(135deg, rgba(22,93,255,0.08), rgba(22,93,255,0.04)) !important;
  border: 1.5px solid rgba(22,93,255,0.25) !important;
  box-shadow: 0 2px 12px rgba(22,93,255,0.08) !important;
}
.lh-opt-pay:active {
  box-shadow: 0 0 20px rgba(22,93,255,0.2) !important;
  border-color: rgba(22,93,255,0.5) !important;
}
.lh-opt-pay .lh-opt-arrow { color: var(--tech-neon-cyan-light) !important; }

/* 分享选项 */
.lh-opt-share {
  background: linear-gradient(135deg, rgba(76,175,80,0.08), rgba(76,175,80,0.04)) !important;
  border: 1.5px solid rgba(76,175,80,0.25) !important;
}

.lh-opt-label {
  color: var(--tech-text) !important;
}

.lh-opt-hint {
  color: var(--tech-text-sub) !important;
}

.lh-opt-arrow {
  color: var(--tech-text-muted) !important;
}

.lh-opt-badge {
  background: var(--tech-neon-red) !important;
  text-shadow: 0 0 6px rgba(0,212,255,0.4) !important;
}

.lh-badge-hot {
  background: #07C160 !important;
}

/* Toast */
.lh-toast {
  background: rgba(15,20,36,0.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(0,212,255,0.2) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.15) !important;
}

.lh-toast-success {
  background: rgba(46,125,50,0.92) !important;
  border-color: rgba(76,175,80,0.3) !important;
}

/* QR弹窗 */
.lh-qrcode-overlay {
  background: rgba(5,8,16,0.85) !important;
  backdrop-filter: blur(8px) !important;
}

.lh-qrcode-card {
  background: rgba(15,20,36,0.95) !important;
  border: 1px solid rgba(0,212,255,0.2) !important;
  box-shadow: 0 0 40px rgba(0,212,255,0.15) !important;
}

.lh-qrcode-title {
  color: var(--tech-text) !important;
}

.lh-qrcode-sub {
  color: var(--tech-text-sub) !important;
}

.lh-qrcode-tip {
  color: #4CAF50 !important;
}

/* === 22. 浮动工具栏科技感 === */
.lh-toolbar {
  background: rgba(15,20,36,0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(0,212,255,0.2) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.1) !important;
}

.lh-toolbar-btn {
  color: var(--tech-neon-red) !important;
  text-shadow: 0 0 6px rgba(0,212,255,0.3) !important;
}

/* === 23. AI加载/生成区域 === */
.result-area, .loading-area {
  background: rgba(20,25,45,0.5) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 12px !important;
}

/* === 24. AI流式输出区域 === */
.ai-output, .ai-result, .stream-output {
  background: rgba(20,25,45,0.5) !important;
  border: 1px solid var(--tech-border) !important;
  border-radius: 12px !important;
  color: var(--tech-text) !important;
}

/* === 25. 标签/Tab === */
.tab, .tab-btn {
  background: rgba(0,212,255,0.08) !important;
  color: var(--tech-text-sub) !important;
  border: 1px solid rgba(0,212,255,0.15) !important;
}

.tab.active, .tab-btn.active {
  background: rgba(0,240,255,0.15) !important;
  color: var(--tech-neon-cyan) !important;
  border-color: rgba(0,240,255,0.4) !important;
  text-shadow: 0 0 6px rgba(0,240,255,0.3) !important;
}

/* ============================================
   v2.0 深空霓虹增强 (2026-07-18)
   ============================================ */

/* === 渐变文字工具类 === */
.text-gradient-cp {
  background: linear-gradient(135deg, #00f0ff 0%, #165DFF 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #00E5FF 0%, #165DFF 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* === 浮动动画 === */
.anim-float { animation: tech-float 3s ease-in-out infinite; }
@keyframes tech-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* === 脉冲发光 === */
.anim-pulse-glow { animation: tech-pulse-glow 2s ease-in-out infinite; }
@keyframes tech-pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(0,240,255,0.2); }
  50% { box-shadow: 0 0 30px rgba(0,240,255,0.5), 0 0 50px rgba(0,229,255,0.2); }
}

/* === 淡入上滑 === */
.anim-fade-in-up { animation: tech-fade-in-up 0.6s ease-out both; }
@keyframes tech-fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === 霓虹分割线 === */
.divider-neon {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.5), rgba(0,229,255,0.5), transparent) !important;
  border: none !important;
  margin: 16px 0 !important;
}

/* === 玻璃拟态卡片增强 === */
.card {
  background: rgba(15, 20, 40, 0.6) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0, 240, 255, 0.15) !important;
}

.card:active {
  border-color: rgba(0, 240, 255, 0.5) !important;
  box-shadow: 0 0 25px rgba(0,240,255,0.2), 0 4px 20px rgba(0,0,0,0.3) !important;
}

/* === 首页Logo发光环 === */
.header-logo {
  background: linear-gradient(135deg, #00f0ff 0%, #165DFF 100%) !important;
  box-shadow: 0 0 30px rgba(0,240,255,0.4), 0 0 60px rgba(0,229,255,0.2) !important;
  border: 2px solid rgba(0,240,255,0.3) !important;
}

.header-title {
  background: linear-gradient(135deg, #00f0ff, #165DFF, #00f0ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  background-size: 200% auto !important;
  animation: tech-gradient-shift 4s ease infinite !important;
}

/* === 首页Hero Banner 霓虹增强 === */
.hero-banner {
  background: linear-gradient(135deg, rgba(0,240,255,0.12) 0%, rgba(22,93,255,0.1) 50%, rgba(0,240,255,0.06) 100%) !important;
  border: 1px solid rgba(0,240,255,0.2) !important;
}

.hero-cta {
  background: linear-gradient(135deg, #00f0ff, #165DFF) !important;
  box-shadow: 0 0 20px rgba(0,240,255,0.3) !important;
}

/* === 按钮霓虹渐变 === */
.upload-btn.primary, .btn-primary, .submit-btn {
  background: linear-gradient(135deg, #00f0ff 0%, #165DFF 100%) !important;
  box-shadow: 0 0 20px rgba(0,240,255,0.25), 0 4px 15px rgba(0,229,255,0.15) !important;
  border: 1px solid rgba(0,240,255,0.3) !important;
}

/* === 解锁弹窗深空增强 === */
.lh-unlock-card {
  background: rgba(10, 14, 35, 0.95) !important;
  border: 1px solid rgba(0,240,255,0.2) !important;
  box-shadow: 0 0 40px rgba(0,240,255,0.12), 0 20px 60px rgba(0,0,0,0.5) !important;
}

.lh-unlock-card::before {
  background: linear-gradient(90deg, transparent, #00f0ff, #165DFF, transparent) !important;
}

/* === 付费选项 霓虹紫 === */
.lh-opt-pay {
  background: linear-gradient(135deg, rgba(22,93,255,0.08), rgba(22,93,255,0.04)) !important;
  border: 1.5px solid rgba(0,229,255,0.25) !important;
}
.lh-opt-pay:active {
  border-color: rgba(0,229,255,0.5) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.2) !important;
}
.lh-opt-pay .lh-opt-arrow { color: #165DFF !important; }

/* === 广告选项 霓虹青 === */
.lh-opt-ad {
  background: linear-gradient(135deg, rgba(0,240,255,0.08), rgba(0,240,255,0.04)) !important;
  border: 1.5px solid rgba(0,240,255,0.25) !important;
}
.lh-opt-ad:active {
  border-color: rgba(0,240,255,0.5) !important;
  box-shadow: 0 0 20px rgba(0,240,255,0.2) !important;
}
.lh-opt-ad .lh-opt-arrow { color: #00f0ff !important; }

/* === Toast 深空 === */
.lh-toast {
  background: rgba(10, 14, 35, 0.92) !important;
  border: 1px solid rgba(0,240,255,0.2) !important;
}

/* === 输入框深空 === */
input[type="text"], input[type="password"], input[type="tel"], textarea, select {
  background: rgba(10, 14, 35, 0.6) !important;
  border: 1px solid rgba(0,240,255,0.15) !important;
}

input:focus, textarea:focus, select:focus {
  border-color: #00f0ff !important;
  box-shadow: 0 0 12px rgba(0,240,255,0.2) !important;
}

/* === 加载区域 === */
.result-area, .loading-area, .ai-output, .ai-result, .stream-output {
  background: rgba(10, 14, 35, 0.5) !important;
  border: 1px solid rgba(0,240,255,0.15) !important;
}

/* === Section卡片左边发光条 === */
.section {
  background: rgba(15, 20, 40, 0.6) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0,240,255,0.12) !important;
  position: relative;
}

/* === 移动端优化 === */
@media (max-width: 380px) {
  .header-title { font-size: 20px !important; }
}

/* === 减少动画偏好 === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #tech-particle-canvas { display: none; }
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background: #f5f5f5;
  color: #333333;
  font-size: 14px;
}
h1,h2,h3,h4{
  color: #111111;
}
.tip-text{
  color: #666666;
}
button,.btn{
  background: #2374ff;
  color: #ffffff !important;
  border: none;
}
.card, .pop-box{
  background: #ffffff;
  color: #222222;
}
.page-wrap{
  min-height: 100vh;
  width: 100%;
  overflow: auto;
  position: relative;
  z-index: 1;
}
.mask-block{
  z-index: 0 !important;
}
.content-box{
  width: 100%;
  min-height: 80px;
  padding: 10px;
}
.clearfix::after{
  content:"";
  display:block;
  clear:both;
}


/* === 白色色块全覆盖 (2026-07-19) === */
/* 解决：白色背景 + 白字看不见 */

/* 弹窗/对话框 - 改成科技蓝深色 */
.perm-modal-content, .upload-modal-content, .modal-content, .modal-box,
.share-modal, .ad-modal, .ad-modal-content, .result-modal-content,
.unlock-modal, .pay-modal-content, .loading-modal-content,
.share-guide-modal, .pay-confirm-content, .perm-modal-body,
.unlock-content, .lh-modal-box, .lh-unlock-content,
.overlay-box, .picker, .action-sheet {
  background: linear-gradient(160deg, #0A1628 0%, #0D1F3C 50%, #152847 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(0, 229, 255, 0.25) !important;
  box-shadow: 0 8px 40px rgba(0, 100, 255, 0.35), inset 0 1px 0 rgba(0, 229, 255, 0.1) !important;
}

/* 弹窗内所有文字都改为浅色 */
.perm-modal-content *, .upload-modal-content *, .modal-content *, .modal-box *,
.share-modal *, .ad-modal *, .ad-modal-content *, .result-modal-content *,
.unlock-modal *, .pay-modal-content *, .loading-modal-content *,
.share-guide-modal *, .pay-confirm-content *,
.unlock-content *, .lh-modal-box *, .lh-unlock-content *,
.overlay-box *, .picker *, .action-sheet * {
  color: #FFFFFF !important;
}

/* 弹窗标题用鎏金色突出 */
.perm-modal-title, .upload-modal-title, .modal-title, .ad-modal-title,
.share-modal-title, .pay-modal-title, .result-modal-title, .lh-modal-title {
  color: #00E5FF !important;
  font-weight: 700 !important;
}

/* 弹窗描述文字 - 浅蓝 */
.perm-modal-desc, .modal-desc, .ad-modal-desc, .upload-modal-sub {
  color: rgba(255,255,255,0.65) !important;
}

/* 弹窗中的次要按钮 - 浅色背景 */
.btn-cancel, .btn-perm-deny, .btn-cancel-modal, .modal-btn-cancel,
.lh-modal-close, .modal-close, .btn-close, .ad-modal-close,
.lh-modal-secondary, .cancel-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255,255,255,0.65) !important;
  border: 1px solid rgba(0, 229, 255, 0.18) !important;
}

/* 主按钮 - 蓝金渐变 */
.btn-upload, .btn-perm-allow, .btn-confirm, .btn-action.primary,
.lh-modal-btn-primary, .modal-btn-confirm, .btn-primary,
.btn-pay-confirm, .lh-modal-confirm {
  background: linear-gradient(135deg, #165DFF 0%, #2979FF 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(22, 93, 255, 0.45) !important;
}

/* 选项按钮（拍照/相册） - 深色半透明 */
.upload-option, .action-option, .menu-item, .picker-item,
.lh-option, .select-option {
  background: rgba(22, 93, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(0, 229, 255, 0.2) !important;
  border-radius: 10px !important;
}

.upload-option:active, .action-option:active, .menu-item:active,
.picker-item:active, .lh-option:active, .select-option:active {
  background: rgba(22, 93, 255, 0.25) !important;
}

/* 选项图标 - 鎏金/科技蓝 */
.upload-option-icon.camera, .icon-camera,
.picker-icon.camera, .option-icon.camera {
  background: linear-gradient(135deg, #00E5FF, #00E5FF) !important;
  color: #fff !important;
}

.upload-option-icon.gallery, .icon-gallery, .icon-album,
.picker-icon.gallery, .option-icon.album {
  background: linear-gradient(135deg, #165DFF, #00E5FF) !important;
  color: #fff !important;
}

/* 选项文字 */
.upload-option-text, .option-text, .picker-text, .menu-text {
  color: #FFFFFF !important;
  font-weight: 500 !important;
}

/* 选项副标题 */
.upload-option-sub, .option-sub, .picker-sub, .menu-sub {
  color: rgba(255,255,255,0.65) !important;
}

/* 上传/拖拽区 - 蓝边框深色背景 */
.upload-area, .upload-zone, .drop-zone, .drag-area, .file-drop {
  background: linear-gradient(160deg, #0D1F3C 0%, #152847 100%) !important;
  border: 2px dashed rgba(0, 229, 255, 0.4) !important;
  color: #FFFFFF !important;
}

.upload-area:hover, .upload-zone:hover, .drop-zone:hover {
  border-color: #00E5FF !important;
  background: linear-gradient(160deg, #152847 0%, #1A3458 100%) !important;
}

/* 普通卡片 - 深色半透明 */
.card, .info-card, .feature-card, .tool-card, .feature-item,
.pay-card, .user-card, .setting-card, .item-card,
.result-card, .report-card, .summary-card,
.upload-card, .preview-card {
  background: linear-gradient(160deg, rgba(13, 31, 60, 0.85) 0%, rgba(21, 40, 71, 0.85) 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(0, 229, 255, 0.2) !important;
}

/* 卡片标题 */
.card-title, .info-card-title, .feature-title, .tool-title {
  color: #00E5FF !important;
}

/* 卡片正文 */
.card-content, .card-text, .card-desc, .info-card-desc {
  color: rgba(255,255,255,0.65) !important;
}

/* 输入框/选择框 */
input, select, textarea, .input, .input-field,
.lh-input, .form-input, .field-input {
  background: rgba(22, 93, 255, 0.08) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(0, 229, 255, 0.25) !important;
}

input::placeholder, textarea::placeholder, .input::placeholder {
  color: #5A6378 !important;
}

input:focus, select:focus, textarea:focus, .input:focus,
.lh-input:focus, .form-input:focus {
  border-color: #00E5FF !important;
  background: rgba(22, 93, 255, 0.15) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15) !important;
}

/* 通用次要按钮/链接按钮 - 透明蓝边 */
.btn-secondary, .btn-outline, .btn-ghost, .btn-link,
.btn-action.share, .btn-action:not(.primary):not(.gold),
.lh-btn-ghost {
  background: transparent !important;
  color: #00E5FF !important;
  border: 1px solid rgba(0, 229, 255, 0.4) !important;
}

/* 鎏金按钮（付费/解锁） */
.btn-gold, .btn-pay, .btn-unlock, .btn-vip,
.pay-btn, .unlock-btn, .gold-btn, .vip-btn,
.btn-action.gold, .lh-btn-gold {
  background: linear-gradient(135deg, #00E5FF 0%, #00E5FF 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.5) !important;
}

/* 列表项/菜单项 - 深色 */
.list-item, .menu-row, .item-row, .setting-item,
.user-menu-item, .profile-item {
  background: rgba(22, 93, 255, 0.08) !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1) !important;
}

.list-item:active, .menu-row:active, .item-row:active {
  background: rgba(22, 93, 255, 0.2) !important;
}

/* 标签/徽章/胶囊 - 科技蓝 */
.tag, .badge, .chip, .pill, .label,
.feature-tag, .tool-tag, .badge-tag {
  background: rgba(22, 93, 255, 0.2) !important;
  color: #00E5FF !important;
  border: 1px solid rgba(0, 229, 255, 0.3) !important;
}

.tag.gold, .badge.gold, .chip.gold, .pill.gold {
  background: rgba(0, 229, 255, 0.2) !important;
  color: #00E5FF !important;
  border: 1px solid rgba(0, 229, 255, 0.4) !important;
}

/* 头部/顶部栏 - 蓝金 */
.top-bar, .nav-bar, .navbar, .page-header, .page-title-bar {
  background: linear-gradient(135deg, #061020 0%, #0a1a30 50%, #061020 100%) !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(0, 229, 255, 0.3) !important;
}

/* 二维码/图片容器 - 蓝边框 */
.lh-follow-qr, .qr-code, .qr-container, .image-box {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 2px solid rgba(0, 229, 255, 0.4) !important;
  border-radius: 10px !important;
  padding: 6px !important;
}

/* Toast 提示 */
.lh-toast, .toast, .toast-message {
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.95), rgba(0, 229, 255, 0.95)) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 20px rgba(22, 93, 255, 0.5) !important;
}

/* Loading 遮罩 - 深色半透明 */
.lh-loading-mask, .loading-mask, .loading-overlay {
  background: rgba(5, 8, 24, 0.85) !important;
  backdrop-filter: blur(8px) !important;
}

.lh-loading-mask .lh-spinner, .loading-mask .spinner {
  border-color: rgba(0, 229, 255, 0.2) !important;
  border-top-color: #00E5FF !important;
}

/* 处理 inline style 的白色背景（兜底） */
[style*="background:#fff" i], [style*="background:#ffffff" i], [style*="background:white" i] {
  background: linear-gradient(160deg, #0A1628 0%, #0D1F3C 50%, #152847 100%) !important;
  color: #FFFFFF !important;
}

[style*="background:#f5f5f5" i], [style*="background:#f0f0f0" i] {
  background: rgba(22, 93, 255, 0.1) !important;
  color: #FFFFFF !important;
}

[style*="color:#fff" i], [style*="color:white" i] {
  color: #FFFFFF !important;
}


/* ============================================
   极简版三按钮解锁弹窗样式
   showSimpleUnlockModal 专用
   ============================================ */

.lh-simple-card {
  background: rgba(10, 18, 40, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 229, 255, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(22, 93, 255, 0.15) !important;
  padding: 32px 24px 28px !important;
  text-align: center !important;
  width: 90% !important;
  max-width: 340px !important;
  position: relative !important;
  animation: lhSimpleFadeIn 0.25s ease !important;
}

@keyframes lhSimpleFadeIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.lh-simple-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 28px !important;
  height: 28px !important;
  border: none !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 50% !important;
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px !important;
  cursor: pointer !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lh-simple-icon-big {
  font-size: 48px !important;
  margin-bottom: 10px !important;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.5)) !important;
}

.lh-simple-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 20px !important;
  letter-spacing: 1px !important;
}

.lh-simple-btns {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* 三种按钮：统一尺寸 + 圆角 + hover */
.lh-simple-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 14px 16px !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

/* ① 分享解锁（科技蓝渐变，主推） */
.lh-simple-share {
  background: linear-gradient(135deg, #165DFF, #2979FF) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(22, 93, 255, 0.4) !important;
}
.lh-simple-share:active {
  background: linear-gradient(135deg, #0D4ACC, #165DFF) !important;
  transform: scale(0.97) !important;
  box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3) !important;
}

/* ② 看广告解锁（深蓝，半透明） */
.lh-simple-ad {
  background: rgba(0, 229, 255, 0.12) !important;
  color: #00E5FF !important;
  border: 1.5px solid rgba(0, 229, 255, 0.3) !important;
}
.lh-simple-ad:active {
  background: rgba(0, 229, 255, 0.2) !important;
  transform: scale(0.97) !important;
}

/* ③ 付费解锁（暗色，低调） */
.lh-simple-pay {
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
}
.lh-simple-pay:active {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: scale(0.97) !important;
}

/* 引导按钮 */
.lh-simple-guide {
  background: rgba(255, 193, 7, 0.15) !important;
  color: #00E5FF !important;
  border: 1.5px solid rgba(0, 229, 255, 0.3) !important;
}

.lh-simple-icon {
  font-size: 18px !important;
  flex-shrink: 0 !important;
}

.lh-simple-text {
  white-space: nowrap !important;
}


/* ============================================
   解锁按钮全局样式（统一风格）
   ============================================ */

/* 隐藏解锁提示文字 */
.unlock-hint { display: none !important; }

/* 解锁按钮：科技蓝渐变 */
.btn-unlock {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 36px !important;
  background: linear-gradient(135deg, #165DFF, #2979FF) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(22, 93, 255, 0.35) !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
}
.btn-unlock:active {
  background: linear-gradient(135deg, #0D4ACC, #165DFF) !important;
  transform: scale(0.97) !important;
  box-shadow: 0 2px 8px rgba(22, 93, 255, 0.25) !important;
}

/* 解锁区域 */
.unlock-section {
  text-align: center !important;
  margin: 20px 0 !important;
}
