body, html {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  height: 100%;
  overflow: hidden;
}

/* 배경 비디오 컨테이너 */
#video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

/* 배경 비디오 설정 */
/* ✅ 배경 전체를 덮는 투명한 버튼 */
#bg-button {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* 투명 배경 */
  cursor: pointer;
  z-index: 1; /* 클릭 감지를 위해 다른 요소 위에 배치 */
}

/* 배경 비디오 설정 */
#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw; /* 뷰포트 너비에 맞춤 */
  height: 100vh; /* 뷰포트 높이에 맞춤 */
  object-fit: cover; /* 화면을 꽉 채우면서 비율 유지 */
  transform: translate(-50%, -50%); /* 완전한 중앙 정렬 */
}
#profile-img, 
#profile-name {
    cursor: pointer;
}


/* ✅ 뮤트 버튼 스타일 */
#mute-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 2;
}

#mute-toggle:hover {
  background: rgba(0, 0, 0, 0.8);
}


/* 기존 스타일 유지 */
#vanta {
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

main {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 100px;
}

main.animated {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 2s ease-in-out, filter 2s ease-in-out;
}

header {
  margin-top: 3em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header > img {
  width: 6em;
  height: 6em;
  border-radius: 100%;
  border: 1px solid #fff;
  box-shadow: rgb(28 32 93 / 24%) 0px 2px 8px 0px;
}

header > h1 {
  display: inline-block;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 1em;
  background-color: #000a;
  color: #fff;
  padding: 0.3em 0.6em;
  border: 1px solid #fffa;
  backdrop-filter: blur(10px) saturate(160%) contrast(180%);
  -webkit-backdrop-filter: blur(10px) saturate(160%) contrast(180%);
}

ul {
  box-sizing: border-box;
  list-style: none;
  margin: 0 auto;
  padding: 2em;
  max-width: 480px;
}

ul > li {
  background-color: #fffa;
  backdrop-filter: blur(10px) saturate(160%) contrast(180%);
  -webkit-backdrop-filter: blur(10px) saturate(160%) contrast(180%);
  border-radius: 10em;
  margin: 1.4em 0;
  box-shadow: rgb(28 32 93 / 24%) 0px 2px 8px 0px;
}

ul > li > a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  padding: 1em;
}

a {
  color: black;
  text-decoration: none;
}
