/* ============================================
   USDT充值模块 - 春节主题优化
   ============================================ */

/* USDT钱包信息卡片 */
.usdt-wallet-section {
  margin-bottom: 20px;
}

.usdt-wallet-card {
  background: #FFFFFF;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.usdt-wallet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DC143C, #FFD700, #7FB069, #FF1493, #DC143C);
  background-size: 200% 100%;
  animation: cardTopGlow 3s linear infinite;
}

@keyframes cardTopGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.usdt-wallet-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.wallet-header-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-icon-svg {
  width: 28px;
  height: 28px;
  color: #DC143C;
}

.wallet-header-content {
  flex: 1;
}

.usdt-wallet-title {
  font-size: 20px;
  font-weight: 600;
  color: #DC143C;
  margin: 0 0 6px 0;
}

.usdt-wallet-desc {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

.usdt-wallet-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usdt-wallet-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
}

.wallet-label-icon {
  width: 16px;
  height: 16px;
  color: #DC143C;
}

.wallet-item-value {
  position: relative;
}

.wallet-input {
  width: 100%;
  padding: 14px 16px;
  background: #FAFAFA;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  transition: all 0.3s ease;
  font-family: 'Courier New', monospace;
}

.wallet-input:focus {
  outline: none;
  border-color: #FFD700;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.wallet-copy-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #DC143C, #B22222);
  border: none;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
  margin-top: 8px;
}

.wallet-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 20, 60, 0.4);
}

.wallet-copy-btn:active {
  transform: translateY(0);
}

.copy-icon {
  width: 18px;
  height: 18px;
}

/* 上传截图区域 */
.usdt-upload-section {
  margin-bottom: 20px;
}

.usdt-upload-card {
  background: #FFFFFF;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.usdt-upload-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DC143C, #FFD700, #7FB069, #FF1493, #DC143C);
  background-size: 200% 100%;
  animation: cardTopGlow 3s linear infinite;
}

.upload-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.upload-header-icon {
  width: 24px;
  height: 24px;
  color: #DC143C;
}

.usdt-upload-title {
  font-size: 18px;
  font-weight: 600;
  color: #DC143C;
  margin: 0;
}

.usdt-upload-area {
  border: 2px dashed #E0E0E0;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: #FAFAFA;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.usdt-upload-area:hover,
.usdt-upload-area.dragover {
  border-color: #DC143C;
  background: #FFF8E7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.15);
}

.upload-area-content {
  position: relative;
  z-index: 1;
}

.upload-icon-svg {
  width: 48px;
  height: 48px;
  color: #DC143C;
  margin: 0 auto 16px;
  display: block;
}

.usdt-upload-text {
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 8px;
}

.usdt-upload-hint {
  font-size: 12px;
  color: #888888;
}

.usdt-file-preview {
  margin-top: 20px;
  display: none;
}

.usdt-file-preview.show {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

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

.usdt-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #FAFAFA;
  border: 2px solid #E0E0E0;
  transition: all 0.3s ease;
}

.usdt-preview-item:hover {
  border-color: #DC143C;
  background: #FFF8E7;
}

.usdt-preview-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-icon-svg {
  width: 24px;
  height: 24px;
  color: #DC143C;
}

.usdt-preview-info {
  flex: 1;
  min-width: 0;
}

.usdt-preview-name {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
  word-break: break-all;
}

.usdt-preview-size {
  font-size: 12px;
  color: #888888;
}

.usdt-remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #DC143C, #B22222);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.usdt-remove-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.remove-icon {
  width: 16px;
  height: 16px;
}

.usdt-upload-footer {
  margin-top: 20px;
}

.usdt-submit-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #DC143C, #B22222);
  border: none;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
  position: relative;
  overflow: hidden;
}

.usdt-submit-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: btnShine 2s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.usdt-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 20, 60, 0.4);
}

.usdt-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.usdt-submit-btn:disabled {
  background: #E0E0E0;
  color: #999999;
  cursor: not-allowed;
  box-shadow: none;
}

.usdt-submit-btn .submit-icon {
  width: 18px;
  height: 18px;
}

.usdt-btn-text {
  font-size: 16px;
  font-weight: 600;
}

/* 说明区域 */
.usdt-notice-section {
  margin-bottom: 20px;
}

.usdt-notice-card {
  background: #FFFFFF;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.usdt-notice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DC143C, #FFD700, #7FB069, #FF1493, #DC143C);
  background-size: 200% 100%;
  animation: cardTopGlow 3s linear infinite;
}

.usdt-notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.notice-header-icon {
  width: 20px;
  height: 20px;
  color: #DC143C;
}

.usdt-notice-title {
  font-size: 16px;
  font-weight: 600;
  color: #DC143C;
  margin: 0;
}

.usdt-notice-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.usdt-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #FAFAFA;
  border-radius: 10px;
  border-left: 3px solid #FFD700;
  transition: all 0.2s ease;
}

.usdt-notice-item:hover {
  background: #FFF8E7;
  border-left-color: #DC143C;
}

.usdt-notice-dot {
  width: 6px;
  height: 6px;
  background: #FFD700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.usdt-notice-text {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

/* 上传加载状态 */
.usdt-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10000;
}

.usdt-loading.show {
  display: flex;
}

.usdt-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFD700;
  border-radius: 50%;
  animation: usdt-spin 0.8s linear infinite;
  margin-bottom: 16px;
}

.usdt-loading-text {
  font-size: 16px;
  color: #FFFFFF;
  font-weight: 500;
}

@keyframes usdt-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .usdt-wallet-card,
  .usdt-upload-card,
  .usdt-notice-card {
    padding: 20px;
    border-radius: 12px;
  }
  
  .usdt-wallet-title {
    font-size: 18px;
  }
  
  .usdt-wallet-desc {
    font-size: 12px;
  }
  
  .wallet-header-icon {
    width: 40px;
    height: 40px;
  }
  
  .wallet-icon-svg {
    width: 24px;
    height: 24px;
  }
  
  .wallet-input {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .wallet-copy-btn {
    height: 48px;
    font-size: 15px;
  }
  
  .usdt-upload-area {
    padding: 32px 16px;
  }
  
  .upload-icon-svg {
    width: 40px;
    height: 40px;
  }
  
  .usdt-upload-text {
    font-size: 14px;
  }
  
  .usdt-submit-btn {
    height: 48px;
    font-size: 15px;
  }
}
