:root {
  --bg-top: #0b1f16;
  --bg-bottom: #123527;
  --card-bg: #ffffff;
  --text: #14231c;
  --muted: #5b6b62;
  --accent: #1f8a4c;
  --ios-btn: #111111;
  --android-btn: #1f8a4c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.card {
  background: var(--card-bg);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 24rem;
  text-align: center;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

.logo {
  border-radius: 1.35rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
  line-height: 1.45;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

.code-block {
  margin: 1rem 0 1.25rem;
}

.code-block p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.match-code {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: #eef6f0;
  border-radius: 0.75rem;
  padding: 0.6rem 0.75rem;
  word-break: break-all;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  line-height: 1.2;
}

.btn:active {
  opacity: 0.85;
}

.btn-ios {
  background: var(--ios-btn);
}

.btn-android {
  background: var(--android-btn);
}

.btn-small {
  font-size: 0.72rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-big {
  font-size: 1.15rem;
  font-weight: 600;
}

@media (min-width: 26rem) {
  .card {
    padding: 2.5rem 2rem;
  }
}
