body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8e8a0;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-y: hidden;
}

.container {
  text-align: center;
  padding: 0.5rem 2rem;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 85vh;
}

.logo-container {
  margin-bottom: 1rem;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
}

.logo {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(-20px);
  animation: logoAppear 1.2s ease-out forwards;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5rem;
  min-height: 3rem;
  color: #c25e00;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  min-height: 2rem;
}

/* 主要標語與次要標語 */
.tagline-container {
  margin: 1.5rem auto 1.5rem;
  position: relative;
  max-width: 600px;
  opacity: 0;
  transform: translateY(10px);
  animation: taglineAppear 1.5s 1.8s ease-out forwards;
}

.main-tagline {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #c25e00;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 0 1.5rem;
  letter-spacing: 1px;
}

.secondary-tagline {
  font-family: 'Noto Serif TC', serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #926c47;
  margin-top: 0.5rem;
  opacity: 0.9;
  font-style: italic;
  padding: 0 1.5rem;
  letter-spacing: 0.5px;
}

.tagline-container::before,
.tagline-container::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 30%;
  background: linear-gradient(to right, transparent, rgba(194, 94, 0, 0.4), transparent);
  left: 35%;
}

.tagline-container::before {
  top: -15px;
}

.tagline-container::after {
  bottom: -15px;
}

@keyframes taglineAppear {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 按鈕容器樣式 */
.button-container {
  margin: 10px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 罷免理由按鈕樣式 */
.reasons-button {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 25px;
  background-color: #FF5733; /* 初始顏色，會被 JS 動態改變 */
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
  transform-origin: center;
}

.reasons-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.reasons-button:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 按鈕下方的裝飾點容器 */
.button-dots-container {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

/* 按鈕下方的裝飾點 */
.button-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
  margin: 0 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: dotPulse 2s infinite alternate;
}

.button-dot:nth-child(1) {
  animation-delay: 0s;
}

.button-dot:nth-child(2) {
  animation-delay: 0.5s;
}

.button-dot:nth-child(3) {
  animation-delay: 1s;
}

.has-button {
  animation: none; /* 移除原有的 linkGlow 動畫 */
}

/* 裝飾點脈動動畫 */
@keyframes dotPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* 理由連結樣式（保留但不使用，已被 reasons-button 取代） */
.reasons-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #39b54a, #8dc63f);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(57, 181, 74, 0.3);
  letter-spacing: 0.5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.divider-container {
  position: relative;
  width: 100vw;
  height: 100px;
  margin: 0.5rem 0 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(128, 217, 242, 0), rgba(11, 186, 181, 0.2));
}

#lottie-divider {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.ocean-waves {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 55px;
  background: linear-gradient(to bottom, rgba(128, 217, 242, 0.4), rgba(11, 186, 181, 0.8));
  border-radius: 100% 100% 0 0;
  opacity: 0.9;
  z-index: -1;
  box-shadow: 0 -5px 20px rgba(128, 217, 242, 0.3);
  backdrop-filter: blur(5px);
}

/* Add shine effect to ocean waves */
.ocean-waves::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 15px;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  z-index: 1;
}

.content {
  max-width: 600px;
  margin: 2rem auto;
  line-height: 1.6;
}

button {
  background-color: white;
  color: #f8e8a0;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #f8f8f8;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

/* 自訂文字動畫效果 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* 裝飾元素 */
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
  margin: 0 5px;
}

.dots-container {
  margin: 10px 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 0.9rem;
  }
  
  .container {
    padding: 0.5rem;
    height: 90vh;
  }
  
  .reasons-button {
    font-size: 1rem;
    padding: 8px 15px;
  }
  
  .button-dot {
    width: 6px;
    height: 6px;
  }
  
  .divider-container {
    height: 80px;
  }
  
  .ocean-waves {
    height: 35px;
  }
  
  .ocean-waves::before {
    height: 8px;
  }

  .mountains-container {
    height: 30vh;
  }

  .main-tagline {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .secondary-tagline {
    font-size: 0.9rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
    min-height: 2.5rem;
  }
  
  .divider-container {
    height: 70px;
  }
  
  .ocean-waves {
    height: 30px;
  }
  
  .ocean-waves::before {
    height: 6px;
    left: 5%;
    width: 90%;
  }
  
  .reasons-button {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 10px auto 5px;
    display: block;
    width: 80%;
    text-align: center;
  }
  
  .button-dots-container {
    margin: 10px 0;
  }
  
  .button-dot {
    width: 6px;
    height: 6px;
    margin: 0 6px;
  }

  .mountains-container {
    height: 25vh;
  }
  
  .container {
    height: 92vh;
  }

  .main-tagline {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .secondary-tagline {
    font-size: 0.8rem;
  }

  .logo-container {
    max-width: 200px;
  }
}

.wave-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.wave-svg {
  width: 100%;
  height: auto;
}

/* Footer Styles */
.footer {
  width: 100%;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  margin-top: 0.5rem;
  background: transparent;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  color: #764f22;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-color: transparent;
  border: none;
}

.footer-link:hover {
  background-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.footer-icon {
  width: 28px;
  height: 28px;
  fill: #c25e00;
  transition: fill 0.3s ease;
}

.footer-link:hover .footer-icon {
  fill: #e66f11;
}

/* Separator line */
.separator {
  width: 80%;
  max-width: 600px;
  height: 1px;
  margin: 0.5rem auto;
  background: linear-gradient(to right, transparent, rgba(194, 94, 0, 0.4), transparent);
  position: relative;
}

.separator::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-50%);
}

.mountains-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  z-index: -1;
  overflow: hidden;
} 