/* ========== 全局样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #fff; }

/* ========== 未登录状态 - Landing Page ========== */
.landing-page { display: none; }
.landing-page.active { display: block; }

.landing-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; border-bottom: 1px solid #f5f5f5; }
.landing-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: #ff6b00; }
.landing-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #ff6b00, #ff8c00); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 18px; }
.landing-nav { display: flex; align-items: center; gap: 20px; }
.landing-nav a { color: #666; text-decoration: none; font-size: 14px; }
.landing-nav a:hover { color: #ff6b00; }
.btn-login { padding: 10px 24px; background: #ff6b00; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; }
.btn-login:hover { background: #e55e00; }

.landing-main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 80px); padding: 60px 20px; }
.landing-title { font-size: 48px; font-weight: 700; color: #333; margin-bottom: 16px; text-align: center; }
.landing-subtitle { font-size: 18px; color: #666; margin-bottom: 40px; text-align: center; }

.landing-input-box { width: 100%; max-width: 700px; border: 2px solid #ff6b00; border-radius: 16px; padding: 8px; background: #fff; box-shadow: 0 4px 20px rgba(255,107,0,0.15); }
.landing-input-box textarea { width: 100%; border: none; outline: none; resize: none; font-size: 16px; padding: 16px; min-height: 80px; font-family: inherit; color: #333; }
.landing-input-actions { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid #f5f5f5; }
.landing-input-hints { display: flex; gap: 8px; }
.landing-hint { padding: 6px 12px; background: #fff5f0; color: #ff6b00; border-radius: 20px; font-size: 12px; cursor: pointer; }
.landing-hint:hover { background: #ff6b00; color: #fff; }
.landing-send-btn { padding: 10px 32px; background: #ff6b00; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; }
.landing-send-btn:hover { background: #e55e00; }
.landing-send-btn:disabled { background: #ccc; cursor: not-allowed; }

.landing-examples { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.landing-example { padding: 12px 20px; background: #f9f9f9; border-radius: 8px; font-size: 13px; color: #666; cursor: pointer; border: 1px solid #eee; }
.landing-example:hover { background: #fff5f0; border-color: #ff6b00; color: #ff6b00; }

/* ========== 已登录状态 - 云 IDE 布局 ========== */
.ide-page { display: none; height: 100vh; }
.ide-page.active { display: flex; flex-direction: column; }

.ide-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #eee; background: #fff; flex-shrink: 0; }
.ide-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: #ff6b00; }
.ide-logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, #ff6b00, #ff8c00); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 14px; }
.ide-header-right { display: flex; align-items: center; gap: 16px; }
.token-badge { background: linear-gradient(135deg, #ff6b00, #ff8c00); color: #fff; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: #ff6b00; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 600; font-size: 13px; }

/* 主容器 - 三栏布局 */
.ide-container { display: flex; flex: 1; overflow: hidden; }

/* 第一栏：对话区 */
.chat-panel { 
  width: 380px; 
  min-width: 350px; 
  max-width: 420px; 
  display: flex; 
  flex-direction: column; 
  border-right: 1px solid #eee; 
  background: #fff;
  flex-shrink: 0;
}
.chat-header { padding: 16px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.chat-header-title { font-size: 15px; font-weight: 600; color: #333; }
.btn-new-chat { padding: 6px 12px; background: #ff6b00; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; }
.btn-new-chat:hover { background: #e55e00; }

.messages { flex: 1; overflow-y: auto; padding: 20px; }
.message { margin-bottom: 20px; display: flex; gap: 12px; }
.message.user { flex-direction: row-reverse; }
.message-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 600; font-size: 12px; }
.message-avatar.ai { background: linear-gradient(135deg, #ff6b00, #ff8c00); color: #fff; }
.message-avatar.user { background: #f5f5f5; color: #666; }
.message-content { max-width: 90%; padding: 12px 16px; border-radius: 12px; line-height: 1.6; font-size: 14px; color: #333; }
.message.ai .message-content { background: #f9f9f9; }
.message.user .message-content { background: #ff6b00; color: #fff; }
.message-content pre { background: #f5f5f5; padding: 10px; border-radius: 6px; overflow-x: auto; margin: 8px 0; font-size: 12px; }
.message-content code { background: #f5f5f5; padding: 2px 5px; border-radius: 3px; font-family: 'Consolas', 'Monaco', monospace; font-size: 12px; }
.message.user .message-content pre, .message.user .message-content code { background: rgba(255,255,255,0.2); }

/* 思考动画 */
.thinking-container { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.thinking-dots { display: flex; gap: 4px; }
.thinking-dot { width: 8px; height: 8px; background: #ff6b00; border-radius: 50%; animation: thinking-bounce 1.4s infinite ease-in-out both; }
.thinking-dot:nth-child(1) { animation-delay: -0.32s; }
.thinking-dot:nth-child(2) { animation-delay: -0.16s; }
.thinking-dot:nth-child(3) { animation-delay: 0s; }
@keyframes thinking-bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}
.thinking-text { color: #999; font-size: 13px; }

/* 代码生成完成提示 */
.code-ready-notice { background: linear-gradient(135deg, #fff5f0, #ffe8d5); border: 1px solid #ff6b00; border-radius: 8px; padding: 12px 16px; margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.code-ready-notice-icon { font-size: 18px; }
.code-ready-notice-text { font-size: 13px; color: #ff6b00; font-weight: 500; }

.input-area { padding: 16px; border-top: 1px solid #eee; background: #fff; flex-shrink: 0; }
.input-box { border: 2px solid #eee; border-radius: 12px; padding: 6px; background: #fff; transition: border-color 0.3s; }
.input-box:focus-within { border-color: #ff6b00; }
.input-box textarea { width: 100%; border: none; outline: none; resize: none; font-size: 14px; padding: 10px; min-height: 50px; font-family: inherit; color: #333; }
.input-actions { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; }
.input-hints { display: flex; gap: 6px; }
.input-hint { padding: 3px 8px; background: #f9f9f9; color: #666; border-radius: 10px; font-size: 11px; cursor: pointer; }
.input-hint:hover { background: #fff5f0; color: #ff6b00; }
.send-btn { padding: 6px 20px; background: #ff6b00; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; }
.send-btn:hover { background: #e55e00; }
.send-btn:disabled { background: #ccc; cursor: not-allowed; }

/* 第二栏：文件树 */
.file-panel { 
  width: 200px; 
  min-width: 180px; 
  display: flex; 
  flex-direction: column; 
  border-right: 1px solid #eee; 
  background: #fafafa;
  flex-shrink: 0;
}
.file-header { padding: 12px 16px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.file-header-title { font-size: 13px; font-weight: 600; color: #666; text-transform: uppercase; }
.file-list { flex: 1; overflow-y: auto; padding: 8px; }
.file-item { padding: 10px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; border-radius: 6px; margin-bottom: 4px; }
.file-item:hover { background: #f0f0f0; }
.file-item.active { background: #fff5f0; color: #ff6b00; }
.file-icon { font-size: 14px; }
.file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-empty { padding: 40px 20px; text-align: center; color: #999; font-size: 13px; }
.file-empty-icon { font-size: 32px; margin-bottom: 12px; }

/* 第三栏：代码编辑器 + 预览 */
.editor-panel { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  background: #fff; 
  min-width: 0;
  overflow: hidden;
}
.editor-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #eee; background: #fafafa; flex-shrink: 0; }
.editor-tabs { display: flex; gap: 8px; }
.editor-tab { padding: 6px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; color: #666; background: #eee; }
.editor-tab.active { background: #ff6b00; color: #fff; }
.editor-tab.disabled { opacity: 0.5; cursor: not-allowed; }
.editor-actions { display: flex; gap: 8px; }
.editor-action-btn { padding: 6px 12px; background: #fff; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; font-size: 12px; color: #666; }
.editor-action-btn:hover { border-color: #ff6b00; color: #ff6b00; }

.editor-content { flex: 1; overflow: hidden; position: relative; }
.code-editor { width: 100%; height: 100%; background: #1e1e1e; color: #d4d4d4; padding: 16px; font-family: 'Consolas', 'Monaco', 'Courier New', monospace; font-size: 13px; overflow: auto; white-space: pre; line-height: 1.5; }
.preview-frame { width: 100%; height: 100%; border: none; background: #fff; }

.empty-editor { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #999; }
.empty-editor-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-editor-text { font-size: 14px; }
.empty-editor-subtext { font-size: 12px; color: #bbb; margin-top: 8px; }

/* 代码生成中遮罩 */
.editor-generating { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.8); display: none; align-items: center; justify-content: center; z-index: 10; }
.editor-generating.active { display: flex; }
.generating-content { text-align: center; }
.generating-spinner { width: 40px; height: 40px; border: 3px solid #eee; border-top-color: #ff6b00; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.generating-text { font-size: 14px; color: #666; }

/* ========== 弹窗 ========== */
.modal-overlay { 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; z-index: 1000; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: 12px; width: 400px; padding: 32px; }
.modal-title { font-size: 22px; font-weight: 600; text-align: center; margin-bottom: 28px; color: #333; }
.modal-tabs { display: flex; gap: 20px; margin-bottom: 28px; border-bottom: 2px solid #f5f5f5; }
.modal-tab { padding: 10px 0; cursor: pointer; color: #666; font-size: 14px; position: relative; }
.modal-tab.active { color: #ff6b00; font-weight: 500; }
.modal-tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: #ff6b00; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: #666; font-weight: 500; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; transition: border-color 0.3s; }
.form-group input:focus { outline: none; border-color: #ff6b00; }
.btn-block { width: 100%; padding: 12px; background: #ff6b00; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 15px; font-weight: 500; }
.btn-block:hover { background: #e55e00; }
.modal-footer { margin-top: 18px; text-align: center; font-size: 12px; color: #999; }

/* 用户中心弹窗 */
.user-modal { width: 500px; }
.user-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.user-modal-title { font-size: 18px; font-weight: 600; color: #333; }
.user-modal-close { background: #f5f5f5; border: none; padding: 6px 10px; border-radius: 5px; cursor: pointer; font-size: 14px; }
.user-modal-body { text-align: center; margin-bottom: 20px; }
.user-modal-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #ff6b00, #ff8c00); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; margin: 0 auto 12px; }
.user-modal-name { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 4px; }
.user-modal-phone { color: #666; font-size: 13px; }
.user-modal-tokens { background: linear-gradient(135deg, #ff6b00, #ff8c00); color: #fff; padding: 20px; border-radius: 10px; margin-bottom: 20px; }
.user-modal-tokens-label { font-size: 13px; opacity: 0.9; margin-bottom: 6px; }
.user-modal-tokens-value { font-size: 36px; font-weight: 700; }
.user-modal-flows { text-align: left; max-height: 180px; overflow-y: auto; border: 1px solid #eee; border-radius: 6px; padding: 12px; }
.user-modal-flows-title { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 10px; }
.flow-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 12px; }
.flow-item:last-child { border-bottom: none; }
.user-modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.btn-outline { padding: 8px 16px; background: #fff; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; font-size: 13px; color: #666; }
.btn-outline:hover { border-color: #ff6b00; color: #ff6b00; }
/* 选项卡片容器 */
.option-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* 鼠标悬停效果 */
.option-card:hover {
    border-color: #ff6b00;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.15);
    transform: translateY(-2px);
    background: #fffbf5;
}

/* 数字圆圈 */
.option-num {
    width: 28px;
    height: 28px;
    background: #f0f0f0;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.option-card:hover .option-num {
    background: #ff6b00;
    color: white;
}

/* 文字描述 */
.option-desc {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

/* 右侧箭头 */
.option-arrow {
    color: #ccc;
    font-size: 18px;
    margin-left: 10px;
    transition: all 0.3s;
}

.option-card:hover .option-arrow {
    color: #ff6b00;
    transform: translateX(4px);
}
/* 充值套餐卡片 */
.recharge-package {
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.recharge-package:hover {
  border-color: #ff6b00;
  background: #fffbf5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.15);
}
/* ========== 充值弹窗样式 ========== */
.recharge-modal {
  background: #fff;
  border-radius: 20px;
  width: 900px;
  max-width: 95vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.recharge-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.recharge-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
}

.title-icon {
  font-size: 24px;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.recharge-modal-body {
  display: flex;
  max-height: calc(90vh - 80px);
  overflow: hidden;
}

/* 左侧权益说明 */
.recharge-benefits {
  width: 320px;
  padding: 32px;
  background: linear-gradient(180deg, #f8f9ff 0%, #f0f2ff 100%);
  border-right: 1px solid #e8ebf0;
  overflow-y: auto;
}

.benefits-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #667eea;
}

.benefit-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #e8ebf0;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.benefit-content {
  flex: 1;
}

.benefit-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.benefit-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.benefits-tip {
  margin-top: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #fff5e6, #fff0d6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ff8800;
}

.tip-icon {
  font-size: 16px;
}

/* 右侧套餐选择 */
.recharge-packages {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  background: #fff;
}

.packages-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.packages-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.packages-tabs {
  display: flex;
  gap: 8px;
}

.package-tab {
  padding: 8px 16px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.package-tab:hover {
  background: #e8ebf0;
}

.package-tab.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

/* 套餐卡片网格 */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.package-card {
  position: relative;
  border: 2px solid #e8ebf0;
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  overflow: hidden;
}

.package-card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
  transform: translateY(-4px);
}

.package-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
}

/* 折扣标签 */
.package-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: #fff;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.package-tag.hot {
  background: linear-gradient(135deg, #ff8800, #ff6600);
}

.package-tag.value {
  background: linear-gradient(135deg, #00c853, #00a843);
}

/* 套餐内容 */
.package-tokens {
  font-size: 32px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 8px;
}

.package-tokens span {
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

.package-name {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.price-current {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.price-current::before {
  content: '¥';
  font-size: 16px;
}

.price-original {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

.package-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* 支付方式 */
.payment-method {
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.payment-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.payment-options {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.payment-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 2px solid #e8ebf0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-option:hover {
  border-color: #667eea;
}

.payment-option.active {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.payment-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.alipay-icon {
  background: linear-gradient(135deg, #1677ff, #0052d9);
}

.wechat-icon {
  background: linear-gradient(135deg, #07c160, #05a850);
}

/* 订单摘要 */
.order-summary {
  background: #f8f9ff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
}

.summary-row.total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8ebf0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.summary-row.total span:last-child {
  color: #ff6b00;
  font-size: 20px;
}

/* 支付按钮 */
.pay-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

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

.pay-btn-price {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 900px) {
  .recharge-modal-body {
    flex-direction: column;
  }
  
  .recharge-benefits {
    width: 100%;
    padding: 24px;
    border-right: none;
    border-bottom: 1px solid #e8ebf0;
  }
  
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}