@charset "UTF-8";
* {
  transition: color 0.2s linear, background-color 0.2s linear, border-color 0.2s linear;
}
*:link, *:visited, *:hover, *:active, *:focus {
  transition: color 0.2s linear, background-color 0.2s linear, border-color 0.2s linear;
}

.eventPage .boom {
  animation: boom 0.75s ease;
  /*boom效果*/
}
.eventPage .shiny {
  animation: shiny 6s infinite both 0.3s;
  /*shiny效果*/
}
.eventPage .btn {
  cursor: pointer;
}

@keyframes boom {
  0%, 10%, 60%, 100% {
    opacity: 0;
  }
  30%, 50%, 80% {
    opacity: 1;
  }
}
@keyframes boom {
  0%, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes shiny {
  0%, 10%, 60%, 100% {
    opacity: 0;
  }
  30%, 50%, 80% {
    opacity: 1;
  }
}
@keyframes btn {
  0% {
    transform: scale(1);
  }
  70% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
/* 更新預設小網寬度 */
#CONTENT {
  width: 100% !important;
  max-width: 768px;
  min-width: 320px;
}

.eventPage {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
@media all and (min-width: 769px) {
  .eventPage {
    max-width: 1200px;
  }
}
.eventPage.flowbg {
  background: url(https://www.myfone.com.tw/buy/myfoneweb/buy/event2025/event251001-flow/images/bg.jpg) no-repeat #0d0807;
  background-size: 100% auto;
}
.eventPage .container {
  position: relative;
  z-index: 1;
  padding-top: calc(20px + (100vw - 375px) * 0.064);
  /* 漂浮感 */
  /* 呼吸發光 */
}
@media all and (min-width: 769px) {
  .eventPage .container {
    padding-top: 60px;
  }
}
.eventPage .container .title {
  box-sizing: border-box;
  display: block;
  margin: 0 auto 15px;
  width: 100%;
  max-width: calc(250px + (100vw - 375px) * 0.72);
  padding: 0 15px;
}
@media all and (min-width: 769px) {
  .eventPage .container .title {
    max-width: 700px;
  }
}
.eventPage .container .btn_subtitle {
  text-align: right;
  padding: 0 6vw 0 45%;
  margin-top: 15px;
}
@media all and (min-width: 769px) {
  .eventPage .container .btn_subtitle {
    margin-top: 10px;
  }
}
.eventPage .container .btn_subtitle img {
  width: 100%;
  max-width: 500px;
}
.eventPage .container .subtitle {
  box-sizing: border-box;
  display: block;
  margin: 15px auto 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding: 2vw 10vw;
}
@media all and (min-width: 769px) {
  .eventPage .container .subtitle {
    margin: 30px auto 0;
    padding: 2vw 10vw;
  }
}
.eventPage .container .supimg {
  display: block;
  margin: 0 auto;
  position: relative;
  perspective: 800px;
}
.eventPage .container .supimg img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: calc(120px + (100vw - 375px) * 0.336);
  transform-origin: center 80%;
  will-change: transform, filter;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
  animation: supFloat 2s ease-in-out infinite, supGlow 3.2s ease-in-out infinite;
}
@media all and (min-width: 769px) {
  .eventPage .container .supimg img {
    max-width: 330px;
  }
}
@keyframes supFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.015);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes supGlow {
  0%, 100% {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25)) brightness(1);
  }
  50% {
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28)) brightness(1.07);
  }
}
.eventPage .container .button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  margin: 15px 0px;
  perspective: 1000px;
  padding: 0 30px;
}
@media all and (min-width: 769px) {
  .eventPage .container .button {
    padding: 0;
    margin: 30px 0px;
  }
}
.eventPage .container .button a {
  margin: 0 15px;
  display: inline-block;
}
.eventPage .container .button img {
  display: block;
  width: 100%;
  transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  transition: filter 0.3s ease;
  will-change: transform, filter;
  /* 原本 heroFloat 3.8s → 1.9s, heroTilt 6s → 3s */
  animation: heroFloat 1.9s ease-in-out infinite, heroTilt 3s ease-in-out infinite;
  transform-origin: center 85%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}
@media all and (min-width: 769px) {
  .eventPage .container .button img {
    max-width: 400px;
  }
}
.eventPage .container .button a:nth-child(1) img {
  animation-delay: 0s, 0.3s;
}
.eventPage .container .button a:nth-child(2) img {
  animation-delay: 0.45s, 0.9s;
}
@keyframes heroFloat {
  0% {
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-8px) scale(1.012) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
}
@keyframes heroTilt {
  0% {
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-2px) scale(1.005) rotateX(3deg) rotateY(-2deg);
  }
  50% {
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
  75% {
    transform: translateY(-2px) scale(1.005) rotateX(-3deg) rotateY(2deg);
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
}
.eventPage .container .kv {
  position: relative;
  display: flex;
  justify-content: center;
}
.eventPage .container .kv img {
  margin-top: 1vw;
  width: 100%;
  max-width: 1000px;
}
.eventPage .menu .menuList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  width: 70%;
  margin: 0 auto;
}
@media all and (min-width: 769px) {
  .eventPage .menu .menuList {
    grid-template-columns: auto auto auto auto;
  }
}
.eventPage .menu a img {
  width: 100%;
  transition: all 0.5s linear;
  transform: scale3d(1, 1, 1);
}
.eventPage .menu a:hover img {
  transition: all 0.5s linear;
  transform: scale3d(1.05, 1.05, 1);
}

@keyframes carShake {
  0% {
    transform: translateY(0);
    /* 初始位置 */
  }
  50% {
    transform: translateY(-5px);
    /* 向上移動 */
  }
  100% {
    transform: translateY(0);
    /* 回到初始位置 */
  }
}