/* card meaning pages and the index (static, outside the game) */
@font-face { font-family: 'Aezra'; src: url('/fonts/AezraVF-lig.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Scal'; src: url('/fonts/ScalDisplayVF.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; --glow: 0 0 24px rgba(132,134,255,.35), 0 0 60px rgba(132,134,255,.18); }
* { box-sizing: border-box; }
body { margin: 0; color: #F0F0F0; font-family: 'Scal', sans-serif; font-size: 17px; line-height: 1.55;
  background: radial-gradient(ellipse 120% 900px at 50% 0%, #101E42 0%, #0A1430 70%) no-repeat #0A1430; }
a { color: #8486FF; text-underline-offset: 3px; }
.top { display: flex; justify-content: space-between; align-items: baseline; max-width: 1040px; margin: 0 auto; padding: 22px 24px; }
.top a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.top .home { font-family: 'Aezra', serif; font-size: 26px; letter-spacing: 0; text-transform: none; text-decoration: none; }
main { max-width: 1040px; margin: 0 auto; padding: 12px 24px 40px; }
h1 { font-family: 'Aezra', serif; font-weight: 100; font-size: clamp(52px, 8vw, 84px); line-height: .95; margin: 4px 0 12px; text-transform: uppercase; font-feature-settings: 'liga' 1, 'dlig' 1; }
h2 { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #FF6A2A; margin: 30px 0 6px; }
p, dd { color: #dfe3ff; margin: 0 0 10px; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #C9D0FF; margin: 0; }
.lede { font-size: 19px; max-width: 620px; }

.card-page { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 56px; align-items: start; }
.card-page figure { margin: 0; position: sticky; top: 24px; }
.card-page img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--glow); display: block; }
.tag { font-family: 'Aezra', serif; font-weight: 100; font-size: 30px; line-height: 1.15; color: #C9D0FF; margin: 0 0 8px; }
.kw { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8486FF; }
dl { margin: 0; }
dt { font-size: 13px; font-weight: 500; color: #C9D0FF; margin: 12px 0 2px; }
dd { margin: 0; }
.ask { font-family: 'Aezra', serif; font-weight: 100; font-size: 26px; line-height: 1.2; color: #F0F0F0; }
.ask.rev { font-size: 20px; color: #C9D0FF; }
.pager { display: flex; justify-content: space-between; margin: 48px 0 0; padding-top: 20px; border-top: 1px solid rgba(201,208,255,.15); }

.grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 22px; }
.grid a { display: block; text-decoration: none; color: inherit; }
.grid img { width: 100%; height: auto; border-radius: 10px; display: block; margin-bottom: 10px; transition: box-shadow .3s, transform .3s; }
.grid a:hover img { box-shadow: var(--glow); transform: translateY(-3px); }
.grid .num { display: block; font-size: 12px; letter-spacing: .16em; color: #FF6A2A; }
.grid .name { display: block; font-family: 'Aezra', serif; font-weight: 100; font-size: 26px; line-height: 1; text-transform: uppercase; margin: 2px 0 4px; }
.grid .t { display: block; font-size: 14px; line-height: 1.35; color: #C9D0FF; }

footer { max-width: 1040px; margin: 0 auto; padding: 40px 24px 60px; text-align: center; }
footer p { max-width: 560px; margin: 14px auto 0; font-size: 15px; }
footer .fine { font-size: 12px; color: #9aa2d6; }
.cta { display: inline-block; background: #FF6A2A; color: #0A1430; font-weight: 600; font-size: 17px; text-decoration: none; padding: 14px 30px; border-radius: 999px; box-shadow: 0 0 30px rgba(255,106,42,.35); }

@media (max-width: 720px) {
  .card-page { grid-template-columns: 1fr; gap: 28px; }
  .card-page figure { position: static; max-width: 300px; margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
}

/* cookie question, Europe only (see analytics.js) */
.consent { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(560px, calc(100% - 28px)); display: flex; gap: 16px; align-items: center; justify-content: space-between;
  background: #101E42; border: 1px solid rgba(201,208,255,.2); border-radius: 16px; padding: 14px 18px; box-shadow: var(--glow); z-index: 10; }
.consent p { margin: 0; font-size: 14px; line-height: 1.4; }
.consent-actions { display: flex; gap: 12px; flex-shrink: 0; align-items: center; }
.consent button { font: inherit; font-size: 14px; cursor: pointer; color: #F0F0F0; background: transparent; border: 1px solid rgba(201,208,255,.35); border-radius: 999px; padding: 7px 16px; }
.consent button.no { border: 0; padding: 7px 4px; color: #8486FF; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions { justify-content: flex-end; } }
