/* ============================================================
   O Jogo que Vai Lá  |  Design System
   ============================================================ */

:root {
  --bg: #171232;
  --bg-2: #211844;
  --bg-3: #2c1f56;
  --cream: #fff7ec;
  --cream-2: #ffefd6;
  --ink: #2d2240;
  --ink-soft: #5b4d77;
  --coral: #ff6b6b;
  --coral-dark: #e14d4d;
  --amber: #ffc93c;
  --mint: #4ecdc4;
  --mint-dark: #2aa79e;
  --lilac: #b8a6ff;
  --lilac-dark: #8a6fe0;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 20px -10px rgba(0, 0, 0, 0.4);
  --font-hand: "Shantell Sans", "Comic Sans MS", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.page-game {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(184, 166, 255, 0.25), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(78, 205, 196, 0.18), transparent 55%),
    radial-gradient(800px 600px at 50% 120%, rgba(255, 107, 107, 0.16), transparent 60%),
    var(--bg);
  min-height: 100vh;
  color: var(--cream);
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; }
.font-hand { font-family: var(--font-hand); }

a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(2px) scale(0.99); }

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(255, 107, 107, 0.6);
}
.btn-primary:hover { background: var(--coral-dark); }

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 24px -10px rgba(255, 201, 60, 0.6);
}
.btn-amber:hover { background: #ffd95e; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255, 247, 236, 0.35);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(255, 247, 236, 0.08); }

.btn-mint {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 12px 24px -10px rgba(78, 205, 196, 0.6);
}
.btn-mint:hover { background: var(--mint-dark); }

.btn-lilac {
  background: var(--lilac);
  color: var(--ink);
}
.btn-lilac:hover { background: var(--lilac-dark); color: var(--white); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.2rem; }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }

.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- Landing page ---------- */
.landing { background: var(--bg); color: var(--cream); overflow-x: hidden; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 18, 50, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
}
.topbar-inner {
  width: min(1120px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--coral), var(--lilac));
  display: grid; place-items: center;
  font-size: 1.4rem; box-shadow: var(--shadow-sm);
}
.brand-name { font-family: var(--font-hand); font-size: 1.25rem; font-weight: 700; color: var(--cream); line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lilac); }
.topbar-nav { display: flex; align-items: center; gap: 22px; }
.topbar-nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; color: rgba(255, 247, 236, 0.85); }
.topbar-nav a:hover { color: var(--amber); }
.nav-cta { display: inline-flex; }

/* Hero */
.hero { position: relative; padding: 84px 0 70px; text-align: center; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 15% 10%, rgba(184, 166, 255, 0.22), transparent 60%),
    radial-gradient(700px 420px at 85% 25%, rgba(255, 107, 107, 0.2), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(78, 205, 196, 0.16), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.kicker {
  display: inline-block;
  font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--amber);
  background: rgba(255, 201, 60, 0.12);
  border: 1px solid rgba(255, 201, 60, 0.35);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-hand);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--cream);
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--coral); }
.hero p.lede {
  max-width: 620px; margin: 0 auto 30px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: rgba(255, 247, 236, 0.85);
  font-weight: 600;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.hero-monster { margin: 0 auto; width: min(430px, 90%); }

/* Rules strip */
.rules-strip { padding: 34px 0 40px; }
.rules-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.rule-card {
  background: rgba(255, 247, 236, 0.05);
  border: 1px solid rgba(255, 247, 236, 0.14);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  backdrop-filter: blur(6px);
}
.rule-card .tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.tag-coral { background: rgba(255, 107, 107, 0.18); color: var(--coral); }
.tag-mint { background: rgba(78, 205, 196, 0.18); color: var(--mint); }
.rule-card h3 { font-family: var(--font-hand); font-size: 1.5rem; color: var(--cream); margin-bottom: 6px; }
.rule-card p { color: rgba(255, 247, 236, 0.75); font-size: 0.95rem; }

/* Section titles */
.section { padding: 70px 0; }
.section-tag {
  display: inline-block; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--lilac); margin-bottom: 10px;
}
.section h2 {
  font-family: var(--font-hand);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--cream); margin-bottom: 14px;
}
.section .sub { max-width: 640px; color: rgba(255, 247, 236, 0.75); font-size: 1.05rem; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }

/* How to play steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.step {
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius-lg); padding: 26px 22px; position: relative;
  box-shadow: var(--shadow); transition: transform 0.2s ease;
}
.step:hover { transform: translateY(-6px) rotate(-1deg); }
.step-num {
  position: absolute; top: -16px; left: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--coral); color: var(--white);
  font-weight: 900; font-size: 1.2rem;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.step:nth-child(2) .step-num { background: var(--amber); color: var(--ink); }
.step:nth-child(3) .step-num { background: var(--mint); color: var(--ink); }
.step:nth-child(4) .step-num { background: var(--lilac); color: var(--ink); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; margin-top: 8px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }

/* Levels */
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.level-card {
  border-radius: var(--radius-lg); padding: 30px 24px; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; min-height: 260px;
  box-shadow: var(--shadow); transition: transform 0.2s ease;
}
.level-card:hover { transform: translateY(-6px) rotate(1deg); }
.level-1 { background: linear-gradient(150deg, var(--amber), #ffdf80); }
.level-2 { background: linear-gradient(150deg, var(--mint), #9ee8e2); }
.level-3 { background: linear-gradient(150deg, var(--lilac), #d8ccff); }
.level-emoji { font-size: 2.2rem; }
.level-card h3 { font-size: 1.5rem; }
.level-card .desc { font-weight: 700; color: rgba(45, 34, 64, 0.75); }
.level-card .example {
  margin-top: auto; font-family: var(--font-hand); font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.5); border-radius: var(--radius-sm);
  padding: 12px 14px; line-height: 1.35;
}

/* Monsters */
.monsters { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid rgba(255,247,236,0.08); }
.monsters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.monsters-copy p { color: rgba(255, 247, 236, 0.8); margin-bottom: 14px; font-size: 1.05rem; }
.monsters-copy .big {
  font-family: var(--font-hand); font-size: 1.5rem; color: var(--amber); margin-bottom: 6px;
}
.monster-faces { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.monster-faces .blob-wrap { width: 120px; text-align: center; }
.monster-faces .name { font-family: var(--font-hand); font-size: 1rem; color: var(--cream); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.quote {
  background: var(--cream); color: var(--ink); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow);
}
.quote blockquote { font-size: 1rem; font-weight: 600; color: var(--ink); font-style: normal; }
.quote blockquote::before { content: "“"; font-family: var(--font-hand); font-size: 2.2rem; color: var(--coral); display: block; line-height: 0.5; margin-bottom: 10px; }
.quote footer { margin-top: auto; font-size: 0.85rem; color: var(--ink-soft); font-weight: 800; }

/* Resources */
.resources { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid rgba(255,247,236,0.08); }
.res-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 36px; }
.res-card {
  background: var(--cream); color: var(--ink); border-radius: var(--radius-md);
  padding: 22px; text-decoration: none; display: block; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.res-card:hover { transform: translateY(-4px); }
.res-card h4 { font-size: 1.05rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.res-card p { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 8px; }
.res-card .tel { font-family: var(--font-hand); font-size: 1.25rem; color: var(--coral-dark); font-weight: 700; }
.res-note {
  margin-top: 26px; background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  border-radius: var(--radius-md); padding: 18px 20px;
  font-size: 0.9rem; color: rgba(255, 247, 236, 0.85);
}
.res-note strong { color: var(--coral); }

/* CTA banner */
.cta-banner { text-align: center; padding: 70px 0 80px; position: relative; }
.cta-banner h2 { font-family: var(--font-hand); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--cream); margin-bottom: 10px; }
.cta-banner p { color: rgba(255, 247, 236, 0.8); margin-bottom: 28px; font-size: 1.1rem; }

/* Footer */
.footer {
  background: var(--bg-3); border-top: 1px solid rgba(255, 247, 236, 0.1);
  padding: 46px 0 34px; color: rgba(255, 247, 236, 0.75);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer h5 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; font-size: 0.9rem; }
.footer a:hover { color: var(--cream); }
.footer p { font-size: 0.9rem; }
.footer-about { max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 247, 236, 0.12); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(255, 247, 236, 0.55);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(255, 247, 236, 0.1); text-decoration: none;
}
.socials a:hover { background: var(--coral); color: var(--white); }

.disclaimer {
  margin-top: 26px; font-size: 0.78rem; color: rgba(255, 247, 236, 0.5);
  border-top: 1px solid rgba(255, 247, 236, 0.12); padding-top: 20px;
}

/* ============================================================
   Blob monster mascot (SVG)
   ============================================================ */
.blob { display: block; width: 100%; height: auto; }
.blob .eye { animation: blobBlink 4s infinite; }
@keyframes blobBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
.blob.bounce .blob-body { animation: blobBounce 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes blobBounce {
  0%, 100% { transform: scale(1, 1); }
  30% { transform: scale(1.04, 0.96); }
  50% { transform: scale(0.98, 1.05); }
  70% { transform: scale(1.03, 0.97); }
}

/* ============================================================
   Game page
   ============================================================ */
.game-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 0;
}
.game-header .brand-name small { color: var(--mint); }

.game-main { flex: 1; display: flex; flex-direction: column; padding-bottom: 60px; }
.game-wrap { width: min(720px, 94%); margin: 0 auto; }

.view { display: none; animation: fadeUp 0.35s ease; }
.view.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.card {
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow);
}

.view-title { font-family: var(--font-hand); font-size: 2rem; color: var(--cream); margin-bottom: 6px; }
.view-sub { color: rgba(255, 247, 236, 0.7); margin-bottom: 24px; font-size: 1rem; }

/* Setup */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; color: rgba(255,247,236,0.9); }
.field label span { color: var(--amber); font-family: var(--font-hand); font-size: 1rem; }

.input, textarea.input {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  border: 2px solid rgba(45, 34, 64, 0.15); border-radius: var(--radius-sm);
  padding: 13px 16px; background: var(--white); color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus { outline: none; border-color: var(--lilac-dark); box-shadow: 0 0 0 4px rgba(184, 166, 255, 0.25); }
textarea.input { resize: vertical; min-height: 130px; }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 42px; height: 42px; border-radius: 12px; border: none;
  background: var(--bg-3); color: var(--cream); font-size: 1.3rem; font-weight: 900;
  cursor: pointer; transition: background 0.15s ease;
}
.stepper button:hover { background: var(--coral); }
.stepper .val { font-size: 1.4rem; font-weight: 900; min-width: 40px; text-align: center; color: var(--amber); }

.player-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.player-row .idx {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 900; font-size: 0.95rem;
  background: var(--bg-3); color: var(--cream);
}

.multi-rule {
  margin-top: 22px; background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.35); border-radius: var(--radius-md);
  padding: 14px 16px; font-size: 0.88rem; color: rgba(255,247,236,0.85);
}

/* Prompt card */
.prompt-card {
  background: linear-gradient(160deg, var(--lilac), #8a6fe0);
  border-radius: var(--radius-lg); padding: 44px 32px; text-align: center;
  box-shadow: var(--shadow); color: var(--white); position: relative; overflow: hidden;
}
.prompt-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.prompt-card::after {
  content: ""; position: absolute; bottom: -70px; left: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255, 201, 60, 0.18);
}
.prompt-card .lvl-badge {
  position: relative; display: inline-block; font-size: 0.75rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  background: var(--amber); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.prompt-card .prompt-text {
  position: relative; font-family: var(--font-hand);
  font-size: clamp(1.4rem, 4.5vw, 2rem); line-height: 1.35; font-weight: 600;
}

.level-picker { display: grid; gap: 14px; margin-bottom: 24px; }
.level-option {
  display: flex; align-items: center; gap: 16px; text-align: left; cursor: pointer;
  background: rgba(255, 247, 236, 0.06); border: 2px solid rgba(255, 247, 236, 0.16);
  border-radius: var(--radius-md); padding: 16px 18px; transition: all 0.15s ease;
  font-family: var(--font-body); color: var(--cream);
}
.level-option:hover { border-color: rgba(255, 247, 236, 0.4); }
.level-option.selected { border-color: var(--amber); background: rgba(255, 201, 60, 0.12); }
.level-option .emoji { font-size: 1.7rem; }
.level-option .name { font-weight: 900; font-size: 1.05rem; }
.level-option .name small { display: block; font-weight: 700; font-size: 0.82rem; color: rgba(255,247,236,0.6); }

/* Writing */
.writer-name {
  font-family: var(--font-hand); font-size: 2.4rem; color: var(--amber);
  text-align: center; margin: 6px 0 4px;
}
.writer-hint { text-align: center; color: rgba(255,247,236,0.7); margin-bottom: 20px; }
.writing-prompt {
  background: var(--bg-3); border-radius: var(--radius-md);
  padding: 16px 18px; margin-bottom: 18px; border-left: 6px solid var(--mint);
  font-family: var(--font-hand); font-size: 1.15rem; color: var(--cream);
}
.privacy-note {
  display: flex; gap: 8px; align-items: center; font-size: 0.82rem;
  color: rgba(255,247,236,0.6); margin-top: 12px;
}

/* Guessing */
.guess-progress { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: rgba(255,247,236,0.7); font-size: 0.9rem; }
.answer-plate {
  background: linear-gradient(160deg, var(--mint), #2aa79e);
  border-radius: var(--radius-lg); padding: 30px 26px; color: var(--ink);
  font-family: var(--font-hand); font-size: 1.3rem; font-weight: 600;
  text-align: center; margin-bottom: 22px; box-shadow: var(--shadow);
}
.guesser-label { text-align: center; margin-bottom: 18px; }
.guesser-label .who { font-family: var(--font-hand); color: var(--amber); font-size: 1.6rem; }
.guesser-label p { color: rgba(255,247,236,0.7); }

.name-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.name-opt {
  padding: 16px 12px; border-radius: var(--radius-md); border: 2px solid rgba(255,247,236,0.18);
  background: rgba(255,247,236,0.06); color: var(--cream); font-weight: 800; font-size: 1rem;
  cursor: pointer; transition: all 0.12s ease; font-family: var(--font-body);
}
.name-opt:hover { border-color: var(--amber); background: rgba(255, 201, 60, 0.14); transform: translateY(-2px); }

/* Reveal */
.reveal-item {
  background: var(--cream); color: var(--ink); border-radius: var(--radius-md);
  padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.reveal-item .ans { font-family: var(--font-hand); font-size: 1.2rem; margin-bottom: 10px; }
.reveal-item .author { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.95rem; }
.reveal-item .author .avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 900; color: var(--white);
}
.reveal-item .guessed-by { margin-top: 10px; font-size: 0.85rem; color: var(--mint-dark); font-weight: 800; }
.reveal-item .guessed-by .none { color: var(--ink-soft); }
.badge-skipped { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; background: var(--cream-2); color: var(--ink-soft); padding: 3px 10px; border-radius: 999px; }

.point-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 900; color: var(--white);
  background: var(--mint-dark); padding: 4px 10px; border-radius: 999px;
}
.point-tag.negative { background: var(--ink-soft); }

/* Scoreboard */
.podium { display: grid; gap: 12px; margin: 24px 0; }
.podium-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--cream); color: var(--ink); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.podium-row .rank {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-weight: 900; font-size: 1.2rem;
  background: var(--bg-3); color: var(--amber);
}
.podium-row.winner .rank { background: var(--amber); color: var(--ink); }
.podium-row .p-name { font-weight: 900; font-size: 1.05rem; }
.podium-row .p-title { font-size: 0.82rem; color: var(--ink-soft); font-weight: 700; }
.podium-row .p-score { margin-left: auto; font-weight: 900; font-size: 1.3rem; color: var(--coral-dark); }

.end-message {
  background: rgba(255, 201, 60, 0.12); border: 1px solid rgba(255, 201, 60, 0.35);
  border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 24px;
  font-size: 0.98rem; color: var(--cream);
}
.end-message strong { color: var(--amber); font-family: var(--font-hand); font-size: 1.1rem; }

.game-help {
  margin-top: 30px; text-align: center; font-size: 0.82rem; color: rgba(255,247,236,0.6);
}
.game-help a { color: var(--mint); text-decoration: none; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--amber); color: var(--ink); font-weight: 800; padding: 13px 24px;
  border-radius: 999px; box-shadow: var(--shadow); z-index: 90;
  opacity: 0; transition: all 0.3s ease; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 820px) {
  .topbar-nav a:not(.nav-cta) { display: none; }
  .monsters-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 26px 20px; }
}
