@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
  --pip-green: #22ee33;
  --pip-green-glow: rgba(34, 238, 51, 0.55);
  --pip-green-dim: #13771e;
  --pip-dark: #071207;
  --pip-border: rgba(34, 238, 51, 0.35);
}

/* Monospace font everywhere */
body, html, * {
  font-family: 'Share Tech Mono', 'Courier New', monospace !important;
  letter-spacing: 0.4px;
}

/* CRT Scanline Effect (non-intrusive, pointer-events none) */
body::before {
  content:  ;
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.32) 50%),
              linear-gradient(90deg, rgba(34, 238, 51, 0.02), rgba(0, 0, 0, 0.01), rgba(34, 238, 51, 0.02));
  z-index: 9999;
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  opacity: 0.7;
}

/* CRT Vignette Edge Shadow */
body::after {
  content:  ;
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: radial-gradient(circle at center, transparent 65%, rgba(0, 5, 0, 0.65) 100%);
  z-index: 9998;
  pointer-events: none;
}

/* Phosphor Text Glow */
h1, h2, h3, h4, h5, h6, .widget-title, nav a, .logo {
  text-shadow: 0 0 5px var(--pip-green-glow), 0 0 12px rgba(34, 238, 51, 0.25) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* PipBoy Widget Box Styling */
.widget, [class*=widget-type-] {
  border: 1px solid var(--pip-border) !important;
  background-color: rgba(7, 18, 8, 0.88) !important;
  box-shadow: 0 0 10px rgba(34, 238, 51, 0.1), inset 0 0 14px rgba(10, 40, 15, 0.45) !important;
  border-radius: 4px !important;
  backdrop-filter: blur(4px);
  position: relative;
}

/* Corner bracket accents */
.widget::before {
  content: ;
  position: absolute;
  top: -1px;
  left: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--pip-green);
  border-left: 2px solid var(--pip-green);
  pointer-events: none;
}

.widget::after {
  content: ;
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--pip-green);
  border-right: 2px solid var(--pip-green);
  pointer-events: none;
}

/* Interactive elements hover highlight */
a:hover, button:hover, .list-item:hover, tr:hover {
  background-color: rgba(34, 238, 51, 0.15) !important;
  text-shadow: 0 0 8px var(--pip-green) !important;
}

/* Terminal Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--pip-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--pip-green-dim);
  border: 1px solid var(--pip-green);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pip-green);
}

/* Footer RobCo styling */
footer, .footer {
  font-size: 0.8rem !important;
  letter-spacing: 1.5px !important;
  color: var(--pip-green-dim) !important;
  text-transform: uppercase !important;
  text-align: center !important;
  opacity: 0.85;
}
