* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f0fff4;
  min-height: 100vh;
}
.lifePage {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 25px;
  animation: fadeInUp 0.8s ease-out both;
}
.lifeHero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ffb347 100%);
  box-shadow: 0px 10px 40px rgba(255, 179, 71, 0.3);
  overflow: hidden;
}
.lifeHero .heroIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #f0fff4;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  animation: rotate 10s linear infinite;
}
.lifeHero .heroIcon ion-icon {
  font-size: 1.8em;
  color: #ffb347;
}
.lifeHero .heroInfo {
  text-align: center;
  margin-top: 12px;
}
.lifeHero .heroTitle {
  font-size: 1.9em;
  font-weight: 700;
  color: #1a3a1c;
  letter-spacing: 3px;
}
.lifeHero .heroSubtitle {
  font-size: 0.95em;
  color: #8b5a2b;
  margin-top: 6px;
  opacity: 0.9;
}
.lifeHero .heroDecor {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.lifeHero .heroDecor span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: floatBubble 4s ease-in-out infinite;
}
.lifeHero .heroDecor span:nth-child(1) {
  width: 45px;
  height: 45px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}
.lifeHero .heroDecor span:nth-child(2) {
  width: 30px;
  height: 30px;
  top: 60%;
  right: 10%;
  animation-delay: 0.8s;
}
.lifeHero .heroDecor span:nth-child(3) {
  width: 20px;
  height: 20px;
  bottom: 20%;
  left: 20%;
  animation-delay: 1.6s;
}
.lifeHero .heroDecor span:nth-child(4) {
  width: 35px;
  height: 35px;
  top: 15%;
  right: 15%;
  animation-delay: 2.4s;
}
.lifeHero .heroDecor span:nth-child(5) {
  width: 25px;
  height: 25px;
  bottom: 30%;
  right: 25%;
  animation-delay: 3.2s;
}
.lifeTags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.lifeTags .tagItem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  background: #e8ffe8;
  color: #3d6b40;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.lifeTags .tagItem ion-icon {
  font-size: 1.1em;
}
.lifeTags .tagItem:hover {
  background: rgba(95, 248, 100, 0.3);
  transform: translateY(-2px);
}
.lifeTags .tagItem.active {
  background: #5ff864;
  color: #1a3a1c;
  border-color: #2d8a32;
  box-shadow: 0 4px 15px rgba(95, 248, 100, 0.4);
}
.lifeTags .tagItem.active ion-icon {
  animation: bounce 0.5s ease;
}
@media (max-width: 480px) {
  .lifeTags {
    gap: 8px;
  }
  .lifeTags .tagItem {
    padding: 8px 15px;
    font-size: 0.85em;
  }
}
.lifeGallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
  width: 100%;
}
@media (max-width: 900px) {
  .lifeGallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
}
@media (max-width: 600px) {
  .lifeGallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 15px;
  }
}
.lifeGallery .galleryItem {
  position: relative;
  border-radius: 15px;
  background: #e8ffe8;
  box-shadow: 0px 3px 15px rgba(172, 252, 190, 0.4);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: scaleIn 0.6s ease-out both;
}
.lifeGallery .galleryItem:nth-child(1) {
  animation-delay: 0.05s;
}
.lifeGallery .galleryItem:nth-child(2) {
  animation-delay: 0.1s;
}
.lifeGallery .galleryItem:nth-child(3) {
  animation-delay: 0.15s;
}
.lifeGallery .galleryItem:nth-child(4) {
  animation-delay: 0.2s;
}
.lifeGallery .galleryItem:nth-child(5) {
  animation-delay: 0.25s;
}
.lifeGallery .galleryItem.featured {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 600px) {
  .lifeGallery .galleryItem.featured {
    grid-column: span 1;
    grid-row: span 1;
  }
}
.lifeGallery .galleryItem.featured .itemLabel {
  padding: 25px;
}
.lifeGallery .galleryItem.featured .itemLabel .labelBadge {
  width: 50px;
  height: 50px;
}
.lifeGallery .galleryItem.featured .itemLabel .labelBadge ion-icon {
  font-size: 1.5em;
}
.lifeGallery .galleryItem.featured .itemLabel .labelText {
  font-size: 1.3em;
}
.lifeGallery .galleryItem.featured .itemLabel .labelSub {
  font-size: 0.95em;
}
.lifeGallery .galleryItem .itemImage {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.lifeGallery .galleryItem .itemImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lifeGallery .galleryItem .itemOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(95, 248, 100, 0.4), rgba(255, 179, 71, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lifeGallery .galleryItem .itemOverlay ion-icon {
  font-size: 3em;
  color: white;
  transform: scale(0.5) rotate(-10deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}
.lifeGallery .galleryItem .itemLabel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lifeGallery .galleryItem .itemLabel .labelBadge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #5ff864;
  box-shadow: 0 0 15px rgba(95, 248, 100, 0.6);
  flex-shrink: 0;
}
.lifeGallery .galleryItem .itemLabel .labelBadge ion-icon {
  font-size: 1.2em;
  color: #1a3a1c;
}
.lifeGallery .galleryItem .itemLabel .labelContent {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lifeGallery .galleryItem .itemLabel .labelText {
  font-size: 1.05em;
  font-weight: 600;
  color: #f5fff5;
  letter-spacing: 1px;
}
.lifeGallery .galleryItem .itemLabel .labelSub {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.7);
}
.lifeGallery .galleryItem:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0px 20px 50px rgba(95, 248, 100, 0.35);
}
.lifeGallery .galleryItem:hover .itemImage img {
  transform: scale(1.15);
}
.lifeGallery .galleryItem:hover .itemOverlay {
  opacity: 1;
}
.lifeGallery .galleryItem:hover .itemOverlay ion-icon {
  transform: scale(1) rotate(0deg);
}
.lifeGallery .galleryItem:hover .itemLabel {
  transform: translateY(0);
}
.lifeStats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background: #e8ffe8;
  border-radius: 15px;
  box-shadow: 0px 3px 15px rgba(172, 252, 190, 0.4);
}
@media (max-width: 600px) {
  .lifeStats {
    gap: 20px;
    padding: 20px;
  }
}
.lifeStats .statItem {
  text-align: center;
}
.lifeStats .statItem .statNumber {
  font-size: 2em;
  font-weight: 700;
  color: #2d8a32;
  line-height: 1;
}
@media (max-width: 600px) {
  .lifeStats .statItem .statNumber {
    font-size: 1.6em;
  }
}
.lifeStats .statItem .statLabel {
  font-size: 0.85em;
  color: #3d6b40;
  margin-top: 5px;
}
@media (max-width: 600px) {
  .lifeStats .statItem .statLabel {
    font-size: 0.75em;
  }
}
.lifeStats .statDivider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #5ff864, transparent);
}
.lifeFooter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 30px;
  color: #3d6b40;
  font-size: 0.95em;
  opacity: 0.8;
}
.lifeFooter ion-icon {
  font-size: 1.3em;
  color: #ff9a9e;
  animation: swing 2s ease-in-out infinite;
}
.lifeFooter ion-icon:last-child {
  animation-delay: 1s;
  transform: scaleX(-1);
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox.active .lightboxContent {
  transform: scale(1);
}
.lightbox .lightboxContent {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox .lightboxClose {
  position: absolute;
  top: -50px;
  right: 0;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #5ff864, #ffb347);
  color: #1a3a1c;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(95, 248, 100, 0.5);
}
.lightbox .lightboxClose:hover {
  transform: rotate(90deg) scale(1.1);
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: white;
}
@media (max-width: 600px) {
  .lightbox .lightboxClose {
    top: -45px;
    width: 40px;
    height: 40px;
  }
}
.lightbox .lightboxImageWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 85vw;
  max-height: 70vh;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 80px rgba(95, 248, 100, 0.2), 0 0 40px rgba(255, 179, 71, 0.2);
  background: #111;
}
.lightbox .lightboxImageWrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.lightbox .lightboxCaption {
  text-align: center;
  padding: 20px;
}
.lightbox .lightboxCaption .captionTitle {
  color: #f5fff5;
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: 2px;
}
.lightbox .lightboxCaption .captionSub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
  margin-top: 5px;
}
@media (max-width: 600px) {
  .lightbox .lightboxCaption {
    padding: 15px;
  }
  .lightbox .lightboxCaption .captionTitle {
    font-size: 1.1em;
  }
  .lightbox .lightboxCaption .captionSub {
    font-size: 0.8em;
  }
}
.lightbox .lightboxNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f5fff5;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.lightbox .lightboxNav:hover {
  background: #5ff864;
  color: #1a3a1c;
  transform: translateY(-50%) scale(1.1);
}
@media (max-width: 600px) {
  .lightbox .lightboxNav {
    width: 40px;
    height: 40px;
    font-size: 1.2em;
  }
}
.lightbox .lightboxPrev {
  left: -70px;
}
@media (max-width: 800px) {
  .lightbox .lightboxPrev {
    left: 10px;
  }
}
.lightbox .lightboxNext {
  right: -70px;
}
@media (max-width: 800px) {
  .lightbox .lightboxNext {
    right: 10px;
  }
}
.lightbox .lightboxControls {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: blur(10px);
}
.lightbox .lightboxControls button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #f5fff5;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.lightbox .lightboxControls button:hover {
  background: #5ff864;
  color: #1a3a1c;
}
.lightbox .lightboxControls span {
  color: #f5fff5;
  font-size: 0.85em;
  min-width: 45px;
  text-align: center;
}
.lightbox .lightboxControls .controlsDivider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 5px;
}
.lightbox .lightboxControls .imageCounter {
  color: #ffb347;
  font-weight: 500;
}
@media (max-width: 600px) {
  .lightbox .lightboxControls {
    gap: 8px;
    padding: 8px 15px;
    bottom: -55px;
  }
  .lightbox .lightboxControls button {
    width: 32px;
    height: 32px;
    font-size: 1em;
  }
  .lightbox .lightboxControls span {
    font-size: 0.8em;
    min-width: 40px;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes floatBubble {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-12px) scale(1.1);
    opacity: 0.8;
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
@keyframes swing {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}
@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
