/* ============================================================
 * 地金刚 · 首页三视频展示区
 * 类名统一 vw- 前缀，避免与站点原有样式冲突
 * ============================================================ */
.vw-sec {
  --vw-red: #d81e26;
  --vw-red-d: #a8141b;
  --vw-blue: #0c3c78;
  --vw-ink: #12233d;
  --vw-body: #5a6a80;
  --vw-line: #e4e9f0;
  --vw-soft: #f5f7fb;
  --vw-deep: #0a1f3d;
  --vw-r: 12px;
  position: relative;
  padding: 78px 0 86px;
  background: #fff;
  border-top: 1px solid var(--vw-line);
}
.vw-sec .wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* 标题区 */
.vw-head { text-align: center; margin-bottom: 40px; }
.vw-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--vw-red); text-transform: uppercase; margin-bottom: 14px;
}
.vw-kicker::before,
.vw-kicker::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.vw-head h2 {
  margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25; font-weight: 800; color: var(--vw-ink); letter-spacing: -.01em;
}
.vw-head h2 em { font-style: normal; color: var(--vw-red); }
.vw-head p { margin: 0 auto; max-width: 660px; font-size: 15px; line-height: 1.8; color: var(--vw-body); }

/* 三视频栅格：左一大 + 右两小 */
.vw-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.vw-grid > * { min-width: 0; max-width: 100%; }
.vw-card {
  position: relative; display: block; width: 100%; max-width: 100%; min-width: 0; padding: 0; margin: 0;
  border: 0; border-radius: var(--vw-r); overflow: hidden; cursor: pointer;
  background: var(--vw-deep); text-align: left; color: #fff;
  isolation: isolate; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 26px rgba(10, 31, 61, .10);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1);
  font: inherit;
}
.vw-card:first-child { grid-row: 1 / 3; min-height: 452px; }
.vw-card:not(:first-child) { min-height: 217px; }
.vw-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(10, 31, 61, .20); }
.vw-card:focus-visible { outline: 3px solid var(--vw-red); outline-offset: 3px; }

.vw-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.vw-card:hover .vw-cover { transform: scale(1.09); }
.vw-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,22,45,.10) 0%, rgba(7,22,45,.30) 42%, rgba(7,22,45,.88) 100%);
}
.vw-card:first-child .vw-shade {
  background: linear-gradient(180deg, rgba(7,22,45,.06) 0%, rgba(7,22,45,.20) 40%, rgba(7,22,45,.90) 100%);
}

/* 播放按钮 */
.vw-play {
  position: absolute; z-index: 3; left: 50%; top: 46%;
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--vw-red);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s ease, color .3s ease;
}
.vw-play::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); opacity: .8;
}
.vw-play svg { width: 24px; height: 24px; margin-left: 3px; }
.vw-card:hover .vw-play { transform: scale(1.1); background: var(--vw-red); color: #fff; }
.vw-card:not(:first-child) .vw-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.vw-card:not(:first-child) .vw-play svg { width: 19px; height: 19px; }

.vw-dur {
  position: absolute; z-index: 3; top: 16px; right: 16px;
  padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; color: #fff; background: rgba(7,22,45,.62);
  backdrop-filter: blur(6px);
}
.vw-body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 26px 28px 28px; display: block; }
.vw-tag {
  display: inline-block; margin-bottom: 10px; padding: 4px 11px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff;
  background: var(--vw-red);
}
.vw-title { display: block; font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.vw-desc { display: block; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.80); max-width: 560px; }
.vw-card:not(:first-child) .vw-body { padding: 18px 20px 20px; }
.vw-card:not(:first-child) .vw-title { font-size: 16px; margin-bottom: 0; }
.vw-card:not(:first-child) .vw-desc { display: none; }
.vw-card:not(:first-child) .vw-tag { margin-bottom: 7px; }

.vw-note { margin: 22px 0 0; text-align: center; font-size: 12px; color: #8a97a8; }

/* 灯箱 */
.vw-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; }
.vw-modal[hidden] { display: none; }
.vw-backdrop { position: absolute; inset: 0; background: rgba(4,14,29,.88); backdrop-filter: blur(5px); }
.vw-dialog {
  position: relative; z-index: 1; width: min(960px, 100%);
  border-radius: 14px; overflow: hidden; background: #061424;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  animation: vwIn .32s cubic-bezier(.16,1,.3,1) both;
}
@keyframes vwIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.vw-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; }
.vw-stage video, .vw-stage iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.vw-err { color: #cdd8e6; font-size: 14px; text-align: center; padding: 20px; line-height: 1.8; }
.vw-cap { padding: 16px 22px 20px; }
.vw-cap strong { display: block; font-size: 17px; color: #fff; margin-bottom: 6px; }
.vw-cap span { display: block; font-size: 13px; line-height: 1.7; color: #9fb0c4; }
.vw-close {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1;
  display: grid; place-items: center; transition: background .25s ease, transform .25s ease;
}
.vw-close:hover { background: var(--vw-red); transform: rotate(90deg); }
.vw-lock { overflow: hidden; }

/* 响应式 */
@media (max-width: 900px) {
  .vw-sec { padding: 56px 0 62px; }
  .vw-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; }
  .vw-card:first-child { grid-row: auto; min-height: 300px; }
  .vw-card:not(:first-child) { min-height: 230px; }
  .vw-card:not(:first-child) .vw-desc { display: block; }
  .vw-card:first-child .vw-body { padding: 20px 20px 22px; }
  .vw-card:first-child .vw-title { font-size: 18px; }
  .vw-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
}
@media (max-width: 480px) {
  .vw-sec .wrap { padding: 0 16px; }
  .vw-card:first-child { min-height: 240px; }
  .vw-card:not(:first-child) { min-height: 210px; }
  .vw-modal { padding: 12px; }
  .vw-desc { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vw-card, .vw-cover, .vw-play, .vw-close, .vw-dialog { transition: none !important; animation: none !important; }
}
