/* ============================================================ */
/* Sector G — toomuchstupid.com/sectorg/                         */
/* The glow theme's type and buttons; screenshots in sensor      */
/* colors. The page started from the sectorg repo's art/promo/. */
/* ============================================================ */

/* Hero: the name, the line, Play | the firefight */
.glowed .sg-hero {
  padding: 30px 40px 24px;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px; align-items: center;
}
.glowed .sg-hero .pre-tag { margin-bottom: 24px; }
.glowed .sg-hero h1 { margin-bottom: 20px; }
.glowed .sg-hero .lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; line-height: 1.5;
  color: rgba(216, 240, 255, 0.92);
  max-width: 30rem; margin-bottom: 0;
}
.glowed .sg-hero .cta-row { margin-bottom: 0; }
/* links, not <button>s: under 480px the theme stretches them to width: 100% */
.glowed .sg-hero .cta-row a, .glowed .sg .cta-row a { box-sizing: border-box; justify-content: center; }
.glowed .sg-hero .sg-shot { box-shadow: 0 0 48px rgba(255, 92, 225, 0.18), 0 0 12px rgba(143, 234, 255, 0.12); }

/* Body: one reading column, rows of words beside a screenshot */
.glowed .gp-body.sg { display: block; }
.glowed .sg .gp-section { margin-top: 4rem; }
.glowed .sg .gp-section.sg-intro { margin-top: 1.5rem; }
.glowed .sg-intro p {
  font-size: 1.0625rem; line-height: 1.7;
  color: rgba(216, 240, 255, 0.85);
}
.glowed .sg h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.125rem;
  color: #fff;
  margin: 2.75rem 0 0.875rem;
}
.glowed .sg .h2-row + h3 { margin-top: 0.5rem; }
.glowed .sg strong { color: #fff; font-weight: 600; }
.glowed .gp-section p.sg-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem; color: #fff;
}

.glowed .sg-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
}
.glowed .sg-row + .sg-row { margin-top: 32px; }
.glowed .sg-row > div > :last-child { margin-bottom: 0; }
/* side by side, every other screenshot goes on the left; stacked, the words always come first */
@media (min-width: 901px) {
  .glowed .sg-row.flip > .sg-shot { order: -1; }
}

/* A screenshot, framed */
.glowed .sg-shot {
  margin: 0;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 14px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(255, 92, 225, 0.1);
}
.glowed .sg-shot img { width: 100%; height: auto; }

/* What the sensor colors mean, in their colors */
.glowed .sg-c { font-weight: 500; }
.glowed .sg-c.ground {
  background: linear-gradient(90deg, #7d93ff, #b88cff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glowed .sg-c.gold { color: #ffc864; text-shadow: 0 0 10px rgba(255, 200, 100, 0.45); }
.glowed .sg-c.green { color: #7ef0a0; text-shadow: 0 0 10px rgba(126, 240, 160, 0.4); }
.glowed .sg-c.red { color: #ff6b76; text-shadow: 0 0 10px rgba(255, 79, 94, 0.5); }
.glowed .sg-c.magenta { color: #ff7cf0; text-shadow: 0 0 10px rgba(255, 92, 225, 0.5); }

/* Keys and the HUD's own words */
.glowed .sg kbd {
  display: inline-block;
  min-width: 1.75em; padding: 0.15em 0.45em;
  box-sizing: border-box;
  border: 1px solid rgba(143, 234, 255, 0.4);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(143, 234, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8em; line-height: 1.3;
  text-align: center;
  color: #8feaff;
  white-space: nowrap;
}
.glowed .sg code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em; letter-spacing: 0.04em;
  color: #8feaff;
  white-space: nowrap;
}

/* The arsenal: keys 1–9 */
.glowed .sg-arsenal {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin: 18px 0 32px;
}
.glowed .sg-arsenal li {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px; align-items: baseline; align-content: start;
  padding: 14px 16px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
}
.glowed .sg-arsenal kbd { grid-row: 1 / span 2; align-self: start; }
.glowed .sg-arsenal .sg-wn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.glowed .sg-arsenal .sg-wd {
  font-size: 0.875rem; line-height: 1.55;
  color: rgba(216, 240, 255, 0.72);
}

/* How to play: the keys */
.glowed .sg-keys {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin: 8px 0 20px;
}
.glowed .sg-key {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 12px; align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(143, 234, 255, 0.12);
}
.glowed .sg-key dt, .glowed .sg-key dd { margin: 0; }
.glowed .sg-key dt { color: rgba(216, 240, 255, 0.55); font-size: 0.875rem; }
.glowed .sg-key dd { font-size: 0.9375rem; line-height: 1.5; color: rgba(216, 240, 255, 0.85); }

.glowed .sg-hero a:focus-visible,
.glowed .sg a:focus-visible {
  outline: 2px solid #8feaff; outline-offset: 3px;
}

@media (max-width: 1024px) {
  .glowed .sg-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .glowed .sg-arsenal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .glowed .sg-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .glowed .sg-row + .sg-row { margin-top: 28px; }
}
@media (max-width: 720px) {
  .glowed .sg-hero { padding: 20px 16px 8px; }
  .glowed .sg-hero .lede { font-size: 1.125rem; padding-left: 12px; }
  .glowed .sg .gp-section { margin-top: 3rem; }
  .glowed .sg-keys { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .glowed .sg-arsenal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .glowed .sg-key { grid-template-columns: 7.5rem minmax(0, 1fr); }
}
