:root {
  --bg: #0d1117;
  --panel: #161b22;
  --border: #21262d;
  --green: #b5e853;
  --green-dim: #6b8f3d;
  --fg: #c9d1d9;
  --dim: #8b949e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── header ─────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; gap: 24px;
  height: 96px; padding: 0 28px;
  background: var(--bg);
  border-bottom: 2px solid var(--green);
  position: relative; z-index: 10;
}
.brand img { height: 72px; width: auto; display: block; }

.nav-desktop { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-desktop > a {
  color: var(--dim); text-decoration: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px; letter-spacing: 0.08em; 
  padding-bottom: 4px;
  border-bottom: 4px solid transparent;
  transition: color 0.2s;
}
.nav-desktop > a:hover { color: var(--green); }
.nav-desktop > a.active { border-bottom-color: var(--green); }

.nav-social {
  display: flex; align-items: center; gap: 14px;
  margin-left: 18px; padding-left: 18px;
  border-left: 1px solid #1f3d1f;
}
.nav-social a { color: var(--dim); display: inline-flex; transition: color 0.2s; }
.nav-social a:hover { color: var(--green); }

.burger {
  display: none; margin-left: auto;
  background: none; border: none; cursor: pointer; padding: 10px;
}
.burger span {
  display: block; width: 26px; height: 3px;
  background: #fff; margin: 5px 0; transition: 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── mobile nav ─────────────────────────────────── */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 2px solid var(--green);
  position: relative; z-index: 10;
}
.nav-mobile.open { display: flex; }
.nav-mobile > a {
  color: var(--dim); text-decoration: none; text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 17px; padding: 22px;
  border-bottom: 1px solid var(--border);
}
.nav-mobile > a.active { border-bottom: 1px solid var(--border); box-shadow: inset 0 -4px 0 var(--green); }
.nav-mobile > a:hover { color: var(--green); }
.nav-mobile-social {
  display: flex; justify-content: center; gap: 22px;
  padding: 14px 0;
}
.nav-mobile-social a { color: var(--dim); text-decoration: none; font-size: 14px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.nav-mobile-social a:hover { color: var(--green); }

@media (max-width: 640px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
}

/* ── home hero ──────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - 98px);
  min-height: 480px;
  overflow: hidden;
  flex: 1;
}
#rain { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: fit-content; max-width: calc(100% - 48px);
  padding: 34px 40px;
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid var(--green-dim);
  border-radius: 6px;
  text-align: center;
}
.banner h1 {
  color: var(--green);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 40px; color: var(--green); margin-bottom: 18px;
}
.banner p { margin-bottom: 14px; line-height: 1.65; white-space: nowrap; }
 (max-width: 900px) { .banner p { white-space: normal; } }
.banner p:last-child { margin-bottom: 0; }
.banner a { color: #fff; }
.banner a:hover { color: var(--green); }

/* ── team page ──────────────────────────────────── */
.page { max-width: 1080px; margin: 0 auto; padding: 40px 24px 80px; width: 100%; }
.page-title {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--green); margin-bottom: 30px;
}
.team-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.member {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.member img { width: 100%; border-radius: 4px; display: block; }
.member-name {
  margin: 10px 0 8px; font-size: 14px; color: #fff;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  line-height: 1.35; min-height: 2.7em;
  display: flex; align-items: center; justify-content: center;
}
.member-links { display: flex; justify-content: center; gap: 16px; }
.member-links a { color: var(--dim); display: inline-flex; transition: color 0.2s; }
.member-links a:hover { color: var(--green); }

/* ── watermark footer ───────────────────────────── */
.watermark {
  position: fixed; bottom: 10px; right: 14px;
  color: #4a5a4a; font-size: 11px; z-index: 5;
  pointer-events: none;
}
