/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #dcfce7;
  --secondary: #3b82f6;
  --dark: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--gray-50);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

/* ===== App Container ===== */
.app-container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--gray-50);
  position: relative;
  padding-bottom: 80px;
}

/* ===== Header ===== */
.header {
  background: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-logo {
  display: flex;
  flex-direction: column;
}

.header-logo h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.header-logo span {
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-customer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--gray-100);
}

.header-customer svg { width: 16px; height: 16px; }

/* ===== Banner Carousel ===== */
.banner-carousel {
  margin: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
}

.banner-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.banner-slide {
  flex: 0 0 auto;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.banner-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  user-select: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.banner-carousel:hover .banner-arrow {
  opacity: 1;
}

.banner-prev { left: 8px; }
.banner-next { right: 8px; }

/* ===== Announcement ===== */
.announcement {
  margin: 0 16px 16px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.announcement-icon {
  width: 32px;
  height: 32px;
  background: #fef3c7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.announcement-text {
  flex: 1;
  font-size: 13px;
  color: var(--gray-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-arrow {
  color: var(--gray-400);
  font-size: 18px;
}

/* ===== Section Card ===== */
.section-card {
  margin: 0 16px 16px;
  padding: 24px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-title-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title-icon svg { width: 20px; height: 20px; color: var(--primary); }

.section-title h2 {
  font-size: 18px;
  font-weight: 700;
}

.section-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-item {
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.feature-item-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.feature-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 12px;
  color: var(--gray-400);
}

/* ===== Project Section ===== */
.project-section {
  margin: 0 16px 16px;
}

.project-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.project-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.project-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.project-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.project-info p {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== Investment Card ===== */
.invest-card {
  margin: 0 16px 16px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.invest-card-image {
  height: 160px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.invest-card-image.solar {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.invest-card-image.wind {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.invest-card-image.energy {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.invest-card-body {
  padding: 20px;
}

.invest-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.invest-card-name {
  font-size: 17px;
  font-weight: 700;
}

.invest-card-rate {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.invest-card-rate.blue { color: var(--secondary); }
.invest-card-rate.purple { color: #8b5cf6; }

.invest-card-period {
  font-size: 13px;
  color: var(--gray-400);
}

.invest-card-rate-label {
  font-size: 12px;
  color: var(--gray-400);
  text-align: right;
}

.invest-min-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 12px;
  background: var(--gray-50);
  color: var(--gray-500);
}

.invest-min-input:focus {
  border-color: var(--primary);
  background: #fff;
}

.invest-btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  color: white;
  text-align: center;
  transition: opacity 0.2s;
}

.invest-btn:active { opacity: 0.8; }
.invest-btn.green { background: var(--primary); }
.invest-btn.blue { background: var(--secondary); }
.invest-btn.purple { background: #8b5cf6; }

/* ===== Order Card ===== */
.order-card {
  margin: 0 16px 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.order-no {
  font-size: 13px;
  color: var(--gray-400);
}

.order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.order-status.running {
  background: var(--primary-light);
  color: var(--primary);
}

.order-status.settled {
  background: var(--gray-100);
  color: var(--gray-500);
}

.order-product {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.order-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-detail-label {
  font-size: 13px;
  color: var(--gray-400);
}

.order-detail-value {
  font-size: 15px;
  font-weight: 700;
}

.order-detail-value.profit {
  color: var(--primary);
}

.order-settle {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-400);
}

/* ===== Bottom Nav ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 16px;
  cursor: pointer;
  transition: color 0.2s;
  color: var(--gray-400);
  text-decoration: none;
}

.nav-item.active { color: var(--primary); }

.nav-item svg { width: 22px; height: 22px; }

.nav-item span {
  font-size: 11px;
  font-weight: 500;
}

/* ===== Login Page ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #fff;
}

.login-logo {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(34,197,94,0.3);
}

.login-logo svg { width: 40px; height: 40px; color: white; }

.login-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.login-form {
  width: 100%;
  max-width: 400px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
  display: block;
}

.form-input-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s;
  background: var(--gray-50);
}

.form-input-wrapper:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.form-input-wrapper svg {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  margin-right: 10px;
  flex-shrink: 0;
}

.form-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--dark);
}

.form-input-wrapper input::placeholder {
  color: var(--gray-300);
}

.forgot-link {
  text-align: right;
  margin-bottom: 24px;
}

.forgot-link a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.login-btn {
  width: 100%;
  padding: 18px;
  background: var(--dark);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.login-btn:active { opacity: 0.8; }

.login-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
}

.login-footer a {
  color: var(--primary);
  font-weight: 600;
  margin-left: 4px;
}

/* ===== Profile Page ===== */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 20px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.profile-avatar svg { width: 36px; height: 36px; color: var(--primary); }

.profile-name {
  font-size: 20px;
  font-weight: 700;
}

.profile-id {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Balance Card */
.balance-card {
  margin: 0 16px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #16a34a 100%);
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.balance-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.balance-refresh {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background 0.2s;
}

.balance-refresh:hover {
  background: rgba(255,255,255,0.35);
}

.balance-refresh svg { width: 18px; height: 18px; }

.balance-amount {
  font-size: 36px;
  font-weight: 800;
  margin: 8px 0 20px;
}

.balance-amount .currency {
  font-size: 20px;
  font-weight: 600;
  margin-right: 2px;
}

.balance-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 16px;
}

.balance-row {
  display: flex;
  justify-content: space-between;
}

.balance-row-item label {
  font-size: 12px;
  opacity: 0.8;
  display: block;
  margin-bottom: 4px;
}

.balance-row-item span {
  font-size: 16px;
  font-weight: 700;
}

/* Quick Actions */
.quick-actions {
  margin: 0 16px 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.quick-actions-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quick-action-item {
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.quick-action-item:active { transform: scale(0.96); }

.quick-action-item.deposit {
  background: var(--primary-light);
}

.quick-action-item.withdraw {
  background: #eff6ff;
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.quick-action-icon.green { background: var(--primary); }
.quick-action-icon.blue { background: var(--secondary); }

.quick-action-icon svg { width: 22px; height: 22px; color: white; }

.quick-action-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.quick-action-item p {
  font-size: 11px;
  color: var(--gray-400);
}

/* Menu List */
.menu-list {
  margin: 0 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.2s;
}

.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: var(--gray-50); }

.menu-item-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item-icon svg { width: 20px; height: 20px; color: var(--gray-500); }
.menu-item-icon svg.green { color: var(--primary); }
.menu-item-icon svg.blue { color: var(--secondary); }
.menu-item-icon svg.orange { color: #f59e0b; }

.menu-item span {
  flex: 1;
  font-size: 15px;
}

.menu-item-arrow {
  color: var(--gray-400);
  font-size: 18px;
  font-weight: 600;
  margin-left: 4px;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.modal {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  width: 85%;
  max-width: 340px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-icon svg { width: 32px; height: 32px; color: var(--primary); }

.modal h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-btn {
  width: 100%;
  padding: 16px;
  background: var(--dark);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
}

/* ===== Deposit/Withdraw Page ===== */
.page-header {
  background: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.page-back {
  position: absolute;
  left: 20px;
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.page-content {
  padding: 20px 16px;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.network-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gray-400);
}

.qr-placeholder svg { width: 40px; height: 40px; margin-bottom: 8px; }
.qr-placeholder span { font-size: 12px; }

.address-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.address-box code {
  flex: 1;
  font-size: 12px;
  color: var(--gray-700);
  word-break: break-all;
  font-family: monospace;
}

.copy-btn {
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Form Card */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.form-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  color: var(--gray-500);
  display: block;
  margin-bottom: 8px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--gray-50);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--primary);
  background: #fff;
}

.upload-area {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.upload-area:active { border-color: var(--primary); }

.upload-area svg { width: 32px; height: 32px; color: var(--gray-300); margin-bottom: 8px; }
.upload-area span { font-size: 13px; color: var(--gray-400); }

/* Fee Info */
.fee-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #eff6ff;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.fee-info label {
  font-size: 13px;
  color: var(--gray-500);
}

.fee-info span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.total-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.total-info label {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
}

.total-info span {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.submit-btn:active { opacity: 0.8; }

/* Tips */
.tips-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.tips-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}

.tips-title svg { width: 20px; height: 20px; color: var(--primary); }

.tips-list {
  list-style: none;
  padding: 0;
}

.tips-list li {
  font-size: 13px;
  color: var(--gray-500);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.tips-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gray-400);
}

/* Withdraw balance card */
.withdraw-balance {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  margin-bottom: 16px;
}

.withdraw-balance label {
  font-size: 13px;
  opacity: 0.7;
}

.withdraw-balance .amount {
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0;
}

.withdraw-balance .frozen {
  font-size: 12px;
  opacity: 0.5;
  display: flex;
  align-items: center;
  gap: 4px;
}

.withdraw-balance .frozen svg { width: 12px; height: 12px; }

/* ===== Responsive ===== */
@media (max-width: 480px) {
  body { max-width: 100%; }
  .bottom-nav { max-width: 100%; }
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 99999;
  animation: toastIn 0.3s ease;
  white-space: nowrap;
}

.toast.error { background: #ef4444; }
.toast.success { background: var(--primary); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== Loading ===== */
.loading {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.loading::after {
  content: '';
  width: 28px;
  height: 28px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

.empty-state svg { width: 64px; height: 64px; margin-bottom: 16px; opacity: 0.3; }
.empty-state p { font-size: 14px; }
