@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Noto+Sans+TC:wght@100;300;400;600;900&display=swap");
@font-face {
  font-family: "Noto Sans TC", "PingFang TC", "微軟正黑體";
  src: local("Noto Sans TC");
  unicode-range: U+4E00-9FFF;
}
@font-face {
  font-family: "Avenir", "Lato";
  src: local("Lato");
  unicode-range: U+00-024F;
}
body {
  font-family: "Noto Sans TC", "PingFang TC", "微軟正黑體", "Avenir", "Lato";
  background: #C7E8FB;
  background-position: center top;
  background-repeat: no-repeat;
}

img {
  max-width: 100%;
  display: block;
}

.bodyContainer {
  margin: 0 auto;
  overflow: hidden;
}

.qrcode {
  display: none;
}

header {
  position: relative;
}
header .seasBox {
  width: 100%;
  position: relative;
  right: 51%;
  margin-top: 44%;
  transform: scale(1.3);
}
header .seasBox img[src*="tiger.png"] {
  position: absolute;
  right: -50px;
  width: 60%;
  top: -170px;
  z-index: 1;
}
header .header-title {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  position: relative;
  margin-top: -52%;
}
header .header-title .textBox {
  position: relative;
  width: 88%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
header .header-title .teamsBox {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 75%;
  margin-top: 8px;
}
header .header-title .teamsBox button {
  position: relative;
  display: flex;
  align-items: center;
  width: 83%;
  margin-top: 12px;
}
header .header-title .teamsBox button img[src*="footprint.png"] {
  width: 13%;
  position: absolute;
  right: 7%;
  top: 25%;
}
header .header-title img[src*="event_logo.png"] {
  width: 70%;
}
header .mountainBox {
  position: relative;
  transform: scale(1.5);
  left: 10%;
  top: 20px;
  transform-origin: left;
}
header .mountainBox img[src*="all_clouds_0.png"] {
  position: absolute;
}
header img[src*="clouds.png"] {
  display: none;
}
header img[src*="qrcode.png"] {
  position: relative;
  width: 38%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8%;
}
  .order{
	  font-size:13px;
	  margin-top:30px;
	  width:100%;
  }

main {
  margin-top: 50px;
  position: relative;
}
main .boxSection {
  position: relative;
}
main .boxSection .decorate {
  width: 60.4%;
}
main .boxSection .container {
  max-width: 90%;
  margin: auto;
}
main .boxSection h2.title {
  display: flex;
  flex-direction: column;
  font-family: Noto Sans TC;
  font-size: 35px;
  font-weight: 600;
  color: #063e5b;
  line-height: 1.3;
  align-items: center;
  padding-top: 20px;
  max-width: 300px;
  text-align: center;
  margin: auto;
}
main .boxSection h2.title > span {
  letter-spacing: 10px;
}
main .boxSection h2.title small {
  font-family: Avenir;
  font-size: 18px;
  font-weight: 300;
  color: #7a7a7a;
}
main .boxSection .hr {
  margin: 30px 0;
  background: #063e5b;
  height: 1px;
  position: relative;
}
main .boxSection .hr span {
  font-family: Noto Sans TC;
  font-size: 14px;
  font-weight: 600;
  color: #063e5b;
  display: block;
  background: #C7E8FB;
  padding: 10px;
  text-align: center;
}
main .giftSection .items {
  display: flex;
  align-items: start;
  gap: 5px;
  padding-top: 12px;
  flex-wrap: wrap;
}
main .giftSection .items .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: Noto Sans TC;
  font-size: 18px;
  font-weight: 600;
  color: #063e5b;
  text-align: center;
  width: calc(50% - 4px);
}
main .giftSection .hr {
  margin-bottom: 80px;
}
main .limitGiftSection .intro {
  font-family: Noto Sans TC;
  font-size: 14px;
  font-weight: 300;
  color: #353535;
  padding: 20px 0;
  letter-spacing: 4px;
}
main .limitGiftSection .intro span:nth-child(1) {
  color: #f76a00;
}
main .limitGiftSection .items {
  display: flex;
  gap: 30px;
  flex-direction: column;
}
main .limitGiftSection .items .item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 26px;
  width: 100%;
}
main .limitGiftSection .items .item .text {
  font-family: Noto Sans TC;
  color: #000000;
  text-align: center;
}
main .limitGiftSection .items .item .text span {
  display: block;
}
main .limitGiftSection .items .item .text span:nth-child(1) {
  font-size: 15px;
  font-weight: 600;
}
main .limitGiftSection .items .item .text span:nth-child(2) {
  font-size: 15px;
  font-weight: 300;
}
main .social {
  font-family: Noto Sans TC;
  font-size: 14px;
  font-weight: 600;
  color: #063e5b;
  padding: 30px 15px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 90%;
  margin: auto;
}
main .social .items {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}
main .social .items .links {
  display: flex;
  align-items: center;
  gap: 10px;
}
main .social .items .links img {
  height: 30px;
  min-height: 30px;
}
main .social > *:nth-child(3) {
  grid-column: 1/span 2;
  padding-top: 0px;
}
main .social > *:nth-child(3) .links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  gap: 20px;
}
main .social > *:nth-child(3) .links img {
  height: 28px;
  min-height: 28px;
}

main .social:nth-child(3) .links .smallLogo{
    height: 24px;
    min-height: 24px;
  }
  

footer {
  background: white;
  position: relative;
}
footer .copyRight {
  font-size: 12px;
  font-weight: 300;
  color: #000000;
}
footer .copyRight .bodyContainer {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 15px;
  gap: 5px;
}
footer .copyRight .copyText {
  display: flex;
  gap: 5px;
  flex-direction: column;
}
footer .cookieText {
  background: #F4AC26;
  padding: 15px;
  font-size: 12px;
  font-weight: 300;
  color: #000000;
}
footer .cookieText .bodyContainer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  letter-spacing: 1px;
  gap: 15px;
}
footer .cookieText button {
  background: #0C5683;
  color: #fff;
  word-break: keep-all;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  border-radius: 5px;
}

@media (min-width: 1000px) {
  .bodyContainer {
    width: 1000px;
  }
  .qrcode {
    position: fixed;
    top: 32px;
    right: 22px;
    width: 12.3%;
    margin-top: 0;
    z-index: 100;
    display: block;
  }
  header {
    height: 655px;
  }
  header .seasBox {
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    margin: 0;
    transform: unset;
  }
  header .seasBox img[src*="notes.png"] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 780px;
  }
  header .seasBox img[src*="tiger.png"] {
    position: absolute;
    width: 290px;
    right: 156px;
    top: 33px;
  }
  header .header-title {
    position: absolute;
    bottom: 138px;
    left: 90px;
  }
  header .header-title .textBox {
    width: 650px;
    display: block;
  }
  header .header-title img[src*="date.png"] {
    width: 558px;
  }
  header .header-title .teamsBox {
    flex-direction: row;
    width: auto;
    margin-top: 0;
  }
  header .header-title .teamsBox img[src*="teams.png"] {
    width: 310px;
    position: relative;
    left: 5px;
    top: -16px;
  }
  header .header-title .teamsBox button {
    left: 25px;
    top: -20px;
    width: 270px;
  }
  header .header-title .teamsBox button:hover {
    animation: wobble 1.2s ease-in-out infinite;
    transform-origin: center bottom;
  }
  @keyframes wobble {
    0%, 100% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(-3deg);
    }
    50% {
      transform: rotate(0deg);
    }
    75% {
      transform: rotate(3deg);
    }
  }
  header .header-title img[src*="event_logo.png"] {
    width: 290px;
    position: absolute;
    bottom: 10px;
    right: -216px;
  }
  header .mountainBox {
    width: 850px;
    position: relative;
    left: 70px;
    top: 18px;
    transform: scale(1);
  }
  header img[src*="clouds.png"] {
    display: block;
    position: absolute;
    bottom: 58px;
    right: 292px;
    width: 360px;
  }
  header img[src*="qrcode.png"] {
    position: fixed;
    top: 32px;
    right: 22px;
    width: 116px;
    margin-top: 0;
    transform: unset;
    display: none;
  }
  main {
    margin-top: -122px;
  }
  main .boxSection .decorate {
    width: 250px;
  }
  main .boxSection h2.title {
    align-items: start;
    padding-top: 0;
    max-width: unset;
  }
  main .boxSection h2.title > span {
    letter-spacing: 2px;
  }
  main .boxSection .hr {
    margin-top: 50px;
    margin-bottom: 30px;
  }
  main .boxSection .hr span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  main .giftSection .items {
    flex-wrap: nowrap;
    align-items: center;
  }
  main .giftSection .items .item {
    width: auto;
  }
  main .giftSection .hr {
    margin-bottom: 30px;
  }
  main .limitGiftSection .intro {
    letter-spacing: 2px;
  }
  main .limitGiftSection .items {
    flex-direction: row;
  }
  main .limitGiftSection .items .item {
    width: 50%;
  }
  main .limitGiftSection .items .item .text span:nth-child(1) {
    font-size: 18px;
  }
  main .social {
    padding: 30px 0px;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
  }
  main .social .items {
    flex-direction: row;
    gap: 10px;
  }
  main .social .items .title {
    flex: 70px;
    max-width: 70px;
    min-width: 70px;
  }
  main .social .items .links {
    flex-wrap: wrap;
  }
  main .social > *:nth-child(3) {
    grid-column: 1/span 2;
    padding-top: 30px;
  }
  main .social > *:nth-child(3) .links {
    display: flex;
  }
  main .social > *:nth-child(3) .links .bigLogo {
    height: 55px;
    min-height: 55px;
  }
  
  main .social:nth-child(3) .links .smallLogo{
    height: 24px;
    min-height: 24px;
  }
  

  footer .copyRight {
    font-size: 13px;
    font-weight: 300;
  }
  footer .copyRight .bodyContainer {
    align-items: center;
  }
  footer .copyRight .copyText {
    gap: 20px;
    flex-direction: row;
  }
  footer .cookieText {
    font-size: 13px;
  }
  footer .cookieText .bodyContainer {
    flex-direction: row;
  }
  footer .cookieText button {
    width: auto;
  }
}

@media (min-width: 320px) and (max-width: 500px) {
	  main .social > *:nth-child(3) .links .bigLogo {
    height: 40px;
    min-height: 40px;
  }
  
  main .social:nth-child(3) .links .smallLogo{
    height: 24px;
    min-height: 24px;
  }
}

/* --- Header 進場動畫初始狀態與效果：僅隱藏有動畫的元素 --- */
header img[src*="tiger.png"],
header img[src*="notes.png"],
header .mountainBox,
header img[src*="date.png"],
header .teamsBox,
header img[src*="event_logo.png"],
header img[src*="clouds.png"],
header img[src*="all_clouds_0.png"] {
  opacity: 0;
}

/* 老虎 從左到右淡入 */
.anim-tiger-in {
  animation: tigerSlideIn 0.8s ease-out forwards;
}

@keyframes tigerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* （移除：notes 從下到上淡入，改用與虎並行的左至右淡入） */
/* 樂譜 從左到右淡入（新需求：與虎一起並行） */
.anim-notes-in {
  animation: notesSlideIn 0.8s ease-out forwards;
}

@keyframes notesSlideIn {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* 山 彈出（最終維持設計中的 scale 值） */
.anim-mountain-pop {
  animation: mountainPop 0.7s ease-out forwards;
}

@keyframes mountainPop {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(1);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.02);
  }
  80% {
    opacity: 1;
    transform: translateY(6px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* 日期 rotate 從左下旋入 */
.anim-date-rotate {
  transform-origin: bottom left;
  animation: dateRotateIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes dateRotateIn {
  0% {
    opacity: 0;
    transform: rotate(-12deg) translateY(12px);
  }
  60% {
    opacity: 1;
    transform: rotate(3deg) translateY(0);
  }
  100% {
    opacity: 1;
    transform: rotate(0);
  }
}
/* 隊伍區塊 跳出 */
.anim-teams-pop {
  animation: teamsPop 0.6s ease-out forwards;
}

@keyframes teamsPop {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* Logo 從左到右淡入 */
.anim-logo-in {
  animation: logoFadeIn 0.6s ease-out forwards;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Logo 持續閃動（於淡入後加上此類別） */
.anim-logo-blink {
  animation: logoBlink 1.6s ease-in-out 0.2s infinite;
}

@keyframes logoBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.66;
  }
}
/* 雲：先淡入，後持續左右飄動 */
.anim-clouds-in {
  animation: cloudsFadeIn 0.6s ease-out forwards;
}

@keyframes cloudsFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.anim-clouds-float {
  animation: cloudsFloat 6s ease-in-out 0.1s infinite alternate;
}

@keyframes cloudsFloat {
  from {
    transform: translateX(-10px);
  }
  to {
    transform: translateX(10px);
  }
}