/* --- CRT VARIABLES (The Child Themes will hijack these) --- */
:root {
  --crt-color: #33ff00; /* Default Green */
  --bg-color: #050505;
  --scanline-opacity: 0.1;
}

/* --- LAYOUT --- */
body {
  background-color: var(--bg-color);
  color: var(--crt-color);
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  overflow: hidden; /* Stop scrollbars for full screen effect */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- COMPONENTS --- */
.terminal-content {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 600px;
  padding: 20px;
  border: 2px solid var(--crt-color);
  box-shadow: 0 0 20px var(--crt-color), inset 0 0 20px var(--crt-color);
}

.crt-logo {
  max-width: 150px;
  height: auto;
  filter: drop-shadow(
    0 0 10px var(--crt-color)
  ); /* Glows with the theme color */
}

h1 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin: 20px 0;
  text-shadow: 2px 2px 0px var(--bg-color); /* Retro shadow */
}

.system-status {
  border-top: 1px dashed var(--crt-color);
  padding-top: 20px;
  margin-top: 20px;
  font-weight: bold;
}

/* --- SCANLINES & FLICKER --- */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.2)
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.3;
}

/* Default Parent Text (Fallback) */
.sector-name::after {
  content: "CORE";
}

/* --- GENERIC CONTENT TYPOGRAPHY (For page.php) --- */
.entry-content {
  text-align: left;
  line-height: 1.6;
}

.entry-content h2,
.entry-content h3 {
  text-transform: uppercase;
  border-bottom: 1px dashed var(--crt-color);
  padding-bottom: 10px;
  margin-top: 30px;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content a {
  color: var(--crt-color);
  text-decoration: none;
  background-color: rgba(51, 255, 0, 0.1); /* Slight highlight */
  padding: 2px 5px;
}

.entry-content a:hover {
  background-color: var(--crt-color);
  color: var(--bg-color); /* Invert colors on hover */
  cursor: help;
}

.entry-content ul {
  list-style: square;
  padding-left: 20px;
}

.entry-content blockquote {
  border-left: 4px solid var(--crt-color);
  margin: 20px 0;
  padding-left: 20px;
  font-style: italic;
  opacity: 0.8;
}
