:root {
  --brand: #6144f2;
  --brand-dark: #4d35c9;
  --bg: #0b1020;
  --card: rgba(17, 23, 43, 0.95);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7ff;
  --muted: #adb7d7;
  --input: #131a31;
  --success-bg: rgba(34, 197, 94, 0.14);
  --success-text: #86efac;
  --error-bg: rgba(239, 68, 68, 0.14);
  --error-text: #fca5a5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Nunito Sans", sans-serif;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(97, 68, 242, 0.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(97, 68, 242, 0.12), transparent 30%),
    var(--bg);
}
.app { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.card {
  width: 100%; max-width: 560px; background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.brand-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.logo {
  width: 64px; height: 64px; border-radius: 18px; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12); box-shadow: 0 12px 28px rgba(97, 68, 242, 0.28);
}
h1 { font-size: 1.9rem; line-height: 1; margin-bottom: 6px; }
.subtext { color: var(--muted); }
.top-actions { margin-bottom: 18px; }
.install-btn {
  width: 100%; border: 0; border-radius: 14px; padding: 13px 16px; background: rgba(97, 68, 242, 0.16);
  color: #fff; font-size: 0.98rem; font-weight: 800; cursor: pointer; border: 1px solid rgba(97, 68, 242, 0.35);
}
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
label { font-weight: 700; font-size: 0.95rem; }
input, textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08);
  background: var(--input); color: var(--text); outline: none; font: inherit; transition: 0.2s ease;
}
input:focus, textarea:focus {
  border-color: rgba(97, 68, 242, 0.9); box-shadow: 0 0 0 4px rgba(97, 68, 242, 0.12);
}
.method-box { padding: 16px; border-radius: 18px; background: rgba(97, 68, 242, 0.08); border: 1px solid rgba(97, 68, 242, 0.18); }
.method-label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }
.method-option {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); margin-bottom: 10px;
  cursor: pointer; font-weight: 700;
}
.method-option input { width: 18px; height: 18px; accent-color: #6144f2; }
.method-box small { display: block; color: var(--muted); margin-top: 4px; }
.pay-btn {
  width: 100%; border: 0; border-radius: 16px; padding: 15px 18px; background: linear-gradient(135deg, var(--brand), #7b61ff);
  color: white; font-size: 1rem; font-weight: 800; cursor: pointer; box-shadow: 0 16px 36px rgba(97, 68, 242, 0.32);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.pay-btn:hover, .install-btn:hover { transform: translateY(-1px); }
.pay-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.status { margin-top: 18px; padding: 14px 16px; border-radius: 14px; }
.status.success { background: var(--success-bg); color: var(--success-text); }
.status.error { background: var(--error-bg); color: var(--error-text); }
.hidden { display: none !important; }
@media (max-width: 560px) {
  .card { padding: 22px 18px; }
  h1 { font-size: 1.65rem; }
  .logo { width: 56px; height: 56px; }
}
