/* HividPlayer 官网样式 - 汉风古典美学 */

/* 基础设置 */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; width: 100%; }

body {
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  font-size: 17px;
  line-height: 1.8;
  color: #1a1816;
  background-color: #f8f6f3;
  width: 100%;
  padding-top: 72px;
}

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(248, 246, 243, 0.95);
  backdrop-filter: saturate(200%) blur(24px);
  border-bottom: 1px solid #e0dcd5;
  z-index: 1000;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #1a1816;
  position: relative;
}

.logo::before {
  content: '「';
  color: #c41e3a;
  opacity: 0.6;
}

.logo::after {
  content: '」';
  color: #c41e3a;
  opacity: 0.6;
}

.nav {
  display: flex;
  gap: 48px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: #5a5751;
  letter-spacing: 0.08em;
  position: relative;
  transition: color 0.3s;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c41e3a, #e53935);
  transition: width 0.5s;
}

.nav a:hover {
  color: #c41e3a;
}

.nav a:hover::after {
  width: 100%;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
p { margin-bottom: 0; }
img { max-width: 100%; display: block; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero {
  width: 100%;
  min-height: 80vh;
  padding-top: 0;
  padding-bottom: 72px;
  background-color: #f8f6f3;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-box { width: 100%; }

.hero-box h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
  margin-bottom: 48px;
  color: #1a1816;
}

.hero-box h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c41e3a, #e53935);
  margin: 32px auto 0;
  border-radius: 2px;
}

.hero-desc {
  font-size: 22px;
  color: #5a5751;
  line-height: 2;
  margin-bottom: 72px;
  padding-left: 32px;
  border-left: 2px solid #c41e3a;
  opacity: 0.7;
  display: inline-block;
}

.hero-btns {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before { left: -100%; }

.btn {
  overflow: hidden;
}

.main-btn {
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  color: #fdfcfb;
  box-shadow: 0 8px 32px rgba(58, 95, 82, 0.15);
}

.main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 56px rgba(58, 95, 82, 0.2);
}

.sub-btn {
  background: transparent;
  color: #1a1816;
  border: 2px solid #e0dcd5;
}

.sub-btn:hover {
  border-color: #c41e3a;
  color: #c41e3a;
  transform: translateY(-3px);
}

/* 通用区块样式 */
.section {
  width: 100%;
  max-width: 100vw;
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.section-head {
  width: 100%;
  text-align: center;
  margin-bottom: 72px;
}

.section-head::before {
  content: '——';
  display: block;
  font-size: 24px;
  color: #c41e3a;
  opacity: 0.3;
  margin-bottom: 20px;
  letter-spacing: 0.3em;
}

.section-head::after {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c41e3a, #e53935, #c41e3a, transparent);
  margin: 32px auto 0;
  border-radius: 1px;
}

.section-head h2 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.section-head p {
  font-size: 17px;
  color: #5a5751;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  gap: 32px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }

/* 卡片样式 */
.card {
  background: #fdfcfb;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #f0ece5;
  box-shadow: 0 1px 3px rgba(26, 24, 22, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 春节卡片装饰角 */
.card-spring::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, transparent 50%, #c41e3a 50%);
  border-radius: 0 0 100% 0;
}

.card-spring::after {
  content: '春';
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  opacity: 0.8;
}

/* 下载区卡片春节样式 */
.download .card-spring::before {
  background: linear-gradient(135deg, transparent 50%, #e53935 50%);
}

.download .card-spring::after {
  content: '福';
  color: #c41e3a;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c41e3a, #e53935);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 80px rgba(58, 95, 82, 0.2);
  border-color: #c41e3a;
}

.card:hover::before { transform: scaleX(1); }

.icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58, 95, 82, 0.08), rgba(58, 95, 82, 0.02));
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .icon-box {
  background: #c41e3a;
}

.card:hover .icon-box svg { color: #fdfcfb; }

.icon-box svg { color: #c41e3a; transition: color 0.5s; }

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}

.card p {
  font-size: 15px;
  color: #5a5751;
  line-height: 1.5;
}

/* 多源聚合区 - 渐变过渡 */
.sources {
  background: linear-gradient(180deg, #f8f6f3 0%, #e8e4dd 50%, #e8e4dd 100%);
}

.sources::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8d4cb, transparent);
}

/* 强大功能区 - 渐变过渡 */
.features {
  background: linear-gradient(180deg, #e8e4dd 0%, #f8f6f3 50%, #f8f6f3 100%);
}

.features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8d4cb, transparent);
}

/* 下载区 - 渐变过渡 */
.download {
  background: linear-gradient(180deg, #f8f6f3 0%, #e8e4dd 50%, #e8e4dd 100%);
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8d4cb, transparent);
}

/* 常见问题区 - 渐变过渡 */
.faq {
  background: linear-gradient(180deg, #e8e4dd 0%, #f8f6f3 50%, #f8f6f3 100%);
}

/* 需要帮助区 - 渐变过渡 */
.help {
  background: linear-gradient(180deg, #f8f6f3 0%, #e8e4dd 50%, #e8e4dd 100%);
  padding-bottom: 120px;
}

.help::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8d4cb, transparent);
}

/* 按钮容器 - 带边距 */
.btn-container {
  max-width: 1400px;
  margin: 48px auto 0;
  padding: 0 24px;
  text-align: center;
}

.download-link {
  display: inline-flex;
  padding: 18px 64px;
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  color: #fdfcfb;
  border-radius: 9999px;
  box-shadow: 0 16px 56px rgba(58, 95, 82, 0.2);
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.download-link:hover::before { left: -100%; }

.download-link {
  overflow: hidden;
}

.download-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 100px rgba(58, 95, 82, 0.25);
}

/* 常见问题区 - 浅米色 */
.faq {
  background-color: #f8f6f3;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-box {
  background: #fdfcfb;
  border-radius: 16px;
  border: 1px solid #f0ece5;
  box-shadow: 0 1px 3px rgba(26, 24, 22, 0.06);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.faq-box:hover {
  box-shadow: 0 8px 32px rgba(26, 24, 22, 0.1);
  border-color: #c41e3a;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.5;
  text-align: center;
}

.faq-q::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid #c41e3a;
  border-bottom: 2px solid #c41e3a;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-box.expanded .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  font-size: 15px;
  color: #5a5751;
  line-height: 1.9;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  padding: 0 16px;
}

.faq-box.expanded .faq-a {
  max-height: 600px;
  padding-bottom: 24px;
  opacity: 1;
}

/* 需要帮助区 - 稍深米色 */
.help {
  background-color: #edeae4;
  padding-bottom: 120px;
}

.help::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0dcd5, transparent);
}

.help-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fdfcfb;
  padding: 48px 0;
  border-radius: 16px;
  border: 1px solid #f0ece5;
  box-shadow: 0 1px 3px rgba(26, 24, 22, 0.06);
  position: relative;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 600px;
  margin: 0 auto;
}

.help-link::after {
  content: '→';
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  color: #c41e3a;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(58, 95, 82, 0.15);
  border-color: #c41e3a;
}

.help-link:hover::after {
  opacity: 1;
  right: 32px;
}

.help-link span:first-child {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.help-desc {
  font-size: 15px;
  color: #5a5751;
}

/* 页脚 */
.foot {
  background: linear-gradient(180deg, #e8e4dd 0%, #fdfcfb 30%, #fdfcfb 100%);
  padding: 48px 0;
  padding-bottom: 24px;
  border-top: 1px solid #f0ece5;
}

.foot-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.foot-left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.foot-logo {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #c41e3a;
}

.foot-copy {
  font-size: 13px;
  color: #5a5751;
}

.foot-right {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.foot-right a {
  font-size: 13px;
  color: #5a5751;
  position: relative;
  transition: color 0.3s;
}

.foot-right a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c41e3a;
  transition: width 0.3s;
}

.foot-right a:hover {
  color: #c41e3a;
}

.foot-right a:hover::after {
  width: 100%;
}

.foot-icp {
  font-size: 13px;
  color: #5a5751;
  margin-top: 16px;
  text-align: center;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid #f0ece5;
  font-weight: 600;
}

/* 响应式 - 大屏幕 */
@media (max-width: 1200px) {
  .card-grid.two { grid-template-columns: repeat(2, 1fr); }
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
  .card-grid.five { grid-template-columns: repeat(3, 1fr); }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
  .nav { display: none; }

  .hero { min-height: auto; padding: 100px 0 80px; }
  .hero-box { padding: 0 24px; }
  .hero-box h1 { font-size: 36px; }
  .hero-box h1::after { margin: 24px auto 0; }
  .hero-desc { font-size: 16px; padding-left: 0; border-left: none; }
  .hero-btns { flex-direction: row; gap: 16px; }
  .hero-btns .btn { flex: 1; }

  .card-grid.four,
  .card-grid.two,
  .card-grid.five { grid-template-columns: 1fr; }

  .card {
    padding: 24px 32px;
  }

  .download-link {
    display: block;
    width: 100%;
    text-align: center;
  }

  .btn-container {
    padding: 0 16px;
  }

  .help {
    padding-left: 16px;
    padding-right: 16px;
  }

  .help-link {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 24px 24px;
    max-width: none;
    margin: 0;
  }

  .help-link::after { display: none; }

  .help-link span:first-child {
    margin-bottom: 0;
    margin-right: 24px;
    font-size: 15px;
  }

  .help-desc { font-size: 13px; }

  .foot-content { flex-direction: column; align-items: flex-start; }

  .foot-icp {
    padding-left: 0;
    border-left: none;
  }

  .section { padding-top: 48px; padding-bottom: 72px; }

  .section-head { margin-bottom: 48px; }
  .section-head h2 { font-size: 32px; }

  .faq-list { padding: 0 16px; }
  .faq-q { padding: 20px 16px; font-size: 15px; }
  .faq-box.expanded .faq-a { padding: 0 16px 16px; }
}

/* 响应式 - 小屏手机 */
@media (max-width: 480px) {
  .hero-box h1 { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .section-head h2 { font-size: 28px; }
}

/* 滚动动画 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 春节元素 ========== */
/* 页面整体春节氛围 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(196, 30, 58, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(196, 30, 58, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 990;
}

/* 灯笼 */
.lantern {
  position: fixed;
  top: 100px;
  z-index: 999;
  animation: swing 3s ease-in-out infinite;
}

.lantern-left { left: 20px; }
.lantern-right { right: 20px; }
.lantern-extra-left { left: 120px; top: 180px; }
.lantern-extra-right { right: 120px; top: 180px; }

.lantern-body {
  width: 60px;
  height: 80px;
  background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
  border-radius: 30px 30px 15px 15px;
  position: relative;
  box-shadow: 0 0 20px rgba(196, 30, 58, 0.5);
}

.lantern-body.large {
  width: 80px;
  height: 100px;
}

.lantern-body::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #e53935;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.lantern-body.large::before {
  width: 26px;
  height: 26px;
}

.lantern-body::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 25px;
  background: linear-gradient(180deg, #c41e3a 0%, #8b0000 100%);
  border-radius: 0 0 10px 10px;
}

.lantern-body.large::after {
  width: 40px;
  height: 30px;
}

.lantern-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #ffeb3b 0%, #ff9800 50%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
}

.lantern-body.large .lantern-glow {
  width: 40px;
  height: 40px;
}

@keyframes swing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

@keyframes glow {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* 福字贴 - 多个位置 */
.fu-badge {
  position: fixed;
  top: 90px;
  z-index: 999;
  font-size: 48px;
  font-weight: bold;
  color: #c41e3a;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  animation: fu-rotate 3s ease-in-out infinite;
  cursor: pointer;
}

.fu-badge-left { left: 100px; transform: rotate(-10deg); }
.fu-badge-right { right: 100px; transform: rotate(10deg); }
.fu-badge-center {
  left: 50%;
  top: 70px;
  transform: translateX(-50%) rotate(0deg);
  font-size: 48px;
  animation: fu-pulse 2s ease-in-out infinite;
}

@keyframes fu-rotate {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  50% { transform: rotate(-10deg) scale(1.05); }
}

.fu-badge-right { animation: fu-rotate-right 3s ease-in-out infinite; }

@keyframes fu-rotate-right {
  0%, 100% { transform: rotate(10deg) scale(1); }
  50% { transform: rotate(10deg) scale(1.05); }
}

@keyframes fu-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.1); }
}

/* 新年横幅 */
.spring-banner {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  background: linear-gradient(90deg, #c41e3a, #e53935, #c41e3a);
  padding: 10px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.spring-banner-text {
  font-size: 18px;
  font-weight: bold;
  color: #1a1816;
  letter-spacing: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* 新年横幅2 */
.spring-banner-2 {
  position: fixed;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 997;
  background: linear-gradient(90deg, #c41e3a, #e53935, #c41e3a);
  padding: 8px 30px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.spring-banner-2 .spring-banner-text {
  font-size: 14px;
  letter-spacing: 4px;
}

/* 春联 */
.chunlian {
  position: fixed;
  top: 200px;
  z-index: 997;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.chunlian-left { left: 10px; }
.chunlian-right { right: 10px; }
.chunlian-left-2 { left: 70px; top: 250px; }
.chunlian-right-2 { right: 70px; top: 250px; }

.chunlian-text {
  font-size: 20px;
  color: #1a1816;
  font-weight: bold;
  letter-spacing: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  background: #c41e3a;
  padding: 15px 10px;
  border-radius: 4px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

.chunlian-text.small {
  font-size: 14px;
  padding: 10px 8px;
  letter-spacing: 4px;
}

/* 新年装饰飘带 */
.ribbon {
  position: fixed;
  top: 0;
  z-index: 996;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg,
    #c41e3a 0%, #c41e3a 20%,
    #e53935 20%, #e53935 40%,
    #c41e3a 40%, #c41e3a 60%,
    #e53935 60%, #e53935 80%,
    #c41e3a 80%, #c41e3a 100%
  );
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 装饰花纹 */
.spring-pattern {
  position: fixed;
  z-index: 991;
  opacity: 0.15;
  pointer-events: none;
}

.spring-pattern-1 {
  top: 100px;
  left: 5%;
  font-size: 120px;
  color: #c41e3a;
}

.spring-pattern-2 {
  top: 300px;
  right: 3%;
  font-size: 100px;
  color: #e53935;
}

.spring-pattern-3 {
  bottom: 200px;
  left: 8%;
  font-size: 80px;
  color: #c41e3a;
}

/* 红包装饰 */
.hongbao {
  position: fixed;
  z-index: 995;
  font-size: 40px;
  animation: hongbao-float 4s ease-in-out infinite;
  cursor: pointer;
}

.hongbao-1 { top: 250px; left: 30px; }
.hongbao-2 { top: 400px; right: 40px; }
.hongbao-3 { bottom: 150px; left: 50px; }

@keyframes hongbao-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* 梅花装饰 */
.plum-blossom {
  position: fixed;
  z-index: 992;
  font-size: 30px;
  color: #c41e3a;
  opacity: 0.6;
}

.plum-1 { top: 150px; right: 15%; }
.plum-2 { top: 350px; left: 10%; }
.plum-3 { bottom: 250px; right: 12%; }
.plum-4 { top: 500px; left: 5%; }

/* 元宝装饰 */
.yuanbao {
  position: fixed;
  z-index: 993;
  font-size: 28px;
  animation: yuanbao-shine 2s ease-in-out infinite;
}

.yuanbao-1 { top: 180px; right: 120px; }
.yuanbao-2 { bottom: 180px; right: 80px; }

@keyframes yuanbao-shine {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ========== 动态春节效果 ========== */
/* 孔明灯 */
.kongming-deng {
  position: fixed;
  bottom: -150px;
  z-index: 1000;
  animation: kongming-fly 18s linear infinite;
  opacity: 0;
}

.kongming-deng:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 20s; }
.kongming-deng:nth-child(2) { left: 25%; animation-delay: 4s; animation-duration: 22s; }
.kongming-deng:nth-child(3) { left: 45%; animation-delay: 8s; animation-duration: 18s; }
.kongming-deng:nth-child(4) { left: 65%; animation-delay: 12s; animation-duration: 24s; }
.kongming-deng:nth-child(5) { left: 85%; animation-delay: 16s; animation-duration: 21s; }

.kongming-deng .deng-body {
  width: 50px;
  height: 70px;
  background: linear-gradient(180deg, rgba(255,200,150,0.9) 0%, rgba(255,150,50,0.8) 100%);
  border-radius: 50% 50% 45% 45%;
  position: relative;
  box-shadow: 0 0 30px rgba(255,150,50,0.6), 0 0 60px rgba(255,100,0,0.3);
  animation: deng-glow 2s ease-in-out infinite alternate;
}

.kongming-deng .deng-body::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 15px solid rgba(255,200,150,0.8);
}

.kongming-deng .deng-body::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(255,255,200,1) 0%, rgba(255,200,100,0.5) 50%, transparent 70%);
  border-radius: 50%;
  animation: deng-flame 0.5s ease-in-out infinite;
}

.kongming-deng:nth-child(odd) .deng-body {
  background: linear-gradient(180deg, rgba(255,180,120,0.9) 0%, rgba(255,100,50,0.8) 100%);
}

@keyframes kongming-fly {
  0% {
    bottom: -150px;
    transform: translateX(0) rotate(-5deg);
    opacity: 0;
  }
  5% {
    opacity: 0.9;
  }
  95% {
    opacity: 0.6;
  }
  100% {
    bottom: 110vh;
    transform: translateX(30px) rotate(5deg);
    opacity: 0;
  }
}

@keyframes deng-glow {
  0% { box-shadow: 0 0 25px rgba(255,150,50,0.5), 0 0 50px rgba(255,100,0,0.25); }
  100% { box-shadow: 0 0 35px rgba(255,150,50,0.7), 0 0 70px rgba(255,100,0,0.35); }
}

@keyframes deng-flame {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
}

/* 纸屑飘落效果 */
.confetti {
  position: fixed;
  top: -10px;
  z-index: 995;
  animation: confetti-fall linear infinite;
}

.confetti-1 { left: 5%; animation-duration: 8s; animation-delay: 0s; color: #ff4444; }
.confetti-2 { left: 15%; animation-duration: 10s; animation-delay: 1s; color: #ffdd44; }
.confetti-3 { left: 25%; animation-duration: 7s; animation-delay: 2s; color: #44ff44; }
.confetti-4 { left: 35%; animation-duration: 9s; animation-delay: 0.5s; color: #4444ff; }
.confetti-5 { left: 45%; animation-duration: 11s; animation-delay: 1.5s; color: #ff44ff; }
.confetti-6 { left: 55%; animation-duration: 8s; animation-delay: 2.5s; color: #44ffff; }
.confetti-7 { left: 65%; animation-duration: 10s; animation-delay: 0.8s; color: #ff4444; }
.confetti-8 { left: 75%; animation-duration: 9s; animation-delay: 1.8s; color: #ffdd44; }
.confetti-9 { left: 85%; animation-duration: 7s; animation-delay: 2.8s; color: #44ff44; }
.confetti-10 { left: 95%; animation-duration: 12s; animation-delay: 3s; color: #4444ff; }

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0.3;
  }
}

/* 春节主题按钮 */
.btn-spring {
  background: linear-gradient(135deg, #c41e3a, #8b0000) !important;
}

.btn-spring:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 56px rgba(196, 30, 58, 0.4) !important;
}

/* 正式版/测试版按钮样式 */
.version-btns {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.version-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 9999px;
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.version-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.version-btn:hover::before {
  left: -100%;
}

.version-btn:hover {
  transform: translateY(-3px);
}

/* 正式版按钮 - 正红 */
.version-btn.official {
  background: linear-gradient(135deg, #e53935, #b71c1c);
  color: #fdfcfb;
  box-shadow: 0 16px 56px rgba(229, 57, 53, 0.2);
}

.version-btn.official:hover {
  box-shadow: 0 32px 100px rgba(229, 57, 53, 0.25);
}

/* 测试版按钮 - 深红 */
.version-btn.beta {
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  color: #fdfcfb;
  box-shadow: 0 16px 56px rgba(196, 30, 58, 0.2);
}

.version-btn.beta:hover {
  box-shadow: 0 32px 100px rgba(196, 30, 58, 0.25);
}

.version-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  margin-left: 12px;
  letter-spacing: 2px;
}

.version-tag.official {
  background: #e53935;
  color: #8b0000;
}

.version-tag.beta {
  background: #fff;
  color: #c41e3a;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .version-btns {
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
  }

  .version-btn {
    width: 100%;
    padding: 16px 32px;
  }

  /* 手机端隐藏第二副春联 */
  .chunlian-left-2,
  .chunlian-right-2 {
    display: none;
  }

  /* 手机端隐藏大灯笼 */
  .lantern-extra-left,
  .lantern-extra-right {
    display: none;
  }

  /* 手机端隐藏第二道横幅 */
  .spring-banner-2 {
    display: none;
  }

  /* 手机端缩小春节元素 */
  .lantern {
    top: 90px;
    transform: scale(0.45);
  }

  .lantern-left { left: -15px; }
  .lantern-right { right: -15px; }

  .fu-badge {
    font-size: 24px;
    top: 80px;
  }

  .fu-badge-left { left: 45px; }
  .fu-badge-right { right: 45px; }

  .spring-banner {
    top: 80px;
    padding: 4px 16px;
  }

  .spring-banner-text {
    font-size: 10px;
    letter-spacing: 2px;
    color: #1a1816;
  }

  .chunlian {
    top: 115px;
  }

  .chunlian-left { left: 40px; }
  .chunlian-right { right: 40px; }

  .chunlian-text {
    font-size: 10px;
    padding: 6px 4px;
    letter-spacing: 2px;
    color: #1a1816;
    background: #c41e3a;
  }

  .hongbao {
    font-size: 28px;
  }

  .hongbao-1 { top: 150px; left: 15px; }
  .hongbao-2 { top: 250px; right: 20px; }
  .hongbao-3 { bottom: 100px; left: 20px; }

  .plum-blossom {
    font-size: 20px;
  }

  .yuanbao {
    font-size: 20px;
  }

  .yuanbao-1 { top: 100px; right: 60px; }
  .yuanbao-2 { bottom: 120px; right: 40px; }

  .kongming-deng .deng-body {
    width: 30px;
    height: 42px;
  }

  .kongming-deng .deng-body::after {
    width: 18px;
    height: 18px;
    top: 4px;
  }

  .confetti {
    font-size: 16px;
  }
}

/* 深色模式 - 春节元素保持红底黑字 */
@media (prefers-color-scheme: dark) {
  .spring-banner-text {
    color: #1a1816 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  }

  .chunlian-text {
    color: #1a1816 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  }
}
