/* ─── 活动详情页样式 ─── */
.page-detail {
  background: linear-gradient(180deg, rgba(20,70,30,0.75) 0%, rgba(40,100,50,0.65) 100%);
}

/* 顶部导航 */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88rem;
  padding-top: env(safe-area-inset-top);
  background: rgba(15, 55, 20, 0.85);
  display: flex;
  align-items: center;
  z-index: 100;
  box-sizing: border-box;
}

.back-btn {
  display: flex;
  align-items: center;
  padding: 0 32rem;
  gap: 6rem;
  height: 88rem;
  cursor: pointer;
}

.back-arrow {
  font-size: 52rem;
  color: #A5D6A7;
  line-height: 1;
  margin-top: -4rem;
}

.back-text {
  font-size: 30rem;
  color: #C8E6C9;
  letter-spacing: 1rem;
}

/* 滚动区 */
.detail-scroll {
  padding-top: calc(88rem + env(safe-area-inset-top));
}

/* 封面图 */
.cover-wrap {
  position: relative;
  width: 100%;
  height: 420rem;
  overflow: hidden;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(15, 55, 20, 0.85));
}

.cover-index {
  position: absolute;
  top: 24rem;
  right: 28rem;
  background: rgba(45, 138, 80, 0.85);
  color: #fff;
  font-size: 22rem;
  font-weight: 600;
  letter-spacing: 3rem;
  padding: 6rem 18rem;
  border-radius: 30rem;
  border: 1rem solid rgba(255,255,255,0.3);
}

/* 内容卡片 */
.detail-card {
  margin: 32rem 24rem 0;
  background: rgba(255, 253, 240, 0.92);
  border-radius: 32rem;
  padding: 48rem 40rem 40rem;
  border: 1rem solid rgba(165, 214, 167, 0.45);
  box-shadow: 0 8rem 32rem rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 20;
}

.detail-title {
  font-size: 36rem;
  font-weight: 700;
  color: #2E7D32;
  line-height: 1.5;
  letter-spacing: 2rem;
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12rem;
  margin: 30rem 0;
}

.divider-line {
  flex: 1;
  height: 1rem;
  background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.5), transparent);
}

.divider-dot {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.7);
  flex-shrink: 0;
}

.detail-desc {
  font-size: 30rem;
  color: #33691E;
  line-height: 1.9;
  letter-spacing: 1rem;
  text-indent: 2em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16rem;
  margin-top: 40rem;
}

.tag {
  font-size: 22rem;
  color: #2E7D32;
  background: rgba(76, 175, 80, 0.15);
  border: 1rem solid rgba(76, 175, 80, 0.4);
  border-radius: 30rem;
  padding: 6rem 22rem;
  letter-spacing: 1rem;
}

/* 图片画廊 */
.gallery-section {
  margin: 24rem 24rem 0;
}

.gallery-title {
  display: flex;
  align-items: center;
  gap: 16rem;
  margin-bottom: 24rem;
}

.gallery-line {
  flex: 1;
  height: 1rem;
  background: linear-gradient(90deg, transparent, rgba(165,214,167,0.4), transparent);
}

.gallery-label {
  font-size: 26rem;
  color: #A5D6A7;
  letter-spacing: 2rem;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12rem;
}

.gallery-img {
  width: 100%;
  height: 240rem;
  border-radius: 16rem;
  border: 1rem solid rgba(165,214,167,0.2);
  object-fit: cover;
  cursor: pointer;
}

.gallery-img:active {
  opacity: 0.8;
}

/* 底部留空 */
.bottom-space {
  height: calc(env(safe-area-inset-bottom) + 80rem);
}
