:root {
  --bg-overlay: rgba(25,30,52,0.82);
  --card-bg: rgba(255,255,255,0.08);
  --text: #f3f8ff;
  --muted: #a9b4c4;
  --accent: #38ccfc;
  --accent-2: #5fd8ff;
  --chip-bg: rgba(37, 232, 255, 0.12);
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  min-height: 100vh;
  background: url('https://media.istockphoto.com/id/1319949062/video/connected-line-and-dots-on-black-background.jpg?s=640x640&k=20&c=mGtbtUQpWQ55w0zJektiiR5Ynr0kLEBjh4yB7K_iExE=') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  color: var(--text);
  padding-bottom: 14vh; /* ensure grid does not touch the bottom */
}
.overlap-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  background: #212a3e; /* dark blue matching main bg */
  border-radius: 7px;
  box-shadow: 0 4px 24px #191a33a2;
  padding: 10px 14px;
}
.overlap-title span {
  font-family: 'Poppins', Impact, Arial, sans-serif;
  font-weight: 900;
  font-size: 3.6vw;
  letter-spacing: 0.03em;
  color: #38ccfc; /* accent blue, matches your theme */
  text-shadow: 0 2px 9px #191a33, 1px 3px 2px #fff2, 0 0 0px #222;
  position: relative;
  line-height: 1.05;
  padding: 0 .12em;
}
.overlap-title span:not(:first-child) {
  margin-left: -0.8vw;
}
@media (max-width: 700px) {
  .overlap-title span { font-size: 7vw; }
}




.overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(3px);
  z-index: 0;
}

.profile-card {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 6vh auto 12vh auto; /* extra bottom space so content doesn't touch bottom */
  background: var(--card-bg);
  box-shadow: 0 8px 40px 0 #0b143b40;
  border-radius: 24px;
  padding: 48px 36px 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(2px);
}

h1 {
  margin-bottom: 18px;
  letter-spacing: 1px;
  font-size: 2.3rem;
  font-weight: bold;
  color: var(--accent);
  text-shadow: 0 2px 18px #232a4840;
}

.bio {
  margin-bottom: 36px;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text);
  text-align: center;
  text-shadow: 0 1px 8px #10192a36;
}

.info-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.info-item {
  display: flex;
  align-items: center;
  background: var(--chip-bg);
  border-radius: 20px;
  padding: 16px 22px;
  box-shadow: 0 0px 8px 0 #1ad8ee28;
  font-size: 1.06em;
}

.icon {
  font-size: 2.1em;
  margin-right: 16px;
  color: var(--accent);
}

.label {
  font-weight: 600;
  color: var(--accent);
  margin-right: 10px;
  min-width: 120px;
}

.value, .info-item a {
  color: var(--text);
  word-break: break-all;
  text-decoration: none;
  font-size: 1em;
  letter-spacing: 0.05em;
}

.info-item a:hover {
  text-decoration: underline;
  color: #fff56d;
  transition: color 0.18s;
}

@media (max-width: 700px) {
  .profile-card {
    max-width: 98vw;
    padding: 26px 5vw 30px 5vw;
  }
  .bio {
    font-size: 1em;
  }
  .label {
    min-width: 100px;
  }
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  margin-bottom: 14px;
  background: rgba(21, 25, 44, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 16px;
}

.home-title {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* theme toggle removed */

/* Member grid */
.member-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* each row centered */
  gap: 18px;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--chip-bg);
  border-radius: 18px;
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 6px 20px #0b143b2c;
  transition: transform .15s ease, box-shadow .15s ease;
  width: 140px; /* 3 per row within 528px inner width (3*160 + 2*18 = 516) */
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #0b143b33;
}

.member-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  margin-bottom: 10px;
  background: rgba(255,255,255,0.1);
}

.member-name { font-weight: 600; text-align: center; }

/* light theme removed */
