/* Dujiao-Next Vault Theme Styles */
:root {
  --bg: #ffffff;
  --bg-warm: #f9fafb;
  --card: #ffffff;
  --foreground: #0f172a;
  --muted-foreground: #64748b;
  --secondary: #f1f5f9;
  --primary: #4f46e5;
  --primary-foreground: #ffffff;
  --border: #e2e8f0;
  --hairline-strong: #cbd5e1;
  
  /* Brand Theme Colors */
  --red: #ef4444;
  --teal: #0d9488;
  --teal-soft: #ccfbf1;
  --teal-strong: #0f766e;
  --gold: #f59e0b;
  --gold-soft: #fef3c7;
  --gold-strong: #b45309;
  --plum: #8b5cf6;
  --ink: #1e293b;
  
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --gap-block: 4rem;
}

.dark {
  --bg: #090d16;
  --bg-warm: #0f172a;
  --card: #131b2e;
  --foreground: #f8fafc;
  --muted-foreground: #94a3b8;
  --secondary: #1e293b;
  --primary: #6366f1;
  --primary-foreground: #ffffff;
  --border: #1e293b;
  --hairline-strong: #334155;
  
  --teal-soft: #134e4a;
  --teal-strong: #5eead4;
  --gold-soft: #78350f;
  --gold-strong: #fcd34d;
}

body {
  background-color: var(--bg);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 商品卡片 Hover 特效 */
.product-card-hover {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Toast 提示容器 */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast-item {
  pointer-events: auto;
  min-width: 260px;
  max-width: 380px;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px -3px rgba(0,0,0,0.2);
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 卡密全选与复制 */
.secret-block {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  user-select: all;
  word-break: break-all;
}

/* 隐藏滚动条 */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
