/* SightCade game pages (website/sightcade/<game>.htm and locale copies).
   Loaded AFTER assets/practice-tips.css, which supplies the shared header, footer,
   nav and button shapes; this file switches them to the SightCade neon theme (same
   tokens as the inline CSS of sightcade.htm) and adds the page components (sg-*). */

:root {
  --bg: #070510; --bg-darker: #04030a;
  --surface: #120e24; --surface-2: #1b1635;
  --ink: #f4ecdb; --ink-dim: #9d96b0; --ink-faint: #5a5472;
  --accent: #ff007f; --accent-cyan: #00f0ff; --accent-magenta: #ff2bd6;
  --accent-green: #39ff14; --accent-yellow: #ffe600; --accent-amber: #e0a96d; --accent-warm: #f0bb80;
  --line: #211942; --line-bright: #392d6e;
}
body::before {
  background:
    linear-gradient(rgba(18, 14, 36, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 14, 36, 0.4) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center; z-index: -2;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255, 0, 127, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 240, 255, 0.06), transparent 70%);
}
a { color: var(--accent-cyan); }
a:hover { color: var(--accent); }
.header { background: rgba(7, 5, 16, 0.82); }
.logo em { color: var(--accent-amber); }
.nav a.active { color: var(--accent-cyan); }
.btn-primary { background: var(--accent-amber); color: #1a1209; }
.btn-primary:hover { background: var(--accent-warm); }
.btn-neon { background: transparent; color: var(--accent-cyan); border-color: var(--accent-cyan); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
.btn-neon:hover { background: var(--accent-cyan); color: var(--bg-darker); box-shadow: 0 0 20px rgba(0, 240, 255, 0.6); opacity: 1; }
.btn-ghost:hover { border-color: var(--accent-cyan); }

/* ---------- page ---------- */
.sg-hero, .sg-section { max-width: var(--max-w); margin: 0 auto; padding: 2.6rem 1.5rem; }
.sg-hero { padding-top: 4.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.sg-eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 1.1rem; }
.sg-hero h1 {
  font-family: 'Orbitron', sans-serif; font-weight: 900; line-height: 1.12; letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1rem; text-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
}
.sg-sub { font-size: 1.15rem; color: var(--ink); margin-bottom: 0.9rem; }
.sg-lead { font-size: 1.05rem; max-width: 520px; line-height: 1.65; }
.sg-cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; margin-top: 1.8rem; }
.sg-badge { font-size: 0.8rem; padding: 0.15rem 0.7rem; border-radius: 99px; border: 1px solid var(--line-bright); color: var(--ink-dim); }
.sg-badge--partial, .sg-badge--midi { color: var(--accent-amber); border-color: var(--accent-amber); }
.sg-frame { border-radius: 18px; padding: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-cyan)); box-shadow: 0 0 32px rgba(255, 0, 127, 0.25); }
.sg-frame img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--bg-darker); }

.sg-section h2 {
  font-family: 'Fraunces', serif; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 1.1rem;
}
.sg-prose { max-width: var(--max-prose); }
.sg-prose p, .sg-prose li { font-size: 1.02rem; line-height: 1.75; }
.sg-prose ul { margin: 0 0 1rem 1.2rem; color: var(--ink-dim); }
.sg-prose li { margin-bottom: 0.45rem; }
.sg-prose strong { color: var(--ink); }

.sg-quotes { display: grid; gap: 0.8rem; margin: 1.2rem 0 1.4rem; }
.sg-quotes blockquote {
  margin: 0; padding: 0.9rem 1.2rem; background: var(--surface); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0; color: var(--ink); font-size: 1.12rem; font-style: italic;
}

.sg-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0; }
.sg-mode { background: var(--surface); border: 1px solid var(--line-bright); border-radius: 12px; padding: 1.2rem 1.25rem; }
.sg-mode-key {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; margin-bottom: 0.6rem;
  font-family: 'Orbitron', sans-serif; font-weight: 800; color: var(--bg-darker); background: var(--accent-cyan);
}
.sg-mode h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.sg-mode p { font-size: 0.95rem; line-height: 1.65; }
.sg-note { font-size: 0.95rem; color: var(--ink-dim); border-top: 1px solid var(--line); padding-top: 0.9rem; max-width: var(--max-prose); }

.sg-steps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0; padding: 0; list-style: none; }
.sg-step { display: inline-flex; gap: 0.5rem; align-items: baseline; padding: 0.35rem 0.8rem; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-bright); font-size: 0.88rem; color: var(--ink-dim); }
.sg-step b { font-family: 'Orbitron', sans-serif; font-size: 0.78rem; color: var(--accent-cyan); letter-spacing: 0.04em; }
.sg-step--free { border-color: rgba(57, 255, 20, 0.45); }

.sg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.1rem 0; }
.sg-two > div { background: var(--surface); border: 1px solid var(--line-bright); border-radius: 12px; padding: 1.1rem 1.25rem; }
.sg-two h3 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.6rem; color: var(--accent-cyan); }
.sg-two ul { margin: 0 0 0 1.1rem; color: var(--ink-dim); font-size: 0.97rem; line-height: 1.65; }

.sg-needs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; margin: 1rem 0; }
.sg-needs dt { font-weight: 600; color: var(--ink); margin-bottom: 0.15rem; }
.sg-needs dd { margin: 0; color: var(--ink-dim); font-size: 0.97rem; line-height: 1.6; }

.sg-glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2.2rem; margin: 1rem 0; }
.sg-glossary dt { font-weight: 600; color: var(--accent-cyan); }
.sg-glossary dd { margin: 0.1rem 0 0; color: var(--ink-dim); font-size: 0.95rem; line-height: 1.6; }

.faq-item { background: var(--surface); border: 1px solid var(--line-bright); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.8rem; max-width: var(--max-prose); }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.faq-item p { margin: 0; font-size: 0.97rem; line-height: 1.65; }

.sg-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.9rem; margin-top: 1rem; }
.sg-related a { display: block; padding: 0.9rem 1.1rem; background: var(--surface); border: 1px solid var(--line-bright); border-radius: 12px; color: var(--ink); line-height: 1.4; }
.sg-related a:hover { border-color: var(--accent-cyan); opacity: 1; color: var(--ink); }
.sg-related small { display: block; margin-bottom: 0.25rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-amber); }

.sg-cta { border-top: 1px solid var(--line); margin-top: 2rem; padding: 4.5rem 1.5rem; text-align: center; background: linear-gradient(180deg, transparent, rgba(255, 0, 127, 0.03)); }
.sg-cta h2 { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.3rem); max-width: 760px; margin: 0 auto 1rem; line-height: 1.2; }
.sg-cta p { max-width: 560px; margin: 0 auto 1.8rem; }
.sg-cta .sg-cta-row { justify-content: center; }
.sg-cta small { display: block; max-width: 620px; margin: 1.6rem auto 0; color: var(--ink-faint); line-height: 1.6; }

.crt-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: 0.35;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
}
@media (max-width: 900px) {
  .sg-hero { grid-template-columns: 1fr; gap: 2rem; }
  .sg-modes, .sg-two, .sg-needs, .sg-glossary { grid-template-columns: 1fr; }
}
