* {
  padding: 0;
  margin: 0;
}
body {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
  background: white;
  overflow-x: clip;
}
a:link,
a:active,
a:hover,
a:focus,
a:visited {
  outline: none;
  cursor: pointer !important;
}

.cleardiv {
  clear: both;
}

.center {
  display: block;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  position: relative;
}

@keyframes fireworkBlink {
  0% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  } /* 前 30% 的時間是亮的 */
  40% {
    opacity: 0;
  } /* 中間快速收掉 */
  100% {
    opacity: 0;
  } /* 其餘時間是暗的 */
}

section {
  padding: 100px 0px;
}

#kv {
  padding: 0px;
  position: relative;
}
#kv img {
  width: 100%;
  height: auto;
  margin-bottom: -5px;
}
#kv img.mb {
  display: none;
}

.title {
  display: table;
  margin: 100px auto 20px auto;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  color: #ff2d2d;
  text-shadow: 2px 0px 0px white, -2px 0px 0px white, 0px 2px 0px white,
    0px -2px 0px white, 2px 2px 5px #ff7607;
  position: relative;
}
.title::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url(../images/star_left.svg) no-repeat;
  background-size: contain;
  position: absolute;
  left: -30px;
  bottom: -10px;
}
.title::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: url(../images/star_right.svg) no-repeat;
  background-size: contain;
  position: absolute;
  right: -40px;
  bottom: 10px;
}

#sec1 {
  position: relative;
  background: url(../images/bg_1.jpg) top center;
  background-size: cover;
}

#sec1 .two {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
#sec1 .two p {
  font-size: 24px;
  line-height: 30px;
  color: #d15453;
  margin-right: 10px;
}
#sec1 .two img {
  width: 45%;
  max-width: 600px;
}

#sec1 .yt {
  display: block;
  margin-bottom: 100px;
}
#sec1 .yt img {
  display: block;
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

/* shopee */

#sec1 .shopee {
  position: relative;
  z-index: 3;
}

#sec1 .shopee .content {
  position: relative;
  background: url(../images/shopee_bg.jpg) top center;
  background-size: cover;
  display: block;
  width: 90%;
  max-width: 1000px;
  min-height: 650px;
  margin: 10px auto 0px auto;
  z-index: 3;
}

#sec1 .shopee .content .shopee_discount {
  position: absolute;
  right: 0;
  top: 20px;
  width: 90%;
  cursor: pointer;
}

#sec1 .shopee .content span {
  color: #ffffff;
  font-weight: 700;
}

#sec1 .shopee .shopee_bottom {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 50px;
  box-sizing: border-box;
  bottom: 30px;
  width: 100%;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), 0 0 10px rgba(255, 180, 80, 0.6);
}

#sec1 .shopee .content .shopee_bottom p.sub {
  font-size: 40px;
  font-size: clamp(20px, 3vw, 40px);
}

#sec1 .shopee .content .shopee_bottom p.subTitle {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  color: #ffffff;
}

#sec1 .shopee a img {
  display: block;
  width: 100%;
  max-width: 250px;
  position: relative;
  z-index: 3;
}

#sec1 .shopee img.frw_1 {
  width: 15vw;
  position: absolute;
  top: -50px;
  left: -100px;
  animation: fireworkBlink 3s infinite ease-in-out;
}
#sec1 .shopee img.frw_2 {
  width: 16vw;
  position: absolute;
  top: -50px;
  right: -100px;
  animation: fireworkBlink 2.5s infinite ease-in-out;
}
/* shopee */

#sec1 .bg_2 {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 0px;
  left: 0px;
}

#sec2 {
  position: relative;
  background: url(../images/bg_3.jpg) top center;
  background-size: 100% 100%;
}

#sec2 .special {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#sec2 .special .ticket {
  width: 40%;
  margin: 3%;
  position: relative;
  display: flex;
  flex-direction: column;
}
#sec2 .special .ticket img.tik_bg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

#sec2 .special .ticket .top {
  background-image: url(../images/ticket_2.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  position: relative;
  flex-shrink: 0;
}
#sec2 .special .ticket .top {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding-left: 12%;
}
#sec2 .special .ticket .top img {
  width: 20%;
  margin-right: 10px;
}
#sec2 .special .ticket .top p.sub {
  font-size: 16px;
  color: #ed9640;
}
#sec2 .special .ticket .top p.stitle {
  font-size: 45px;
  color: #e7376a;
  font-weight: 700;
}
#sec2 .special .ticket:first-child .top p.stitle {
  font-size: 30px;
}

#sec2 .special .ticket .mid {
  position: relative;
  box-sizing: border-box;
  padding: 0px 13%;
  background-image: url(../images/ticket_4.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#sec2 .special .ticket .mid p {
  font-size: 20px;
  color: #ff7607;
  text-align: center;
  font-weight: 500;
}
#sec2 .special .ticket .mid p.sml {
  font-size: 17px;
}
#sec2 .special .ticket .mid small {
  font-size: 12px;
  color: #ff7607;
  display: table;
  margin: 10px auto 0px auto;
}

#sec2 .special .ticket .mid small.ticket3 {
  font-size: 16px;
  margin: 30px 0;
}

#sec2 .special .ticket .mid img {
  display: block;
  height: 60px;
  width: auto;
  margin: 10px auto;
}

#sec2 .special .ticket .mid .btn {
  margin-top: auto; /* ★ 關鍵：把按鈕推到 .mid 的最下方 */
  display: inline-block;
  align-self: center; /* 置中（可依你版型調） */
}

#sec2 img.slide_main {
  display: block;
  width: 87%;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

#sec2 img.slide_main_mob {
  display: none;
}

#sec2 .sliders {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}
#sec2 .sliders div.slid {
  width: 33%;
  margin: 15px;
  position: relative;
}
#sec2 .sliders div.slid img {
  display: block;
  width: 100%;
}
#sec2 .sliders .slick-prev {
  display: block;
  content: "";
  width: 40px;
  height: 40px;
  background: red;
}

#sec2 .slidecon {
  position: relative;
}
#sec2 .slidecon .prev {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
}
#sec2 .slidecon .prev img {
  width: 100%;
}
#sec2 .slidecon .next {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
}
#sec2 .slidecon .next img {
  width: 100%;
}

#sec2 .btn2 {
  display: block;
  width: 70%;
  max-width: 190px;
  position: relative;
  margin: 30px auto;
}
#sec2 .btn2 img {
  width: 100%;
}

#sec2 img.frw_3 {
  width: 15vw;
  position: absolute;
  top: -70px;
  left: -100px;
  animation: fireworkBlink 3.2s infinite ease-in-out 0.5s;
}
#sec2 img.frw_4 {
  width: 16vw;
  position: absolute;
  top: -70px;
  right: -100px;
  animation: fireworkBlink 2.8s infinite ease-in-out 0.8s;
}

#down {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
#down img.bnr {
  display: block;
  width: 65%;
  height: auto;
}
#down .store {
  width: 35%;
  height: 100%;
  background: #67635f;
  background: linear-gradient(
    45deg,
    rgba(103, 99, 95, 1) 0%,
    rgba(203, 204, 203, 1) 50%,
    rgba(103, 99, 95, 1) 100%
  );
  box-sizing: border-box;
  padding: 15px;
}
#down .store .inner {
  width: 100%;
  height: 100%;
  background: #86827d;
  background: linear-gradient(
    319deg,
    rgba(134, 130, 125, 1) 0%,
    rgba(230, 230, 230, 1) 45%,
    rgba(230, 230, 230, 1) 55%,
    rgba(134, 130, 125, 1) 100%
  );
  position: relative;
  box-sizing: border-box;
  padding-top: 18%;
}
#down .store .inner img {
  display: block;
  width: 35%;
  margin: auto;
}
#down .store .inner .btn {
  display: block;
  max-width: 190px;
  position: relative;
  margin: 15px auto;
}
#down .store .inner .btn img {
  width: 100%;
  height: auto;
}

/* Responsive YouTube iframe */
.yt .video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}
.yt iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 796px) {
  section {
    padding: 50px 0px;
  }
  .title {
    font-size: 24px;
    margin: 20px auto 20px auto;
  }
  .title::after {
    width: 35px;
    height: 35px;
    right: -35px;
  }

  #kv img.pc {
    display: none;
  }
  #kv img.mb {
    display: block;
  }

  #sec1 .two {
    flex-wrap: wrap;
  }
  #sec1 .two p {
    font-size: 20px;
    line-height: 24px;
    margin-right: 0px;
    margin-bottom: 20px;
  }
  #sec1 .two img {
    width: 90%;
  }

  #sec1 .yt {
    margin-bottom: 60px;
  }
  #sec1 .yt img {
    width: 90%;
  }

  #sec1 .shopee .content {
    min-height: 400px;
  }
  #sec1 .shopee .shopee_bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  #sec1 .shopee a img {
    height: 60px;
  }

  #sec1 .shopee .content .shopee_discount {
    width: 90%;
  }

  #sec1 .shopee img.frw_1 {
    top: -10px;
    left: -10px;
  }
  #sec1 .shopee img.frw_2 {
    top: 0px;
    right: -10px;
  }

  #sec2 .special .ticket {
    width: 90%;
    margin: 20px auto;
  }
  #sec2 .special .ticket {
    width: 90%;
    margin: 20px auto;
  }

  /* #sec2 .special .ticket .mid3 {
    padding-bottom: 20%;
  } */

  #sec2 .special .ticket .mid .btn {
    margin: auto;
    margin-top: 10px; /* 視覺上留點間距就好 */
    display: block;
  }

  #sec2 img.slide_main {
    display: none;
  }

  #sec2 img.slide_main_mob {
    display: block;
    width: 81%;
    margin: auto;
    margin-bottom: 20px;
  }

  #sec2 img.frw_3 {
    top: -10px;
    left: -10px;
  }
  #sec2 img.frw_4 {
    top: -10px;
    right: -10px;
  }

  #down {
    flex-wrap: wrap;
  }
  #down img.bnr {
    width: 100%;
  }
  #down .store {
    width: 100%;
    padding: 6px;
  }
  #down .store .inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
  }
  #down .store .inner .btn {
    width: 40%;
    max-width: 190px;
    margin: auto;
  }
}
