
body {
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 100;
  letter-spacing: -0.05em;
  font-size: 16px;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* 인터넷익스플로러 */
  user-select: none;
}

header {
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
}

header li {
  width: 50%;
  padding: 16px 0;
}

header li:last-child {
  text-align: right;
}

header .logo {
  width: 102px;
}

.evt_wrap {
  background-color: #f4f4f8;
  max-width: 768px;
  margin: 0 auto;
  border-radius: 24px;
}

.evt_visual {
  position: relative;
}

.evt_visual, .evt_visual img {
  border-radius: 24px 24px 0 0;
}

.evt_visual img {
  width: 100%;
}

.main_wrap {
  padding: 0 64px 64px 64px;
}

* {
  box-sizing: border-box;
}

button {
  font-family: 'Noto Sans KR', sans-serif;
}

input {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
}

input:focus {
  outline: none;
}

section {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  padding: 40px 0;
}

section .section_title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  padding: 0 48px 16px 48px;
}

section .section_summary {
  font-size: 20px;
  color: #8b8b8b;
  text-align: center;
  padding: 0 48px 16px 48px;
}

section .section_title_s {
  font-size: 20px;
  font-weight: 600;
  padding: 0 48px 16px 48px;
  position: relative;
}

section .section_summary_s {
  text-align: left;
  font-size: 16px;
  color: #8b8b8b;
  padding: 0 48px 16px 48px;
}

.my_coin {
  top: 0;
  position: absolute;
  font-size: 16px;
  right: 48px;
  text-align: right;
  font-weight: 100;
}

section .section_para {
  padding: 0 48px 16px 48px;
}

section .section_para ul {
  list-style: disc;
  list-style-position: inside;
  display: inherit;
  text-indent: -22px;
  margin-left: 24px;
}

section .section_para ul li {
  margin-bottom: 8px;
}

section .section_para ul li::marker {
  color: #bbbbbb;
}

ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.link_wrap {
  padding: 16px 48px;
}

.grayBox {
  text-align: center;
  padding: 16px 0px 32px 0px;
  background-color: #fff;
  border-radius: 24px;
}

.link_title {
  margin-bottom: 16px;
}

.link_title li:nth-last-child(1) {
  margin-left: auto;
}

.link_box {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 24px;
  padding: 8px;
  margin-bottom: 16px;
}

#linkURL {
  color: #4a4a4a;
  font-size: 18px;
  width: calc(100% - 102px);
  border: 0;
  padding: 0 8px 4px 10px;
}

#copyLink {
  background-color: #000;
  color: #fff;
  font-size: 16px;
  border-radius: 16px;
  padding: 3px 10px 4px;
  vertical-align: bottom;
  min-width: 98px;
  outline: none;
  border: 0;
  cursor: pointer;
}

#btn_share {
  background-color: #893eee;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 16px 12px 16px;
  cursor: pointer;
}

.gift_list {
  display: flex;
  flex-wrap: wrap;
}

.list_item {
  text-align: center;
  padding: 16px;
  width: 50%;
  position: relative;
}

.list_item img {
  width: 100%;
  max-width: 268px;
}

.pupple {
  color: #893eee;
}

.notice {
  text-align: center;
  margin-top: 16px;
  color: #f7432b;
}

.item_title {
  margin: 0;
  font-size: 20px;
  padding: 0 24px;
  line-height: 26px;
}

.item_info {
  font-size: 15px;
  color: #777777;
  margin: 4px 0 12px 0;
  letter-spacing: normal;
}

.btn_bs {
  background-color: #000;
  color: #fff;
  font-size: 16px;
  border-radius: 16px;
  padding: 3px 10px 4px;
  vertical-align: bottom;
  min-width: 114px;
  outline: none;
  border: 0;
  cursor: pointer;
  display: inline-block;
}

.btn_entry {
  border: 2px solid #893eee;
  border-radius: 24px;
  display: inline-block;
  padding: 6px 16px 8px;
  color: #893eee;
  letter-spacing: normal;
  font-weight: 600;
}

.btn_entry2 {
  border: 2px solid #8b8b8b;
  border-radius: 24px;
  display: inline-block;
  padding: 6px 16px 8px;
  color: #8b8b8b;
  letter-spacing: normal;
  font-weight: 600;
}

.btn_entry:hover {
  background-color: #893eee;
  cursor: pointer;
  color: #fff;
}

.ico_alert {
  display: inline-block;
  width: 20px;
  vertical-align: middle;
  margin-top: -4px;
  margin-right: 4px;
}

.coin {
  position: absolute;
  max-width: 138px;
  width: 20%;
  right: 50px;
  bottom: 0;
  /* 파폭 */
  -moz-animation: bounce 1s infinite linear;
  /* 크롬 */
  -webkit-animation: bounce 1s infinite linear;
  -o-animation: bounce 1s infinite linear;
  animation: bounce 1s infinite linear;
}

.coin img {
  width: 100%;
}

.coin_s {
  width: 20px !important;
  vertical-align: middle;
  margin-top: -4px;
  margin-right: 4px;
}

@-webkit-keyframes bounce {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -5px;
  }
  70% {
    bottom: -10px;
  }
  100% {
    bottom: 0;
  }
}

@-moz-keyframes bounce {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -5px;
  }
  70% {
    bottom: -10px;
  }
  100% {
    bottom: 0;
  }
}

@-o-keyframes bounce {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -5px;
  }
  70% {
    bottom: -10px;
  }
  100% {
    bottom: 0;
  }
}

@-ms-keyframes bounce {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -5px;
  }
  70% {
    bottom: -10px;
  }
  100% {
    bottom: 0;
  }
}

@keyframes bounce {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -5px;
  }
  70% {
    bottom: -10px;
  }
  100% {
    bottom: 0;
  }
}

footer {
  text-align: center;
  padding-top: 24px;
  font-size: 14px;
  letter-spacing: normal;
}

/* 반응형 분기 */
@media screen and (max-width: 768px) {
  header li {
    padding: 16px;
  }
}

@media screen and (max-width: 540px) {
  .evt_wrap img {
    border-radius: 0;
  }

  .main_wrap {
    padding: 0 32px 48px 32px;
  }

  section .section_title {
    padding: 0px 0px 16px 0px;
  }

  section .section_summary {
    padding: 0px 0px 16px 0px;
  }

  .link_wrap {
    padding: 16px 0px;
  }

  .list_title {
    margin: 0;
    font-size: 20px;
    padding: 0px;
  }

  section .section_title_s {
    font-size: 18px;
    padding: 0px 0px 16px 0px;
  }

  section .section_para {
    padding: 0 0px 16px 0px;
  }

  section .section_summary_s {
    padding: 0 0px 16px 0px;
  }

  .my_coin {
    right: 0;
  }

  .coin {
    right: 32px;
  }
}

@media screen and (max-width: 414px) {
  .link_title {
    font-size: 14px;
  }

  .notice {
    font-size: 14px;
  }

  .main_wrap {
    padding: 0 24px 48px 24px;
  }

  .list_item {
    width: 100%;
  }

  .coin {
    right: 24px;
  }
}

/* 이벤트 내역 */
#coin_breakdown {
  position: fixed;
  z-index: 99;
  top: 0;
  right: -500px;
  max-width: 0;
  width: 100%;
  height: 100%;
  min-width: 360px;
  min-height: 404px;
}

.scroll_wrap {
  padding: 8px;
  overflow-y: auto;
  height: 316px;
}

.list_item2 {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.list_item2 ul {
  display: inherit;
}

.list_item2 li {
  display: block;
}

.list_item2 li:last-child {
  font-size: 13px;
  color: #8b8b8b;
  letter-spacing: normal;
}

/* 슬롯머신 */
#evt_slot {
  position: fixed;
  z-index: 99;
  top: 0;
  right: -500px;
  max-width: 0;
  width: 100%;
  height: 100%;
}

.modal_wrap {
  background-color: #fff;
  padding: 16px;
  border-radius: 24px;
  border: 2px solid #893eee;
  min-width: 360px;
  min-height: 404px;
}

.app {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.doors {
  display: flex;
}

.door {
  background: #fafafa;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.1) inset;
  width: 90px;
  height: 130px;
  overflow: hidden;
  border-radius: 1ex;
  margin: 1ch;
}

.boxes {
  /* transform: translateY(0); */
  transition: transform 1s ease-in-out;
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3em;
}

.box img {
  width: 100%;
  max-width: 64px;
}

.buttons {
  margin: 1rem 0 1rem 0;
  text-align: center;
}

button {
  cursor: pointer;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0 0.2rem 0 0.2rem;
}

#reseter {
  background-color: #fff;
  outline: 0;
  border: 1px solid #893eee;
  color: #893eee;
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 24px;
}

#spinner {
  background-color: #893eee;
  outline: 0;
  border: 1px solid #893eee;
  color: #fff;
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 24px;
}

.info {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.modal_title {
  text-align: left;
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  margin-bottom: 16px;
  padding: 0 8px;
}

.btn_close {
  position: absolute;
  width: 32px;
  top: 0;
  right: 4px;
  padding: 2px;
  cursor: pointer;
}

.btn_close img {
  width: 100%;
}

.b_label {
  background-color: #000;
  color: #fff;
  font-size: 13px;
  margin-left: 4px;
  padding: 2px 8px 3px;
  border-radius: 16px;
  letter-spacing: normal;
  cursor: pointer;
}

.coin_info {
  background-color: #f5f4ff;
  margin: 0 8px 8px;
  padding: 12px;
  border-radius: 8px;
}

.coin_info li {
  width: 50%;
}

.coin_info li:last-child {
  text-align: right;
}

.slot_summ {
  text-align: center;
  border-bottom: 1px solid #eee;
  margin: 0 8px;
  padding-bottom: 16px;
}

.noscroll {
  overflow: hidden;
}

.layer-open {
  max-width: 100% !important;
  right: 0 !important;
}

.badgeNew {
  position: absolute;
  top: 16px;
  left: 40px;
  background-color: #00de62;
  width: 48px;
  height: 48px;
  border-radius: 90%;
  color: #fff;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  animation: badgeNewAni 1s infinite;
}

.prize_s {
  background-color: #03c75a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 0px 6px 1px;
  border-radius: 6px;
}

.prize_f {
  background-color: #e62a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 0px 6px 1px;
  border-radius: 6px;
}
