body {
  font-family: 'Press Start 2P', cursive;
  background-color: #111;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
}

header {
  color: #ff4d4d;
  background-color: #222;
  padding: 2rem;
  border-bottom: 4px solid #440909;
}

header p {
  color: #ccc;
  font-size: 0.6rem;
  margin-top: 0.8rem;
  line-height: 1.5;
}

footer {
  background-color: #222;
  padding: 1rem;
  font-size: 0.75rem;
}

/* Hamburger Menu */
#menu-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

#menu-toggle .bar {
  height: 4px;
  background-color: #ff4d4d;
  border-radius: 2px;
  box-shadow: 0 0 4px #ff4d4d;
  transition: background 0.3s, box-shadow 0.3s;
}

#menu-toggle:hover .bar {
  background-color: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

#menu-box {
  position: absolute;
  top: 60px;
  left: 20px;
  background: #2b2b2b;
  border: 2px solid #800000;
  border-radius: 8px;
  padding: 12px;
  display: none;
  font-size: 0.6rem;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
  z-index: 999;
  text-align: left;
}

#menu-box a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 8px;
}

#menu-box a:hover {
  color: #ffcccc;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.team-member {
  background: #2b2b2b;
  border: 2px solid #800000;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.team-member img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ff4d4d;
  margin-bottom: 10px;
}

.team-member h2 {
  font-size: 0.8rem;
  color: #ff4d4d;
  margin: 0.5rem 0 0.2rem;
}

.team-member .role {
  display: inline-block;
  font-size: 0.55rem;
  color: #1c1c1c;
  background: #ffcc00;
  padding: 0.25rem 0.6rem;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-member .bio {
  font-size: 0.55rem;
  color: #cccccc;
  line-height: 1.5;
}

.team-member .bio a {
  color: #ff8080;
  text-decoration: none;
  display: block;
  margin-top: 6px;
  font-size: 0.5rem;
  word-break: break-word;
}

.team-member .bio a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Card for "join the team" style CTA */
.team-cta {
  max-width: 500px;
  margin: 0 auto 2rem;
  padding: 1rem;
  border: 2px dashed #800000;
  border-radius: 10px;
  font-size: 0.55rem;
  color: #ccc;
  line-height: 1.6;
}

.team-cta a {
  color: #ff8080;
}
