/* Import CSS */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
@import url("https://emoji-css.afeld.me/emoji.css");

@import url("https://cdn.jsdelivr.net/npm/uikit@3.25.17/dist/css/uikit.min.css");
@import url("mgpd.css");

/*------------------------------*/

.deal::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.deal::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

html {
  overflow: -moz-scrollbars-vertical;
  overflow-y: scroll;
  font-size: 18px;
}

body {
  color: #333333;
  line-height: 2;
  font-size: 1rem;
  font-family: "Noto Sans TC", sans-serif;
  background-color: #ededed;
  background: linear-gradient(250deg, #D5B20040 00%, #4F3B9540 100%);
  background-size: 100% auto;
  background-position: bottom center;
}

img {
  height: auto;
  max-width: 100%;
}

.center {
  text-align: center;
}

@media (min-width: 960px) {
  .maxSee {
    display: none;
  }
}

@media (max-width: 959px) {
  .minSee {
    display: none;
  }
}

.uk-container {
  padding-left: 15px;
  padding-right: 15px;
}

a:hover {
  text-decoration: none;
}

/*------------------------------*/

#elta {
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0px;
  background-color: #000000;
  padding: 5px 10px;
  border-radius: 0 0 15px 0;
  line-height: 0.5;
  vertical-align: middle;
}

#elta img {
  width: 120px;
}

/*-------------- header.html ----------------*/

.headerbg {
  background-image: url(../images/headBg.png), url(../images/jonetsuRed_W.svg);
  background-size: 100% auto;
  background-position: top -4vw center, bottom center;
  background-repeat: no-repeat, repeat-y;
  padding: 2rem 0;
}

.headerTitle {
  position: relative;
  padding-top: 10vw;
}

.headerCont {
  margin-top: 30vw;
}

.headerCont .box {
  line-height: 1.5;
  background: linear-gradient(135deg, #ffffff 90%, #cacaca 100%);
  border: 2px solid #ffffff;
  border-radius: 10px;
  box-shadow: 5px 5px 10px #33333333;
  padding: 1rem;
}

.headerCont .box .title {
  color: white;
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 1.75;
  background: linear-gradient(135deg, #ac7d38 70%, #c28e46 90%, #e1c085);
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-radius: 8px;
}

.reciprocal {
  position: absolute;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  vertical-align: middle;
  text-align: center;
  color: #ffffff;
  top: 1px;
  right: 30px;
  background-color: #4f3a93;
  box-shadow: 3px 3px 5px #33333381;
  border-radius: 1rem;
  padding: 10px;
}

.reciprocal .day {
  font-size: 5rem;
  font-weight: bold;
  line-height: 1;
}

.reciprocal hr {
  margin: 5px 0;
}

@media (max-width:1024px) {
  .headerbg {
    background-size: 170% auto;
    background-position: top -7vw center;
    padding-top: 30vw;
  }

  .reciprocal {
    top: -29vw;
    right: 20px;
  }

  .headerCont .box .title {
    font-size: 1.375rem;
  }
}

@media (max-width:639px) {
  .headerbg {
    background-image: url(../images/headBg3.png), url(../images/jonetsuRed_H.svg);
    background-size: 100% auto;
    background-position: top -5vw center, bottom center;
    background-repeat: no-repeat, repeat-y;
    padding-top: 55vw;
  }

  .reciprocal {
    top: -53vw;
    right: 10px;
  }

  .headerCont .box .title {
    font-size: 1.375rem;
  }

  .reciprocal .day {
  font-size: 15vw;

}
}

/***** 能量條 *****/

.progress-container {
  position: relative;
  width: 100%;
  background-color: #e0e0e0;
  border: 1px solid #ffffff;
  border-radius: 1rem;
  height: 20px;
  margin: 20px 0 15px;
}

.progress-bar {
  position: relative;
  height: 100%;
  background-color: #d32919;
  border-radius: 1rem;
  transition: width 0.4s ease;
}

.progress-icon {
  position: absolute;
  right: -15px;
  top: -35px;
  font-size: 2.5rem;
}

/*-------------- content ----------------*/

.contBox {
  background: linear-gradient(325deg, #cacaca 5px, #ffffff 80px);
  border: 2px solid #ffffff;
  border-radius: 10px;
  box-shadow: 5px 5px 10px #33333333;
  padding: 1rem;
  border-radius: 1rem;
  padding: 13px;
  margin-top: 15px;
  line-height: 1.5;
}

.contTitle {
  color: #000000;
  font-weight: bolder;
  padding: 2px 10px;
  font-size: 2.5rem;
  padding-bottom: 5px;
  border-bottom: 3px solid #d50101;
}

.contTitle::before {
  content: "🔥";
  font-size: 3rem;
  margin-left: -1.5rem;
  margin-right: -6px;
}

.contBox h3,
.contBox h4 {
  display: block;
  margin-bottom: -5px;
  color: #000000;
  font-weight: bold;
  line-height: 1;
}

.contBox h3::before {
  content: "🏅";
  font-size: 1.75rem;
  margin-right: -6px;
}

.contBox p {
  padding: 0 10px;
}

.or {
  position: relative;
  text-align: center;
  overflow: hidden;
  font-size: 0.875rem;
  color: #999;
  margin-top: 25px;
  margin-bottom: 25px;
}

.or::before,
.or::after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  background: #ccc;
  top: 50%;
}

.or::before {
  margin-left: -5px;
  transform: translateX(-100%);
}

.or::after {
  margin-left: 5px;
}

/***** 簽到集氣記錄 *****/

.dayBox {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 0 #00000066;
  text-align: center;
  background: linear-gradient(135deg, #cccccc00 70%, #333333cc 90%, #ffffff77 98%), url(../images/bg3.svg);
  background-size: 100% auto;
  background-position: top left, center bottom;
  border: 1px solid #ffffff;
  border-radius: .8rem;
  box-shadow: 2px 2px 2px #33333366;
}

.dayBox.ok {
  background-image: linear-gradient(135deg, #ff772800 70%, #c24700ce 90%, #ffffff77 98%), url(../images/bg4.svg);
  background-size: 100% auto;
  background-position: center bottom;
  border-radius: .8rem;
}

.dayBox span {
  font-size: 4rem;
}

/***** 活動獎項 *****/

.giftBox {
  position: relative;
  background-image: url(../images/bg3.svg);
  text-shadow: 0 0 10px #383838;
  border-radius: 1rem;
  color: #ffffff;
}

.giftBox .bold {
  position: absolute;
  font-size: 2rem;
  font-weight: 600;
}

.giftBox .luckey {
  display: inline-block;
  font-size: .875rem;
  margin-left: 15px;
}

.giftBox .two {
  position: absolute;
  bottom: 60px;
  right: 15px;
  font-size: 2.5rem;
}

.giftBox .two::before {
  content: "X";
  font-size: 1.5rem;
  margin-right: 10px;
}

.giftBox .two::after {
  content: "名";
  font-size: 1.5rem;
}

@media (max-width:430px) {
  .giftBox {
    font-size: .9rem;
  }

  .giftBox .two {
    position: absolute;
    bottom: 65px;
    right: 15px;
    font-size: 2rem;
  }

  .giftBox .two::before {
    content: "X";
    font-size: 1rem;
    margin-right: 10px;
  }

  .giftBox .two::after {
    content: "名";
    font-size: 1rem;
  }

  .dayBox {
    font-size: 2rem;
  }

  .dayBox span {
    font-size: 3rem;
  }

  .contTitle {
    font-size: 2.25rem;
  }
}

/***** 聯絡資訊 *****/

.formTitle {
  line-height: 1.25;
}

.formTitle span {
  display: block;
  font-size: .7rem;
}

.formControl {
  display: block;
  width: 100%;
  height: calc(2.45rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/***** 得獎名單 *****/

.luckyPerson {
  line-height: 1.25;
}

.luckyPerson .giftTitle {
  
}

.luckyPerson .luckeyEmail {
  color: #9c9c9c;
}

.luckyPerson .luckeyName {
  font-size: 1.25rem;
}

.luckyPerson hr {
  border: none;
  border-bottom: 1px solid #b8b8b8;
  margin-top: 6px;
  margin-bottom: 4px;
}

/*--------------  注意事項  ----------------*/

.warning li {
  line-height: 1.5;
  margin-bottom: 10px;
}

.warning>ol li {
  margin-left: -0.625rem;
}

.warning>ol li ol li {
  margin-left: -1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .warning {
    padding-left: 20px;
  }

  .warning li {
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .warning>ol li {
    margin-left: -1.375rem;
  }

  .warning>ol li li {
    margin-left: -1.25rem;
  }
}

/*-------------- go top ----------------*/

#gotop,
#gotop:hover {
  position: fixed;
  z-index: 90;
  right: 5px;
  bottom: 5px;
  display: none;
  width: 50px;
  height: 50px;
  color: #f26d20;
  background: #ffffff;
  line-height: 40px;
  border-radius: 50%;
  transition: all 0.5s;
  text-align: center;
  box-shadow:
    0 2px 5px 0 #00000029,
    0 2px 10px 0 #0000001f;
}

/* ----------------  button  ------------------ */

.btn,
.btns {
  display: inline-block;
  color: #ffffff;
  vertical-align: middle;
  border-radius: 5px;
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
  border: none;
  transition: all .5s ease;
}

.btn {
  font-size: 1.25rem;
  line-height: 2;
  padding: 5px 20px;

}

.btns {
  line-height: 1.5;
  margin-bottom: 8px;
  padding: 2px 10px 4px;

}

.btn1 {
  color: #ffffff;
  background-color: #ea5020;
}

.btn1:hover {
  color: #ffffff;
  background-color: #d50101;
}

.btn2 {
  color: #636363;
  background-color: #eeeeee;
  cursor: no-drop;
}

.btnSocialMedia {
  width: 100%;
  font-size: 1rem;
  color: #757575;
}

.btnSign,
.btnSign:hover {
  width: 100%;
  font-size: 1rem;
  background-color: #ea5020;
  color: #ffffff;
}

.btnBack,
.btnBack:hover {
  width: 100%;
  font-size: 1rem;
  background-color: #999999;
  color: #ffffff;
}

/*-- 註 -*/

.info {
  display: block;
  font-size: 0.875rem;
  color: #f08300;
  margin-bottom: 5px;
  margin-left: 20px;
}

.info::before {
  content: "!";
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  vertical-align: middle;
  text-align: center;
  height: 0.75rem;
  width: 0.75rem;
  border: 2px solid #f08300;
  border-radius: 1rem;
  margin-top: -3px;
  margin-right: 3px;
  padding-top: 1px;
}

.btnPrimary {
    background-color: #ff9515;
    border: 1px solid #ff9515;
    color: #fff;
    transition: all .5s ease;
    display: block;
    width: 100%;
    padding: .35rem .75rem;
    font-size: 1rem;
    line-height: 1.4;
    border-radius: .3rem;
}

.confirmModal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.confirmModal-content {
    width: 260px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

.confirmModal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.confirmModal-buttons .btn {
    flex: 1;
    width: auto;
    margin: 0;
}