body {
  margin: 0px;
  background: #011a86;
}

.page {
  /* display: flex; */
  align-items: center;
  flex-direction: column;
}

.section {
  width: 614px;
  height: 325px;
  background-image: url('/assets/gacha_img/bg.jpg') !important;
  position: relative;
}

.title_box {
  background-color: #1969b9;
  width: 614px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.title_box span {
  color: #fff;
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
}

.title_box .home {
  margin-right: auto;
  margin-left: 16px;
  cursor: pointer;
}

.box-inner {
  width: 594px;
  height: 264px;
  background-color: rgba(100, 100, 100, 0.5);
  margin: 10px;
  border-radius: 5px;
  border: 1px solid #8196cb;
}

.box-inner .left-box {
  width: 374px;
  height: 264px;
  float: left;
  display: block;
  position: relative;
  top: 20px;
}

.box-inner .left-box img {
  width: 354px;
  height: 199px;
  margin: 13px 9px 1px;
}

.box-inner .right-box {
  width: 220px;
  height: 264px;
  float: right;
  display: block;
  position: relative;
  top: 20px;
}

.box-inner .right-box .inner {
  margin: 10px 11px 10px 0px;
}

.box-inner .right-box .cash {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 15px 0px 15px 10px;
}

.box-inner .right-box .cash .num {
  color: #f5a623;
}

.box-inner .right-box .cash-desc {
  color: #fff;
  font-size: 12px;
  font-weight: 200;
  margin: 0px 5px 34px 10px;
  line-height: 18px;
}

.box-inner .right-box .btn_box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 100%;
}

.box-inner .right-box .btn_box > button {
  line-height: 154%;
  letter-spacing: -0.36px;
  border: 1px solid #65a0e2;
  border-radius: 3px;
  /* background: linear-gradient(to bottom, #1c6dc9 0%, #003f85 100%); */
  /* 기본 그라데이션 */
  background: #1c6dc9; /* 그라데이션이 지원되지 않는 브라우저에서 기본 배경색 */
  background: -ms-linear-gradient(top, #1c6dc9 0%, #003f85 100%); /* IE10 */
  background: -webkit-linear-gradient(
    linear,
    left top,
    left bottom,
    from(#1c6dc9),
    to(#003f85)
  ); /* Chrome/Safari */
  background: -webkit-linear-gradient(
    top,
    #1c6dc9 0%,
    #003f85 100%
  ); /* Chrome/Safari */
  background: -moz-linear-gradient(top, #1c6dc9 0%, #003f85 100%); /* Firefox */
  background: linear-gradient(
    to bottom,
    #1c6dc9 0%,
    #003f85 100%
  ); /* 표준 문법 */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1c6dc9', endColorstr='#003f85'); /* IE 8 */

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  width: 85px;
  padding: 5px 10px;
  margin: 8px;
  color: #fff;
  cursor: pointer;
}

.box-inner .right-box .btn_box > button .num {
  color: #f5a623;
}

.box-inner .right-box .btn_box > button .coin_img {
  margin: 2px 3px 0px 0px;
  float: left;
}

@media (max-width: 768px) {
  .box-inner .right-box .btn_box > button {
    font-size: 12px;
  }
}

.container {
  width: 614px;
  height: 325px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.container .spinner {
  position: absolute;
  left: 46%;
  top: 46%;
  transform: translateX(-50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.overlay {
  width: 614px;
  height: 285px;
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  /* display: flex; */
  display: block;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  top: 40px;
  /* margin-top: 40px; */
}

.modal {
  background: #646464;
  border: 1px solid #959595;
  width: 263px;
  height: 133px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 500;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

.content {
  margin-top: 15px;
}

.title {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 5px;
}

.sub {
  font-size: 12px;
  font-weight: 200;
  color: #fff;
  text-align: center;
  line-height: 16px;
}

.error_m {
  margin: 37px 7px 0px;
}

.btnWrapper {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 100%;
  margin-top: 5px;
}

.btnWrapper button {
  line-height: 154%;
  letter-spacing: -0.36px;
  position: absolute;
  top: 56%;
  border: 1px solid #a9a9a9;
  background-color: #fbfbfb;
  background: linear-gradient(to bottom, #fbfbfb 0%, #b8b8b8 100%);
  background: -webkit-linear-gradient(top, #fbfbfb 0%, #b8b8b8 100%);
  background: -moz-linear-gradient(top, #fbfbfb 0%, #b8b8b8 100%);
  background: -ms-linear-gradient(top, #fbfbfb 0%, #b8b8b8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbfbfb', endColorstr='#b8b8b8');
  background-color: #fbfbfb; /* 대체 배경색 */
  border-radius: 3px;
  display: block;
  text-align: center;
  width: 100px;
  height: 32px;
  padding: 5px;
  margin: 4px;
  left: 78px;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
}

.hidden {
  display: none !important;
}
