/* ===== Base CRT background & font ===== */

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

:root {
  --bg: #020904;
  --bg-soft: #041109;
  --accent: #00ff00;
  --accent-soft: #0f3f0f;
  --danger: #ff3b3b;
  --text: #c0ffb0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Share Tech Mono", monospace;
}

/* CRT effect background */

.crt-background {
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.25) 0,
      rgba(0, 0, 0, 0.25) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(circle at center, #041109 0, #000 65%);
}

/* ===== Layout containers ===== */

.terminal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.terminal-header,
.terminal-footer {
  font-size: 12px;
  color: #4afc4a;
  opacity: 0.85;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.terminal-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 11px;
  opacity: 0.6;
}

/* ===== Logo & main ===== */

.vault-logo {
  font-size: 56px;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 32px;
}

.terminal-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== Cards ===== */

.terminal-card {
  border: 1px solid var(--accent);
  background-color: rgba(0, 12, 0, 0.6);
  padding: 16px 20px;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.25);
}

.terminal-card h2,
.terminal-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
}

.terminal-card p {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* ===== Buttons ===== */

.terminal-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.btn {
  border: 1px solid var(--accent);
  padding: 10px 18px;
  background-color: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: rgba(0, 64, 0, 0.75);
}

.btn-secondary {
  border-color: #ffaa33;
  color: #ffaa33;
}

.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.btn:hover {
  filter: brightness(1.2);
}

/* ===== Boot screen ===== */

.boot-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  font-size: 14px;
}

.boot-line {
  margin: 6px 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.boot-step-visible {
  opacity: 1;
  transform: translateY(0);
}

.boot-final {
  margin-top: 12px;
}

/* ===== Settings / recruitment card styles (for later pages) ===== */

.section-title {
  font-size: 18px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 13px;
  margin-bottom: 16px;
}

.settings-group {
  margin-bottom: 20px;
}

.settings-label {
  font-size: 13px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.settings-description {
  font-size: 12px;
  opacity: 0.9;
}

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 22px;
  border: 1px solid var(--accent);
  background-color: rgba(0, 24, 0, 0.9);
  cursor: pointer;
}

.switch-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 24px;
  height: 18px;
  background-color: var(--accent);
  transition: transform 0.2s ease-out;
}

.switch-on .switch-thumb {
  transform: translateX(29px);
}

/* Recruitment board */

.recruitment-board {
  margin-top: 24px;
}

.recruitment-empty {
  border: 1px solid var(--accent);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background-color: rgba(0, 12, 0, 0.6);
}

.boot-icon {
  display: inline-block;
  width: 60px; /* keeps text lined up nicely */
}
