:root {
  --bg: #efe6d8;
  --bg-mid: #f6f3ed;
  --ink: #1c1b24;
  --muted: #6b6478;
  --accent: #c0553c;
  --accent-deep: #9e3f2c;
  --lens: #e9a38b;
  --card: #fffaf3;
  --line: rgba(28, 27, 36, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(192, 85, 60, 0.16), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(28, 27, 36, 0.07), transparent 50%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 48%, #e7dbc9 100%);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 22px max(32px, env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 420px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 26px 28px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(28, 27, 36, 0.08);
  backdrop-filter: blur(8px);
}

.mark {
  width: 88px;
  height: 66px;
  margin: 0 auto 18px;
  display: block;
}

.brand {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lede {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.code-wrap {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(28, 27, 36, 0.16);
}

.code-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.code {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  min-height: 52px;
  padding: 14px 18px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(192, 85, 60, 0.28);
}

.open-btn:active {
  transform: translateY(1px);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.stores-title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
}

.stores {
  display: grid;
  gap: 12px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #1c1b24;
  color: #fff;
  text-decoration: none;
  text-align: left;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-btn:active {
  transform: scale(0.98);
}

.store-btn.play {
  background: #01875f;
}

.store-btn .icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.store-btn .icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.store-btn .copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.store-btn .eyebrow {
  font-size: 0.72rem;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

.store-btn .name {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-btn.preferred {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.store-btn.dimmed {
  opacity: 0.72;
}

.hint {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.footer {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 480px) {
  .card {
    padding: 42px 34px 32px;
  }
}
