body {
  font-size: 1.25em;
  line-height: 1.5;
  text-align: center;
  background-color: #070013;
  color: #fff;
}

section {
  display: block;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

main {
  padding: 100px 0;
}

a,a:visited {
  color: #00ffff;
}
ul {
  text-align: left;
  line-height: 1.8;
  max-width: 1000px;
  padding-right: 15px;
  margin: auto;
}

.link {
  text-decoration: underline;
}

.highlight {
  color: #f2ff00;
  font-weight: 500;
}

.bg-yellow {
  background-color: #fc1a96;
  color: #fff;
}

.float_mask {
  display: flex;
  background-color: #1312e8;
  justify-content: center;
  box-shadow: 0px -4px 0px #fff;
}

.float_area {
  width: calc(50% - 200px);
}

.float_area:hover {
  background-color: #fff800;
  color: #1312e8;
}

section img {
  width: 100%;
}

/*-----------區塊-----------*/

.bg-section {
  max-width: 1100px !important;
  border-radius: 40px;
}

.seca-content.bg-sec1 {
  background-color: #fff;
  border-radius: 0;
  padding-bottom: 40px;
  border: 4px solid #0052a3;
}

.bg-section.bg-sec2 {
  background-color: #fff;
  margin: auto;
}

.sec-title {
  width: 70%;
}

.s-line {
  width: 95%;
  border: 3px solid #d4e2ff;
  margin: 30px auto;
}

.secb-content {
  display: inline-block;
  margin: 30px auto;
}

.seca-img {
  display: block;
  width: 90%;
  margin: 50px auto;
}

.secb-content a {
  display: block;
  margin: 5px auto;
}

.d-header img {
  display: block;
  width: 100%;
  margin: 0 0 -5px 0;
}

.description-a img {
  width: 90%;
}

.sec2-dec {
  width: 90%;
  margin-top: 50px;
}

.sale-website {
  display: flex;
  width: 90%;
  margin: auto;
}

.sale-website a:hover {
  filter: brightness(120%);
  transform: translateY(5px);
  transition: .3s;
}

.sale-website img {
  width: 90%;
  margin: 20px;
}

/*-----------cta區塊-----------*/

.sign-btn {
  width: 60%;
  cursor: pointer;
  margin: 5px auto 30px;
}

.signitem {
  width: calc(17% - 30px);
}

.signitem.first {
  display: block;
  width: 60%;
  margin: 20px auto;
}

.sign-tips {
  color: #ff0033;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.button-sign img {
  width: 70%;
}

.btn-login,
.btn-signin,
.btn-overdue {
  display: block;
  width: 50%;
  height: 40px;
  padding: 20px;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  margin: 10px auto;
  border-radius: 200px;
  letter-spacing: .1rem;
}

.event-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.event-wrap a {
  width: calc(25% - 40px);
  margin: 15px;
}

.event-wrap a img {
  width: 100%;
  border-radius: 20px;
}

/*-----------推薦網站-----------*/

.web-list {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
  padding: 0 0 50px;
}

.web-item {
  width: 33.3%;
  float: left;
  margin: 5px auto;
}

.web-item:hover {
  transform: translateY(5px);
  transition: .3s;
}

.web-item img {
  width: 95%;
}

.web-btn {
  display: inline-block;
  width: 80%;
  background-color: #fe7600;
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  line-height: 2.5;
  font-weight: 900;
  font-size: 1.1em;
}

/*-----------活動注意事項-----------*/

.bg-section-ntc {
  background-color: #002982;
  padding: 5px 40px 25px 60px;
  border-radius: 0 0 70px 70px;
}

.bg-section-ntc ul {
  text-align: left;
  color: #fff;
  padding: 0;
}

.bg-section-ntc ul a {
  color: #fff;
}

/*-----------常規注意事項-----------*/

.noticeWrap {
  background-color: #002982;
}

/* 外層容器 */

.lucky-draw-container {
  min-width: 1280px;
  max-width: 1400px;
  margin: 0 auto;
  background: url(../image/background.png) top center no-repeat;
  background-size: cover;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  padding: 20px 0 70px;
  flex-wrap: wrap;
  justify-self: center;
}

/* 左側圖片區 */

.lucky-draw-left {
  width: calc(60% - 35px);
  text-align: center;
}

.lucky-draw-left img {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
}

/* 右側轉盤區 */

.lucky-draw-right {
  flex: 1;
}

.wheel-container {
  position: relative;
  width: 400px;
  height: 400px;
  text-align: center;
}

.wheel {
  width: 100%;
  transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
  position: absolute;
  z-index: 1;
}

.wheel img {
  width: 100%;
}

.pointer {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 30px solid red;
  position: absolute;
  top: 52%;
  left: 365px;
  transform: translateY(-50%);
  z-index: 10;
}

.button {
  width: 90%;
  line-height: 2.6;
  margin-top: 420px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .05em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 100px;
  background: linear-gradient(to bottom, #fffedb 0%, #ffe600 60%, #ffdb00 85%, #fff701 100%);
  border: 2px solid #6f4cff;
  color: #000;
  box-shadow: 0 0px 12px rgba(0, 0, 0, 1);
  cursor: pointer;
  outline: none;
}
.button.disable {
  width: 90%;
  line-height: 2.6;
  margin-top: 420px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .05em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  border-radius: 100px;
  background: linear-gradient(to bottom, #ffffff 0%, #dedede 60%, #d5d5d5 85%, #d5d5d5 100%);
  border: 2px solid #bcbcbc;
  color: #fff;
  box-shadow: unset;
  cursor: pointer;
  outline: none;
}

.button:hover {
  box-shadow: 0 12px 20px rgba(0, 0, 0, .5);
}
.button.disable:hover {
  box-shadow: unset;
}

@media (max-width: 1200px) {
  .lucky-draw-container {
    min-width: unset;
    width: 100%;
    margin: 0 auto;
    background: url(../image/background-m.png) top center no-repeat;
    background-size: contain;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

}

@media (max-width: 600px) {
  .lucky-draw-container {
    min-width: unset;
    width: 100%;
    margin: 0 auto;
    background: url(../image/background-m.png) top center no-repeat;
    background-size: cover;
    padding: 10px 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .lucky-draw-left {
    width: 100%;
    min-width: unset;
    max-width: 380px;
    margin: 0 auto;
    overflow: hidden;
  }
  .lucky-draw-left img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 手機版轉盤置中修正 */
  .lucky-draw-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .wheel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .wheel {
    position: static;
    max-width: 300px;
    width: 100%;
    height: auto;
    transform-origin: center center;
  }

  .pointer {
    position: absolute;
    top: 50%;
    left: 95%;
    transform: translate(-50%, -50%);
  }

  .button {
    margin-top: 380px;
  }

}

/*-----------Pad device-----------*/

@media only screen and (min-width: 481px) and (max-width: 1024px) {
  .float_area {
    width: 50%;
  }

  section img {
    width: 90%;
  }

  section {
    width: 100%;
  }

  #event1 {
    margin-top: 50px;
  }

  .bg-section {
    max-width: 90% !important;
  }

  .sec-title {
    width: 100%;
  }

  .d-header img {
    width: 100%;
  }

  .signitem {
    width: calc(20% - 20px);
  }

  .web-list {
    padding: 0;
  }

  .sale-website {
    display: block;
    width: 100%;
  }

  .sale-website img {
    width: 90%;
    margin: 5px;
  }

  .button-sign img {
    width: 90%;
  }

  .notification {
    padding-left: 25px;
  }

  .event-wrap a {
    width: calc(50% - 60px);
    margin: 20px;
  }
}

/*-----------mobile device-----------*/

@media only screen and (max-width: 480px) {
  .banner {
    background-image: url(../image/background-m.png);
  }

  .float_mask {
    padding: 0 5px;
  }

  .float_area {
    width: 50%;
    font-size: 1.1rem;
    padding: 10px 0;
  }

  section {
    width: 100%;
  }

  .seca-content.bg-sec1 {
    border: 1.5px solid #0052a3;
  }

  section img {
    width: 90%;
  }

  .s-line {
    width: 95%;
    border: 2px solid #d4e2ff;
    margin: 10px auto;
  }
  .d-header img {
    width: 100%;
  }

  .bg-section {
    max-width: 90% !important;
    border-radius: 30px;
  }

  .bg-section-ntc {
    border-radius: 0 0 30px 30px;
  }

  .sec-title {
    width: 100%;
  }

  .sign-btn {
    width: 80%;
    margin: 0 auto 10px;
  }

  .signitem {
    width: calc(33% - 10px);
    margin: 0;
  }

  .signitem.first {
    display: block;
    width: calc(100% - 20px);
    margin: 20px auto;
  }

  .seca-img {
    display: block;
    width: 90%;
    margin: 20px auto;
  }

  .sign-tips {
    width: 90%;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 auto;
  }

  .web-list {
    padding: 0;
  }

  .web-item {
    width: 50%;
  }

  .web-btn {
    font-size: .9rem;
    width: 90%;
  }

  .sale-website {
    display: block;
  }

  .sale-website img {
    width: 95%;
    margin: 5px;
  }

  .button-sign img {
    width: 90%;
  }

  .notification {
    padding-left: 30px;
  }

  .bg-section-ntc {
    font-size: .9rem;
    padding: 2px 10px 2px 30px;
  }

  .event-wrap a {
    width: calc(50% - 20px);
    margin: 0 5px;
  }

  .web-item:hover {
    transform: unset;
  }
}
