.home {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d3 50%, #f5f1e8 100%);
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url('https://lilygallery.tos-cn-shanghai.volces.com/12%E6%9C%8819%E6%97%A5.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(245, 241, 232, 0.3);
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 10;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  padding: 40px 60px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.exhibition-title-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.exhibition-title-link:hover {
  transform: scale(1.05);
}

.exhibition-title {
  font-size: 5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: 'KaiTi', 'STKaiti', serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.1em;
  animation: fadeInUp 1s ease-out;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: pointer;
}

.exhibition-title-link:hover .exhibition-title {
  color: #000;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
}

.exhibition-subtitle {
  font-size: 1.5rem;
  color: #4a4a4a;
  margin-top: 20px;
  font-family: 'SimSun', 'STSong', serif;
  animation: fadeInUp 1.2s ease-out;
}

.title-decoration {
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
  margin: 30px auto;
  position: relative;
  animation: fadeInUp 1.1s ease-out;
}

.title-decoration::before,
.title-decoration::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 50%;
  transform: translateY(-50%);
}

.title-decoration::before {
  left: -20px;
}

.title-decoration::after {
  right: -20px;
}

.ink-splash {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
  z-index: 2;
  opacity: 0.5;
}

.ink-splash::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
  opacity: 0.5;
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.preface-section,
.curator-section {
  margin-bottom: 100px;
  background: rgba(255, 255, 255, 0.4);
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  min-height: auto;
}

.preface-section::before,
.curator-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent);
  border-radius: 20px;
  z-index: -1;
}

.section-title {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 40px;
  font-family: 'KaiTi', 'STKaiti', serif;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
}

.preface-content,
.curator-content {
  font-size: 1.1rem;
  line-height: 2;
  color: #2c2c2c;
  font-family: 'SimSun', 'STSong', serif;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.preface-content p {
  margin-bottom: 25px;
  text-indent: 2em;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.curator-content p {
  margin-bottom: 25px;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.curator-info h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-family: 'KaiTi', 'STKaiti', serif;
}

.curator-item {
  margin-bottom: 20px;
  line-height: 1.8;
  text-indent: 0 !important;
}

.curator-item strong {
  font-weight: 600;
  color: #1a1a1a;
  font-family: 'SimSun', 'STSong', serif;
}

.curator-item span {
  color: #2c2c2c;
  font-family: 'SimSun', 'STSong', serif;
}

.curator-signature {
  text-align: right;
  font-weight: 600;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: 'SimSun', 'STSong', serif;
  color: #2c2c2c;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-30px, 30px) rotate(240deg);
  }
}

@media (max-width: 768px) {
  .exhibition-title {
    font-size: 3rem;
  }

  .exhibition-subtitle {
    font-size: 1.2rem;
  }

  .content-section {
    padding: 40px 20px;
  }

  .preface-section,
  .curator-section {
    padding: 30px;
  }

  .section-title {
    font-size: 2rem;
  }
}


/* 首页作品轮播样式（新增） */
.home-carousel-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}
.home-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel-track-viewport {
  /* make viewport scrollable on touch devices so JS can control scrollLeft */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* momentum scrolling on iOS */
  flex: 1;
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.carousel-track {
  display: flex;
  gap: 12px;
  padding: 12px;
  transition: transform 0.5s ease;
  will-change: transform;
}
.carousel-track {
  scroll-snap-type: x mandatory;
}
.carousel-track .carousel-item {
  scroll-snap-align: start;
}
.carousel-item {
  flex: 0 0 220px;
  height: 320px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.carousel-item::after {
  content: attr(data-title-zh);
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
  font-family: 'KaiTi', 'STKaiti', serif;
  padding: 6px 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.12));
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.carousel-btn:hover { transform: scale(1.05); }

@media (max-width: 768px) {
  .carousel-item { flex: 0 0 160px; height: 220px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 20px; }
}

