body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050816;
  color: #f5f7ff;
  margin: 0;
}

.page {
  max-width: 960px;
  margin: 32px auto;
  padding: 0 16px;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-button {
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

.page-subtitle {
  margin-top: 8px;
  color: #9ca3af;
}

.section-title {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.deposit-card {
  flex: 1 1 220px;
  background: #0b1020;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #111827;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deposit-card h3 {
  margin: 0;
}

.deposit-card p {
  margin: 0;
  color: #9ca3af;
}

.primary,
.secondary,
.link-button {
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.primary {
  background: #2563eb;
  color: white;
}

.secondary {
  background: #111827;
  color: #e5e7eb;
}

.link-button {
  background: transparent;
  color: #60a5fa;
}

.deposit-history-link {
  margin-top: 32px;
  text-align: left;
}

/* History */
.deposit-history {
  margin-top: 24px;
  background: #020617;
  border-radius: 12px;
  border: 1px solid #111827;
  padding: 16px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-list {
  margin-top: 12px;
}

.history-item {
  padding: 8px 0;
  border-bottom: 1px solid #111827;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  color: #d1d5db;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.hidden,
.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
}

.modal-content {
  position: relative;
  background: #020617;
  border-radius: 16px;
  border: 1px solid #1f2937;
  padding: 24px;
  max-width: 480px;
  width: 100%;
  z-index: 51;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.2rem;
}
