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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background-color: #f5f6fa;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  background: linear-gradient(135deg, #4d40c4, #8078cf);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 0 0 20px 20px;
}

.team-name {
  font-size: 3rem;
  font-weight: 700;
}

.team-desc {
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* Main container */
.container {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Member list */
.member-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.member-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.member-card a {
  color: #4d40c4;
  text-decoration: none;
}

.member-card a:hover {
  text-decoration: underline;
}

.member-card p {
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* Footer */
.footer {
  margin-top: 3rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1.7s infinite;
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
