/* ================================================================
   冬画面 — 四季之冬
   第一屏 图层：背景(0) → 山(1) → 冬毛笔字(2) → 海鸥(3) → 雪花冰晶粒子(4~5) → 导航栏(1000)
   ================================================================ */

/* ================================================================
   场景1：冬（主视觉）
   ================================================================ */

.scene-winter {
  /* 浅青蓝水墨纹理底图 — CSS 兜底 */
  background: linear-gradient(170deg, #e8f0f4 0%, #dce8ef 20%, #e3ecf2 40%, #d8e5ed 60%, #e8f0f4 80%, #dde7f0 100%);
}

/* ===== 书法大字「冬」— 画面视觉中心，略偏上 ===== */
.calligraphy-dong {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24vw;
  pointer-events: none;
  /* 水墨滴墨阴影 */
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.18))
          drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}
.calligraphy-dong img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 海鸥 — 画面左上区域，展翅飞翔 ===== */
.seagull {
  position: absolute;
  z-index: 3;
  top: 16%;
  left: 14%;
  width: 12vw;
  pointer-events: none;
  transform: rotate(-3deg);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.10));
}
.seagull img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 横图山 — 画面最底部，横向铺开 ===== */
.mountain-range {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
.mountain-range img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 雪花冰晶粒子（JS 动态生成，position:fixed on body） ===== */
.winter-snowflake {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.winter-snowflake img {
  width: 100%;
  height: auto;
  display: block;
  /* 雪花微风自转浮动 — 每片独立周期，JS 设置 CSS 变量 */
  animation: snowflake-idle var(--float-dur, 4s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
@keyframes snowflake-idle {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  15%      { transform: translateY(-5px) translateX(4px) rotate(8deg); }
  35%      { transform: translateY(2px) translateX(-3px) rotate(-5deg); }
  55%      { transform: translateY(-7px) translateX(6px) rotate(12deg); }
  75%      { transform: translateY(-2px) translateX(-5px) rotate(-8deg); }
  90%      { transform: translateY(-4px) translateX(2px) rotate(3deg); }
}


/* ================================================================
   场景2：冬前奏
   图层：背景(0) → 右下角叶装饰/木窗和雪山/古人(1~2) → 蓝发光踏雪寻幽/蓝发光海鸥(3~4) → 雪花粒子(5~6) → 导航栏(1000)
   ================================================================ */

.scene-winter-prelude {
  /* 与第一屏色调统一，清冷浅青蓝 */
  background: linear-gradient(170deg, #e8f0f4 0%, #dce8ef 20%, #e3ecf2 40%, #d8e5ed 60%, #e8f0f4 80%, #dde7f0 100%);
}

/* ---- 右下角叶装饰 — 底部前景 ---- */
.corner-leaf-decor {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 0;
  width: 18vw;
  pointer-events: none;
}
.corner-leaf-decor img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- 木窗和雪山 — 画面右侧中大面积，视觉焦点 ---- */
.window-snow-mountain {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  width: 34vw;
  pointer-events: none;
}
.window-snow-mountain img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
}

/* ---- 古人 — 木窗左侧，面向窗内雪山 ---- */
.ancient-poet {
  position: absolute;
  z-index: 2;
  bottom: 0%;
  right: 14%;
  width: 18vw;
  pointer-events: none;
}
.ancient-poet img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- 蓝发光 - 踏雪寻幽 — 画面左下区域 ---- */
.glow-taxue {
  position: absolute;
  z-index: 3;
  bottom: 12%;
  left: 8%;
  width: 20vw;
  pointer-events: none;
}
.glow-taxue img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(120, 180, 230, 0.7))
          drop-shadow(0 0 24px rgba(100, 160, 220, 0.4));
}

/* ---- 蓝发光 - 海鸥 — 左下区域，踏雪寻幽上方（静态占位，初始隐藏） ---- */
.glow-seagull-static {
  position: absolute;
  z-index: 4;
  bottom: 28%;
  left: 12%;
  width: 10vw;
  pointer-events: none;
  /* 初始隐藏 —— 飞行海鸥到达后显示 */
  opacity: 0;
  transition: opacity 0.6s ease;
}
.glow-seagull-static.visible {
  opacity: 1;
}
.glow-seagull-static img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(120, 200, 240, 0.9))
          drop-shadow(0 0 28px rgba(80, 170, 220, 0.6));
}

/* ---- 飞行海鸥（JS 动态生成，position:fixed on body） ---- */
.flying-seagull {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform, filter;
  z-index: 20;
}
.flying-seagull img {
  width: 100%;
  height: auto;
  display: block;
}


/* ================================================================
   场景3：冬1 — 2×4 冬季花卉图鉴
   图层：背景(0) → 绿山装饰/花卉网格(1~2) → 海鸥(3) → 导航栏(1000)
   ================================================================ */

.scene-winter1 {
  background: linear-gradient(170deg, #e8f0f4 0%, #dce8ef 20%, #e3ecf2 40%, #d8e5ed 60%, #e8f0f4 80%, #dde7f0 100%);
}

/* ---- 左下角绿山装饰 ---- */
.green-mountain-decor {
  position: absolute;
  z-index: 1;
  bottom: -26%;
  left: 2%;
  width: 32vw;
  pointer-events: none;
}
.green-mountain-decor img {
  width: 100%;
  height: auto;
  display: block;
}

/* 花卉网格样式已迁移至 main.css 统一管理 */

/* ---- 左上角海鸥（海鸥飞抵后显示） ---- */
.seagull-winter1 {
  position: absolute;
  z-index: 3;
  top: 5%;
  left: 3%;
  width: 7vw;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.seagull-winter1.visible {
  opacity: 1;
}
.seagull-winter1 img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.10));
}


/* ---- 左上角绿山装饰 — 与冬1绿山下半部分无缝衔接（第四屏顶部） ---- */
.green-mountain-decor-w2 {
  position: absolute;
  z-index: 1;
  top: -8%;
  left: 0;
  width: 32vw;
  pointer-events: none;
}
.green-mountain-decor-w2 img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- 正文段落文字 — 画面上半区域 ---- */

.scene-winter2 {
  background: linear-gradient(170deg, #e8f0f4 0%, #dce8ef 20%, #e3ecf2 40%, #d8e5ed 60%, #e8f0f4 80%, #dde7f0 100%);
}

/* ---- 正文段落文字 — 画面上半区域 ---- */

/* ---- 底部通栏页脚 — 样式已迁移至 main.css .about-footer ---- */


/* ================================================================
   响应式调整
   ================================================================ */
@media (max-width: 768px) {
  .calligraphy-dong {
    width: 40vw;
    top: 44%;
  }
  .seagull {
    top: 12%;
    left: 8%;
    width: 18vw;
  }
  .window-snow-mountain {
    width: 52vw;
    right: 2%;
  }
  .ancient-poet {
    width: 24vw;
    right: 38%;
    bottom: 6%;
  }
  .glow-taxue {
    width: 24vw;
    bottom: 10%;
    left: 5%;
  }
  .glow-seagull-static {
    width: 14vw;
    bottom: 24%;
    left: 8%;
  }
  .corner-leaf-decor {
    width: 22vw;
  }
  /* flower-grid 响应式已迁移至 main.css */
  .seagull-winter1 {
    top: 4%;
    left: 2%;
    width: 10vw;
  }
  .green-mountain-decor {
    width: 20vw;
  }
  /* about-intro / about-logo 响应式已迁移至 main.css */
  .green-mountain-decor-w2 {
    width: 20vw;
  }
}

@media (max-width: 480px) {
  .calligraphy-dong {
    width: 50vw;
    top: 42%;
  }
  .seagull {
    top: 8%;
    left: 4%;
    width: 24vw;
  }
  .window-snow-mountain {
    width: 62vw;
    right: 1%;
    top: 48%;
  }
  .ancient-poet {
    width: 30vw;
    right: 42%;
    bottom: 4%;
  }
  .glow-taxue {
    width: 28vw;
    bottom: 8%;
    left: 3%;
  }
  .glow-seagull-static {
    width: 18vw;
    bottom: 20%;
    left: 5%;
  }
  .corner-leaf-decor {
    width: 28vw;
  }
  /* flower-grid 响应式已迁移至 main.css */
  .seagull-winter1 {
    top: 3%;
    left: 2%;
    width: 14vw;
  }
  .green-mountain-decor {
    width: 26vw;
  }
  /* about-intro / about-logo 响应式已迁移至 main.css */
  .green-mountain-decor-w2 {
    width: 26vw;
  }
}
