:root {
  color-scheme: light dark;
  --bg-top: #350654;
  --bg-bottom: #0a0213;
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #fb00a7;
  --accent-press: #e00095;
  --outline: rgba(251, 0, 167, 0.55);
  --outline-text: rgba(251, 0, 167, 0.92);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.screen {
  width: min(420px, 100%);
  text-align: center;
}

.title {
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.handle {
  margin: 10px 0 26px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.actions {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  justify-items: center;
}

.btn {
  width: clamp(240px, 60vw, 340px);
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  min-height: 52px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-press);
}

.btn-outline {
  background: transparent;
  color: var(--outline-text);
  border: 1.5px solid var(--outline);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: rgba(251, 0, 167, 0.8);
}

.hidden {
  display: none;
}

.hint {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 180, 180, 0.92);
}

@media (max-width: 360px) {
  .title {
    font-size: 34px;
  }
  .handle {
    font-size: 20px;
  }
}
