/* ====================================================================================
   apps.css — FINAL, NON-INVASIVE, BLUEPRINT-COMPLIANT
   GUARANTEES:
   - Baseline app CSS remains visually and semantically IDENTICAL
   - Shell (header / menu / footer) is fully isolated via .stp-* namespace
   - No bleed into body, app containers, cards, or links
==================================================================================== */

/* =============================================================================
   ISOLATED SHELL — HEADER / MENU / FOOTER ONLY
   (Uses existing palette; does not touch baseline selectors)
============================================================================= */

.stp-header{
  position:fixed;
  top:0; left:0; right:0;
  height:56px;
  z-index:1000;
  background:rgba(4, 1, 43,.85);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(0,255,170,.35);
}

.stp-hamburger{
  max-width:1000px;
  margin:0 auto;
  height:56px;
  padding:0 16px;
  display:flex;
  align-items:center;
}

.stp-brand{
  font-family:'Orbitron',sans-serif;
  font-weight:700;
  color:#00ffaa;
  line-height:1;
  text-shadow:0 0 10px rgba(0,255,170,.6);
}

.stp-menu-box{
  margin-left:auto;
  position:relative;
}

.stp-burger{
  font-size:1.4rem;
  cursor:pointer;
  color:#00ffaa;
  line-height:1;
  text-shadow:0 0 10px rgba(0,255,170,.6);
}

#stp-menu-toggle{
  display:none;
}

.stp-menu{
  display:none;
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:220px;
  list-style:none;
  padding:8px;
  background:rgba(0,0,0,.92);
  border:2px solid #00ffaa;
  border-radius:10px;
  box-shadow:0 0 15px rgba(0,255,170,.35);
}

#stp-menu-toggle:checked + .stp-burger + .stp-menu{
  display:block;
}

.stp-menu a{
  display:block;
  padding:6px 10px;
  color:#ffffff;
  white-space:nowrap;
  text-decoration:none;
  border-radius:6px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  transition:all .25s ease;
}

.stp-menu a:hover{
  background:#00ffaa;
  color:#000;
  box-shadow:0 0 12px #00ffaa;
  transform:scale(1.03);
}

.stp-footer{
  margin-top:60px;
  padding:20px;
  text-align:center;
  font-size:.85rem;
  color:#aaa;
}

.stp-footer a{
  color:#aaa;
  text-decoration:none;
}

.stp-footer a:hover{
  color:#00ffaa;
}

/* =============================================================================
   BASELINE APP CSS — UNTOUCHED, VERBATIM (AUTHORITATIVE)
============================================================================= */

/* ===== Futuristic Neon Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', sans-serif;
  background-image: url("images/G-spacesuit__017.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-color: #04012b; /* LOCKED — unchanged */
  transition: background-image 1s ease-in-out;
}

.apps-container {
  max-width: 1000px;
  margin: auto;
  padding: 96px 1.5rem 1.5rem;
}

.apps-summary {
  background: rgba(0, 255, 170, 0.1);
  border: 2px solid #00ffaa;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.4);
}

.apps-summary h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #00ffaa;
}

.apps-summary p {
  font-size: 1rem;
  color: #ccc;
}

.apps-category {
  margin-top: 1.5rem;
  background: rgba(0, 136, 255, 0.08);
  border: 2px solid #0088ff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.3);
}

.apps-category h2 {
  color: #0088ff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.apps-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.apps-category li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apps-category li:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(0, 255, 170, 0.35);
}

.apps-category a {
  text-decoration: none;
  color: #fff;
  padding: 0.5rem 0.7rem;
  display: inline-block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.apps-category a:hover {
  background: #00ffaa;
  color: #000;
  box-shadow: 0 0 12px #00ffaa;
  transform: scale(1.05);
}

.app-desc {
  font-size: 0.8rem;
  color: #aaa;
  margin: 0.4rem 0 0 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.apps-category li:hover .app-desc {
  color: #f2fcd2;
}

@media (max-width: 600px) {
  .apps-summary h1 { font-size: 1.4rem; }
  .apps-category h2 { font-size: 1.1rem; }
  .apps-category a { font-size: 0.9rem; padding: 0.5rem; }
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: black;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}

body.fade-out::before { opacity: 1; }
body.fade-in::before { opacity: 0; }

/* =============================================================================
   SHELL COLOR SYNC — MATCH BASELINE CYAN (#00ffaa)
   (Color-only overrides; no layout or behavior changes)
============================================================================= */

.stp-header{
  background:rgba(0,0,0,.9);
  border-bottom:2px solid #00ffaa;
}

.stp-brand,
.stp-burger{
  color:#00ffaa;
  text-shadow:0 0 12px rgba(0,255,170,.7);
}

.stp-menu{
  background:rgba(0,0,0,.95);
  border:2px solid #00ffaa;
  box-shadow:0 0 20px rgba(0,255,170,.45);
}

.stp-menu a:hover{
  background:#00ffaa;
  color:#000;
  box-shadow:0 0 12px #00ffaa;
  transform:scale(1.05);
}

.stp-footer{
  background:transparent;
  color:#aaa;
}

.stp-footer a,
.stp-footer button,
.stp-footer .cookie-settings,
.stp-footer .cookie-link{
  color:#00ffaa;
  text-shadow:0 0 10px rgba(0,255,170,.6);
}
