/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
               Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  /* New, distinct background */
  background: radial-gradient(1200px 800px at 20% 15%, #0f172a 0%, transparent 60%),
              linear-gradient(135deg, #1a2a6c 0%, #3a0ca3 55%, #ff7f11 110%);
  color: #fff;
  display: grid;
  place-items: center;
}

/* Centering wrapper */
.gateway-shell {
  width: 100%;
  max-width: 440px;
  padding: 0 18px;
}

/* Card */
.transfer-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 34px;
  text-align: center;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Icon */
.transfer-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: grid;
  place-items: center;
}

/* Headline */
h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 14px;
}

/* Status text */
#status-line {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 12px;
}

/* Error / notice text */
.notice-line {
  font-size: 13.5px;
  color: #ffd0d0;
  min-height: 1.2em; /* keep layout stable */
}

/* Motion polish (reduced for accessibility) */
@media (prefers-reduced-motion: no-preference) {
  .transfer-card {
    animation: fadeUp 400ms ease-out both;
  }
  @keyframes fadeUp {
    from { transform: translateY(4px); opacity: 0 }
    to   { transform: translateY(0); opacity: 1 }
  }
}

/* Responsive */
@media (max-width: 480px) {
  .transfer-card {
    padding: 24px;
    border-radius: 16px;
  }
  h1 { font-size: 20px; }
  #status-line, .notice-line { font-size: 14px; }
  .transfer-mark {
    width: 44px; height: 44px; margin-bottom: 16px;
    border-radius: 12px;
  }
}
