:root {
  --zhongqiu-blue: #1e3a8a;
  --zhongqiu-dark-blue: #1e1b4b;
  --zhongqiu-gold: #fbbf24;
  --zhongqiu-light-blue: #eff6ff;
  --zhongqiu-text: #1e3a8a;
  --zhongqiu-card-bg: #ffffff;
  --zhongqiu-accent: #f59e0b;
}

.dark-theme:root {
  --zhongqiu-blue: #3b82f6;
  --zhongqiu-dark-blue: #0f172a;
  --zhongqiu-gold: #fcd34d;
  --zhongqiu-light-blue: #0c1e42;
  --zhongqiu-text: #dbeafe;
  --zhongqiu-card-bg: #1e293b;
  --zhongqiu-accent: #fbbf24;
}

/* 强制隐藏侧边栏，确保和春节页面宽度一致 */
#sidebar-placeholder {
  display: none !important;
}

body.seasonal-page.zhongqiu-page {
  background-color: var(--zhongqiu-light-blue);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  color: var(--zhongqiu-text);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.seasonal-main.zhongqiu-main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 40px auto 0;
  text-align: center;
  box-sizing: border-box;
}

.festive-hero.zhongqiu-hero {
  position: relative;
  padding: 40px 20px;
  border-radius: 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0c4a6e 100%);
  color: white;
  box-shadow: 0 20px 40px rgba(12, 74, 110, 0.3);
  margin-bottom: 30px;
  overflow: hidden;
  width: 100%;
}

.festive-hero.zhongqiu-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='2' fill='%23ffffff' fill-opacity='0.15'/%3E%3Ccircle cx='15' cy='15' r='1.5' fill='%23ffffff' fill-opacity='0.1'/%3E%3Ccircle cx='65' cy='25' r='1' fill='%23ffffff' fill-opacity='0.12'/%3E%3Ccircle cx='25' cy='60' r='1' fill='%23ffffff' fill-opacity='0.08'/%3E%3Ccircle cx='70' cy='60' r='1.5' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-title {
  font-size: clamp(48px, 10vw, 84px);
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: moonFloat 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(18px, 4vw, 28px);
  opacity: 0.9;
  letter-spacing: 4px;
}

.wish-card.zhongqiu-card {
  background: var(--zhongqiu-card-bg);
  padding: 30px;
  border-radius: 32px;
  border: 2px solid var(--zhongqiu-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.wish-title.card-title {
  color: var(--zhongqiu-gold);
  font-size: 28px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.wish-content.card-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--zhongqiu-text);
}

.moon-icon {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 100;
  cursor: pointer;
  animation: moonGlow 4s ease-in-out infinite alternate;
  transform-origin: center;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.6));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-theme .moon-icon {
  filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.8));
}

.moon-icon:hover {
  transform: scale(1.15) rotate(10deg);
}

.moon-icon.bounce {
  animation: iconBounce 0.6s ease;
}

@keyframes moonGlow {
  0% { 
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
  }
  100% { 
    filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.8));
  }
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.3) rotate(-15deg); }
  60% { transform: scale(0.9) rotate(10deg); }
}

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

.action-buttons {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--zhongqiu-accent) 0%, var(--zhongqiu-gold) 100%);
  color: #111827;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(12, 74, 110, 0.2);
}

.back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
  filter: brightness(1.1);
}

.poem-section {
  margin-top: 25px;
  font-style: italic;
  color: var(--zhongqiu-blue);
  opacity: 0.85;
}

.poem-line {
  margin-bottom: 5px;
  font-size: 16px;
}

.festival-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
}

.festival-tag {
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--zhongqiu-gold), var(--zhongqiu-accent));
  color: var(--zhongqiu-dark-blue);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .moon-icon { 
    top: 15px; 
    right: 15px; 
  }
  .moon-icon svg {
    width: 44px;
    height: 44px;
  }
  
  .festive-hero.zhongqiu-hero {
    padding: 30px 20px;
  }
  
  .wish-card.zhongqiu-card {
    padding: 25px 20px;
  }
  
  .seasonal-main.zhongqiu-main {
    padding: 15px;
  }
  
  .festival-tags {
    gap: 8px;
  }
  
  .festival-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }
  
  .wish-title.card-title {
    font-size: 20px;
  }
  
  .wish-content.card-content {
    font-size: 14px;
  }
  
  .poem-line {
    font-size: 14px;
  }
}
