/* ============================================================
   Fire Babys Rebellion — rebellion.html page-specific styles.
   Loaded after assets/site.css. No inline styles anywhere.
   ============================================================ */

/* ---------- Play zone / game mount ---------- */

.play-zone { padding-top: 8px; }

.game-frame {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(640px 300px at 50% -60px, rgba(255, 106, 26, 0.14), transparent 65%),
    linear-gradient(180deg, var(--navy-2), #05081a);
  padding: 14px;
}

.game-root {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  border: 2px dashed rgba(255, 165, 58, 0.5);
  border-radius: 14px;
  background:
    repeating-linear-gradient(0deg, rgba(38, 53, 106, 0.16) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(38, 53, 106, 0.16) 0 1px, transparent 1px 44px),
    rgba(10, 18, 41, 0.85);
  overflow: hidden;
  text-align: center;
  padding: 28px 18px;
}

.game-root .deploy-card { max-width: 460px; }

.game-root .deploy-title {
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 12px 0 10px;
}

.game-root .deploy-title .accent { color: var(--flame-2); }

.game-root p { color: var(--muted); margin-bottom: 0; }

.game-root .deploy-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.game-root .deploy-list li {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aqua-2);
  border: 1px solid rgba(47, 216, 224, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Briefing prose ---------- */

.briefing-prose { max-width: 720px; }
.briefing-prose p { color: var(--muted); font-size: 1.04rem; }
.briefing-prose p strong { color: var(--ink); }

/* ---------- How-it-plays steps ---------- */

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--flame-2), var(--flame));
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.step-num.aqua { background: linear-gradient(180deg, var(--aqua-2), #0e7fbf); }

/* ---------- Roadmap ---------- */

.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.roadmap li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.roadmap .phase {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.16);
  color: var(--flame-2);
  border: 1px solid rgba(255, 106, 26, 0.5);
  margin-top: 2px;
}

.roadmap .phase.p2 {
  background: rgba(47, 216, 224, 0.12);
  color: var(--aqua-2);
  border-color: rgba(47, 216, 224, 0.45);
}

.roadmap .phase.p3 {
  background: rgba(255, 210, 58, 0.1);
  color: var(--gold);
  border-color: rgba(255, 210, 58, 0.4);
}

.roadmap h3 { margin-bottom: 4px; font-size: 1.05rem; }
.roadmap p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ============================================================
   Mission 1 — 3D build mount. The Godot Web export lives in
   game/ and is embedded into #game-root by
   assets/game-loader.js when the player hits Play.
   ============================================================ */

.game-root .game-cta { margin: 20px 0 0; }

.game-root .game-note { margin: 12px 0 0; font-size: 0.85rem; }

.game-root .game-noscript { color: var(--muted); margin: 0; }

.game-root.game-live {
  display: block;
  padding: 0;
  min-height: 0;
  text-align: left;
  border: 2px solid rgba(255, 165, 58, 0.4);
  background: #000;
}

.game-screen {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.game-bar {
  display: flex;
  justify-content: flex-end;
  padding: 8px;
  background: #05081a;
}

@media (max-width: 560px) {
  .game-screen { aspect-ratio: 3 / 4; }
}
