/* Game page styling: deliberately not panel-like. The wheel is centred in a 100dvh column. */

@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn[wght].woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
  --night: #16121f;
  --night-2: #241a2e;
  --gold: #f5c04b;
  --gold-deep: #d99b1d;
  --cream: #fff6e6;
  --ink: #2b2333;
  --ok: #35b07a;
  --bad: #e2564f;
  --shadow: 0 18px 45px rgba(9, 6, 15, .45);
}

* { box-sizing: border-box; }

body.game-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(245, 192, 75, .16), transparent 62%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 2px, transparent 2px 96px),
    repeating-linear-gradient(93deg, rgba(255, 214, 150, .05) 0 3px, transparent 3px 17px),
    linear-gradient(168deg, #4a3018 0%, #35210f 42%, #241608 100%);
  background-color: #2c1b0c;
  font-family: "Vazirmatn", system-ui, sans-serif;
  line-height: 1.7;
}

.game-shell { width: min(100% - 2rem, 620px); margin: auto; padding: .7rem 0 1.2rem; }

.game-head { text-align: center; }
.game-head .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 22px;
  font-size: .85rem;
  letter-spacing: .04em;
  color: rgba(255, 246, 230, .66);
}
.game-head .brand-logo {
  display: block;
  width: auto;
  height: 30px;
  opacity: .78;
  filter: brightness(0) invert(1);
}
.game-head h1 { margin: .1rem 0; font-size: clamp(1.3rem, 4vw, 1.7rem); color: var(--gold); }
.game-head p { margin: 0; color: rgba(255, 246, 230, .8); font-size: .95rem; }

.game-card {
  margin-top: .8rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 250, 240, .96);
  color: var(--ink);
  border: 1px solid rgba(245, 192, 75, .55);
  box-shadow: var(--shadow), 0 0 0 4px rgba(30, 18, 6, .5), inset 0 0 0 1px rgba(255, 255, 255, .6);
}

.guess-box { margin: .15rem 0 .1rem; text-align: center; }
.guess-box h2 { font-size: .95rem; margin: 0 0 .3rem; letter-spacing: .02em; }
.guess-hint { color: #6c6357; margin: .1rem 0 .45rem; font-size: .82rem; }
.guess-locked { margin: .1rem 0 .4rem; font-size: .85rem; color: #4d4557; }

.notice-box { margin-top: .8rem; padding: .6rem .8rem; border-radius: 14px; background: rgba(38, 28, 52, .06); font-size: .85rem; }
.terms { margin-top: .5rem; font-size: .78rem; color: #6c6357; }
.page-notes { margin-top: .8rem; }
.page-notes > summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: #4d4557; }
.page-notes > summary::marker { color: var(--gold-deep); }

.closed-card { text-align: center; padding: 2rem 1.1rem; }
.closed-card h2 { margin: 0; font-size: 1.05rem; font-weight: 700; color: #4d4557; }

.demo-note {
  margin: .35rem auto 0;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(245, 192, 75, .18);
  border: 1px dashed rgba(245, 192, 75, .7);
  color: #f7d67e;
  font-size: .82rem;
  font-weight: 700;
  max-width: max-content;
}

.station-line { font-size: .85rem; color: rgba(255, 246, 230, .78); }
.station-line .ghost-button { margin-inline-start: .4rem; text-decoration: none; color: inherit; }

.game-foot { margin-top: .8rem; text-align: center; font-size: .78rem; color: rgba(255, 246, 230, .6); }
.game-foot a { color: var(--gold); }

@media (max-width: 430px) {
  .game-card { padding: 1rem .8rem; border-radius: 18px; }
}
