#hitokoto-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--theme-color) 0%, var(--bg-color) 100%);
  color: #1fbdcb; /* 默认白色文字 */
  position: relative;
  z-index: 9999;
}

/* 滚动提示箭头 */
#hitokoto-container::after {
  content: '↓';
  position: absolute;
  bottom: 20px;
  font-size: 2rem;
  color: rgba(232, 187, 202, 0.8);
  animation: bounce 2s infinite;
}

#hitokoto {
  font-size: 2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3); /* 增强文字可读性 */
}

#hitokoto-author {
  margin-top: 1.5rem;
  font-style: italic;
  opacity: 0.8;
  font-size: 1.2rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
  #hitokoto {
    font-size: 1.5rem;
    padding: 0 0.5rem;
  }
  
  #hitokoto-container::after {
    font-size: 1.5rem;
    bottom: 10px;
  }
}

/* 动画修正 */
.fade-in {
  animation: fadeIn 1s ease-out forwards; /* 添加 forwards 保持最终状态 */
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}