:root {
  color-scheme: dark;
  --accent: #00a7ff;
  --accent-hover: #0090dd;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --card-bg: rgba(15, 23, 42, 0.85);
  --card-border: rgba(148, 163, 184, 0.4);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(148, 163, 184, 0.35);
  --error: #ff6b6b;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at 0% 0%, #1b3b54 0px, #111827 55%, #05060a 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

header.site-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 64px;
  width: auto;
  display: block;
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: -14px 0 22px;
  line-height: 1.5;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 18px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--text);
}

.back-link svg {
  width: 14px;
  height: 14px;
}

main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

h1 {
  font-size: 1.4rem;
  margin: 0 0 22px;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

input[type="text"] {
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text);
}

input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* payment method menu */
.method-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-option {
  position: relative;
}

.method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row;
  padding: 13px 14px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.method-option input:checked + label {
  border-color: var(--accent);
  background: rgba(0, 167, 255, 0.08);
}

.method-option input:disabled + label {
  cursor: not-allowed;
  color: var(--text-muted);
  opacity: 0.55;
}

.method-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon svg { width: 100%; height: 100%; }

.method-label { flex: 1; }

.method-soon {
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 2px 8px;
}

button {
  margin-top: 4px;
  padding: 13px 16px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover { background: var(--accent-hover); }
button:disabled { opacity: 0.6; cursor: not-allowed; }

.error {
  color: var(--error);
  font-size: 0.9rem;
  margin: -8px 0 0;
}

#payment-element {
  margin-bottom: 4px;
}

footer.site-footer {
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

footer.site-footer a {
  color: var(--text-muted);
}
