.screen-0.main {
  background-color: #000;
  width: 100%;
  height: 100%;
  position: relative;
}
@media (max-width: 768.98px) {
  .screen-0.main {
    height: 100dvh;
  }
}

.screen-0 .web {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  background-color: #000000;
}
@media (max-width: 768.98px) {
  .screen-0 .web {
    height: 100dvh;
  }
}

.screen-0 .hero {
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 768.98px) {
  .screen-0 .hero {
    height: 100dvh;
  }
}

.screen-0 .bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (max-width: 768.98px) {
  .screen-0 .bg {
    height: 100vh;
    height: 100svh;
  }
}

.screen-0 .header {
  display: flex;
  width: 100%;
  min-width: 320px;
  height: 80px;
  align-items: center;
  justify-content: center;
  padding: 0px 10px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #00000066;
  z-index: 1001;
  transition: opacity 2s ease-in-out, visibility 2s ease-in-out;
}
@media (max-width: 390.98px) {
  .screen-0 .header {
    height: 60px;
  }
}

.screen-0 .header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: top 2s ease-in-out;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.screen-0 .frame-2 {
  width: 100%;
  max-width: 1280px;
  height: 80px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content:space-between;
}
.screen-0 .header .header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 150px;
  padding: 0 5%;
  text-align: center;
}
.screen-0 .logo-2 {
  position: relative;
  top: 4px;
  width: 88.23px;
  object-fit: cover;
}
@media (max-width: 768.98px) {
  .screen-0 .logo-2 {
    top: -1px;
  }
}
@media (max-width: 390.98px) {
  .screen-0 .logo-2 {
    top: 5px;
    width: 70px;
  }
}

.screen-0 .navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5%;
  position: relative;
  width: 70%;
  max-width: 960px;
  height: 24px;
}
.screen-0 .navigation button {
  width: auto;
}

.screen-0 .about-button {
  all: unset;
  box-sizing: border-box;
  position: relative;
  width: auto;
  height: 24px;
}

.screen-0 .text-wrapper-2 {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--font-default);
  font-size: 16px;
  text-align: center;
  letter-spacing: -0.2px;
  line-height: 24px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.screen-0 .market-wrapper {
  all: unset;
  box-sizing: border-box;
  width: 63.09px;
  position: relative;
  height: 24px;
}

.screen-0 .shop-wrapper {
  all: unset;
  box-sizing: border-box;
  width: 42.02px;
  position: relative;
  height: 24px;
}

.screen-0 .primitive-button,
.screen-0 .moving-button,
.screen-0 .user-profile {
  position: relative;
}

.screen-0 .primitive-button,
.screen-0 .moving-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 24px;
}

.screen-0 .miniArw {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.screen-0 .primitive-button:hover .miniArw,
.screen-0 .primitive-button.open .miniArw,
.screen-0 .moving-button:hover .miniArw,
.screen-0 .pmoving-button.open .miniArw {
  transform: rotate(180deg);
}

.screen-0 .user {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  width: auto;
  height: 48px;
}

.screen-0 .slot-clone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-grow: 1;
  position: relative;
  width: 100%;
  min-width: 80px;
  height: 48px;
  border-radius: 8px;
}
.screen-0 .login-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.screen-0  .login-area.none {
  display: none;
}
.screen-0 .profile {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: -4.91px;
  background-color: #ff7ecd;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid;
  border-color: var(--font-default);
  cursor: pointer;
}

.screen-0 .text-3 {
  display: flex;
  width: 21px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0px 1px;
  position: relative;
}

.screen-0 .text-wrapper-3 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  margin-left: -2.5px;
  margin-right: -2.5px;
  font-weight: 500;
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  line-height: 28px;
  white-space: nowrap;
}

.screen-0 .name {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.screen-0 .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-weight: 600;
  color: var(--font-default);
  font-size: 16px;
  text-align: right;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}
.screen-0 button.login-button {
  border: 0;
  background: none;
}

.screen-0 .icon-3 {
  position: relative;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.screen-0 .user-profile .slot-clone:hover .icon-3,
.screen-0 .user-profile.open .icon-3 {
  transform: rotate(180deg);
}
.screen-0 .user-profile .name .text-wrapper-4 {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.screen-0 .user-profile .name .text-wrapper-4:hover {
  color: #FFD85E;
}

.screen-0 .change-lang {
  display: flex;
  width: 56px;
  height: 36px;
  padding: 0 8px;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.screen-0 .change-lang .us {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}
.screen-0 .change-lang .arw {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.screen-0 .change-lang:hover .arw,
.screen-0 .change-lang.open .arw {
  transform: rotate(180deg);
}

.screen-0 .fixed-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px 0;
  background-color: #000;
}

.screen-0 .fixed-footer .btn-SNS {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.screen-0 .fixed-footer .btn-SNS button {
  width: 33.3333%;
  max-width: 180px;
}

.screen-0 .fixed-footer .btn-SNS button img {
  width: 100%;
}
.screen-0 .fixed-footer .btn-SNS button:hover img,
.screen-0 .fixed-footer .btn-SNS button:active img {
  filter: brightness(1.8);
}

.screen-0 .footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  background-color: #000;
  z-index: 5;
  position: absolute;
  top: 0;
  left: 0;
}

.screen-0 .footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  padding: 1rem 0 2rem;
}

.screen-0 .footer .btn-SNS {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 1rem;
}

.screen-0 .footer .btn-SNS button {
  all: unset;
  cursor: pointer;
  line-height: 0;
}

.screen-0 .footer .btn-SNS img {
  height: 60px;
  transition: filter 0.2s ease;
}

.screen-0 .footer .btn-SNS button:hover img,
.screen-0 .footer .btn-SNS button:active img {
  filter: brightness(1.8);
}

.screen-0 .footer .view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.screen-0 .footer .view .link .text-wrapper:hover {
  text-decoration: underline;
}

.screen-0 .link {
  display: inline-flex;
  height: 20px;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.screen-0 .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-weight: 500;
  color: #787878;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.screen-0 .div-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.screen-0 .p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-top: -1px;
  font-weight: 400;
  color: #525252;
  font-size: 14px;
  text-align: center;
  letter-spacing: -0.3px;
  line-height: 20px;
}

.screen-0 .main-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 771px;
  height: 369px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5; /* z-index 추가 */
}

.screen-0 .logo {
  width: 540px;
  display: flex;
}

.screen-0 .logo .frame {
  width: 540px;
  height: 134px;
  flex-direction: column;
  display: flex;
  gap: 5px;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.screen-0 .logo .view-2 {
  position: relative;
  width: 449px;
  height: 58px;
  justify-items: center;
}

.screen-0 .logo .line {
  left: 0;
  position: absolute;
  top: 44px;
  width: 200px;
  height: 3px;
}

.screen-0 .logo .img {
  left: 249px;
  position: absolute;
  top: 44px;
  width: 200px;
  height: 3px;
}

.screen-0 .logo .rectangle {
  position: absolute;
  top: 0;
  left: calc(50% - 28px);
  width: 58px;
  height: 58px;
}

.screen-0 .dungeon-cross {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  margin: 0 auto;
  font-weight: 400;
  color: var(--font-default);
  font-size: 70px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.screen-0 .bnr {
  z-index: 9;
  position: fixed;
  bottom: 10px;
  left: 10%;
  width: 491px;
  height: 74px;
  flex-shrink: 0;
}

.screen-0 .bnr .rectangle-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #FDE3D4;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.25));
  border-radius: 11px;
}

.screen-0 .bnr .rectangle-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 11px;
  padding: 4px;
  background: linear-gradient(90deg, #FAD961 0%, #F76B1C 100%);
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  /* 표준 속성 (최신 Firefox 등) */
  mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.screen-0 .bnr .container-2 {
  position: absolute;
  top: 15px;
  left: 120px;
  display: flex; 
  align-items: flex-end;
  width: 360px;
  height: 45px;
}

.screen-0 .bnr .text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  flex: 1;
  flex-grow: 1;
  gap: .125rem;
  width: 100%;
}
@media (max-width: 430.98px) {
  .screen-0 .bnr .text {
    gap: 0rem;
  }
}

.screen-0 .bnr .paragraph {
  position: relative;
  width: 100%;
  padding: 0px;
  flex: 0 0 auto;
  color: var(--brown-1);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.screen-0 .bnr .img-2 { /* 캐릭터 */
  position: absolute;
  top: -11px;
  left: 0;
  width: 116px;
  height: 85px;
  border-radius: 8px;
  background-image: url(../img/bnr_cha.png);
  background-size: cover;
  background-position: 50% 50%;
}

.screen-0 .game-name {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-weight: 500;
  color: var(--brown-2);
  font-size: 14px;
  letter-spacing: -0.3px;
  line-height: 16px;
  white-space: nowrap;
}

.screen-0 .container-3 {
  gap: 8px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.screen-0 .text-2 {
  position: relative;
  flex: 1;
  flex-grow: 1;
  height: 24px;
}

.screen-0 .advance-reservation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-weight: 600;
  color: var(--brown-2);
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  line-height: 24px;
  white-space: nowrap;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screen-0 .icon {
  position: absolute;
  top: 7px;
  right: 13px;
  width: 32px;
  height: 32px;
  aspect-ratio: 1;
}

.screen-0 .sub-menu,
.screen-0 .logout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 13px;
  position: absolute;
  background-color: var(--font-default);
  border-radius: 3px;
  border: 4px solid rgba(255, 249, 230, 0.80);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.screen-0 .sub-menu {
  top: calc(100% + 20px);
  left: 50%;
}

.screen-0 .logout {
  padding: 10px 13px;
  top: calc(100% + 8px);
  left: 50%;
}

.screen-0 .sub-menu.visible,
.screen-0 .logout.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.screen-0 .list {
  display: flex;
  flex-direction: column;
  width: 124px;
  align-items: flex-start;
  position: relative;
}

.screen-0 .social,
.screen-0 .token,
.screen-0 .nft {
  display: flex;
  gap: 5px;
  padding: 3px 0px;
  align-self: stretch;
  width: 100%;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: var(--opacity10);
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.screen-0 .sub-menu .text {
  position: relative;
  display: flex;
  align-items: left;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 500;
  color: calc(--off);
  font-size: 14px;
  text-align: left;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.screen-0 .img-3 {
  position: relative;
  width: 24px;
  height: 24px;
  aspect-ratio: 1;
}

.screen-0 .text-wrapper-5 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 500;
  color: var(--off);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.screen-0 .logout-2 {
  gap: 7px;
  padding: 3px 0px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  border-color: var(--opacity10);
}

.screen-0 .logout-3 {
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 500;
  color: #8C6D46;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
}

.screen-0 .logout-2 {
  border-radius: 4px;
  transition: background-color 0.2s ease;
  padding: 3px 5px;
  margin: -3px -5px;
}

.screen-0 .lang {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  padding: 10px 13px;
  background-color: var(--x-70);
  border-radius: 3px;
  border: 4px solid;
  border-color: #00000066;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 20;
}

.screen-0 .lang.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.screen-0 .lang .list-2 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.screen-0 .lang .list-2 button {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  width: 40px;
  padding: 3px 0px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #fff9e64c;
  font-weight: 500;
  color: var(--default);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.screen-0 .lang .list-2 button:hover,
.screen-0 .lang .list-2 button:active {
  color: #ffd85e;
}

.screen-0 .navigation button:hover .text-wrapper-2,
.screen-0 .navigation .primitive-button:hover .text-wrapper-2 {
  color: #ffd85e;
}

.screen-0 .navigation button,
.screen-0 .navigation .primitive-button,
.screen-0 .user,
.screen-0 .link,
.screen-0 .sub-menu .list > div,
.screen-0 .logout .list > div,
.screen-0 .lang .list-2 > div,
.screen-0 .bnr {
  cursor: pointer;
}

.screen-0 .popup-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1249px;
  display: flex;
  background-color: #00000099;
}

.screen-0 .popup {
  margin-top: 296px;
  width: 726px;
  height: 430px;
  margin-left: 627px;
  position: relative;
}

.screen-0 .bt-close {
  position: absolute;
  top: 1px;
  left: 647px;
  width: 72px;
  height: 72px;
}

.screen-0 .bt-long {
  position: absolute;
  top: 141px;
  left: 40px;
  width: 640px;
  height: 63px;
  display: flex;
}

.screen-0 .bg-style {
  width: 643.45px;
  height: 64px;
  position: relative;
  box-shadow: 0px 4px 4px #00000040;
}

.screen-0 .l {
  position: absolute;
  top: calc(50% - 4px);
  left: 7px;
  width: 8px;
  height: 8px;
}

.screen-0 .r {
  position: absolute;
  top: calc(50% - 4px);
  left: 627px;
  width: 8px;
  height: 8px;
}

.screen-0 .wallet {
  display: flex;
  flex-direction: column;
  width: 48px;
  height: 63px;
  align-items: center;
  justify-content: center;
  padding: var(--primitives-spacing-2) 0px var(--primitives-spacing-2) 0px;
  position: relative;
}

.screen-0 .connect-wallet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-weight: 700;
  color: var(--font-default);
  font-size: 22px;
  text-align: center;
  letter-spacing: 0;
  line-height: 22px;
  white-space: nowrap;
}

.screen-0 .text-wrapper-12 {
  position: absolute;
  top: 99px;
  left: 51px;
  width: 397px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 24px;
}

.screen-0 .by-continuing-you {
  position: absolute;
  top: 355px;
  left: 55px;
  width: 648px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 24px;
}

.screen-0 .span {
  font-weight: 400;
  color: #4d4b45;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 24px;
}

/* --- style.css 공통적용 --- */
.screen-0 .sub-menu .list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  border-radius: 4px;
}

.screen-0 .sub-menu .list > div:last-child {
  border-bottom: none;
}

.screen-0 .sub-menu .text,
.screen-0 .sub-menu .text-wrapper-5 {
    color: var(--off);
    position: static;
    margin: 0;
    line-height: 1;
}

.screen-0 .sub-menu .list .img-3 {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.screen-0 .sub-menu .list > div:hover .text,
.screen-0 .sub-menu .list > div:hover .text-wrapper-5 {
  color: #000;
}

.screen-0 .logout .logout-2:hover .logout-3 {
  color: #000;
}

.screen-0 .logout .logout-2:hover .icon-4 {
  filter: brightness(0) invert(1);
}

.screen-0 .text-wrapper-6,
.screen-0 .text-wrapper-7 {
  transition: color 0.2s ease;
}

.screen-0 .lang .list-2 .div-3:last-child {
  border-bottom: none;
}

.screen-0 .lang .list-2 .div-3:hover .text-wrapper-6,
.screen-0 .lang .list-2 .div-3:hover .text-wrapper-7 {
  color: #ffd85e;
}

/* --- 1. 햄버거 버튼 기본 스타일 (PC에서는 숨김) --- */
.hamburger-menu {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu .line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--font-default);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
  position: absolute;
}

.hamburger-menu .line:nth-child(1) { top: 0; }
.hamburger-menu .line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu .line:nth-child(3) { bottom: 0; }


@media (max-width: 768.98px) {
  .screen-0 .frame-2 {
    justify-content: space-between;
    padding: 0 10px;
  }

  .hamburger-menu {
    display: block;
    order: -1;
    width: 24px;
    height: 20px;
  }

  .hamburger-menu .line {
    height: 2px;
  }

  .screen-0 .header-logo {
    z-index: 999;
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .screen-0 .navigation {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 100px 30px 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  
  /* 메뉴가 열렸을 때 (is-open 클래스가 추가될 때) */
  .screen-0 .navigation.is-open {
    transform: translateX(0);
  }

  .screen-0 .navigation .about-button,
  .screen-0 .navigation .primitive-button,
  .screen-0 .navigation .moving-button,
  .screen-0 .navigation .shop-wrapper {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    cursor: pointer;
  }
  .screen-0 .header .user {
    gap: 0;
  }

  /* 메뉴 안으로 들어온 유저 프로필 영역 스타일 */
  .screen-0 .slot-clone.out {
    flex-direction: column;
    justify-content: center;
    flex-grow: 0;
    width: 100%;
    height: auto;
    padding: 0 0 20px;
    border-radius: 0;
  }

  .screen-0 .login-area {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .screen-0 .login-area.cha-info {
    width: 100%;
    padding-bottom: 15px;
  }

  .screen-0 .slot-clone.out .text-wrapper-4 {
    max-width: 170px;
    font-size: 18px;
    text-align: left;
    white-space: wrap;
    text-overflow: ellipsis;
  }

  .screen-0 .icon-3 {
    display: none;
  }

  .screen-0 .sub-menu .list {
    width: 100%;
  }

  .screen-0 .sub-menu .list div {
    border-radius: 0;
  }

  .screen-0 .name.login-button {
    margin: 0 auto 20px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--off);
  }

  /* 2. 숨겨져 있던 로그아웃 드롭다운을 일반 메뉴 아이템처럼 보이게 변경 */
  .screen-0 .navigation .logout {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 10px 0;
    text-align: center;
  }

  .screen-0 .navigation .logout .list {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .screen-0 .navigation .logout .logout-2 {
    justify-content: center;
    padding: 5px 0;
  }

  .screen-0 .navigation .logout .logout-3 {
    color: var(--off);
  }

  .screen-0 .sub-market .list .token,
  .screen-0 .sub-sns .list .div-2 {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .screen-0 .text-wrapper-2 {
    justify-content: flex-start;
    font-size: 20px;
  }
  @media (max-width: 390.98px) {
    .screen-0 .text-wrapper-2 {
      font-size: 16px;
    }
  }

  .screen-0 .text-wrapper-5 {
    font-size: 16px;
    color: var(--off);
  }
  @media (max-width: 390.98px) {
    .screen-0 .text-wrapper-5 {
      font-size: 14px;
    }
  }

  .screen-0 .sub-menu .list > div:hover .text,
  .screen-0 .sub-menu .list > div:hover .text-wrapper-5 {
    color: #FFD85E;
  }

  .screen-0 .sub-menu .list > div:active .text,
  .screen-0 .sub-menu .list > div:active .text-wrapper-5 {
    color: #FFD85E;
  }

  /* 로그아웃 버튼 */
  .screen-0 .logout .logout-2:active .logout-3,
  .screen-0 .logout .logout-2:hover .logout-3 {
    color: #FFD85E;
  }

  .screen-0 .navigation .miniArw {
     display: inline-block;
     transition: transform 0.3s ease;
  }

  /* 하위 메뉴(sub-menu) 기본 스타일: 평소에는 숨겨둠 */
  .screen-0 .navigation .sub-menu {
    width: 100%;
    padding-left: 15px;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: none;
    border: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, 
                margin-top 0.4s ease-out, 
                padding-top 0.4s ease-out, 
                padding-bottom 0.4s ease-out;
  }

  .has-submenu.is-active > .sub-menu {
    max-height: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .screen-0 .sub-menu .list > div {
    border-bottom: 0;
  }

  .screen-0 .navigation .moving-button.is-active > .miniArw,
  .screen-0 .navigation .primitive-button.is-active > .miniArw {
      transform: rotate(180deg);
  }

  .hamburger-menu.is-open .line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .hamburger-menu.is-open .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.is-open .line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  .screen-0 .main-content {
    width: 100%;
  }

  .screen-0 .logo,
  .screen-0 .logo .frame {
    width: 100%;
  }

  .screen-0 .logo .view-2 {
    width: 100%;
  }

  .screen-0 .logo .line {
    width: 40%;
    left: 50%;
    transform: translateX(-100%);
  }

  .screen-0 .logo .img {
    left: auto;
    width: 40%;
    right: 50%;
    transform: translateX(100%);
  }

  .screen-0 .logo .rectangle {
    left: 50%;
    transform: translateX(-50%);
  }

  .screen-0 img.dungeon-cross {
    width: 80%;
    max-width: 500px;
    object-fit: contain;
  }

  /* 메인 따라다니는 배너 */
  .screen-0 .bnr {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
  .screen-0 .bnr .container-2 {
    align-content: space-between;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 25%;
  }
  .screen-0 .advance-reservation {
    max-width: 85%;
  }

  .screen-0 .footer .btn-SNS button img {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .screen-0 .advance-reservation {
    font-size: 17px;
  }
  .screen-0 .bnr .container-2 {
    padding-left: 94px;
  }
  .screen-0 .bnr .paragraph {
    font-size: 13px;
  }

}
@media (max-width: 430.98px) {
  .screen-0 .footer .btn-SNS {
    gap: 5px;
  }
  .screen-0 .footer .btn-SNS button img {
    object-fit: contain;
  }
}

/* 모바일 메뉴가 열렸을 때 body의 스크롤을 막는 클래스 */
body.scroll-lock {
  overflow: hidden;
}