/* Ghost Biographer — sentinel_home dev page styles
   Background imagery + glass-card aesthetic.
   Overrides design.css body defaults for the dark monitoring layout. */

/* ── Page background ── */
html { min-height: 100%; }

body {
  background:
    linear-gradient(rgba(3, 5, 12, 0.58), rgba(3, 5, 12, 0.74)),
    url('/static/GFS_bg0.jpg') no-repeat center top / cover fixed;
  color: #e2e8f0;
  font-family: system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Glass nav bar (overrides design.css .app-header-dev) ── */
.app-header-dev {
  background: rgba(6, 8, 18, 0.80) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(56, 189, 248, 0.14) !important;
}

/* ── Hero ── */
.sentinel-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 0 2rem;
  margin-bottom: .5rem;
  gap: .5rem;
}
.sentinel-hero-logo {
  height: 68px;
  width: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.35));
}
.sentinel-hero-sub {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.55);
}

/* ── Main content area ── */
main {
  flex: 1;
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ── Section headings ── */
.section-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(125, 211, 252, 0.50);
  margin-bottom: 1rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(56, 189, 248, 0.12);
}

/* ── Glass tool cards ── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: rgba(8, 12, 26, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.10);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  position: relative;
}
.tool-card:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(12, 20, 42, 0.80);
}
.tool-card:hover .card-arrow { opacity: 1; }
.card-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  color: rgba(56, 189, 248, 0.45);
  font-size: .9rem;
  opacity: 0;
  transition: opacity .15s;
}
.card-icon  { font-size: 1.6rem; }
.card-title { font-size: .92rem; font-weight: 700; color: #7dd3fc; }
.card-desc  { font-size: .78rem; color: rgba(148, 163, 184, 0.80); line-height: 1.55; }
.card-route { font-size: .68rem; color: rgba(56, 189, 248, 0.35); font-family: monospace; margin-top: .2rem; }
.card-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 4px;
  padding: 2px 6px;
}
.badge-live { background: rgba(5, 46, 22, 0.80); color: #22c55e; }
.badge-dev  { background: rgba(12, 26, 46, 0.80); color: #38bdf8; }
.badge-soon { background: rgba(28, 16, 8, 0.80);  color: #f59e0b; }

/* ── Dependency manifest ── */
#deps {
  background: rgba(8, 12, 26, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.10);
  border-radius: 14px;
  padding: 1.5rem;
  margin-top: 1rem;
}
#deps h3 { font-size: .82rem; font-weight: 700; color: #7dd3fc; margin-bottom: 1rem; }
.dep-section { margin-bottom: 1.25rem; }
.dep-section h4 {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(100, 116, 139, 0.80);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.dep-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.dep-chip {
  background: rgba(17, 24, 39, 0.70);
  border: 1px solid rgba(30, 42, 58, 0.80);
  border-radius: 6px;
  font-size: .72rem;
  color: #64748b;
  padding: .22rem .6rem;
  font-family: monospace;
}
.dep-chip.env { color: #a78bfa; border-color: rgba(45, 29, 82, 0.80); background: rgba(15, 10, 30, 0.70); }
.dep-chip.svc { color: #38bdf8; border-color: rgba(30, 58, 95, 0.80); background: rgba(12, 26, 46, 0.70); }
.dep-chip.pkg { color: #34d399; border-color: rgba(6, 78, 59, 0.80);  background: rgba(5, 46, 22, 0.70); }

/* ── Footer ── */
footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(56, 189, 248, 0.08);
  text-align: center;
  font-size: .72rem;
  color: rgba(30, 42, 58, 0.90);
  background: rgba(3, 5, 12, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
footer a { color: rgba(30, 58, 95, 0.90); text-decoration: none; }
footer a:hover { color: #38bdf8; }
