:root {
  --bg: #000000;
  --card: #171717;
  --yellow: #ffe50a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --stroke: rgba(255, 229, 10, 0.25);
  --danger: #ff5252;
  --radius: 12px;
  --font: "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 32px;
}

.shell {
  width: 100%;
  max-width: 420px;
}

.brand {
  color: var(--yellow);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 650;
}

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

.step[hidden],
#open-app[hidden] {
  display: none !important;
}

.row {
  display: flex;
  gap: 10px;
}

.select,
.input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  padding: 14px 12px;
  outline: none;
}

.select {
  flex: 0 0 118px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%),
    linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.input:focus,
.select:focus {
  border-color: var(--yellow);
}

.btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--yellow);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  margin-top: 8px;
}

.error {
  min-height: 20px;
  margin-top: 12px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.4;
}

.links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.links button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 8px 0;
}

.links button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#recaptcha-container {
  min-height: 1px;
}

.open-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
}

.open-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}
