@import url('https://fonts.googleapis.com/css2?family=Yatra+One&family=Mukta:wght@400;600;700;800&display=swap');

:root {
  --bg: #2a0a20;
  --bg2: #3d1030;
  --bg3: #561a44;
  --cream: #fff4e0;
  --cream2: #f1dcc0;
  --muted: #c9a3b8;
  --saffron: #f2a93b;
  --gold: #e8c15a;
  --teal: #1aa39a;
  --red: #d8433a;
  --font: 'Mukta', system-ui, sans-serif;
  --title: 'Yatra One', Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  background-image: radial-gradient(circle at 50% -10%, #6b1f52 0%, transparent 55%), radial-gradient(circle at 100% 110%, #1e3f4a 0%, transparent 45%);
  color: var(--cream); font-family: var(--font); font-size: 17px; line-height: 1.3; -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-family: var(--title); font-weight: 400; margin: 0; line-height: 1.05; }
button { font-family: var(--font); font-weight: 800; font-size: 16px; border: 0; border-radius: 12px; padding: 12px 20px; cursor: pointer; background: var(--saffron); color: #3b0d2c; transition: transform .08s, opacity .15s; }
button:active { transform: scale(.97); }
button:disabled { opacity: .35; cursor: default; }
button.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255,244,224,.35); }
button.teal { background: var(--teal); color: #fff; }
button.red { background: var(--red); color: #fff; }
input { font-family: var(--font); font-size: 18px; width: 100%; padding: 13px 14px; border-radius: 12px; border: 0; background: var(--cream); color: #3b0d2c; }
.muted { color: var(--muted); }
.label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; }
.grow { flex: 1; }
.hidden { display: none !important; }
.card { background: rgba(61,16,48,.85); border-radius: 20px; padding: 18px; box-shadow: inset 0 0 0 1px rgba(242,169,59,.15); }
/* Carta de mercancía */
.gc { position: relative; aspect-ratio: 2/3; border-radius: 10px; background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 0 2px rgba(255,244,224,.15); }
/* Ficha: moneda del color de su mercancía con el valor dentro */
.tok { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 19px; line-height: 1; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 6px rgba(0,0,0,.35); background: #777 center/cover no-repeat; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.tok.diamond { background-color: #c8283a; background-image: url(/art/tok-diamond.webp); }
.tok.gold { background-color: #f0c330; background-image: url(/art/tok-gold.webp); color: #3a2604; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.tok.silver { background-color: #b8c0c8; background-image: url(/art/tok-silver.webp); color: #1f2730; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.tok.cloth { background-color: #7d3fa8; background-image: url(/art/tok-cloth.webp); }
.tok.spice { background-color: #3e9a48; background-image: url(/art/tok-spice.webp); }
.tok.leather { background-color: #8b5a2b; background-image: url(/art/tok-leather.webp); }
.tok.camel { background-color: #e3cfa0; background-image: url(/art/tok-camel.webp); color: #3b2a10; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.tok.bonus { background-color: #1d6a7a; background-image: url(/art/tok-bonus.webp); }
.tok.empty { background: rgba(255,255,255,.08); color: var(--muted); text-shadow: none; filter: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.seal { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.12); margin-right: 4px; vertical-align: -3px; }
.seal.on { background: radial-gradient(circle at 35% 30%, #ffe69a, #e8a62a 60%, #a8670f); box-shadow: 0 0 10px rgba(242,169,59,.6); }
