* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Pretendard", sans-serif;
}
body {
  min-width: 1200px;
  background: #fff;
  overflow-x: hidden;
}
.inner {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Header & Hero */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}
.hero {
  height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5);
}
.hero-text h1 {
  font-size: 80px;
  font-weight: 900;
  margin-bottom: 20px;
}
.btn {
  padding: 15px 40px;
  border-radius: 8px;
  border: none;
  font-weight: 800;
  cursor: pointer;
}
.btn.green {
  background: #3ddc84;
  color: #fff;
  margin-right: 15px;
}

/* Members Section - 꼬임 해결의 핵심 */
.members {
  width: 100%;
  padding-bottom: 100px;
}
.members-container {
  height: 1400px;
  margin-top: 50px;
} /* 충분한 고정 높이 부여 */

.section-title {
  font-size: 40px;
  font-weight: 900;
  padding: 60px 0;
}

/* 레이어 분리 */
.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label-layer {
  position: relative;
  z-index: 5;
}
.card-layer {
  position: relative;
  z-index: 10;
}

/* 카드 공통 */
.card {
  position: absolute;
  width: 240px;
  cursor: pointer;
  transition: 0.3s;
}
.card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.card span {
  display: block;
  margin-top: 15px;
  font-weight: 800;
  font-size: 17px;
}
.card small {
  font-weight: 400;
  color: #777;
}

/* ON TEAM 좌표 */
.mk {
  top: 520px;
  left: 60px;
}
.hyojin {
  top: 280px;
  left: 350px;
}
.etion {
  top: 40px;
  left: 640px;
}

/* OFF TEAM 좌표 */
.seungjun {
  top: 320px;
  left: 920px;
  color: #fff;
}
.wyatt {
  top: 600px;
  left: 650px;
  color: #fff;
}
.yuto {
  top: 880px;
  left: 380px;
  color: #fff;
}

.on-label {
  top: 120px;
  left: 0;
}
.off-label {
  bottom: 100px;
  right: 0;
  color: #fff;
  text-align: right;
}

/* Footer */
.footer {
  background: #111;
  color: #888;
  padding: 80px 0;
}
.f-logo {
  color: #fff;
  margin-bottom: 10px;
}

/* Modal 생략 (이전과 동일) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  width: 800px;
  height: 450px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  z-index: 100;
}
.profile-flex {
  display: flex;
  height: 100%;
}
.p-img {
  flex: 1;
  background-size: cover;
  background-position: center;
}
.p-info {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
