/*
 * 文件: css/easter-egg.css (Easter egg styles)
 * 说明: 太极图彩蛋弹窗样式
 * 作者: 林子云
 * 最后修改: 2025-11-24
 */

.easter-egg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.easter-egg-modal.active {
  opacity: 1;
  visibility: visible;
}

.easter-egg-content {
  background: linear-gradient(135deg, #9b59b6, #483d8b);
  border-radius: 15px;
  padding: 25px;
  position: relative;
  max-width: 90%;
  width: 350px;
  text-align: center;
  border: 2px solid #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.easter-egg-modal.active .easter-egg-content {
  transform: scale(1);
}

.easter-egg-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #f3ecd8;
  line-height: 1;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.easter-egg-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  color: #ffffff;
}

.easter-egg-title {
  color: #f3ecd8;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.easter-egg-animation {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.taiji-svg.special {
  width: 100px;
  height: 100px;
  animation: rotateSpecial 2s linear infinite, glowSpecial 1.5s ease-in-out infinite alternate;
}

@keyframes rotateSpecial {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glowSpecial {
  0% { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); }
  100% { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)); }
}
