/* Game + catalog pages — Ember.
   Layout only; shared chrome/components live in shared/*. The page is
   data-driven from /api/v1/games/:slug (game.js) — this file owns the
   cover hero, breadcrumb, taxonomy panels and the honest empty state. */

/* ---------- cover hero ---------- */
.game-hero { padding: 56px 0 8px; }
.game-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--text-3); font-size: 14px; font-weight: 600; margin-bottom: 26px;
}
.game-crumbs a { color: var(--text-2); }
.game-crumbs a:hover { color: var(--text-1); }
.game-crumbs .sep { color: var(--text-3); opacity: 0.7; }
.game-crumbs .here { color: var(--accent-strong); }

.game-cover {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--border-1); box-shadow: var(--shadow-2);
  min-height: 300px; display: flex; align-items: flex-end;
  background:
    radial-gradient(120% 130% at 18% 0%, rgba(255, 240, 210, 0.16), transparent 55%),
    radial-gradient(90% 95% at 82% 110%, color-mix(in srgb, var(--game-accent) 42%, transparent), transparent 62%),
    radial-gradient(100% 95% at 8% -20%, color-mix(in srgb, var(--game-accent) 46%, transparent), transparent 60%),
    linear-gradient(155deg,
      color-mix(in srgb, var(--game-accent) 26%, #171208),
      color-mix(in srgb, var(--game-accent) 12%, #120e09) 52%,
      color-mix(in srgb, var(--game-accent) 6%, #0d0a07));
}
.game-cover.has-cover { background: #0d0a07; }
.game-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-cover-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 10, 7, 0.12) 30%, rgba(13, 10, 7, 0.88) 88%);
}
.game-cover-initials {
  position: absolute; right: 10px; top: -52px;
  font: 900 190px/1 var(--font-display); letter-spacing: -0.04em;
  color: rgba(255, 244, 220, 0.10);
}
.game-cover-in { position: relative; padding: 34px 38px; max-width: 760px; }
.game-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.game-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 850; letter-spacing: -0.03em; }
.game-summary { color: var(--text-2); font-size: 17.5px; margin-top: 14px; max-width: 620px; }
.game-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.game-cta-note { color: var(--text-3); font-size: 14px; }
@media (max-width: 640px) {
  .game-hero { padding-top: 40px; }
  .game-cover { min-height: 260px; }
  .game-cover-in { padding: 26px 24px; }
  .game-cover-initials { font-size: 130px; top: -36px; }
}

/* ---------- editions ---------- */
.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1020px) { .edition-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .edition-grid { grid-template-columns: 1fr; } }

/* ---------- taxonomy panels ---------- */
.tax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .tax-grid { grid-template-columns: 1fr; } }
.tax-panel {
  background: var(--glass-1); border: 1px solid var(--border-1); border-radius: var(--r-lg);
  padding: var(--card-pad); box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
}
.tax-panel h3 {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
.tax-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.tax-empty { color: var(--text-3); font-size: 14.5px; }
.version-list { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---------- mods empty state ---------- */
.mods-empty {
  text-align: left;
  background:
    radial-gradient(420px 180px at 88% 120%, rgba(226, 100, 30, 0.10), transparent 65%),
    var(--glass-1);
  border: 1px solid var(--glass-line); border-radius: var(--r-lg);
  padding: 38px 42px; box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
}
.mods-empty h3 { font-size: 24px; font-weight: 850; letter-spacing: -0.02em; }
.mods-empty p { color: var(--text-2); font-size: 16px; margin-top: 8px; max-width: 560px; }
.mods-empty .btn { margin-top: 22px; }
@media (max-width: 640px) { .mods-empty { padding: 28px 26px; } }

/* ---------- status (loading / error) ---------- */
.game-status { padding: 72px 0; color: var(--text-2); font-size: 16.5px; }
.game-status h1 { font-size: 30px; font-weight: 800; color: var(--text-1); margin-bottom: 10px; }

/* ---------- catalog index (games.html) ---------- */
.catalog-group { margin-bottom: 8px; }
.catalog-children { margin: 16px 0 8px 26px; padding-left: 18px; border-left: 2px solid rgba(245, 214, 160, 0.12); }
.catalog-children-label {
  color: var(--text-3); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 4px 0 12px;
}
.catalog-compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1020px) { .catalog-compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .catalog-compact { grid-template-columns: 1fr; } }
.catalog-mini {
  display: flex; align-items: center; gap: 14px;
  background: var(--glass-2); border: 1px solid var(--border-1); border-radius: var(--r-md);
  padding: 14px 18px; color: var(--text-1);
  transition: border-color var(--dur) var(--ease);
}
.catalog-mini:hover { border-color: rgba(245, 184, 61, 0.35); text-decoration: none; }
.catalog-mini-dot {
  flex: none; width: 12px; height: 12px; border-radius: 4px;
  background: var(--game-accent); box-shadow: 0 0 10px color-mix(in srgb, var(--game-accent) 55%, transparent);
}
.catalog-mini-name { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.catalog-mini-sub { color: var(--text-3); font-size: 13px; }
