/**
 * Westeamlua 新春版样式
 * 2026 龙年新春特别版
 */

/* ==================== 新春主题色彩变量 ==================== */
:root {
  --spring-red: #E63946;
  --spring-gold: #FFD700;
  --spring-orange: #FF6B35;
  --spring-dark-red: #C1121F;
  --spring-light-gold: #FFF4E6;
  --spring-gradient-red: linear-gradient(135deg, #E63946, #FF6B35);
  --spring-gradient-gold: linear-gradient(135deg, #FFD700, #FFA500);
  --spring-shadow-red: rgba(230, 57, 70, 0.3);
  --spring-shadow-gold: rgba(255, 215, 0, 0.3);

  /* 统一间距系统 */
  --spacing-xs: 6px;
  --spacing-sm: 10px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
}

/* ==================== 新春版 Westeam Lua 小部件 ==================== */
.home-westeam-lua.spring-festival {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 100px; /* 增加左右 padding 为春联留出更多空间 */
  min-height: 300px; /* 确保容器有足够高度显示春联 */
}

.home-westeam-lua.spring-festival .zpro-westeam-widget {
  position: relative;
  background:
    /* 祥云图案 */
    radial-gradient(ellipse 80px 40px at 15% 20%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(ellipse 100px 50px at 85% 25%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(ellipse 70px 35px at 25% 80%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(ellipse 90px 45px at 75% 75%, rgba(255, 255, 255, 0.38), transparent),
    /* 金色光芒 */
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.15), transparent 60%),
    /* 红色渐变底色（加深） */
    linear-gradient(135deg,
      rgba(230, 57, 70, 0.25),
      rgba(255, 215, 0, 0.15),
      rgba(255, 107, 53, 0.25),
      rgba(230, 57, 70, 0.2)
    ),
    /* 纯色底色层（防止透出） */
    linear-gradient(to bottom, #fff5f5, #fff0f0),
    /* 纹理底纹 */
    repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 215, 0, 0.05) 10px,
      rgba(255, 215, 0, 0.05) 20px
    );
  border: 2px solid rgba(230, 57, 70, 0.25);
  box-shadow:
    0 20px 60px rgba(230, 57, 70, 0.2),
    0 0 0 1px rgba(255, 215, 0, 0.15) inset,
    0 0 40px rgba(255, 215, 0, 0.1) inset;
  backdrop-filter: blur(12px);
  overflow: visible;
  margin-top: 80px;
  margin-bottom: 20px;
}

[data-bs-theme='dark'] .home-westeam-lua.spring-festival .zpro-westeam-widget {
  background:
    /* 祥云图案 - 深色模式 */
    radial-gradient(ellipse 80px 40px at 15% 20%, rgba(255, 215, 0, 0.08), transparent),
    radial-gradient(ellipse 100px 50px at 85% 25%, rgba(230, 57, 70, 0.08), transparent),
    radial-gradient(ellipse 70px 35px at 25% 80%, rgba(255, 215, 0, 0.06), transparent),
    radial-gradient(ellipse 90px 45px at 75% 75%, rgba(230, 57, 70, 0.07), transparent),
    /* 金色光芒 */
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.12), transparent 60%),
    /* 红色渐变底色 */
    linear-gradient(135deg,
      rgba(230, 57, 70, 0.18),
      rgba(255, 215, 0, 0.12),
      rgba(255, 107, 53, 0.15),
      rgba(230, 57, 70, 0.16)
    ),
    /* 纹理底纹 */
    repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 215, 0, 0.03) 10px,
      rgba(255, 215, 0, 0.03) 20px
    );
  border: 2px solid rgba(230, 57, 70, 0.35);
  box-shadow:
    0 20px 60px rgba(230, 57, 70, 0.3),
    0 0 0 1px rgba(255, 215, 0, 0.2) inset,
    0 0 50px rgba(255, 215, 0, 0.15) inset;
}

/* 顶部金色装饰条 */
.home-westeam-lua.spring-festival .zpro-westeam-widget::after {
  background: linear-gradient(90deg,
    rgba(230, 57, 70, 0.2),
    rgba(255, 215, 0, 0.9),
    rgba(255, 107, 53, 0.8),
    rgba(255, 215, 0, 0.9),
    rgba(230, 57, 70, 0.2)
  );
  height: 4px;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* 背景光晕效果 */
.home-westeam-lua.spring-festival .zpro-westeam-widget::before {
  background: radial-gradient(closest-side,
    rgba(255, 215, 0, 0.25),
    rgba(230, 57, 70, 0.15),
    transparent
  );
  animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

/* ==================== 新春装饰元素 ==================== */

/* 春联装饰 */
.spring-festival .zpro-westeam-widget {
  position: relative;
}

/* 左侧春联 - 优化透明度避免遮挡 */
.home-westeam-lua.spring-festival::before {
  content: '龙腾盛世千家乐';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 18px;
  font-weight: 900;
  color: var(--spring-gold);
  background: var(--spring-gradient-red);
  padding: 20px 12px;
  border-radius: 8px;
  box-shadow:
    0 8px 24px var(--spring-shadow-red),
    0 0 0 3px rgba(255, 215, 0, 0.4) inset;
  letter-spacing: 8px;
  z-index: 1;
  border: 2px solid rgba(255, 215, 0, 0.6);
  opacity: 0.85;
  will-change: transform;
}

/* 右侧春联 - 优化透明度避免遮挡 */
.home-westeam-lua.spring-festival::after {
  content: '凤舞新春万户春';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 18px;
  font-weight: 900;
  color: var(--spring-gold);
  background: var(--spring-gradient-red);
  padding: 20px 12px;
  border-radius: 8px;
  box-shadow:
    0 8px 24px var(--spring-shadow-red),
    0 0 0 3px rgba(255, 215, 0, 0.4) inset;
  letter-spacing: 8px;
  z-index: 1;
  border: 2px solid rgba(255, 215, 0, 0.6);
  opacity: 0.85;
  will-change: transform;
}

[data-bs-theme='dark'] .home-westeam-lua.spring-festival::before,
[data-bs-theme='dark'] .home-westeam-lua.spring-festival::after {
  color: var(--spring-gold);
  background: linear-gradient(135deg, rgba(193, 18, 31, 0.9), rgba(230, 57, 70, 0.9));
  box-shadow:
    0 8px 24px rgba(230, 57, 70, 0.4),
    0 0 0 3px rgba(255, 215, 0, 0.5) inset;
}

/* 灯笼装饰 - 修复遮挡问题 */
.spring-festival .zpro-westeam-widget::before,
.spring-festival .zpro-westeam-widget::after {
  content: '🏮';
  position: absolute;
  top: -40px;
  font-size: 32px;
  animation: swing 3s ease-in-out infinite;
  transform-origin: top center;
  filter: drop-shadow(0 4px 8px rgba(230, 57, 70, 0.3));
  z-index: 10;
}

.spring-festival .zpro-westeam-widget::before {
  left: -20px;
}

.spring-festival .zpro-westeam-widget::after {
  right: -20px;
  animation-delay: 0.5s;
}

@keyframes swing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* 烟花效果容器 */
.spring-fireworks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.firework {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: firework-burst 1.5s ease-out forwards;
}

@keyframes firework-burst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* 飘落的金币/红包效果 */
.spring-coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.coin {
  position: absolute;
  font-size: 20px;
  animation: fall 8s linear infinite;
  opacity: 0.7;
  will-change: transform, opacity;
}

@keyframes fall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(calc(100vh + 50px)) rotate(360deg);
    opacity: 0;
  }
}

/* 移动端性能优化 - 减少动画 */
@media (max-width: 768px) {
  .spring-coins,
  .spring-fireworks {
    display: none;
  }

  .spring-festival .zpro-westeam-widget::before,
  .spring-festival .zpro-westeam-widget::after {
    animation-duration: 4s;
  }
}

/* 用户偏好：减少动画 */
@media (prefers-reduced-motion: reduce) {
  .spring-coins,
  .spring-fireworks,
  .spring-clouds {
    display: none;
  }

  .spring-festival .zpro-westeam-widget::before,
  .spring-festival .zpro-westeam-widget::after,
  .spring-lantern {
    animation: none;
  }
}

/* ==================== 标题样式 ==================== */
.spring-festival .zpro-westeam-widget__title {
  color: var(--spring-dark-red);
  text-shadow: 0 2px 4px rgba(230, 57, 70, 0.2);
  position: relative;
}

[data-bs-theme='dark'] .spring-festival .zpro-westeam-widget__title {
  color: var(--spring-gold);
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.spring-festival .zpro-westeam-widget__title::before {
  content: '🧧';
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.2),
    rgba(255, 215, 0, 0.2)
  );
  border: 2px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* 新春祝福语 */
.spring-festival .zpro-westeam-widget__title::after {
  content: '新春快乐';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--spring-gold);
  background: var(--spring-gradient-red);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--spring-shadow-red);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* ==================== 描述文字 ==================== */
.spring-festival .zpro-westeam-widget__desc {
  color: rgba(193, 18, 31, 0.8);
  font-weight: 500;
}

[data-bs-theme='dark'] .spring-festival .zpro-westeam-widget__desc {
  color: rgba(255, 215, 0, 0.85);
}

/* ==================== 输入框样式 ==================== */
.spring-festival .zpro-westeam-widget__input {
  border: 2px solid rgba(230, 57, 70, 0.3);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 2px 4px rgba(230, 57, 70, 0.08),
    0 8px 24px rgba(230, 57, 70, 0.12);
  transition: all 0.3s ease;
}

.spring-festival .zpro-westeam-widget__input:focus {
  border-color: var(--spring-gold);
  box-shadow:
    0 0 0 4px rgba(255, 215, 0, 0.2),
    0 12px 32px rgba(230, 57, 70, 0.2);
  transform: translateY(-1px);
}

[data-bs-theme='dark'] .spring-festival .zpro-westeam-widget__input {
  border: 2px solid rgba(230, 57, 70, 0.4);
  background: rgba(20, 20, 22, 0.6);
}

[data-bs-theme='dark'] .spring-festival .zpro-westeam-widget__input:focus {
  border-color: var(--spring-gold);
  box-shadow:
    0 0 0 4px rgba(255, 215, 0, 0.25),
    0 12px 32px rgba(230, 57, 70, 0.3);
}

/* ==================== 按钮样式 ==================== */
.spring-festival .zpro-westeam-widget__btn {
  background: var(--spring-gradient-red);
  box-shadow:
    0 12px 28px var(--spring-shadow-red),
    0 0 0 2px rgba(255, 215, 0, 0.3) inset;
  position: relative;
  overflow: hidden;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.spring-festival .zpro-westeam-widget__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    transparent,
    rgba(255, 215, 0, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.spring-festival .zpro-westeam-widget__btn:hover::before {
  transform: translateX(100%);
}

.spring-festival .zpro-westeam-widget__btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 16px 36px var(--spring-shadow-red),
    0 0 0 3px rgba(255, 215, 0, 0.4) inset;
}

.spring-festival .zpro-westeam-widget__btn:active {
  transform: translateY(0) scale(0.98);
}

/* 按钮文字前的装饰 */
.spring-festival .zpro-westeam-widget__btn::after {
  content: '✨';
  margin-left: 6px;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* ==================== 链接样式 ==================== */
.spring-festival .zpro-westeam-widget__open {
  border: 2px solid rgba(230, 57, 70, 0.3);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 244, 230, 0.8)
  );
  color: var(--spring-dark-red);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.15);
  transition: all 0.3s ease;
}

.spring-festival .zpro-westeam-widget__open::after {
  content: '🎊';
  margin-left: 4px;
}

.spring-festival .zpro-westeam-widget__open:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.25);
  border-color: var(--spring-gold);
}

[data-bs-theme='dark'] .spring-festival .zpro-westeam-widget__open {
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.15),
    rgba(255, 215, 0, 0.1)
  );
  color: var(--spring-gold);
}

/* ==================== 通知样式 ==================== */
.spring-festival .zpro-westeam-widget__notice {
  border: 2px dashed rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg,
    rgba(255, 244, 230, 0.9),
    rgba(255, 255, 255, 0.9)
  );
  color: var(--spring-dark-red);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

[data-bs-theme='dark'] .spring-festival .zpro-westeam-widget__notice {
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.12),
    rgba(255, 215, 0, 0.08)
  );
  color: var(--spring-gold);
}

/* ==================== 登录按钮 ==================== */
.spring-festival .zpro-westeam-widget__login {
  background: var(--spring-gradient-gold);
  color: var(--spring-dark-red);
  font-weight: 900;
  box-shadow: 0 8px 20px var(--spring-shadow-gold);
  border: 2px solid rgba(230, 57, 70, 0.3);
}

.spring-festival .zpro-westeam-widget__login:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 12px 28px var(--spring-shadow-gold);
}

/* ==================== 祥云装饰 ==================== */
.spring-clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.cloud {
  position: absolute;
  font-size: 24px;
  opacity: 0.3;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(calc(100% + 100px));
  }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
  .spring-festival .zpro-westeam-widget::before,
  .spring-festival .zpro-westeam-widget::after {
    font-size: 24px;
    left: 10px;
    right: 10px;
    top: -20px;
  }

  .spring-festival .zpro-westeam-widget__title::after {
    font-size: 10px;
    padding: 3px 10px;
    top: -20px;
  }

  .coin {
    font-size: 16px;
  }
}

/* ==================== 工具箱新春样式 ==================== */
.spring-festival .zpro-home-toolbox__summary {
  border: 2px solid rgba(230, 57, 70, 0.2);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 244, 230, 0.9)
  );
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.15);
}

[data-bs-theme='dark'] .spring-festival .zpro-home-toolbox__summary {
  border: 2px solid rgba(230, 57, 70, 0.3);
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.1),
    rgba(255, 215, 0, 0.08)
  );
}

.spring-festival .zpro-home-toolbox__summary:hover {
  border-color: var(--spring-gold);
  box-shadow: 0 16px 36px rgba(230, 57, 70, 0.25);
}

.spring-festival .zpro-home-toolbox__body {
  border: 2px solid rgba(230, 57, 70, 0.15);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 244, 230, 0.85)
  );
  box-shadow: 0 16px 44px rgba(230, 57, 70, 0.15);
}

[data-bs-theme='dark'] .spring-festival .zpro-home-toolbox__body {
  border: 2px solid rgba(230, 57, 70, 0.2);
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.08),
    rgba(255, 215, 0, 0.06)
  );
}

/* ==================== 页面背景装饰 ==================== */
body.spring-festival-theme {
  position: relative;
}

body.spring-festival-theme::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.03), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.03), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ==================== 新增功能模块样式 ==================== */

/* 春节优惠提示 */
.zpro-westeam-widget__spring-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--spring-gradient-red);
  box-shadow:
    0 8px 24px var(--spring-shadow-red),
    0 0 0 1px rgba(255, 215, 0, 0.3) inset;
  animation: pulse-glow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.zpro-westeam-widget__spring-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  animation: shine 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 8px 24px var(--spring-shadow-red),
      0 0 0 1px rgba(255, 215, 0, 0.3) inset;
  }
  50% {
    box-shadow:
      0 12px 32px var(--spring-shadow-red),
      0 0 20px var(--spring-shadow-gold),
      0 0 0 2px rgba(255, 215, 0, 0.5) inset;
  }
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.zpro-westeam-widget__spring-promo-icon {
  font-size: 26px;
  animation: rotate-coin 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes rotate-coin {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
}

.zpro-westeam-widget__spring-promo-text {
  flex: 1;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.zpro-westeam-widget__spring-promo-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--spring-gradient-gold);
  color: var(--spring-dark-red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.zpro-westeam-widget__spring-promo-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 热门游戏区域 */
.zpro-westeam-widget__hot-games {
  margin: 20px 0;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(255, 244, 230, 0.8),
    rgba(255, 255, 255, 0.6)
  );
  border: 2px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.08);
}

[data-bs-theme='dark'] .zpro-westeam-widget__hot-games {
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.12),
    rgba(255, 215, 0, 0.08)
  );
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zpro-westeam-widget__hot-games-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--spring-dark-red);
  margin-bottom: 12px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(230, 57, 70, 0.1);
}

[data-bs-theme='dark'] .zpro-westeam-widget__hot-games-title {
  color: var(--spring-gold);
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

.zpro-westeam-widget__hot-games-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.zpro-westeam-widget__hot-game {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(230, 57, 70, 0.15);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.zpro-westeam-widget__hot-game::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255, 215, 0, 0.1),
    rgba(230, 57, 70, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zpro-westeam-widget__hot-game:hover::before {
  opacity: 1;
}

[data-bs-theme='dark'] .zpro-westeam-widget__hot-game {
  background: rgba(30, 30, 32, 0.7);
  border: 2px solid rgba(230, 57, 70, 0.25);
}

.zpro-westeam-widget__hot-game:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.25);
  border-color: var(--spring-gold);
}

.zpro-westeam-widget__hot-game-icon {
  font-size: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
  line-height: 1;
}

.zpro-westeam-widget__hot-game:hover .zpro-westeam-widget__hot-game-icon {
  transform: scale(1.2) rotate(5deg);
}

.zpro-westeam-widget__hot-game-name {
  font-size: 12px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.85);
  position: relative;
  z-index: 1;
  line-height: 1;
}

[data-bs-theme='dark'] .zpro-westeam-widget__hot-game-name {
  color: rgba(255, 255, 255, 0.95);
}

/* 使用教程区域 */
.zpro-westeam-widget__tutorial {
  margin: 16px 0;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.8),
    rgba(248, 250, 252, 0.6)
  );
  border: 2px dashed rgba(230, 57, 70, 0.35);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.06);
}

[data-bs-theme='dark'] .zpro-westeam-widget__tutorial {
  background: linear-gradient(135deg,
    rgba(30, 30, 32, 0.6),
    rgba(40, 40, 42, 0.4)
  );
  border: 2px dashed rgba(230, 57, 70, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zpro-westeam-widget__tutorial-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--spring-dark-red);
  margin-bottom: 14px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(230, 57, 70, 0.1);
}

[data-bs-theme='dark'] .zpro-westeam-widget__tutorial-title {
  color: var(--spring-gold);
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

.zpro-westeam-widget__tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zpro-westeam-widget__tutorial-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(230, 57, 70, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-bs-theme='dark'] .zpro-westeam-widget__tutorial-step {
  background: rgba(30, 30, 32, 0.5);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.zpro-westeam-widget__tutorial-step:hover {
  background: rgba(255, 244, 230, 0.9);
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15);
  border-color: var(--spring-gold);
}

[data-bs-theme='dark'] .zpro-westeam-widget__tutorial-step:hover {
  background: rgba(230, 57, 70, 0.15);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.1);
}

.zpro-westeam-widget__tutorial-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--spring-gradient-red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.zpro-westeam-widget__tutorial-step-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.5;
}

[data-bs-theme='dark'] .zpro-westeam-widget__tutorial-step-text {
  color: rgba(255, 255, 255, 0.85);
}

/* 会员特权区域 */
.zpro-westeam-widget__vip-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  margin: 16px 0 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
  border: 2px solid rgba(255, 193, 7, 0.4);
  position: relative;
  overflow: hidden;
}

[data-bs-theme='dark'] .zpro-westeam-widget__vip-benefits {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 152, 0, 0.08));
  border: 2px solid rgba(255, 193, 7, 0.3);
}

.zpro-westeam-widget__vip-benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: shine 4s ease-in-out infinite;
}

.zpro-westeam-widget__vip-icon {
  font-size: 20px;
  animation: float-crown 2s ease-in-out infinite;
}

@keyframes float-crown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.zpro-westeam-widget__vip-text {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.8);
}

[data-bs-theme='dark'] .zpro-westeam-widget__vip-text {
  color: rgba(255, 215, 0, 0.9);
}

.zpro-westeam-widget__vip-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: rgba(0, 0, 0, 0.85);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
  transition: all 0.3s ease;
}

.zpro-westeam-widget__vip-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 768px) {
  .home-westeam-lua.spring-festival {
    padding: 0 60px;
  }

  .zpro-westeam-widget__spring-promo {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }

  .zpro-westeam-widget__spring-promo-text {
    font-size: 13px;
    text-align: center;
  }

  .zpro-westeam-widget__hot-games-list {
    grid-template-columns: 1fr;
  }

  .zpro-westeam-widget__tutorial-step {
    padding: 8px;
  }

  .zpro-westeam-widget__tutorial-step-text {
    font-size: 11px;
  }

  .zpro-westeam-widget__vip-benefits {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }

  .zpro-westeam-widget__vip-text {
    font-size: 12px;
    text-align: center;
  }
}

/* ==================== 工具箱春节样式 ==================== */

/* 工具箱容器横排布局 */
.spring-festival-theme .zpro-home-toolbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.spring-festival-theme .zpro-home-toolbox {
  flex: 0 1 auto;
  margin: 0;
}

/* 工具箱按钮春节样式 */
.spring-festival-theme .zpro-home-toolbox__summary {
  border: 2px solid rgba(230, 57, 70, 0.2);
  background: linear-gradient(135deg,
    rgba(255, 244, 230, 0.9),
    rgba(255, 255, 255, 0.85)
  );
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.12);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-bs-theme='dark'] .spring-festival-theme .zpro-home-toolbox__summary {
  border: 2px solid rgba(230, 57, 70, 0.3);
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.15),
    rgba(255, 215, 0, 0.1)
  );
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.spring-festival-theme .zpro-home-toolbox__summary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.2);
  border-color: var(--spring-gold);
}

/* 工具箱图标春节装饰 */
.spring-festival-theme .zpro-home-toolbox--requests > .zpro-home-toolbox__summary::before {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(255, 107, 53, 0.15));
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.2);
}

.spring-festival-theme .zpro-home-toolbox--dencrypt > .zpro-home-toolbox__summary::before {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(255, 107, 53, 0.15));
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.2);
}

.spring-festival-theme .zpro-home-toolbox--ultra > .zpro-home-toolbox__summary::before {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.2));
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.spring-festival-theme .zpro-home-toolbox--supreme > .zpro-home-toolbox__summary::before {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.2));
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* 工具箱展开内容春节样式 */
.spring-festival-theme .zpro-home-toolbox__body {
  border: 2px solid rgba(230, 57, 70, 0.2);
  background: linear-gradient(135deg,
    rgba(255, 244, 230, 0.85),
    rgba(255, 255, 255, 0.75)
  );
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.15);
}

[data-bs-theme='dark'] .spring-festival-theme .zpro-home-toolbox__body {
  border: 2px solid rgba(230, 57, 70, 0.3);
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.12),
    rgba(255, 215, 0, 0.08)
  );
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* 响应式：移动端恢复竖排 */
@media (max-width: 768px) {
  .spring-festival-theme .zpro-home-toolbox-container {
    flex-direction: column;
    align-items: center;
  }

  .spring-festival-theme .zpro-home-toolbox {
    width: 100%;
    max-width: 400px;
  }

  .spring-festival-theme .zpro-home-toolbox__summary {
    width: 100%;
    justify-content: space-between;
  }
}
