@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;500;700&display=swap');

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans TC', sans-serif;
  background: url('https://www.yzu.edu.tw/library/lib-Tour/image/background.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #333;
  max-width: 90vw;
  width: 400px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: transform, opacity;
}

.container.show {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #222;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

button {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(10px);
  min-width: 140px;
  text-align: center;
  will-change: transform, opacity;
}

button.show {
  opacity: 1;
  transform: translateY(0);
}

button:hover {
  background: rgba(128, 181, 209, 0.45);
  color: #111;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* 響應式設計 */
@media (max-width: 480px) {
  .container {
    padding: 2rem 1.5rem;
    width: 90vw;
  }

  h1 {
    font-size: 1.5rem;
  }

  button {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}
@media (max-width: 360px) {
  .container {
    padding: 1.5rem 1rem;
    width: 95vw;
  }

  h1 {
    font-size: 1.3rem;
  }

  button {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    min-width: 120px;
  }
}
