/* 폰트 */

@import url('https://cdn.jsdelivr.net/gh/leetaewook/gmarket-sans-dynamic-subset/GmarketSans.css');

/* CSS 리셋 */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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


ul, ol {
  list-style: none;
}


img, video {
  max-width: 100%;
  height: auto;
  display: block;
}


input, button, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}


button {
  cursor: pointer;
  background: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}
*::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: transparent;
}

*::-webkit-scrollbar-track:hover {
  background-color: transparent;
}

*::-webkit-scrollbar-track:active {
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #94AAFF;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #BCC3FF;
  cursor: pointer;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #BCC3FF;
}


/* 기본 스타일 */

html {
  background:url('../image/back-1.webp') no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-attachment: fixed;
  color:#fff;
}

.point {color:#FF2C2C;}

.frameBox {
  border-image-slice:  20;
  border-image-width:  20px;
  border-image-source: url("../image/frame.png");
  border-style: solid;
  background: rgba(0, 0, 0, 0.50);
}

.co-1 {
  border: 1px solid #FF6363;
  background: rgba(80, 10, 16, 0.80);
  box-shadow: 0 0 7.1px 0 #F00 inset;
  color: #FAA;
  text-align: center;
  text-shadow: 0 0 2px #000;
  font-family: "Gmarket Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1; /* 19.2px -> 1rem */
  padding: 0.5rem 1.75rem 0.3125rem 1.75rem; /* 8px 28px 5px 28px */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.co-2 {
  border: 1px solid #355E7B;
  background: linear-gradient(180deg, rgba(26, 23, 36, 0.90) 0%, rgba(22, 44, 65, 0.90) 100%);
  box-shadow: 0 0 20px 0 #000;
  position: relative;
  box-sizing: border-box;
  padding:2.13rem 1.8rem;
  font-family: 'NanumSquareNeo';
  color:#AFD2FF;
}

.co-2::before {
  content: "";
  display: block;
  position: absolute;
  top:-1px;
  left:-1px;
  width: calc(100% + 2px);
  height: 0.4375rem;
  background: #AE000D;
}

.co-2::after {
  content: "";
  display: block;
  position: absolute;
  bottom:-1px;
  left:-1px;
  width: calc(100% + 2px);
  height: 0.4375rem;
  background: #AE000D;
}

.co-2 .title {
  color: #8BBDFF;
  text-align: center;
  font-family: "Gmarket Sans";
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 125%; /* 2.5rem */
}

.co-2 .line-2 {
  border: none;
  width: 100%;
  height: 1px;
  background: #5360B7;
  margin: 1.5rem 0 2.0rem 0;
}

.co-2 .closeBtn {
  position: absolute;
  right:1.02rem;
  top:1.46rem;
  cursor: pointer;
}
.co-2 .closeBtn img {
  width: 1.33438rem;
  height: 1.33438rem;
}

/* 사전예약 */

.material-symbols-outlined.regist {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

#registration {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
 padding: 2.81rem;
}

#registration .gameLogo {max-width: 16.875rem; margin-bottom: -1.25rem;} /* 270px, -20px */

#registration .registDate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2.25rem; /* 36px */
}

#registration .registDate .date {
  color: #FFF;
  text-align: center;
  font-family: "Gmarket Sans";
  font-size: 2.25rem; /* 36px */
  font-style: normal;
  font-weight: 500;
  line-height: 1; /* 36px */
  letter-spacing: 0.0625rem;
  margin-top: 1.56rem; /* 25px */
}

#registration .registDate .date .sub {
  color: #80899F;
  text-align: center;
  font-size: 0.875rem; /* 14px */
  font-style: normal;
  font-weight: 500;
  line-height: 1; /* 14px */
  margin-left: 0.8125rem; /* 13px */
}

#registration .registDate .date .small {
  font-size: 1.25rem;
}

#registration .desc {
  color: #FFF;
  text-align: center;
  text-shadow: 0 0 4px #000;
  font-family: "Gmarket Sans";
  font-size: 1.25rem; /* 20px */
  font-style: normal;
  font-weight: 400;
  line-height: 1.5625; /* 25px */
  margin-top: 2.88rem; /* 46px */
}

#registration .line {
  height:1px;
  border:none;
  background-color: #5C5D6B;
  width: 80vw;
  margin: 2.5rem; /* 40px */
}

#registration .inputArea {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#registration .inputArea #agreementForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#registration #fr_email_1 {
  width: 20vw;
  height: 3.5rem;
  text-align: center;
  color:white;
  font-family: "Gmarket Sans";
}

#registration #fr_email_1::placeholder {
  color: #747486;
  font-family: "Gmarket Sans";
  font-size: 1.25rem;
  line-height: 120%; /* 1.5rem */
  text-align: center;
}
#country-search-input {text-align: center;}
#country-search-input::placeholder {
  color: #747486;
  font-family: "Gmarket Sans";
  font-size: 1rem;
  line-height: 120%; /* 1.5rem */
  padding-left: 1rem;
  text-align: center;
}

#country-search-dropdown * {color:black;}
#registration .selectBox {
  display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.19rem;
    width: auto;
    padding: 1rem 3rem;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

#registration .selectBox .languageIcon {position: absolute; left: 1rem; top:50%; transform: translateY(-50%);}
#registration .selectBox .material-symbols-outlined.regist {
  position: absolute; right: 1rem; top:50%; transform: translateY(-50%);
}

#registration #fr_country_2 {
  color: #FFF;
  text-align: center;
  font-family: "Gmarket Sans";
  font-size: 0.95rem;
  line-height: 120%; /* 1.5rem */
  appearance: none;
}



#registration #fr_country_2 option {
  color:#000;
}

#registration #agreementForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.06rem;
}

#registration #agreementForm .checkbox-item.master {
  color: #EF9292;
  text-align: center;
  text-shadow: 0 0 4px #000;
  font-family: 'NanumSquareNeo';
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 1.35rem */
  margin-bottom: 0.87rem;
}
#registration #agreementForm .checkbox-item {
  color: #C95F5F;
  text-shadow: 0 0 4px #000;
  font-family: 'NanumSquareNeo';
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 1.2rem */
  margin-bottom: 0.75rem;
}

#registration #agreementForm .checkbox-item.sub {
  margin-left: 0.75rem;
}

#registration #agreementForm .detailBox {
  border: 1px solid #825050;
  background: #000;
  color: #CE8F8F;
  text-align: center;
  font-family: 'NanumSquareNeo';
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 0.975rem */
  display: inline-flex;
  padding:0.25rem 0.7rem;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
  cursor: pointer;
}


#registration #agreementForm input[type="checkbox"] {
  display: none;
}

#registration #agreementForm input[type="checkbox"] + label {
  position: relative;
  padding-left: 2.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

#registration #agreementForm input[type="checkbox"] + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  background: url('../image/check_off.png') no-repeat center/contain;
}

#registration #agreementForm input[type="checkbox"]#agreeAll + label {
  padding-left: 2.5rem;
} 

#registration #agreementForm input[type="checkbox"]:checked + label:before {
  background: url('../image/check_on.png') no-repeat center/contain;
}


#registration #agreementForm .sub input[type="checkbox"] + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: url('../image/check_off_2.png') no-repeat center/contain;
}


#registration #agreementForm .sub input[type="checkbox"]:checked + label:before {
  background: url('../image/check_on_2.png') no-repeat center/contain;
}

#registration #submitBtn {
  background-image:url('../image/regist_btn.png');
  width: 14.375rem; /* 230px */
  height: 3.25rem; /* 52px */
  margin-top: 1.31rem;
  background-size: cover;
}


#registration .privacy {
  position: fixed;
  width: 31.25rem;
  height: 28.75rem;
  text-align: center;
  display: none;
}


#registration .privacy .contentWrap {
  display: flex;
    flex-direction: column;
   align-items: center;
}

#registration .privacy .privacyTable {
  border-collapse: separate;
   border-spacing: 0.06rem;
   margin-top: 1.58rem;
   margin-bottom: 2.56rem;
}
  


#registration .privacy .t-title {
  background: #2D4A70;
  color: #C5DEFF;
  font-family: "Gmarket Sans";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 125%; /* 1.09375rem */
  width: 9.125rem;
  height: 2.1875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#registration .privacy .t-content {
  padding-left: 1.56rem;
  color: #76AFFA;
  font-family: 'NanumSquareNeo';
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 125%; /* 1.09375rem */
}
#registration .privacy .warning {
  color: #7B91B9;
  font-family: 'NanumSquareNeo';
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 180%; /* 1.35rem */
  text-align: left;
}


#registration .marketing {
  position: fixed;
  width: 31.25rem;
  height: 20.1875rem;
  text-align: center;
  display: none;
}


.rb_form_wrap_inner,
.win_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



/*JP*/

#registration.jp *:not(.material-symbols-outlined) {font-family: "Noto Sans JP",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;} 

#registration.jp #submitBtn {
  background-image:url('../image/regist_btn\(jp\).png');
}
#registration.jp .privacy {
  height: 32rem;
}

/*CN_SC*/


#registration.cn_sc *:not(.material-symbols-outlined) {font-family: "Noto Sans SC",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;} 

#registration.cn_sc #submitBtn {
  background-image:url('../image/regist_btn\(cn_sc\).png');
}

/*CN_TC*/


#registration.cn_tc *:not(.material-symbols-outlined) {font-family: "Noto Sans TC",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;} 

#registration.cn_tc #submitBtn {
  background-image:url('../image/regist_btn\(cn_tc\).png');
}

/*EN*/


#registration.en #submitBtn {
  background-image:url('../image/regist_btn\(en\).png');
}

#registration.en .co-2 .title {
  font-size: 1.5em;
}

.languageWrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 8rem;
  margin: 1rem auto;
  background: #0000008a;
  border-radius: 2em;
  padding: 0.5rem;
}

.languageWrap * {flex-shrink: 0;}

.language {
  color: #FFF;
  font-family: 'NanumSquareNeo';
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  appearance: none;
  margin-left: 0.3rem;
  margin-right: 0.4rem;
  text-align: center;
}

.language option {color:#000000; }

#country-search-input {color:white;}

/*반응형*/

@media screen and (max-width: 1024px) {
  #registration .registDate .date { font-size: 1.2rem;  }
  #registration .desc {font-size: 1rem;}
  #registration #fr_email_1,
  #registration .selectBox {
    width: 100%;
  }
  
#registration.en #fr_country_2 {font-size: 0.6rem;}
  #registration #agreementForm .checkbox-item.master {
    font-size: 1rem;
}
#registration #agreementForm input[type="checkbox"] + label {text-align: left;}
#registration #agreementForm .detailBox {margin: 0.5rem;}
}