* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f0fff4;
  min-height: 100vh;
}
.momPage {
  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;
}
.momHero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(135deg, #a8ffc4 0%, #7af99d 50%, #5ff864 100%);
  box-shadow: 0px 10px 40px rgba(95, 248, 100, 0.3);
  overflow: hidden;
}
.momHero .heroIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f0fff4;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  animation: pulse 2s ease-in-out infinite;
}
.momHero .heroIcon ion-icon {
  font-size: 2em;
  color: #ff6b8a;
}
.momHero .heroInfo {
  text-align: center;
  margin-top: 15px;
}
.momHero .heroTitle {
  font-size: 2em;
  font-weight: 700;
  color: #1a3a1c;
  letter-spacing: 4px;
}
.momHero .heroSubtitle {
  font-size: 1em;
  color: #3d6b40;
  margin-top: 8px;
  opacity: 0.9;
}
.momHero .heroDecor {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.momHero .heroDecor span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: floatBubble 4s ease-in-out infinite;
}
.momHero .heroDecor span:nth-child(1) {
  width: 50px;
  height: 50px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}
.momHero .heroDecor span:nth-child(2) {
  width: 35px;
  height: 35px;
  top: 55%;
  right: 12%;
  animation-delay: 1s;
}
.momHero .heroDecor span:nth-child(3) {
  width: 25px;
  height: 25px;
  bottom: 25%;
  left: 15%;
  animation-delay: 2s;
}
.momHero .heroDecor span:nth-child(4) {
  width: 40px;
  height: 40px;
  top: 20%;
  right: 20%;
  animation-delay: 1.5s;
}
.momGallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
@media (max-width: 900px) {
  .momGallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .momGallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.momGallery .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;
}
.momGallery .galleryItem:nth-child(1) {
  animation-delay: 0.1s;
}
.momGallery .galleryItem:nth-child(2) {
  animation-delay: 0.2s;
}
.momGallery .galleryItem:nth-child(3) {
  animation-delay: 0.3s;
}
.momGallery .galleryItem .itemImage {
  width: 100%;
  height: 280px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .momGallery .galleryItem .itemImage {
    height: 250px;
  }
}
.momGallery .galleryItem .itemImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.momGallery .galleryItem .itemOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(95, 248, 100, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.momGallery .galleryItem .itemOverlay ion-icon {
  font-size: 3em;
  color: #f5fff5;
  transform: scale(0.5);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.momGallery .galleryItem .itemLabel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.momGallery .galleryItem .itemLabel .labelDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ff864;
  box-shadow: 0 0 10px rgba(95, 248, 100, 0.8);
  animation: pulseDot 1.5s ease-in-out infinite;
}
.momGallery .galleryItem .itemLabel .labelText {
  font-size: 1em;
  font-weight: 600;
  color: #f5fff5;
  letter-spacing: 1px;
}
.momGallery .galleryItem:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0px 20px 40px rgba(95, 248, 100, 0.4);
}
.momGallery .galleryItem:hover .itemImage img {
  transform: scale(1.1);
}
.momGallery .galleryItem:hover .itemOverlay {
  opacity: 1;
}
.momGallery .galleryItem:hover .itemOverlay ion-icon {
  transform: scale(1);
}
.momGallery .galleryItem:hover .itemLabel {
  transform: translateY(0);
}
.momFooter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 30px;
  color: #3d6b40;
  font-size: 0.95em;
  opacity: 0.8;
}
.momFooter ion-icon {
  font-size: 1.2em;
  color: #5ff864;
  animation: swing 2s ease-in-out infinite;
}
.momFooter 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.92);
  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: #5ff864;
  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 20px rgba(95, 248, 100, 0.5);
}
.lightbox .lightboxClose:hover {
  transform: rotate(90deg) scale(1.1);
  background: #ff6b6b;
  color: white;
}
@media (max-width: 600px) {
  .lightbox .lightboxClose {
    top: -45px;
    right: 0;
    width: 40px;
    height: 40px;
  }
}
.lightbox .lightboxImageWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 85vw;
  max-height: 75vh;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 60px rgba(95, 248, 100, 0.3);
  background: #111;
}
.lightbox .lightboxImageWrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.lightbox .lightboxCaption {
  text-align: center;
  padding: 20px;
  color: #f5fff5;
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: 2px;
}
@media (max-width: 600px) {
  .lightbox .lightboxCaption {
    font-size: 1em;
    padding: 15px;
  }
}
.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: 15px;
  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.9em;
  min-width: 50px;
  text-align: center;
}
@media (max-width: 600px) {
  .lightbox .lightboxControls {
    gap: 10px;
    padding: 8px 15px;
  }
  .lightbox .lightboxControls button {
    width: 32px;
    height: 32px;
    font-size: 1em;
  }
}
@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.6;
  }
  50% {
    transform: translateY(-15px) scale(1.1);
    opacity: 0.9;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0px 8px 30px rgba(255, 107, 138, 0.3);
  }
}
@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
@keyframes swing {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}
