/* ==========================================================================
   動態效果
   ========================================================================== */

[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
[data-aos].aos-animate { opacity: 1; transform: translate(0,0) scale(1) rotate(0); }
[data-aos="fade-up"] { transform: translateY(60px); }
[data-aos="fade-down"] { transform: translateY(-60px); }
[data-aos="fade-left"] { transform: translateX(60px); }
[data-aos="fade-right"] { transform: translateX(-60px); }
[data-aos="zoom-in"] { transform: scale(0.85); }
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }
[data-aos-delay="600"] { transition-delay: 600ms; }

.hero-tagline { animation: fadeInUp 1s 0.2s both; }
.hero-title { animation: fadeInUp 1s 0.5s both; }
.hero-subtitle { animation: fadeInUp 1s 0.8s both; }
.hero-cta { animation: fadeInUp 1s 1.1s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  animation: float 2.5s ease-in-out infinite;
}
.scroll-indicator::before {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
}
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.shimmer-text {
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 25%, #fff 50%, var(--color-gold-light) 75%, var(--color-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
  will-change: transform;
}
.zoom-on-hover img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.zoom-on-hover:hover img { transform: scale(1.08); }
.text-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s, transform .55s;
}
.text-reveal.revealed .char {
  opacity: 1;
  transform: translateY(0);
}
.reveal-mask {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-mask.revealed { clip-path: inset(0 0 0 0); }

