/* ===== 现场实录 · 图片画廊 / 灯箱 ===== */
/* 与品牌规范一致：主色 #001ae6，辅色 #a633d9 */

.gallery-hero {
  position: relative;
  color: #fff;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(166, 51, 217, 0.35), transparent 60%),
    linear-gradient(135deg, #001ae6 0%, #1a2bd0 45%, #6a1fb0 100%);
}
.gallery-hero .container { position: relative; z-index: 2; }
.gallery-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  margin: 0 0 14px;
}
.gallery-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}
.gallery-hero .gh-meta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.gallery-hero .gh-chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* 筛选标签 */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 34px;
}
.gallery-filter .g-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.gallery-filter .g-tab:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter .g-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 瀑布流画廊 */
.photo-grid {
  columns: 4 260px;
  column-gap: 18px;
}
.photo-card {
  position: relative;
  display: block;
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef1f7;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  break-inside: avoid;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease, box-shadow .25s ease;
}
.photo-card.visible { transform: translateY(0); opacity: 1; }
.photo-card:hover { box-shadow: 0 14px 38px rgba(0, 26, 230, 0.22); }
.photo-card img {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card .photo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(to top, rgba(7, 12, 40, 0.78), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.photo-card:hover .photo-cap { opacity: 1; transform: translateY(0); }

/* 首页精简照片墙 */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.photo-wall .pw-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.photo-wall .pw-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.photo-wall .pw-item:hover img { transform: scale(1.08); }
.photo-wall .pw-item .pw-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 10px;
  color: #fff; font-size: 0.82rem; font-weight: 600;
  background: linear-gradient(to top, rgba(7,12,40,.72), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.photo-wall .pw-item:hover .pw-cap { opacity: 1; }
.photo-wall .pw-more {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; text-decoration: none;
  flex-direction: column; gap: 6px;
}
.photo-wall .pw-more span.big { font-size: 1.6rem; }

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 24, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 4vh 4vw;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(.96);
  transition: transform .3s ease;
}
.lightbox.open img { transform: scale(1); }
.lightbox .lb-cap {
  position: absolute;
  bottom: 3vh; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  max-width: 80vw;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.lightbox .lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox .lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox .lb-prev { left: 2vw; }
.lightbox .lb-next { right: 2vw; }
.lightbox .lb-close {
  position: absolute; top: 2.4vh; right: 2.4vw;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none; background: rgba(255,255,255,.12);
  color: #fff; font-size: 1.5rem; cursor: pointer;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,.26); }
.lightbox .lb-count {
  position: absolute; top: 2.6vh; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: 0.9rem;
  letter-spacing: 1px;
}

/* 相册入口卡片（替代被阻止的 iframe） */
.album-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.album-cover-card {
  display: flex;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.album-cover-card:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,.1); }
.album-cover-media {
  position: relative;
  flex: 1 1 360px;
  min-height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #a633d9 100%);
}
.album-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.album-cover-card:hover .album-cover-media img { transform: scale(1.03); }
.album-cover-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,.22);
  transition: background .2s;
}
.album-cover-play svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.album-cover-card:hover .album-cover-play { background: rgba(0,0,0,.14); }
.album-cover-body {
  flex: 1 1 280px;
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.album-cover-body h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text);
}
.album-cover-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.album-cover-body .btn {
  align-self: flex-start;
  margin-top: 8px;
}
@media (max-width: 720px) {
  .album-cover-body { padding: 28px 22px; }
  .album-cover-body h3 { font-size: 1.25rem; }
}

/* 首页现场实录横幅 */
.live-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 8px;
}
.live-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.live-banner .live-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 48px;
  color: #fff;
  background: linear-gradient(95deg, rgba(0, 26, 230, 0.86) 0%, rgba(0, 26, 230, 0.55) 45%, rgba(166, 51, 217, 0.25) 75%, transparent 100%);
}
.live-banner .live-overlay .lb-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.live-banner .live-overlay h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  margin: 0;
  max-width: 640px;
}
.live-banner .live-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}
.live-banner .live-overlay .lb-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

@media (max-width: 1080px) {
  .photo-grid { columns: 3 240px; }
  .photo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .photo-grid { columns: 2 160px; column-gap: 12px; }
  .photo-card { margin-bottom: 12px; }
  .photo-wall { grid-template-columns: repeat(2, 1fr); }
  .lightbox .lb-btn { width: 44px; height: 44px; font-size: 1.5rem; }
  .album-iframe { height: 78vh; min-height: 480px; }
  .live-banner img { height: 300px; }
  .live-banner .live-overlay { padding: 28px; }
}
/* 原有图文区块图片悬浮微动效 */
.split img { transition: transform .5s ease; }
.split:hover img { transform: scale(1.03); }
.card img { transition: transform .5s ease; }
