/* basta-cards.com: dark market wood, gold frames, cream text, like the game. */
@font-face { font-family: 'Lalezar'; src: url('/fonts/Lalezar-Regular.ttf') format('truetype'); font-display: swap; }
:root {
  --ink: #1E1610; --wood: #2B2118; --cream: #F6ECD6; --red: #B8322A; --saffron: #E2A32B; --teal: #2F7F7A;
  --gold: linear-gradient(135deg, #FFF1B0, #E2B54A 35%, #9C6E1C 60%, #F2D27A);
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Tahoma, sans-serif; color: var(--cream); line-height: 1.7;
  background: radial-gradient(circle at 50% 0%, #4A2A18, var(--ink) 70%) fixed; min-height: 100vh; }
a { color: var(--saffron); }
.display { font-family: 'Lalezar', sans-serif; font-weight: normal; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1040px; margin: 0 auto; }
header.top a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: 'Lalezar'; font-size: 28px; }
header.top a.brand img { width: 44px; height: 44px; border-radius: 11px; }
nav a { margin-inline-start: 18px; text-decoration: none; color: var(--cream); opacity: .85; }
main { max-width: 1040px; margin: 0 auto; padding: 0 20px 60px; }
.hero { text-align: center; padding: 30px 0 10px; }
.hero h1 { font-family: 'Lalezar'; font-weight: normal; font-size: clamp(64px, 14vw, 130px); margin: 0; line-height: 1.1;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.hero p.tag { font-family: 'Lalezar'; font-size: 26px; margin: 0 0 24px; opacity: .9; }
.fan { display: flex; justify-content: center; gap: 0; margin: 20px 0 30px; }
.fan img { width: min(24vw, 130px); border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.5); margin: 0 max(-4vw, -18px); }
.fan img:nth-child(1) { transform: rotate(-14deg) translateY(16px); }
.fan img:nth-child(2) { transform: rotate(-6deg); }
.fan img:nth-child(3) { transform: translateY(-8px); z-index: 2; }
.fan img:nth-child(4) { transform: rotate(6deg); }
.fan img:nth-child(5) { transform: rotate(14deg) translateY(16px); }
.btn { display: inline-block; font-family: 'Lalezar'; font-size: 22px; padding: 10px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(var(--saffron), #C98A1E); color: var(--ink); text-decoration: none; box-shadow: 0 6px 14px rgba(0,0,0,.35);
  position: relative; }
.btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(rgba(255,255,255,.28), transparent 55%); pointer-events: none; }
.btn.teal { background: linear-gradient(#3A958F, var(--teal)); color: var(--cream); }
.btn.ghost { background: rgba(246,236,214,.12); color: var(--cream); }
.btn:disabled { opacity: .4; cursor: default; }
.panel { background: linear-gradient(#3A2A1C, #1E1610); border-radius: 26px; padding: 26px; position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,.5); margin: 26px 0; }
.panel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 3px; background: var(--gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.panel h2 { font-family: 'Lalezar'; font-weight: normal; font-size: 32px; margin: 0 0 10px;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { text-align: center; }
.feature img { width: 84px; height: 84px; border-radius: 50%; }
.feature h3 { font-family: 'Lalezar'; font-weight: normal; font-size: 24px; margin: 8px 0 4px; }
.product { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: rgba(246,236,214,.06); }
.product img { width: 62px; border-radius: 8px; }
.product .info { flex: 1; }
.product .info b { font-family: 'Lalezar'; font-weight: normal; font-size: 22px; display: block; }
.product.owned { opacity: .5; }
input.id { font-family: ui-monospace, Menlo, monospace; font-size: 26px; letter-spacing: 3px; text-align: center; width: 100%; max-width: 320px;
  padding: 12px; border-radius: 16px; border: 2px solid #E2B54A; background: #120D09; color: var(--cream); direction: ltr; text-transform: uppercase; }
.note { opacity: .75; font-size: 14px; }
.ok { color: #9FD39B; } .bad { color: #F09A8E; }
footer { text-align: center; padding: 30px 20px; opacity: .7; font-size: 14px; }
footer a { margin: 0 8px; color: var(--cream); }
.doc h1 { font-family: 'Lalezar'; font-weight: normal; font-size: 44px; margin: 10px 0; }
.doc h2 { font-size: 22px; margin-top: 26px; color: var(--saffron); }
