/* ========= INDEX PAGE STYLES ========= */

/* Hero Container */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Main Content */
.hero-content {
  text-align: center;
  z-index: 10;
}

/* LOGO 漸層 + 動畫 + Hover 流動效果 */
.hero-content h1 {
  font-size: 4rem;
  letter-spacing: 6px;
  background: linear-gradient(90deg, #A38AFF, #E2DCFF, #FFFFFF);
  background-size: 200%; /* 讓 hover 有空間流動 */
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 
    0 0 30px rgba(200,180,255,0.4),
    0 0 60px rgba(200,180,255,0.25);
  animation: titleGlow 2s ease-in-out forwards;
  opacity: 0;
  transition: background-position 0.8s ease-in-out,
              transform 0.3s ease-in-out,
              text-shadow 0.3s;
}

.hero-content h1:hover {
  background-position: right;
  transform: scale(1.03);
  text-shadow:
    0 0 40px rgba(225,210,255,0.5),
    0 0 70px rgba(225,210,255,0.3);
}

/* 出場淡入動畫 */
@keyframes titleGlow {
  0% { opacity: 0; filter: blur(8px); background-position: left; }
  50% { opacity: 0.6; filter: blur(3px); }
  100% { opacity: 1; filter: blur(0); background-position: center; }
}

/* 副標語 (延遲出現) */
.hero-content p {
  margin-top: 12px;
  font-size: 1.1rem;
  color: rgba(245,245,255,0.75);
  text-shadow: 0 0 6px rgba(200,180,255,0.15);
  animation: subtitleFade 2s ease-out 0.8s forwards;
  opacity: 0;
}

@keyframes subtitleFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 進入網站按鈕 */
.enter-btn {
  margin-top: 28px;
  padding: 11px 32px;
  background: rgba(200,180,255,0.15);
  border: 1px solid rgba(200,180,255,0.4);
  border-radius: 14px;
  color: #F5F5FF;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: 0.3s ease-in-out;
  opacity: 0;
  animation: buttonShow 2s ease-out 1.3s forwards;
}

@keyframes buttonShow {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.enter-btn:hover {
  background: rgba(200,180,255,0.35);
  box-shadow: 0 0 15px rgba(200,180,255,0.3);
  transform: translateY(-3px) scale(1.03);
}
