style.css
/* 全页浅亮渐变彩虹背景 */
body {
  margin: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(
    135deg,
    #ffdde1 0%, #ee9ca7 25%,
    #ffecd2 50%, #d4fc79 75%, #96e6a1 100%
  );
  overflow: hidden;
  position: relative;
  font-family: sans-serif;
}

/* 公共泡泡样式 */
.bubble {
  position: absolute;
  bottom: -200px;
  width: calc(var(--i) * 5px + 80px);
  height: calc(var(--i) * 5px + 80px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255,255,255,0.7),
    rgba(255,255,255,0.2)
  );
  /* 半透明玻璃质感 + 渐变叠色 */
  box-shadow: inset -10px -10px 30px rgba(255,255,255,0.4),
              inset 10px 10px 30px rgba(0,0,0,0.1);
  animation: float calc(var(--i) * 1s) linear infinite;
  left: calc( (var(--i) * 3%) );
  z-index: var(--z);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.9em;
}

/* 漂浮动画：从底部飘到顶部 */
@keyframes float {
  0%   { transform: translateY(0) translateX(0); }
  50%  { transform: translateY(-60vh) translateX(20px); }
  100% { transform: translateY(-120vh) translateX(-10px); }
}

/* Hover 放大＋高亮边框 */
.bubble:hover {
  transform: scale(1.2);
  box-shadow:
    0 0 20px rgba(255,255,255,0.8),
    inset -10px -10px 30px rgba(255,255,255,0.6),
    inset 10px 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* 大泡泡封面图：绝对定位在文字之下 */
.main-bubble {
  position: relative;    /* 保证子元素绝对定位基准 */
}
.main-bubble img.cover {
  position: absolute;
  top: 10px;             /* 根据需要微调 */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;            /* 控制宽度，不覆盖文字 */
  height: auto;
  z-index: 1;            /* 在文字下方 */
}
.main-bubble .bubble-text {
  position: relative;
  z-index: 2;            /* 文字在图片之上 */
}

/* 原有画廊布局样式（保留兼容性） */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
}
.gallery-item img:hover {
  transform: scale(1.05);
}
.gallery-item p {
  text-align: center;
  margin-top: 8px;
  font-size: 1rem;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* 新增暖色调画廊样式 */
.warm-gallery {
  background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 25%, #fd79a8 50%, #fdcb6e 75%, #e17055 100%);
  min-height: 100vh;
}

.warm-gallery .photo-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.warm-gallery .photo-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.warm-gallery .category-title {
  background: linear-gradient(45deg, #fd79a8, #fdcb6e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* 切换按钮 */
.gallery-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}
.gallery-toggle button {
  background: rgba(255,255,255,0.8);
  border: none;
  padding: 8px 12px;
  margin-left: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.gallery-toggle button:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.05);
}
.gallery-toggle button.active {
  background: rgba(255,255,255,1);
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 时间画廊 */
#time-gallery .gallery-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
#time-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 15px;
  width: 90%;
  margin: 80px auto;
  padding: 20px 0;
}
#time-gallery .gallery-item img {
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
#time-gallery .gallery-item img:hover {
  transform: scale(1.05);
}

/* 地点画廊 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 30px;
  width: 90%;
  margin: 80px auto;
  padding: 20px 0;
}
.scene-item h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.scene-swiper {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.scene-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Swiper 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
  color: rgba(255,255,255,0.8) !important;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px !important;
  height: 40px !important;
  margin-top: -20px !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.8);
}

/* 退出按钮 */
.exit-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.8);
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.exit-btn:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .gallery-toggle {
    top: 10px;
    right: 10px;
  }
  .gallery-toggle button {
    padding: 6px 10px;
    font-size: 0.8rem;
    margin-left: 3px;
  }
  .exit-btn {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  #time-gallery {
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 10px;
    width: 95%;
    margin: 60px auto;
  }
  .scene-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 95%;
    margin: 60px auto;
  }
  .scene-swiper {
    height: 250px;
  }
}