/* 微信二维码模态框样式 */
.wechat-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.wechat-modal.active {
  display: flex;
}

.wechat-modal-content {
  position: relative;
  background-color: rgba(15, 15, 30, 0.9);
  padding: 30px;
  border-radius: 10px;
  max-width: 350px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
  border: 1px solid rgba(123, 47, 249, 0.3);
  transform: scale(0.9);
  animation: scaleIn 0.3s ease forwards;
}

.wechat-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-normal);
}

.wechat-modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.wechat-modal-title {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  text-shadow: var(--pink-glow);
}

.wechat-modal img {
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(0, 229, 255, 0.3);
  transition: var(--transition-normal);
}

.wechat-modal-content::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 15px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
  animation: borderGlow 3s infinite alternate;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}

@keyframes borderGlow {
  0% { opacity: 0.3; filter: blur(10px); }
  100% { opacity: 0.7; filter: blur(15px); }
}