* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: rgba(27, 27, 27, 1);
}
@media screen and (min-width: 768px) {
  body {
    background-color: #353232;
  }
  .wrapper {
    height: 100%;
    background-color: rgba(27, 27, 27, 1);
  }
}
.background {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.box {
  width: 100%;
  min-height: 30%;
  background-color: rgba(27, 27, 27, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.descriptions {
  width: 100%;
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #51e0ff;
}

.descriptions p {
  font-size: 0.75rem;
  letter-spacing: -0.8px;
  font-weight: 600;
  text-align: center;
  padding: 5px;
}

.namecontain {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2%;
  list-style: none;
}

.namecontain li {
  width: 50%;
}

.namecontain input {
  width: 100%;
  padding: 16px;
  background-color: #3d4b6f;
  color: #ffffff;
  text-align: center;
  border: solid 1.5px #ffffff;
  border-radius: 8px;
  font-size: 0.8rem;
}

.namecontain input::placeholder {
  color: #d3d3d3;
  font-size: 0.7rem;
}

.namecontain input:focus {
  outline: none;
}

.button {
  width: 100%;
  height: 100%;
  z-index: 1;
}

#nft-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

#nft-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  width: 90%;
  margin: 0 auto;
}

.checkbox-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-group-1 {
  display: flex;
  align-items: center;
}

input[type="checkbox"] {
  appearance: none;
  position: relative;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  margin-right: 0.2rem;
  background-color: transparent;
  border: 1.5px solid #00abdf;
  cursor: pointer;
  padding: 10px;
}

input[type="checkbox"]:checked {
  background-color: rgba(248, 248, 248, 0.8);
}

input[type="checkbox"]:checked::after {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="rgb(42, 47, 104)" stroke="rgb(42, 47, 104)" stroke-width="1" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg>');
  position: absolute;
  color: rgb(42, 47, 104);
  left: -3px;
  top: -2px;
  z-index: 2;
}

.view-button {
  width: 20%;
  height: 100%;
  color: rgb(255, 255, 255);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-left: 0.2rem;
}

/* 모달 관련 스타일 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 100;
  overflow-y: auto;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background-color: #1b1b1b;
  color: #fff;
  max-width: 380px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  width: 90%;
  border: 1px solid #00cebd;
  z-index: 100;
  margin: 40px auto;
}

.modalContent {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  width: 90%;
  max-width: 380px;
  overflow: hidden;
  border-radius: 10px;
}

.modal-content2 {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.close {
  position: absolute;
  right: 5%;
  top: 2.5%;
  color: #00fff2;
  font-size: 35px;
  cursor: pointer;
}

label {
  font-size: 0.8rem;
}

#status-message {
  text-align: center;
  color: #0b83a9;
  font-size: 0.75rem;
  margin-top: 8px;
}

.marketing-intro {
  margin-bottom: 20px;
  line-height: 1.5;
}

.marketing-section {
  margin: 15px 0;
}

.marketing-section p {
  line-height: 1.5;
  margin-bottom: 10px;
}

.alert-message {
  text-align: center;
  margin: 10px;
  font-weight: 400;
}

.static-content {
  text-align: center;
}

.static-content p {
  margin: 8px 0;
}

.closed {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;
  margin-top: auto;
  border-top: 1px solid #eee;
  font-weight: 600;
  color: #375ec0;
}


/* nft모달  */
/* nft모달  */
.nftModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 100;
  overflow-y: auto;
}

.modal-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nftModalContents {
  background-color: white;
  width: 90%;
  max-width: 380px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.context {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 20px 0;
}

.context img {
  width: 80px;
}

.context p {
  text-align: center;
  margin: 10px;
  font-weight: 400;
  color: #353232;
}

.nftModalContents span {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;
  margin-top: auto;
  border-top: 1px solid #eee;
  font-weight: 600;
  color: #375ec0;
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
  .nftModalContents {
    width: 90%;
  }
}

/* 360px 이하 초소형 기기 대응 */
@media screen and (max-width: 360px) {
  .descriptions p {
    font-size: 0.6rem;
  }

  
  .namecontain input {
    font-size: 0.7rem;
    padding: 14px;
  }

  .namecontain input::placeholder {
    font-size: 0.6rem;
  }

  label {
    font-size: 0.7rem;
  }

  .view-button {
    font-size: 0.7rem;
  }

  #status-message {
    font-size: 0.65rem;
  }
}

/* PC 버전 대응 */
@media screen and (min-width: 768px) {
  .container {
    width: 412px;
    margin: 0 auto;
  }

  .descriptions {
    margin: 0 auto;
    width: 100%;
  }

  .descriptions p {
    font-size: 0.75rem;
  }

  .namecontain input {
    font-size: 0.85rem;
  }

  .namecontain input::placeholder {
    font-size: 0.75rem;
  }

  label {
    font-size: 0.85rem;
  }

  .view-button {
    font-size: 0.85rem;
  }

  #status-message {
    font-size: 0.8rem;
  }

  .checkbox-container {
    width: 95%;
  }

  .modal-content {
    width: 412px;
  }
}
