
/*----------------------------------*\ 
  # css        
\*----------------------------------*/
body {
margin: 0;
background: var(--main);
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
text-align: center;
/* ➕ 新增以下內容： */
background-image: url('../images/bg.webp'); 
background-size: cover;
background-position: center;
background-attachment: fixed;
/* 加一層半透明白色遮罩，做出圖淡、黃底可見 */
background-blend-mode: overlay;
background-color: rgba(231, 174, 0, 0.85); /* 與主色一致，但加透明度 */
}

/*----------------------------------*\ 
  # brand animation        
\*----------------------------------*/
.brand {
  width: 4.05rem; 
  animation: flyMotion 4s ease-in-out infinite;
  display: block;
  margin: 0 auto; 
}
@keyframes flyMotion {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) rotate(-2deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  75% {
    transform: translateY(5px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/*----------------------------------*\ 
  # container        
\*----------------------------------*/
.container {
  width: min(90%, 1024px);
  padding: 1rem;
}

/* ————— 即將開幕 ————— */
#opening {
  font-size: clamp(1.25rem, 4vw + 0.5rem, 2rem); /* 中等字體 */
  font-weight: 600;
  margin: 0.5rem 0 1.5rem;
}
#opening .char {
  display: inline-block;
  animation: jump 1s ease-in-out infinite;
  animation-delay: calc(0.05s * var(--i));
}
@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20%);
  }
}

/* ————— 主標 ————— */
h1 {
  font-size: clamp(2.5rem, 8vw, 4rem); /* 粗大字體 */
  font-weight: 800;
  margin: 0.3rem 0;
  opacity: 0;
  animation: bounceIn 0.8s cubic-bezier(0.68,-0.55,0.265,1.55) forwards;
}
@keyframes bounceIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  70% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ————— 副標 (LE PILOT) ————— */
h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  margin: 0.3rem 0 1.2rem;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 0.9s; /* 在主標蹦出後淡入 */
  letter-spacing: 0.05em;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ————— 口號與說明 ————— */
.tagline {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.desc {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin: 0.2rem 0;
}

/* ————— Footer ————— */
footer {
  margin-top: 3rem;
  font-size: clamp(0.65rem, 2vw, 0.8rem); /* 細微字 */
  line-height: 1.4;
}
footer a {
  color: #000;
  text-decoration: underline;
}

