/* 加载层容器：覆盖在内容上方 */
.custom-loader-overlay {
  position: absolute;
  /* 需确保父级 .product-info 是 relative */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 深色磨砂玻璃背景，防止透出下方未加载的数据 */
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99;
  /* 确保在内容上方 */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  /* 适配父容器的圆角 */
}
/* 内容居中 */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
/* 霓虹光环动画 */
.loader-ring {
  width: 50px;
  height: 50px;
  border: 3px solid transparent;
  /* 蓝紫渐变色，呼应您图片中的按钮颜色 */
  border-top-color: #3b82f6;
  /* 蓝色 */
  border-right-color: #8b5cf6;
  /* 紫色 */
  border-radius: 50%;
  animation: spin-neon 1.2s linear infinite;
  /* 添加发光效果 */
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}
/* 文字样式 */
.loader-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 1px;
  /* 文字微光 */
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
  animation: pulse-text 1.5s ease-in-out infinite alternate;
}
/* 旋转动画 */
@keyframes spin-neon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* 文字呼吸动画 */
@keyframes pulse-text {
  from {
    opacity: 0.6;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.9);
  }
}
.relative {
  position: relative;
}
/* 遮罩层：全屏固定、居中布局 */
.loading-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* 半透明黑色背景 */
  z-index: 3001;
  display: flex;
  /* 使用 flex 轻松实现居中 */
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
  /* 可选：增加淡入淡出效果 */
}
/* 隐藏状态 */
.loading-mask.hidden {
  display: none;
}
/* 内容容器：白色卡片背景 */
.loading-content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}
/* 纯CSS绘制的旋转圆圈 */
.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f3f3;
  /* 浅灰色底圈 */
  border-top: 3px solid #3498db;
  /* 蓝色转动部分 */
  border-radius: 50%;
  margin-bottom: 10px;
  animation: spin 1s linear infinite;
  /* 绑定旋转动画 */
}
/* 文字样式 */
.loading-text {
  margin: 0;
  color: #666;
  font-size: 14px;
}
/* 定义旋转动画的关键帧 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 3001;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-mask.hidden {
  display: none;
}
.loading-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Ant Design 风格的四点旋转器 */
.ant-loading-spinner {
  width: 30px;
  height: 30px;
  position: relative;
  animation: antRotate 1.2s infinite linear;
  margin-bottom: 8px;
}
.ant-loading-spinner span {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  background-color: #1890ff;
  /* 主题色 */
  border-radius: 100%;
  opacity: 0.3;
  transform: scale(0.75);
  transform-origin: 50% 50%;
  animation: antSpinMove 1s infinite linear alternate;
}
.ant-loading-spinner span:nth-child(1) {
  top: 0;
  left: 0;
}
.ant-loading-spinner span:nth-child(2) {
  top: 0;
  right: 0;
  animation-delay: 0.4s;
}
.ant-loading-spinner span:nth-child(3) {
  right: 0;
  bottom: 0;
  animation-delay: 0.8s;
}
.ant-loading-spinner span:nth-child(4) {
  bottom: 0;
  left: 0;
  animation-delay: 1.2s;
}
.loading-text {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
  font-size: 14px;
}
@keyframes antRotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes antSpinMove {
  to {
    opacity: 1;
  }
}
#captcha-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.user_info {
  display: flex;
  align-items: center;
}
.user_info .user_name {
  font-size: 14px;
  color: #fff;
}
.user_info .tx {
  font-size: 14px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
}
.red_text {
  color: red;
  font-size: 14px;
}
.mar10 {
  margin: 0 10px;
}
.my-confirm-layer {
  color: #000 !important;
  /* 红色字体，按需替换 */
}
/* --- 核心分页样式 Start --- */
/* 容器：Flex布局，两端对齐 */
.pagination-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background-color: transparent;
  /* 如果是在列表底部，通常不需要额外背景 */
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
  /* 防止双击选中文本 */
}
/* 左侧统计信息文本 */
.pagination-info-text {
  color: #8b9bb4;
  /* 浅蓝灰色 */
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.5px;
}
/* 右侧按钮组容器 */
.pagination {
  display: flex;
  gap: 8px;
  /* 按钮之间的间距 */
  align-items: center;
}
/* 通用按钮样式 */
.page-btn {
  background-color: #1e2235;
  /* 深色背景块 */
  border: 1px solid #2d3748;
  /* 微弱的边框 */
  color: #cbd5e0;
  /* 默认文字颜色 */
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  /* 圆角 */
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
/* 鼠标悬停效果 (非禁用状态) */
.page-btn:not(:disabled):not(.active):hover {
  border-color: #00f0ff;
  /* 悬停变青色边框 */
  color: #fff;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
  /* 微弱发光 */
}
/* 激活状态 (当前页) */
.page-btn.active {
  background-color: rgba(0, 240, 255, 0.15);
  /* 青色半透明背景 */
  border-color: #00f0ff;
  /* 青色边框 */
  color: #00f0ff;
  /* 青色文字 */
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  /* 发光效果 */
}
/* 禁用状态 (上一页/下一页不可点) */
.page-btn:disabled,
.page-btn[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: #151825;
  border-color: transparent;
  color: #5a6b8c;
}
/* "..." 省略号样式 */
.page-btn.dots {
  cursor: default;
  border: none;
  background: transparent;
  color: #5a6b8c;
}
.page-btn.dots:hover {
  box-shadow: none;
  border-color: transparent;
}
/* 移动端适配：屏幕变窄时调整布局 */
@media (max-width: 768px) {
  .pagination-box {
    flex-direction: column;
    gap: 15px;
  }
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* --- 核心分页样式 End --- */
.desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  /* 处理长单词换行 */
  line-height: 1.5;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* 显示的行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 显示省略号 */
}
.close-btn {
  z-index: 888888888!important;
}
.nav-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  color: var(--accent);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-back-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  transform: translateX(-4px);
}
/* ===== Modals ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}
.modal-overlay.show {
  display: flex;
}
.modal {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.modal-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.modal-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.modal-input {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 15px;
  font-family: "IBM Plex Sans", sans-serif;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}
.modal-input::placeholder {
  color: var(--text-dim);
}
.modal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.modal-close {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal-close:hover {
  color: var(--accent);
}
/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}
.modal-overlay.show {
  display: flex;
}
.modal {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.modal-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.modal-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.modal-input {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 15px;
  font-family: "IBM Plex Sans", sans-serif;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}
.modal-input::placeholder {
  color: var(--text-dim);
}
.modal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.modal-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: "IBM Plex Sans", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.modal-btn:hover {
  /* transform: translateY(-2px); */
  box-shadow: 0 8px 30px var(--accent-glow);
}
.modal-close {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal-close:hover {
  color: var(--accent);
}
/* --- 遮罩层 --- */
.modal-overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  /* 背景模糊 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000000;
  animation: fadeIn 0.3s ease-out;
}
/* --- 弹窗容器 --- */
.payment-modal {
  background: #1e1b4b;
  /* 深紫色背景 */
  width: 380px;
  border-radius: 16px;
  border: 1px solid #4f46e5;
  /* 靛蓝色边框 */
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.3);
  /* 发光阴影 */
  overflow: hidden;
  position: relative;
  text-align: center;
  color: #ffffff;
}
/* 装饰性顶部条纹 */
.modal-header-decoration {
  height: 4px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  /* 青蓝到紫色渐变 */
  width: 100%;
}
/* --- 内容区域 --- */
.modal-content {
  padding: 30px 20px;
}
.modal-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 25px;
}
.price-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #38bdf8;
  /* 亮青色 */
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 25px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}
/* --- 二维码区域 --- */
.qrcode-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px auto;
  background-color: #ffffff;
  /* 二维码通常是白底 */
  padding: 10px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
/* 模拟二维码图案 (实际使用时请替换为img标签) */
.qrcode-placeholder {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#000000 20%, transparent 20%), radial-gradient(#000000 20%, transparent 20%);
  background-color: #fff;
  background-size: 20px 20px;
  background-position: 0 0,
    10px 10px;
  position: relative;
}
#qrcode img {
  width: 100%;
  height: 100%;
}
.qrcode-logo {
  width: 100%;
  height: 100%;
}
.scan-tip {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.scan-tip span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  /* 绿色呼吸灯 */
  border-radius: 50%;
  animation: breathe 2s infinite ease-in-out;
}
/* --- 关闭按钮 --- */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #fff;
}
/* ----- 验证码弹窗 (只有验证码输入核心) ----- */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s ease;
}
.modal-mask.active {
  visibility: visible;
  opacity: 1;
}
/* 弹窗容器 — 只包含验证码相关元素 */
.verify-modal {
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: 48px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.modal-mask.active .verify-modal {
  transform: scale(1);
}
.modal-header {
  padding: 28px 28px 8px 28px;
  position: relative;
}
.modal-header h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0a1e3c;
  margin-bottom: 6px;
}
.modal-sub {
  color: #5b6e8c;
  font-size: 0.85rem;
  margin-top: 4px;
}
.close-modal {
  position: absolute;
  right: 24px;
  top: 24px;
  background: #f0f2f5;
  width: 32px;
  height: 32px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #4a5a7a;
  transition: 0.1s;
}
.close-modal:hover {
  background: #e2e8f0;
}
/* 只有验证码输入区域 - 没有手机号输入框 */
.modal-body {
  padding: 16px 28px 28px 28px;
}
.code-input-group {
  margin: 12px 0 20px;
}
.code-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e66;
  margin-bottom: 10px;
  display: block;
}
.code-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1f5f9;
  border-radius: 60px;
  padding: 4px 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}
.code-wrapper:focus-within {
  border-color: #1e6ef0;
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 110, 240, 0.15);
}
#verificationCode {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  outline: none;
  color: #0a1e3c;
}
#verificationCode::placeholder {
  color: #abbcd9;
  font-weight: 400;
  letter-spacing: normal;
}
.resend-btn {
  background: transparent;
  border: none;
  color: #1e6ef0;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 8px 0;
  white-space: nowrap;
  transition: 0.1s;
}
.resend-btn.disabled {
  color: #abbcd9;
  cursor: not-allowed;
}
.error-msg {
  color: #e5484d;
  font-size: 0.75rem;
  margin-top: 8px;
  padding-left: 8px;
  min-height: 20px;
}
.confirm-btn {
  width: 100%;
  background: #0a1e3c;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 24px;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.confirm-btn:active {
  transform: scale(0.97);
}
.cancel-tip {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: #8b9ab5;
  cursor: pointer;
}
.skill_box {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}
.skill_item .skill_title {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--accent);
  display: block;
}
.skill_item .skill_cont {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--accent);
  display: block;
  border: 1px solid var(--accent);
  padding: 5px;
  border-radius: 5px;
  margin: 5px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.skill_item .skill_cont img {
  width: 20px;
}
.logo img {
  width: 132px;
}
