/**
 * 话费充值页面样式 — v3.0 单页2列布局
 *
 * 设计: 深色主题 + 金色强调 + 2列面板
 * 响应式: ≤900px 单列, ≤768px 紧凑, ≤480px 更紧凑
 *
 * @package BuyCardVP\Recharge
 */

/* Alpine.js 隐藏未初始化内容 */
[x-cloak] { display: none !important; }

/* ===== CSS 变量 ===== */
#buycard-recharge-app {
    --gold: #F7B318;
    --gold-hover: #FBBF24;
    --gold-dark: #D97706;
    --bg-body: #0F0F14;
    --bg-base: #14141E;
    --bg-elevated: #1C1C28;
    --bg-card: #22222E;
    --bg-hover: #282838;
    --bg-input: #181824;
    --text: #FFFFFF;
    --text-secondary: #C8C8D8;
    --text-muted: #A0A0B4;
    --success: #22C55E;
    --danger: #EF4444;
    --border: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.12);
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-full: 9999px;
}

/* ===== 步骤进度条 ===== */
.recharge-steps-bar { padding: 0 0 24px; }
.recharge-steps-track {
    display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.recharge-step-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: var(--r-full);
    font-size: 13px; font-weight: 600;
    background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-muted);
    transition: all 0.25s ease;
}
.recharge-step-num {
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    background: var(--bg-card); color: var(--text-muted); flex-shrink: 0;
}
.recharge-step-pill.done { background: rgba(34,197,94,0.06); border-color: rgba(34,197,94,0.2); color: var(--success); }
.recharge-step-pill.done .recharge-step-num { background: var(--success); color: #fff; }
.recharge-step-pill.active { background: rgba(247,179,24,0.06); border-color: rgba(247,179,24,0.25); color: var(--gold); }
.recharge-step-pill.active .recharge-step-num { background: var(--gold); color: #000; }
.recharge-step-connector { width: 24px; height: 1px; background: var(--border); flex-shrink: 0; }
.recharge-step-connector.done { background: rgba(34,197,94,0.3); }

/* ===== 主面板 ===== */
.recharge-panel {
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}
.panel-left {
    padding: 28px 32px;
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 24px;
}
.panel-right {
    padding: 28px 32px;
    display: flex; flex-direction: column; gap: 24px;
}

/* 可滚动区域 (桌面端) */
.scrollable-area {
    max-height: 380px; overflow-y: auto;
    margin: 0 -4px; padding: 0 4px;
}
.scrollable-area::-webkit-scrollbar { width: 4px; }
.scrollable-area::-webkit-scrollbar-track { background: transparent; }
.scrollable-area::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }

/* ===== 字段标签 ===== */
.field-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--text);
    margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px;
}
.field-label svg { width: 15px; height: 15px; color: var(--text-muted); }

/* ===== 国家选择 ===== */
.country-select-wrap { position: relative; }
.country-select {
    display: flex; align-items: center; gap: 12px;
    padding: 0 16px; height: 52px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); cursor: pointer; transition: border-color 0.2s;
}
.country-select:hover { border-color: var(--border-light); }
.country-select.open { border-color: var(--gold); }
.country-flag { width: 24px; height: 18px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.country-name { font-size: 15px; font-weight: 600; flex: 1; }
.country-code { font-size: 14px; color: var(--text-muted); }
.country-chevron { color: var(--text-muted); transition: transform 0.2s; }
.country-select.open .country-chevron { transform: rotate(180deg); }
.country-auto {
    font-size: 11px; font-weight: 600; color: var(--success);
    background: rgba(34,197,94,0.08); padding: 2px 8px; border-radius: var(--r-full);
}

/* 国家下拉选择器 */
.country-picker {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    margin-top: 4px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--r-md); overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.country-picker-search {
    padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.country-picker-search input {
    width: 100%; height: 38px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-sm); padding: 0 12px;
    font-size: 13px; font-family: inherit; color: var(--text); outline: none;
}
.country-picker-search input:focus { border-color: var(--gold); }
.country-picker-search input::placeholder { color: var(--text-muted); }
.country-picker-list {
    max-height: 280px; overflow-y: auto;
}
.country-picker-list::-webkit-scrollbar { width: 4px; }
.country-picker-list::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }
.country-picker-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; cursor: pointer; transition: background 0.15s;
    font-size: 14px; color: var(--text);
}
.country-picker-item:hover { background: var(--bg-hover); }
.country-picker-item.selected { background: rgba(247,179,24,0.06); color: var(--gold); }
.country-picker-item .cp-flag { width: 24px; height: 18px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.country-picker-item .cp-name { flex: 1; font-weight: 500; }
.country-picker-item .cp-code { font-size: 12px; color: var(--text-muted); }
.country-picker-empty {
    padding: 24px; text-align: center; font-size: 13px; color: var(--text-muted);
}

/* ===== 手机号输入 ===== */
.phone-wrap {
    display: flex; height: 52px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); overflow: hidden; transition: border-color 0.2s;
}
.phone-wrap:focus-within { border-color: var(--gold); }
.phone-prefix {
    display: flex; align-items: center; gap: 8px; padding: 0 14px;
    border-right: 1px solid var(--border);
    font-size: 14px; font-weight: 600; color: var(--text);
    background: rgba(255,255,255,0.02); flex-shrink: 0;
}
.phone-prefix .flag { width: 24px; height: 18px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.phone-input {
    flex: 1; min-width: 0;
    background: transparent; border: none; outline: none;
    padding: 0 14px; font-size: 15px; font-family: inherit; color: var(--text);
}
.phone-input::placeholder { color: var(--text-muted); }
/* 邮箱输入 (非登录用户) */
.email-input {
    width: 100%; height: 48px; padding: 0 14px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); outline: none;
    font-size: 15px; font-family: inherit; color: var(--text);
}
.email-input:focus { border-color: var(--gold); }
.email-input::placeholder { color: var(--text-muted); }

/* 输入框注意力提示动画 */
.phone-wrap.attention,
.email-input.attention {
    animation: attentionPulse 0.6s ease;
    border-color: var(--gold) !important;
}
@keyframes attentionPulse {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: 0 0 0 3px rgba(247,179,24,0.25); }
}

.phone-detect {
    display: flex; align-items: center; gap: 6px; padding: 0 14px;
    font-size: 12px; font-weight: 600; color: var(--gold);
    background: none; border: none; border-left: 1px solid var(--border);
    cursor: pointer; font-family: inherit; white-space: nowrap;
}
.phone-detect:hover { color: var(--gold-hover); }

/* ===== 运营商 Tab ===== */
.service-tabs {
    display: flex; gap: 0;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); overflow: hidden; margin-bottom: 14px;
}
.service-tab {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--text-muted);
    cursor: pointer; border: none; background: none; font-family: inherit; transition: all 0.2s;
}
.service-tab:hover { color: var(--text-secondary); }
.service-tab.active { color: var(--gold); background: rgba(247,179,24,0.06); }
.service-tab + .service-tab { border-left: 1px solid var(--border); }

/* ===== 运营商网格 (自适应 1~5列) ===== */
.operator-grid { display: grid; gap: 8px; }
.operator-grid.cols-1 { grid-template-columns: 1fr; max-width: 160px; }
.operator-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.operator-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.operator-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.operator-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.operator-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 14px 8px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); cursor: pointer; transition: all 0.2s;
}
.operator-card:hover { border-color: var(--border-light); background: var(--bg-elevated); }
.operator-card.selected { border-color: var(--gold); background: rgba(247,179,24,0.04); }
.op-logo {
    width: 40px; height: 40px; border-radius: var(--r-sm);
    background: rgba(255,255,255,0.92); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: var(--text-muted);
}
.op-logo img { width: 100%; height: 100%; object-fit: contain; }
.operator-card.selected .op-logo { background: #fff; }
.op-name { font-size: 11px; font-weight: 600; color: var(--text-secondary); text-align: center; line-height: 1.3; }
.operator-card.selected .op-name { color: var(--text); font-weight: 700; }
.op-type { display: none; }

/* 运营商数量提示 */
.operator-count { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.operator-count strong { color: var(--text-secondary); }

/* ===== 空状态 ===== */
.recharge-empty-state {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; padding: 40px 20px; text-align: center;
}
.recharge-empty-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-elevated); border: 1px solid var(--border);
}
.recharge-empty-icon svg { width: 24px; height: 24px; color: var(--text-muted); }
.recharge-empty-title { font-size: 15px; font-weight: 600; color: var(--text-secondary); }
.recharge-empty-text { font-size: 13px; color: var(--text-muted); max-width: 260px; line-height: 1.6; }
.recharge-empty-hint {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--gold); font-weight: 600;
    padding: 6px 14px; border-radius: var(--r-full);
    background: rgba(247,179,24,0.06); border: 1px solid rgba(247,179,24,0.15);
}

/* ===== 金额网格 ===== */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.amount-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 16px 8px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); cursor: pointer; transition: all 0.2s;
}
.amount-card:hover { border-color: var(--border-light); background: var(--bg-elevated); }
.amount-card.selected { border-color: var(--gold); background: rgba(247,179,24,0.04); }
.amt-local { font-size: 16px; font-weight: 700; color: var(--text-secondary); }
.amount-card.selected .amt-local { color: var(--text); }
.amount-card:hover .amt-local { color: var(--text); }
.amt-usd { font-size: 11px; color: var(--text-muted); }
.amt-desc {
    font-size: 10px; color: var(--text-muted); line-height: 1.3;
    max-width: 120px; text-align: center; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ===== 范围金额输入 ===== */
.range-wrap { display: flex; flex-direction: column; gap: 12px; }
.range-hint {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-secondary);
    padding: 10px 14px;
    background: rgba(247,179,24,0.04);
    border: 1px solid rgba(247,179,24,0.12);
    border-radius: var(--r-md);
}
.range-hint svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.range-hint strong { color: var(--gold); }
.range-input {
    height: 52px; width: 100%;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 0 16px;
    font-size: 18px; font-weight: 700; font-family: inherit;
    color: var(--text); outline: none; transition: border-color 0.2s;
}
.range-input:focus { border-color: var(--gold); }
.range-input::placeholder { color: var(--text-muted); font-weight: 400; font-size: 14px; }
.range-input::-webkit-inner-spin-button,
.range-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.range-input { -moz-appearance: textfield; }

.suggested-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.suggested-btn {
    padding: 8px 16px; font-size: 13px; font-weight: 600;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--r-full); color: var(--text-secondary);
    cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.suggested-btn:hover { border-color: var(--border-light); color: var(--text); }
.suggested-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(247,179,24,0.06); }

/* ===== 价格显示 ===== */
.price-box {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: rgba(247,179,24,0.04);
    border: 1px solid rgba(247,179,24,0.15);
    border-radius: var(--r-md);
}
.price-label { font-size: 14px; color: var(--text-secondary); }
.price-value { font-size: 20px; font-weight: 700; color: var(--gold); }
.price-loading {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-muted);
}

/* ===== 提交区域 ===== */
.submit-area { margin-top: auto; }
.submit-btn {
    width: 100%; height: 52px;
    background: var(--gold); color: #000;
    font-size: 15px; font-weight: 700; border: none;
    border-radius: var(--r-md); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; transition: all 0.2s;
}
.submit-btn:hover:not(:disabled) { background: var(--gold-hover); }
.submit-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.submit-note {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 11px; color: var(--text-muted); margin-top: 10px;
}
.submit-note svg { width: 12px; height: 12px; }

/* ===== 加载状态 ===== */
.recharge-loading {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 40px 20px;
}
.recharge-spinner {
    width: 28px; height: 28px; border: 3px solid var(--border);
    border-top-color: var(--gold); border-radius: 50%;
    animation: recharge-spin 0.6s linear infinite;
}
.recharge-spinner-sm {
    width: 16px; height: 16px; border: 2px solid var(--border);
    border-top-color: var(--gold); border-radius: 50%;
    animation: recharge-spin 0.6s linear infinite; display: inline-block;
}
@keyframes recharge-spin { to { transform: rotate(360deg); } }

/* ===== 错误提示 ===== */
.recharge-error {
    font-size: 12px; color: var(--danger); margin-top: 4px;
}
.recharge-error-box {
    padding: 12px 16px; border-radius: var(--r-md);
    background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2);
    font-size: 13px; color: var(--danger);
}

/* ===== Modal ===== */
.recharge-modal {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 0; visibility: hidden; transition: all 0.25s ease;
}
.recharge-modal.show { opacity: 1; visibility: visible; }
.modal-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--r-lg); width: 100%; max-width: 460px;
    overflow: hidden; transform: translateY(16px); transition: transform 0.25s ease;
}
.recharge-modal.show .modal-card { transform: translateY(0); }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 17px; font-weight: 700; color: var(--text); }
.modal-close {
    width: 32px; height: 32px; border-radius: var(--r-sm);
    background: var(--bg-elevated); border: none; color: var(--text-muted);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.order-rows {
    display: flex; flex-direction: column; gap: 14px;
    background: var(--bg-elevated); border-radius: var(--r-md); padding: 20px;
}
.order-row { display: flex; justify-content: space-between; align-items: center; }
.order-k { font-size: 14px; color: var(--text-muted); }
.order-v { font-size: 14px; font-weight: 600; color: var(--text); }
.order-div { height: 1px; background: var(--border); }
.order-total .order-k { font-weight: 600; color: var(--text); }
.order-total .order-v { font-size: 20px; font-weight: 700; color: var(--gold); }
/* ---- 支付方式选择 ---- */
.modal-payment-methods { padding: 0 24px 16px; }
.payment-methods-title {
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.payment-methods-list { display: flex; flex-direction: column; gap: 6px; }
.payment-method-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--r-sm);
    border: 1px solid var(--border); cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.payment-method-item:hover { background: var(--bg-hover); border-color: var(--border-light); }
.payment-method-item.selected { border-color: var(--gold); background: rgba(247,179,24,0.06); }
.payment-method-item input[type="radio"] { display: none; }
.pm-radio {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--text-muted); flex-shrink: 0;
    position: relative; transition: border-color 0.15s;
}
.payment-method-item.selected .pm-radio { border-color: var(--gold); }
.payment-method-item.selected .pm-radio::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
}
.pm-icon { width: 24px; height: 18px; object-fit: contain; flex-shrink: 0; }
.pm-title { font-size: 14px; font-weight: 500; color: var(--text); }

.modal-footer { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.modal-pay-btn {
    width: 100%; height: 48px; background: var(--gold); color: #000;
    font-size: 15px; font-weight: 700; border: none; border-radius: var(--r-md);
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit;
}
.modal-pay-btn:hover:not(:disabled) { background: var(--gold-hover); }
.modal-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.modal-cancel-btn {
    width: 100%; height: 42px; background: none;
    border: 1px solid var(--border); border-radius: var(--r-md);
    color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.modal-note { text-align: center; font-size: 11px; color: var(--text-muted); }

/* ===== 移动端浮动提交 ===== */
.mobile-submit-bar { display: none; }

/* ===== Hero (主题模板层) ===== */
.recharge-hero {
    position: relative;
    padding: 56px 0 48px;
    background: linear-gradient(180deg, #13131D 0%, #0F0F14 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}
.recharge-hero::before {
    content: '';
    position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse, rgba(247,179,24,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.recharge-hero-inner { position: relative; text-align: center; }
.recharge-hero-labels {
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px;
}
.recharge-hero-label {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; font-size: 12px; font-weight: 600;
    border-radius: 9999px; background: #1C1C28;
    border: 1px solid rgba(255,255,255,0.08); color: #A0A0B0;
}
.recharge-hero-label svg { width: 14px; height: 14px; }
.recharge-hero-label.gold { color: #F7B318; border-color: rgba(247,179,24,0.2); background: rgba(247,179,24,0.06); }
.recharge-hero-label.green { color: #22C55E; border-color: rgba(34,197,94,0.2); background: rgba(34,197,94,0.06); }
.recharge-hero-title {
    font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; line-height: 1.15;
    margin-bottom: 12px; letter-spacing: -0.02em; color: #fff;
}
.recharge-hero-title .gold { color: #F7B318; }
.recharge-hero-subtitle {
    font-size: 15px; color: #A0A0B0;
    max-width: 500px; margin: 0 auto; line-height: 1.6;
}

/* ===== FAQ (主题模板层) ===== */
.recharge-faq { padding: 64px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.recharge-section-header { text-align: center; margin-bottom: 32px; }
.recharge-section-title {
    font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 8px; color: #fff;
}
.recharge-faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.recharge-faq-item {
    background: #14141E; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; overflow: hidden;
}
.recharge-faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 600; color: #fff;
}
.recharge-faq-q:hover { color: #F7B318; }
.recharge-faq-q svg { flex-shrink: 0; width: 16px; height: 16px; color: #6B6B7B; transition: transform 0.2s; }
.recharge-faq-item.open .recharge-faq-q svg { transform: rotate(180deg); }
.recharge-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.recharge-faq-item.open .recharge-faq-a { max-height: 200px; }
.recharge-faq-a-inner { padding: 0 20px 16px; font-size: 13px; color: #A0A0B0; line-height: 1.7; }

/* ===== Reviews (主题模板层) ===== */
.recharge-reviews {
    padding: 64px 0; background: #14141E;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.recharge-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recharge-review-card {
    background: #1C1C28; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 24px;
    display: flex; flex-direction: column; gap: 14px;
}
.recharge-review-stars { color: #F7B318; font-size: 14px; letter-spacing: 2px; }
.recharge-review-text { font-size: 14px; color: #A0A0B0; line-height: 1.7; flex: 1; }
.recharge-review-user { display: flex; align-items: center; gap: 10px; }
.recharge-review-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
}
.recharge-review-avatar.av-gold { background: rgba(247,179,24,0.12); color: #F7B318; }
.recharge-review-avatar.av-green { background: rgba(34,197,94,0.12); color: #22C55E; }
.recharge-review-avatar.av-blue { background: rgba(59,130,246,0.12); color: #3B82F6; }
.recharge-review-name { font-size: 13px; font-weight: 600; color: #fff; }
.recharge-review-loc { font-size: 11px; color: #6B6B7B; }

/* ===== Responsive: ≤900px 单列 ===== */
@media (max-width: 900px) {
    .panel-body { grid-template-columns: 1fr; min-height: auto; }
    .panel-left { border-right: none; border-bottom: 1px solid var(--border); }
    .scrollable-area { max-height: none; overflow-y: visible; margin: 0; padding: 0; }
    .submit-area { display: none; }
    .mobile-submit-bar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 201;
        background: #14141E; border-top: 1px solid rgba(255,255,255,0.08);
        padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    .mobile-submit-bar .submit-btn { height: 50px; }
    #buycard-recharge-app { padding-bottom: 80px; }

    /* 运营商区域: 限制2行高度, 超出纵向滚动 */
    .panel-left .scrollable-area {
        max-height: 200px;
        overflow-y: auto;
    }
    /* 面值区域: 限制3行高度, 超出纵向滚动 */
    .panel-right .scrollable-area {
        max-height: 240px;
        overflow-y: auto;
    }
}
/* ≤767px: 底部导航可见，提交栏上移避让 */
@media (max-width: 767px) {
    .mobile-submit-bar { bottom: 56px; padding-bottom: 10px; }
    #buycard-recharge-app { padding-bottom: 140px; }
}

/* ===== Responsive: ≤768px 紧凑 ===== */
@media (max-width: 768px) {
    .recharge-hero { padding: 40px 0 32px; }
    .recharge-reviews-grid { grid-template-columns: 1fr; }
    .recharge-faq-list { grid-template-columns: 1fr; }
    .panel-left, .panel-right { padding: 20px 16px; }
    .recharge-faq, .recharge-reviews { padding: 48px 0; }
    .recharge-step-pill { padding: 6px 12px; font-size: 12px; }
    .recharge-step-num { width: 20px; height: 20px; font-size: 10px; }
    .recharge-step-connector { width: 12px; }
    .recharge-step-text { display: none; }
    .amount-grid { grid-template-columns: repeat(3, 1fr); }
    .operator-grid.cols-5 { grid-template-columns: repeat(4, 1fr); }
    .operator-card { padding: 10px 6px; gap: 4px; }
    .op-logo { width: 34px; height: 34px; }
    .op-name { font-size: 10px; }
    .op-type { font-size: 8px; }
    .amount-card { padding: 12px 6px; }
    .amt-local { font-size: 14px; }
}

/* ===== About 区块 ===== */
.recharge-about {
    padding: 64px 0;
    background: #0F0F14;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.recharge-about-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
.recharge-about-text h2 {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}
.recharge-about-text p {
    font-size: 14px;
    color: #A0A0B0;
    line-height: 1.8;
    margin-bottom: 16px;
}
.recharge-about-text p:last-of-type { margin-bottom: 28px; }

/* 3步骤 */
.recharge-about-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.recharge-about-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.step-num {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: rgba(247,179,24,0.12);
    border: 1.5px solid rgba(247,179,24,0.4);
    color: #F7B318;
    font-size: 13px; font-weight: 800;
    box-shadow: 0 0 12px rgba(247,179,24,0.15);
}
.recharge-about-step div {
    display: flex; flex-direction: column; gap: 3px;
    padding-top: 4px;
}
.recharge-about-step strong {
    font-size: 14px; font-weight: 600; color: #fff;
}
.recharge-about-step span {
    font-size: 13px; color: #A0A0B0; line-height: 1.5;
}

/* 统计卡片 */
.recharge-about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: sticky;
    top: 100px;
}
.recharge-stat-card {
    background: #1C1C28;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid #F7B318;
    border-radius: 14px;
    padding: 20px 16px;
    display: flex; flex-direction: column; gap: 6px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.recharge-stat-card:hover {
    border-color: rgba(247,179,24,0.5);
    box-shadow: 0 4px 20px rgba(247,179,24,0.08);
}
.stat-num {
    font-size: 30px; font-weight: 800;
    color: #F7B318;
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 12px; color: #A0A0B0; font-weight: 500;
    line-height: 1.4;
}

/* ===== 热门目的地 ===== */
.recharge-destinations {
    padding: 64px 0;
    background: #14141E;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.recharge-section-sub {
    font-size: 14px;
    color: #6B6B7B;
    margin-top: 6px;
}
.recharge-destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.recharge-dest-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px;
    background: #1C1C28;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.recharge-dest-card:hover {
    border-color: rgba(247,179,24,0.3);
    background: #22222E;
    transform: translateY(-2px);
    text-decoration: none;
}
/* 顶部: 国旗 + 国家名 */
.dest-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dest-flag-img {
    width: 36px; height: 27px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.dest-country {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
/* 运营商文字 */
.dest-operators {
    font-size: 12px;
    color: #6B6B7B;
    line-height: 1.5;
}
/* CTA */
.dest-cta {
    font-size: 12px;
    font-weight: 600;
    color: #F7B318;
    margin-top: auto;
}
.recharge-dest-card:hover .dest-cta { color: #FBBF24; }

/* ===== 相关博客文章 ===== */
.recharge-related-posts {
    padding: 64px 0;
    background: #0F0F14;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.recharge-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.recharge-related-card {
    display: flex;
    flex-direction: column;
    background: #1C1C28;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
}
.recharge-related-card:hover {
    border-color: rgba(247,179,24,0.25);
    transform: translateY(-2px);
    text-decoration: none;
}
.related-thumb {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #22222E;
    flex-shrink: 0;
}
.related-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
    flex: 1;
}
.related-date {
    font-size: 11px;
    color: #6B6B7B;
    font-weight: 500;
}
.related-body h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-read {
    font-size: 12px;
    font-weight: 600;
    color: #F7B318;
    margin-top: 4px;
}
.recharge-related-card:hover .related-read { color: #FBBF24; }

/* ===== Responsive: 新区块 ≤1024px ===== */
@media (max-width: 1024px) {
    .recharge-about-grid { grid-template-columns: 1fr; gap: 32px; }
    .recharge-about-stats { position: static; grid-template-columns: repeat(4, 1fr); }
    .recharge-destinations-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .recharge-about, .recharge-destinations, .recharge-related-posts { padding: 48px 0; }
    .recharge-about-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 24px; }
    .recharge-destinations-grid { grid-template-columns: repeat(3, 1fr); }
    .recharge-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .recharge-destinations-grid { grid-template-columns: repeat(2, 1fr); }
    .dest-flag { font-size: 24px; }
}

/* ===== Responsive: ≤480px 小手机 ===== */
@media (max-width: 480px) {
    .recharge-hero { padding: 32px 0 28px; }
    .recharge-hero-labels { gap: 6px; }
    .recharge-hero-label { font-size: 11px; padding: 5px 10px; }
    .recharge-step-connector { width: 6px; }
    .operator-grid.cols-4,
    .operator-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
    .amount-grid { grid-template-columns: repeat(3, 1fr); }
    .operator-card { padding: 8px 4px; }
    .op-logo { width: 30px; height: 30px; }
    .amount-card { padding: 10px 4px; }
    .amt-local { font-size: 13px; }
    .amt-usd { font-size: 10px; }
}

/* ===== Mobile Top Up 礼品卡模块 ===== */
.recharge-topup-cards {
    padding: 64px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.recharge-topup-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.recharge-topup-cta {
    text-align: center;
    margin-top: 32px;
}
.recharge-topup-cta .recharge-topup-btn,
.recharge-topup-cta .recharge-topup-btn:visited {
    display: inline-block;
    padding: 11px 28px;
    background: transparent;
    border: 1px solid rgba(247,179,24,0.6);
    color: #F7B318 !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s;
}
.recharge-topup-cta .recharge-topup-btn:hover {
    background: rgba(247,179,24,0.1);
    border-color: #F7B318;
    color: #F7B318 !important;
    text-decoration: none !important;
}
@media (max-width: 1024px) {
    .recharge-topup-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .recharge-topup-cards { padding: 48px 0; }
    .recharge-topup-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .recharge-topup-grid { gap: 10px; }
}
