.af-wallet-card {
  background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
  border-radius: 18px;
  padding: 26px 22px;
  color: #fff;
  box-shadow: 0 12px 40px rgba(229,9,20,.35);
}
.af-wallet-label { font-size: .82rem; opacity: .85; letter-spacing: .02em; }
.af-wallet-amount { font-size: 2.4rem; font-weight: 800; margin: 8px 0 16px; letter-spacing: -.01em; }
.af-wallet-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light { background: rgba(255,255,255,.9); color: #b20710; font-weight: 700; }
.btn-light:hover { background: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.25); }

.af-quick-topup { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.af-quick-gateways { display: flex; gap: 10px; }
.af-gateway-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--af-surface);
  border-radius: 12px;
  font-weight: 600;
  color: var(--af-text);
  white-space: nowrap;
  transition: background .2s;
}
.af-gateway-btn:hover { background: var(--af-surface-2); }
.af-gw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--af-red);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}

.af-tx-list { display: grid; gap: 4px; }
.af-tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.af-tx-desc { font-weight: 600; font-size: .9rem; }
.af-tx-meta { font-size: .75rem; color: var(--af-muted); margin-top: 3px; }
.af-tx-amount { font-weight: 700; font-size: .95rem; }
.af-tx-amount.credit { color: #22c55e; }
.af-tx-amount.debit { color: #f5f5f7; }

.af-checkout { padding: 20px 16px 100px; max-width: 560px; margin: 0 auto; }
.af-summary {
  background: var(--af-surface);
  border-radius: 14px;
  padding: 18px;
  margin: 16px 0 20px;
}
.af-summary-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: .92rem;
}
.af-summary-line.muted { color: var(--af-muted); font-size: .85rem; }
.af-summary-line.total {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 6px;
  padding-top: 12px;
  font-weight: 800;
  font-size: 1.05rem;
}
.af-notice {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .88rem;
  margin-bottom: 16px;
}
.af-notice.warn { background: rgba(234,179,8,.12); color: #eab308; }
.af-notice a { color: inherit; font-weight: 700; }
.af-checkout-back { text-align: center; margin-top: 20px; font-size: .85rem; color: var(--af-muted); }

.af-center-msg { padding: 80px 24px; text-align: center; max-width: 480px; margin: 0 auto; }
.af-check, .af-cross {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.af-check { background: rgba(34,197,94,.15); color: #22c55e; }
.af-cross { background: rgba(229,9,20,.15); color: var(--af-red); }

.af-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.af-modal.open { display: flex; }
.af-modal-body {
  background: var(--af-surface);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
}
.af-gateway-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.af-gateway-option {
  padding: 10px;
  background: var(--af-surface-2);
  border-radius: 8px;
  color: var(--af-text);
  font-size: .85rem;
  border: 2px solid transparent;
}
.af-gateway-option.active { border-color: var(--af-red); background: rgba(229,9,20,.1); }

.af-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 16px 0 40px;
}
.af-plan {
  background: var(--af-surface);
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.af-plan:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.af-plan-name { font-weight: 700; font-size: .95rem; }
.af-plan-price { font-size: 2rem; font-weight: 800; margin: 8px 0 4px; }
.af-plan-duration { font-size: .8rem; color: var(--af-muted); margin-bottom: 14px; }
.af-plan-features { list-style: none; padding: 0; margin: 0 0 20px; font-size: .85rem; flex: 1; }
.af-plan-features li { padding: 5px 0; color: #c7c7d1; }
.af-plan-features li::before { content: '✓ '; color: #22c55e; font-weight: 700; }