@font-face {
  font-family: 'Lilita One';
  src: url('/assets/LilitaOne.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg: #0b0d12;
  --surface: #151922;
  --raised: #1e2430;
  --border: #2a3140;
  --text: #f4f6fa;
  --text2: #a3acbd;
  --muted: #6b7486;
  --accent: #5b8cff;
  --success: #3ddc97;
  --clan: #5b8cff;
  --clan2: #2ec4b6;
}

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

.hexes {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--clan) 35%, transparent), transparent 40%),
    radial-gradient(circle at 85% 75%, color-mix(in srgb, var(--clan2) 30%, transparent), transparent 45%),
    var(--bg);
}

header {
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.wordmark {
  font-family: 'Lilita One', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--text);
  text-decoration: none;
}

.lang {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--text2);
  font: 600 13px/1 inherit;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang button[aria-pressed='true'] { background: var(--raised); color: var(--text); }

main {
  width: 100%;
  max-width: 560px;
  padding: 8px 24px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

h1, h2 {
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}

h1 { font-size: clamp(40px, 11vw, 64px); }
h2 { font-size: 30px; }

.lead { color: var(--text2); font-size: 18px; margin: 0; }

.card {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 120px;
  height: 120px;
  position: relative;
  display: grid;
  place-items: center;
}

.mark img { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; }

.icon {
  display: block;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.mark .shape { width: 120px; height: 120px; }
.mark .symbol { position: absolute; width: 56px; height: 56px; }

.swatches { display: flex; gap: 8px; }
.swatches span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); }

.meta { color: var(--text2); margin: 0; }

.stores { display: flex; flex-direction: column; gap: 12px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 16px;
  font: 400 20px/1 'Lilita One', sans-serif;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--bg);
  background: var(--success);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--success) 60%, black);
}

.btn.secondary {
  background: var(--raised);
  color: var(--text);
  box-shadow: 0 4px 0 #0e1118;
}

.btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }

.btn .icon { width: 22px; height: 22px; background: currentColor; }

.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.steps .icon { flex: none; width: 28px; height: 28px; background: var(--accent); }
.steps strong { display: block; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 20px; }
.steps span { color: var(--text2); }

.note { color: var(--muted); font-size: 14px; text-align: center; margin: 0; }

footer { color: var(--muted); font-size: 13px; padding: 24px; text-align: center; }
footer a { color: var(--text2); }

[hidden] { display: none !important; }
