/* style.css */
body {
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  background-color: #b5ebf6;
  color: #3C3C3C;
  line-height: 1.8;
}
header {
  background-color: #80bbca;
  padding: 20px;
  color: white;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}
nav {
  background-color: #80bbca;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #556B2F;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.card {
  background-color: #FFFFFF;
  border: 2px solid #e7e3c5;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  font-family: 'Cormorant Garamond', serif;
}
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
  }
  .character-card {
    background: #ffffff20;
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
.character-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
.character-card:hover {
  transform: scale(1.03);
}
footer {
  background-color: #80bbca;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 1rem;
  font-family: 'Cormorant Garamond', serif;
}
.home-link {
  display: block;
  margin-bottom: 10px;
  color:#80bbca;
  font-weight: bold;
}
.director-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
  }
  
  .character-img {
    max-width: 300px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  .bio-info {
    flex: 1;
    min-width: 250px;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .bio-info ul {
    padding-left: 20px;
    margin-top: 0;
  }
  /* 卡片樣式 */
.card {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 100, 200, 0.2);
    margin: 20px auto;
    max-width: 1000px;
  }
  
  /* 左右排版 */
  .director-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
  }
  
  .bio-info {
    flex: 1;
    min-width: 250px;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .bio-info ul {
    padding-left: 20px;
    margin-top: 0;
  }
  
  /* 淡入動畫效果 */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* 字型設定 */
body {
  font-family: 'Cormorant Garamond', serif;
    background-color: #f2f6fa;
    color: #1a1a1a;
    line-height: 1.8;
  }
  
  /* 標題樣式 */
  #world h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color:  #556B2F;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* 卡片樣式 */
  .card {
    max-width: 900px;
    margin: 2rem auto;
    background: #ffffffcc;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
    transition: transform 0.3s ease;
  }
  .card:hover {
    transform: translateY(-5px);
  }
  
  /* 內文樣式 */
  .world-text p {
    font-size: 1rem;
    text-align: justify;
    color: #333;
    letter-spacing: 0.03em;
    text-indent: 2em;
  }
  .card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
  }
  
  .card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  blockquote {
    font-style: italic;
    margin: 1.5rem auto;
    padding: 1rem;
    border-left: 4px solid #556B2F;
    background-color: #ffffffcc;
    color:  #556B2F;
  }

  .world-image {
    display: block;
    margin: 2rem auto;       /* 讓圖片上下有間距並水平置中 */
    max-width: 90%;          /* 不超過容器寬度 */
    height: auto;
    border-radius: 1rem;     /* 圓角更有設計感 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* 淺陰影提升質感 */
  }
  #quotes h2 {
    text-align: center;
    color: #556B2F;
    margin-bottom: 1.5rem;
  }
  .jp-quote {
    color: #333;
  }
  
  .zh-quote {
    color:  #30889c;
    font-style: italic;
  }
  
  .quotes-list {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 2;
    padding-left: 2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
  }
  .year-label {
    font-size: 2em;
    font-weight: bold;
    margin-top: 1em;
    color: #30889c;
  }  
  #playButton {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    padding: 10px 20px;
    background-color: #c94f4f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  #playButton:hover {
    background-color: #a53b3b;
  }
  
  