@font-face {
  font-family: 'Pretendard Variable';
  src: url('../fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
body {
  background-color: #19181D;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  font-family: 'Pretendard Variable', 'Noto Sans KR', sans-serif;
  overflow-x: auto;
}
html, body {
  overflow-x: hidden !important;
}
.bottom-nav {
  width: 100%;
  max-width: 375px;
  height: 77px;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 24px 24px 0 0;
}
.nav-container {
  width: 375px;
  height: 65px;
  background: #000;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  max-width: 100vw;       /* 모바일 대응 */

}
.nav-container::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: transparent;
  z-index: 101;
  pointer-events: none;
}
.nav-items {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}
.nav-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8px;
  cursor: pointer;
  position: relative;
}
.nav-item.active img {
  filter: brightness(0) invert(1);
  opacity: 0;
}
.nav-item.active span {
  color: #fff;
  font-weight: 600;
}
.nav-item:active, .nav-item:focus {
  background: none !important;
}
.nav-item {
  -webkit-tap-highlight-color: transparent;
}
.nav-ellipse {
  position: absolute;
  bottom: 0;
  width: 100%;
  height:65px;
  background: #000;
  border-radius: 0;
  z-index: 0;
  pointer-events: auto;
}
.nav-indicator {
  position: absolute;
  top: -25px;
  left: calc(50% - 30px);
  width: 60px;
  height: 60px;
  background: #9c4dff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*for mobile test*/
  z-index: 1;

  transition: left 0.3s ease, top 0.3s ease;
  pointer-events: auto;
}
.nav-indicator.animate {
  top: -30px;
}
.nav-indicator .nav-icon img {
  width: 26px;
  height: 26px;
} 

.bottom-nav {
  width: 100%;
  max-width: 375px;
  height: 77px;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 24px 24px 0 0;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0;
  color: #999;
  font-size: 12px;
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 500;
  gap: 4px;
  padding-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-item.active,
.nav-item:hover {
  color: #fff;
}
.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
  /*for mobile test*/
  z-index: 2;
  position: relative;
}
.figma-bottom-nav {
  width: 100%;
  max-width: 375px;
  height: 77px;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 24px 24px 0 0;
}
.figma-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0;
  color: #999;
  font-size: 12px;
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 500;
  gap: 4px;
  padding-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.figma-nav-item.active,
.figma-nav-item:hover {
  color: #fff;
}
.figma-nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}
.navi-container {
  box-sizing: border-box;
  position: relative;
  width: 415px;
  height: 77px;
  border: 1px dashed #9747FF;
  margin: 40px auto 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.navi-bar {
  width: 100%;
  max-width: 375px;
  height: 77px;
  background: #000;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  box-sizing: border-box;
  padding: 0;
  overflow: visible;
}
.navi-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 8px;
  cursor: pointer;
  position: relative;
  z-index: 20;
}
.navi-icon-wrapper {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
  transform: translateY(-16px);
}
.navi-icon-bg {
  position: absolute;
  left: 0; top: 0;
  width: 60px; height: 60px;
  background: #9747FF;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.navi-icon {
  width: 24px; height: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: none;
  color: #fff;
  margin-bottom: 0;
}
.navi-item.active .navi-icon {
  filter: none;
  color: #fff;
  transform: translateY(-16px);
}
.navi-item.active .navi-icon-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  background: #9747FF;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateY(-16px);
  z-index: 1;
  pointer-events: none;
}
.navi-item.active .navi-icon {
  filter: none;
  color: #fff;
  transform: translateY(-16px);
  z-index: 2;
}
.navi-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.3px;
  color: #999;
  font-weight: 400;
  transition: color 0.2s, font-weight 0.2s;
}
.navi-item.active .navi-label {
  color: #fff;
  font-weight: 500;
}
.nav-container {
  width: 375px;
  height: 65px;
  background: #000;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  max-width: 100vw;       /* 모바일 대응 */

}
.nav-container::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: transparent;
  z-index: 101;
  pointer-events: none;
}
.nav-items {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}
.nav-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8px;
  cursor: pointer;
  position: relative;
}
.nav-item.active img {
  filter: brightness(0) invert(1);
}
.nav-item.active span {
  color: #fff;
  font-weight: 600;
}
.nav-item:active, .nav-item:focus {
  background: none !important;
}
.nav-item {
  -webkit-tap-highlight-color: transparent;
}
.gnb {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 44px;
  margin-bottom: 16px; */
  position: relative;
  background: #000;
}
.logo {
  width: 32px;
  height: 32px;
  /* background: #fff; */
  border-radius: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gnb-menu {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
}
.hamburger {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  /* background: #fff; */
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}
.hamburger .bar {
  display: block;
  width: 24px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: all 0.3s;
}
.hamburger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#global-gnb{
  width: 100vw; 
  background: #000; 
  position: fixed; 
  left: 0; 
  top: 0;
}

.mg-t{
  margin-top: 65px;
}