/* =========================
   BASE
========================= */
body {
  margin: 0;
  font-family: "Courier New", monospace;
  background: #050505;
  color: #0080ff;
}

header {
  padding: 20px;
  border-bottom: 1px solid #0080ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  letter-spacing: 2px;
  font-size: 18px;
}

.logo, .logo:visited, .logo:hover, .logo:active {
  color: #0080ff;
  text-decoration: none;
}

.logo:hover { text-shadow: 0 0 10px #0080ff; }

nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }

nav a {
  color: #0080ff;
  text-decoration: none;
  opacity: 0.7;
  font-size: 13px;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

nav a:hover { opacity: 1; text-shadow: 0 0 6px #0080ff; }
nav .button { margin-top: 0; padding: 6px 16px; opacity: 1; }

.button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  border: 1px solid #0080ff;
  color: #0080ff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 13px;
  transition: 0.2s;
}

.button:hover {
  background: #0080ff;
  color: #050510;
  box-shadow: 0 0 16px #0080ff;
}

/* =========================
   SCANLINES
========================= */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 128, 255, 0.04),
    rgba(0, 128, 255, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 999;
}

/* =========================
   CURSOR
========================= */
* { cursor: none !important; }
.custom-cursor {
  position: fixed;
  width: 16px; height: 16px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 2px #000) drop-shadow(0 0 4px #0080ff);
}

/* =========================
   HERO
========================= */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-size: 76px;
  margin: 0 0 6px;
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(0,0,255,0.35);
}

.subtitle {
  font-size: 17px;
  opacity: 0.85;
  margin: 8px 0 4px;
  letter-spacing: 1px;
}

.tagline {
  font-size: 13px;
  opacity: 0.55;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-buttons .button { margin-top: 0; }

/* =========================
   GRID
========================= */
.grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  border-top: 1px solid #0080ff;
  flex-wrap: wrap;
}

.grid div { max-width: 250px; }
.grid h2 { font-size: 16px; margin-bottom: 8px; letter-spacing: 2px; }
.grid p  { opacity: 0.6; font-size: 13px; line-height: 1.7; }

/* =========================
   TERMINAL
========================= */
.terminal-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px 60px;
  border-top: 1px solid #0080ff;
  text-align: center;
}

.terminal-section h2 { margin-bottom: 10px; letter-spacing: 2px; }
.terminal-section p  { margin-bottom: 20px; opacity: 0.6; font-size: 13px; }

.terminal-button {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid #0080ff;
  padding: 10px 26px;
  text-decoration: none;
  color: #0080ff;
  letter-spacing: 2px;
  transition: all 0.2s;
}

.terminal-button:hover {
  background: #0080ff;
  color: #050510;
  box-shadow: 0 0 16px #0080ff;
}

/* =========================
   D SECTION (units)
========================= */
.d-section {
  padding: 60px 20px;
  border-top: 1px solid #0080ff;
}

#d-container {
  max-width: 800px;
  margin: auto;
}

.d-card {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  padding: 14px;
  border: 1px solid rgba(0,0,255,0.12);
  transition: border-color 0.3s, background 0.3s;
}

.d-card:hover {
  border-color: rgba(0,0,255,0.4);
  background: rgba(0,0,255,0.02);
}

.square {
  width: 64px; height: 64px;
  animation: spin 5s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.info h3 { margin: 0; font-size: 15px; letter-spacing: 1px; }
.info p  { opacity: 0.6; font-size: 12px; margin: 4px 0 0; }

/* =========================
   STAFF
========================= */
.staff-lite {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  border-top: 1px solid #0080ff;
}

.staff-lite h2 { margin-top: 36px; margin-bottom: 4px; letter-spacing: 2px; }
.staff-lite h2:first-of-type { margin-top: 0; }

.group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.card {
  position: relative;
  border: 1px solid #0080ff;
  padding: 12px;
  font-size: 14px;
  transition: background 0.2s;
  color: #0080ff;
  text-shadow: 0 0 6px #0080ff;
  box-shadow: 0 0 4px rgba(0,0,255,0.3);
}

.card:hover { background: rgba(0,0,255,0.04); }

.hover-info {
  position: absolute;
  bottom: 110%;
  left: 0;
  background: #050505;
  border: 1px solid #0080ff;
  padding: 6px 10px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  z-index: 5;
  color: #0080ff;
}

.card:hover .hover-info { opacity: 1; }

/* =========================
   D SIT CARDS
========================= */
.d-sit-card {
  height: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.d-label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  pointer-events: none;
}

.d-sit-card img {
  position: absolute;
  bottom: calc(100% - 24px);
  left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 72px;
  image-rendering: pixelated;
  z-index: 2;
}

/* =========================
   NOTICE
========================= */
.notice {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #0080ff;
  opacity: 0.7;
  font-size: 13px;
  letter-spacing: 1px;
}

/* =========================
   CONTACT
========================= */
.contact-section {
  padding: 50px 20px;
  border-top: 1px solid #0080ff;
  text-align: center;
}

.contact-section h2 { margin-bottom: 6px; letter-spacing: 2px; }

.contact-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.contact-links a {
  color: #0080ff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 13px;
}

.contact-links a:hover { text-shadow: 0 0 6px #0080ff; }

.dim { opacity: 0.5; font-size: 12px; }

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid #0080ff;
  font-size: 12px;
  opacity: 0.5;
  letter-spacing: 1px;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #0080ff; border-radius: 5px; box-shadow: 0 0 5px #0080ff; }
::-webkit-scrollbar-thumb:hover { background: #0060cc; }