@font-face {
  font-family: NotoSansTC-Light;
  src: url(../fonts/NotoSansTC-Light.otf);
  src: url(../fonts/TaipeiSansTCBeta-Bold.otf);
  src: url(../fonts/TaipeiSansTCBeta-Regular.otf);
  src: url(../fonts/TaipeiSansTCBeta-Light.otf);
}
body {
  font-family: "微軟正黑體", "NotoSansTC-Light", "Noto Sans TC", sans-serif,
    Arial, Helvetica, Microsoft JhengHei, Apple LiGothic, "Roboto Condensed";
  font-size: 16px;
  color: #333;
  margin: 0;
  overflow: hidden;
}
html,
body {
  height: 100%;
  padding: 0;
}
.bg_cover {
  width: 1920px;
  height: 100vh;
  background: linear-gradient(135deg, #b2ebf2, #d0eaff, #e3f2fd, #cfe8f9);
  background-size: 400% 400%;
  animation: smoothGradient 15s ease infinite;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ✨ 漸層動畫：讓顏色柔和流動 */
@keyframes smoothGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.bg_logo_fa {
  position: absolute;
  width: 180px;
  height: 180px;
  display: block;
  top: 250px;
  left: 45.5%;
  background: url("../img/logo1.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.bg_logo_o {
  position: absolute;
  width: 30px;
  height: 30px;
  display: block;
  top: 95px;
  left: 25px;
}
.dot-loader {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 100px auto;
  width: 100px;
}

.dot-loader span {
  display: block;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.dot-loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.dot-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
}
@keyframes pulseLogo {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

.bg_logo_fa {
  animation: pulseLogo 2.5s ease-in-out infinite;
}
