/* 充值界面样式 */ .recharge-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 1000004; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .recharge-overlay.show { opacity: 1; pointer-events: auto; } .recharge-container { background: white; border-radius: 12px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); transform: scale(0.9); transition: transform 0.3s ease; } .recharge-overlay.show .recharge-container { transform: scale(1); } .recharge-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #e5e5e5; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .recharge-title { margin: 0; font-size: 18px; font-weight: 600; } .recharge-close { background: none; border: none; color: white; font-size: 28px; line-height: 1; cursor: pointer; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: background 0.2s; } .recharge-close:hover { background: rgba(255, 255, 255, 0.2); } .recharge-content { padding: 32px 24px; } .recharge-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; } .recharge-package { border: 2px solid #e5e5e5; border-radius: 12px; padding: 20px 16px; cursor: pointer; transition: all 0.3s ease; text-align: center; background: white; } .recharge-package:hover { border-color: #8b5cf6; box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2); } .recharge-package.selected { border-color: #8b5cf6; background: rgba(139, 92, 246, 0.05); box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3); } .package-header { display: flex; flex-direction: column; gap: 8px; align-items: center; } .package-points { font-size: 20px; font-weight: 700; color: #1f2937; line-height: 1.2; } .package-bonus { font-size: 12px; color: #10b981; font-weight: 600; background: rgba(16, 185, 129, 0.1); padding: 3px 10px; border-radius: 8px; display: inline-block; margin: 2px 0; } .package-price { font-size: 18px; font-weight: 600; color: #667eea; margin-top: 4px; } .package-total { font-size: 12px; color: #6b7280; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f5f5f5; } .recharge-info { margin-top: 32px; padding-top: 32px; border-top: 1px solid #e5e5e5; } .selected-package-info { text-align: center; margin-bottom: 32px; } .info-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; margin-bottom: 8px; } .info-item:last-child { margin-bottom: 0; } .info-label { font-size: 14px; color: #6b7280; } .info-value { font-size: 16px; font-weight: 600; color: #333; } .qr-code-container { text-align: center; margin-bottom: 32px; } .qr-code-placeholder { display: inline-block; padding: 20px; background: white; border: 2px solid #e5e5e5; border-radius: 8px; margin-bottom: 16px; } .qr-code-hint { font-size: 16px; color: #666; margin: 8px 0; } .qr-code-tip { font-size: 14px; color: #999; margin: 4px 0; } .test-buy-btn { margin-top: 20px; padding: 12px 32px; background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3); } .test-buy-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4); } .test-buy-btn:active { transform: translateY(0); } .test-buy-tip { font-size: 12px; color: #999; margin-top: 8px; font-style: italic; }