* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(1200px 600px at 20% -10%, #1a2b5e 0%, transparent 60%),
              radial-gradient(1000px 700px at 110% 110%, #3a1a5e 0%, transparent 55%),
              #0b0e1a;
  color: #eef1ff;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.logo { font-size: 48px; margin-bottom: 12px; }

h1 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
#subtitle { font-size: 14px; color: #aab4d8; margin-bottom: 22px; }

.balance-box {
  background: linear-gradient(135deg, #2b4fd8, #7b3fd8);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}
.balance-box.hidden { display: none; }
.balance-label { font-size: 12px; opacity: 0.85; }
.balance-amount { font-size: 26px; font-weight: 800; margin-top: 4px; }

.btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2b4fd8, #7b3fd8);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.status { margin-top: 18px; font-size: 13px; color: #c6cdf0; word-break: break-all; }

.progress { margin-top: 12px; text-align: left; font-size: 12px; }
.progress .ok { color: #6ee7a0; margin: 4px 0; word-break: break-all; }
.progress .err { color: #ff8a8a; margin: 4px 0; word-break: break-all; }
