@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap");

:root {
  --body-font: "Montserrat", sans-serif;
  --play-font: "Play", sans-serif;
  --noto-font: "Noto Sans", sans-serif;
  --inter-font: "Inter", sans-serif;
  --color-bk: #000;
  --color-wht: #fff;
  --color-primary: #7a31a3;
  --color-bg: #39184b;
  --color-btn_bg: #7d50ff;
  --color-btn_login: #4e357b;
  --color-btn_boder: #5e37ae;
  --color-selectbox: #e1d8f1;
  --color-danger: #e53935;
  --color-danger2: #fb4140;
  --color-content: #808389;
  --color-contentline: #cacbcc;
  --color-contentdark: #191919;
  --color-lightgray: #e9e9e9;
  --color-outline: #272f3e;
  --color-blue: #1877f2;
  --color-navy: #041b61;
  --color-green: #0ba123;
  --color-grad-1: #ff4942;
  --color-grad-2: #7a31a3;
}

body {
  font-family: var(--body-font);
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

#popup_container {
  display: none;
  position: fixed;
  z-index: 10000;
}

.active-modal {
  opacity: 1;
  visibility: visible;
}

.modal-body.pop_con2 {
  padding: 25px;
}

.popup_box {
  position: fixed;
  background-color: var(--color-wht);
  /* overflow-y: auto; */
  /* border: 1px solid #666; */
}

.popup_box button {
  position: absolute;
  z-index: 1;
  background-color: transparent;
  font-size: 40px;
  top: 0;
  right: 12px;
  cursor: pointer;
  color: var(--color-wht);
  border: none;
}

.popup_contents {
  width: 100%;
}

.pop-contents .cls {
  font-size: 30px;
  background-color: transparent;
  border: 0;
  position: absolute;
  top: -10px;
  right: 2px;
  color: var(--color-wht);
}

.pop-contents .cls2 {
  font-size: 30px;
  background-color: transparent;
  border: 0;
  position: absolute;
  top: 5px;
  right: 5px;
  color: var(--color-wht);
}
.pwbox {
  flex-direction: column;
  margin-top: 10px;
}
.pwbox input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--color-btn_login);
  background-color: var(--color-bk);
  color: var(--color-wht);
  text-align: center;
}
.pwbox button {
  line-height: 40px;
  background-color: var(--color-contentdark);
  padding: 0 20px;
  border-radius: 20px;
  border: 0;
  color: var(--color-wht);
}

.pwbox button:nth-child(2) {
  background-color: var(--color-btn_bg);
}
.pwbox button ~ button {
  margin-left: 10px;
}
.btn-popup-box {
  display: flex;
  justify-content: center;
  justify-items: center;
  margin-top: 10px;
}

.not_see_today {
  cursor: pointer;
  background-color: var(--color-bk);
  color: #999;
  line-height: 18px;
  padding: 5px 20px;
  font-size: 14px;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  z-index: -1;
  opacity: 0;
}

.show {
  opacity: 1;
  z-index: 999;
  transition: all 0.5s;
}
.show2 {
  opacity: 1;
  z-index: 999;
  transition: all 0.5s;
}

.window {
  position: relative;
  width: 100%;
  height: 100%;
}

.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-bg);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px;
  height: 700px;
}

.popup2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-bg);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.re::-webkit-scrollbar {
  width: 8px;
}

.re::-webkit-scrollbar-thumb {
  background: var(--color-wht); /* 스크롤바 색상 */
  border-radius: 0 8px 8px 0;
}
.re::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0 8px 8px 0;
}

.popup.notice {
  background-color: var(--color-bg);
  height: 600px;
}

.popup.remind {
  background-color: var(--color-bg);
}

.pop-contents {
  padding: 30px;
  position: relative;
  height: 100%;
}

.pop-contents.pop2 {
  padding: 0;
}

.pop-contents h2 {
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
  color: var(--color-wht);
}

.popup.extrapop .pop-contents h2 {
  margin: 0 0 10px;
}

.popup.extrapop .pop-contents h2 br:first-child {
  display: none;
}

.pop-contents h2.pop_title {
  font-family: "Play", sans-serif;
  font-size: 3rem;
  line-height: 3.2rem;
  margin: 16px 0 10px;
  color: var(--color-wht);
}

.pop-contents h2.pop_title2 {
  font-family: "Play", sans-serif;
  font-size: 4rem;
  line-height: 90px;
  color: var(--color-wht);
  text-align: center;
  border-bottom: 2px dashed #ad8953;
}

.pop-contents h2.pop_title b,
.pop-contents h2.pop_title2 b {
  color: var(--color-wht);
  font-family: "Play", sans-serif;
}

.pop-contents h2 span {
  display: block;
  font-size: 14px;
  line-height: 40px;
  text-align: left;
  color: var(--color-wht);
  font-weight: 400;
}

.pop-contents h2.pop_title span {
  display: block;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
}

.popinfo {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  border-top: 2px dashed #ad8953;
}

.popinfo img {
  width: 90%;
}

.pop_con2 {
  padding: 30px;
  background-color: var(--color-grad-2);
  margin: 5px 0;
}

.pop_con2 p {
  margin-bottom: 20px;
}

.pop_con2 p:last-child {
  margin-bottom: 0;
}

.pop_con2 p span {
  display: block;
  font-weight: 200;
  line-height: 24px;
}

.pop-contents > span {
  color: var(--color-wht);
  display: block;
  line-height: 24px;
  margin: 20px 0;
}

button.result {
  position: relative;
  display: inline-block;
  width: 250px;
  background-color: var(--color-btn_bg);
  color: var(--color-wht);
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 60px;
  transition: all 0.3s;
  cursor: pointer;
}

button.result:hover {
  background-color: var(--color-btn_login);
}

.modal-footer {
  text-align: center;
  padding: 5px 0;
}

.modal-body p {
  color: var(--color-wht);
  line-height: 24px;
}

.modal-body a {
  color: var(--color-danger);
  font-weight: 500;
}

.modal-body a:hover {
  text-decoration: underline;
}
.scroll-box {
  height: 600px;
  width: 600px;
  color: var(--color-contentline);
  overflow-y: scroll;
  overflow-x: hidden;
}

.scroll-box::-webkit-scrollbar {
  width: 8px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: var(--color-wht); /* 스크롤바 색상 */
}
.scroll-box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.scroll-box p {
  display: block;
  color: var(--color-lightgray);
  font-size: 14px;
}

.scroll-box p.dark {
  color: var(--color-contentdark) !important;
}

.scroll-box p ~ p {
  margin-top: 50px;
}

.scroll-box p em {
  font-style: normal;
  display: block;
  line-height: 24px;
}

.scroll-box p em ~ em {
  margin-top: 20px;
}

.scroll-box p span {
  display: block;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-wht);
  font-size: 16px;
  padding: 8px 0;
}

.scroll-box p span.black {
  color: var(--color-bk);
}

.scroll-box-ex {
  height: 750px;
  width: 600px;
  color: var(--color-contentline);
  overflow-y: scroll;
  overflow-x: hidden;
}

.scroll-box-ex::-webkit-scrollbar {
  width: 8px;
}

.scroll-box-ex::-webkit-scrollbar-thumb {
  background: var(--color-wht); /* 스크롤바 색상 */
}
.scroll-box-ex::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.scroll-box-ex p {
  display: block;
  color: var(--color-lightgray);
  font-size: 14px;
}

.scroll-box-ex p.dark {
  color: var(--color-contentdark) !important;
}

.scroll-box-ex p ~ p {
  margin-top: 50px;
}

.scroll-box-ex p em {
  font-style: normal;
  display: block;
  line-height: 24px;
}

.scroll-box-ex p em ~ em {
  margin-top: 20px;
}

.scroll-box-ex p span {
  display: block;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-wht);
  font-size: 16px;
  padding: 8px 0;
}

.scroll-box-ex p span.black {
  color: var(--color-bk);
}

/* ----popup 2----- */
.re {
  width: 500px;
  height: 90%;
  padding: 30px;
  overflow-y: scroll;
}
.re2 {
  width: 500px;
  padding: 30px;
}

.pop-contents.pop2 .popinfo {
  padding-top: 0;
}

.re::-webkit-scrollbar {
  width: 8px;
}

.re::-webkit-scrollbar-thumb {
  background: #000; /* 스크롤바 색상 */
  border-radius: 0;
}
.re::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

.pop-contents.pop2 .popinfo img {
  width: 100%;
}

/*-----extrapop----- */
.extrapop {
  height: 90%;
  padding-top: 10px;
}

.extrapop::-webkit-scrollbar {
  display: none;
}

/* ---terms &conditions--- */
#terms_con_view .pop-contents h2.pop_title {
  font-size: 30px;
  line-height: 32px;
}

#terms_con_view .pop-contents h2 br {
  display: block;
}

#terms_con_view .scroll-box {
  height: 550px;
  background: #fff;
  padding: 20px;
}
#terms_con_view .scroll-box-ex {
  background: #fff;
  padding: 20px;
}

.contents2 {
  padding: 0 !important;
  position: relative;
}

/* ------------idmeta warning popup------------- */
.idmeta-warning {
  width: 320px;
  padding: 30px 24px 24px;
  text-align: center;
}

.idmeta-warning .warn-icon {
  width: 56px;
  height: 56px;
  line-height: 56px;
  margin: 0 auto 16px;
  border: 1px dashed var(--color-btn_boder);
  border-radius: 50%;
  color: #f5c518;
  font-size: 26px;
}

.idmeta-warning h2 {
  color: var(--color-danger2);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.idmeta-warning .sub {
  color: var(--color-danger2);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.idmeta-warning .info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--color-btn_boder);
  border-radius: 10px;
}

.idmeta-warning .info-box i {
  color: var(--color-danger2);
  font-size: 20px;
  margin-top: 2px;
}

.idmeta-warning .info-box .title {
  color: var(--color-danger2);
  font-size: 13px;
  font-weight: 700;
}

.idmeta-warning .info-box p {
  color: var(--color-lightgray);
  font-size: 12px;
  line-height: 17px;
  margin-top: 4px;
}

.idmeta-warning .btn-popup-box {
  gap: 10px;
}

.idmeta-warning .btn-popup-box button {
  flex: 1;
  border-radius: 20px;
  padding: 10px;
  color: white;
}

.idmeta-warning .btn-popup-box button.agree {
  background-color: var(--color-btn_bg);
}

.idmeta-warning .btn-popup-box button.cancel {
  background-color: var(--color-content);
}

/* ------------KYC withdrawal bottom sheet------------- */
.kyc-bottom-sheet {
  position: fixed;
  display: flex;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 100vh);
  transition: transform 0.35s ease-out;
  background-color: var(--color-bg);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
}

#kycWithdrawWarning_view.show2 .kyc-bottom-sheet {
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 1204px) {
}

@media screen and (max-width: 768px) {
  .extrapop {
    padding-top: 20px;
  }
  .popup {
    width: 90%;
    height: 570px;
  }

  .popup_box {
    width: 100% !important;
    position: static !important;
    left: auto;
    top: auto;
    transform: none;
  }

  #popup_container {
    position: absolute !important;
    width: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  #popup_container img {
    width: 100% !important;
  }

  .popup_contents {
    margin-top: 10%;
  }

  .scroll-box {
    height: 600px;
    width: 100%;
    color: var(--color-contentdark);
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .scroll-box p span {
    display: block;
    line-height: 24px;
    font-weight: 600;
    color: var(--color-bk);
    font-size: 16px;
    padding: 8px 0;
  }

  .scroll-box-ex {
    height: 420px;
    width: 100%;
    color: var(--color-contentdark);
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .scroll-box-ex p span {
    display: block;
    line-height: 24px;
    font-weight: 600;
    color: var(--color-wht);
    font-size: 16px;
    padding: 8px 0;
  }

  .modal-footer {
    padding: 5px 0;
  }

  #terms_con_view .scroll-box {
    height: 350px;
  }

  #terms_con_view .scroll-box-ex {
    height: 350px;
  }

  .re {
    width: 100%;
  }

  .re2 {
    width: 100%;
  }
  .re::-webkit-scrollbar-thumb {
    background: var(--color-primary); /* 스크롤바 색상 */
  }
  /* .popup.extrapop {
        height: 600px;
    } */

  /* .popup.extrapop .scroll-box {
        height: 465px;
    } */

  /* .popup.extrapop .scroll-box.avt {
        height: 537px;
    } */

  /* #terms_con_view .scroll-box {
        height: 375px;
    } */

  #terms_con_view .pop-footer {
    padding: 20px 0 0 0 !important;
  }
}

@media screen and (max-width: 480px) {
  .extrapop .pop-contents {
    padding: 0 16px 30px;
  }

  .pop-contents h2.pop_title2 {
    font-size: 3rem;
  }

  .pop_con2 {
    padding: 10px;
  }

  button.result {
    width: 180px;
    font-size: 16px;
    line-height: 50px;
  }

  .popup.extrapop .pop-contents h2 br:first-child {
    display: block;
  }
  .modal-body.pop_con2 {
    padding: 15px;
  }
  .popup.notice {
    height: 550px;
  }
}

@media screen and (max-width: 440px) {
  .pop-contents h2.pop_title2 {
    line-height: 76px;
  }

  .popup.re {
    width: 90%;
  }
}

@media screen and (max-width: 420px) {
  #terms_con_view .pop-contents h2.pop_title {
    font-size: 24px;
    line-height: 28px;
  }
}

@media screen and (max-width: 320px) {
  .popup {
    width: 90%;
  }

  .pop-contents h2.pop_title2 {
    font-size: 2.5rem;
  }

  .pop_con2 {
    font-size: 14px;
  }

  .pop_con2 p {
    margin-bottom: 16px;
  }

  .pop_con2 p span {
    line-height: 22px;
  }

  button.result {
    width: 160px;
    font-size: 14px;
    line-height: 40px;
  }

  .popup.re {
    width: 240px;
  }

  /* .popup.extrapop .scroll-box {
        height: 420px;
    } */

  /* .popup.avt {
        height: 574px;
    } */

  /* .popup.extrapop .scroll-box.avt {
        height: 512px;
    } */

  /* #terms_con_view .scroll-box {
        height: 286px;
    } */
}
