/* ==========================================================================
   万达娱乐 · 皮肤层 04 / screens
   页面级版式：首页机柜、频道、主播墙、栏目、赛事、案例、入驻、门户、资讯、404。
   ========================================================================== */

/* ---------- 首页主视觉 ---------- */
.wd-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  padding: 58px 0 48px;
  border-bottom: 1px solid var(--line);
}

.wd-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.wd-hero h1 span {
  color: var(--neon);
  text-shadow: 0 0 34px rgba(216, 255, 62, 0.35);
}

.wd-hero .wd-lead { max-width: 46ch; }

.wd-hero-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  font-family: var(--lf);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mute);
}

.wd-hero-keys b { color: var(--neon); font-weight: 600; }

/* 机柜 / 直播屏 */
.wd-crt {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(165deg, #241d36, #100d1a 62%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wd-crt::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 10px;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.wd-crt-screen {
  position: relative;
  padding: 16px 16px 18px;
  border: 1px solid rgba(216, 255, 62, 0.28);
  border-radius: 10px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(216, 255, 62, 0.12), transparent 62%),
    linear-gradient(180deg, #0b1210, #080a09);
  box-shadow: inset 0 0 60px rgba(216, 255, 62, 0.08);
}

.wd-crt-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--lf);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--neon);
}

.wd-crt-live i {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  color: var(--hot);
}

.wd-crt-live i::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 10px var(--hot);
  animation: wd-pulse 1.8s infinite;
}

.wd-crt-title {
  margin: 12px 0 4px;
  font-size: 19px;
  color: #f4ffe0;
}

.wd-crt-sub {
  font-family: var(--lf);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #7f9a6a;
}

.wd-crt-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 62px;
  margin: 16px 0 12px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(216, 255, 62, 0.18);
}

.wd-crt-bars i {
  flex: 1 1 auto;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, var(--neon), rgba(216, 255, 62, 0.1));
  animation: wd-eq 2.4s var(--ease) infinite alternate;
}

.wd-crt-bars i:nth-child(3n) { animation-delay: 0.4s; background: linear-gradient(180deg, var(--cool), rgba(57, 230, 255, 0.08)); }
.wd-crt-bars i:nth-child(4n) { animation-delay: 0.8s; }
.wd-crt-bars i:nth-child(5n) { animation-delay: 1.1s; opacity: 0.7; }

/* 静态高度，避免在 HTML 中写内联样式 */
.wd-crt-bars i:nth-child(1) { height: 38%; }
.wd-crt-bars i:nth-child(2) { height: 72%; }
.wd-crt-bars i:nth-child(3) { height: 54%; }
.wd-crt-bars i:nth-child(4) { height: 88%; }
.wd-crt-bars i:nth-child(5) { height: 46%; }
.wd-crt-bars i:nth-child(6) { height: 66%; }
.wd-crt-bars i:nth-child(7) { height: 92%; }
.wd-crt-bars i:nth-child(8) { height: 58%; }
.wd-crt-bars i:nth-child(9) { height: 74%; }
.wd-crt-bars i:nth-child(10) { height: 42%; }
.wd-crt-bars i:nth-child(11) { height: 82%; }
.wd-crt-bars i:nth-child(12) { height: 50%; }
.wd-crt-bars i:nth-child(13) { height: 68%; }
.wd-crt-bars i:nth-child(14) { height: 36%; }
.wd-crt-bars i:nth-child(15) { height: 78%; }
.wd-crt-bars i:nth-child(16) { height: 60%; }

@keyframes wd-eq {
  from { height: 22%; }
  to { height: 100%; }
}

.wd-crt-rows { display: grid; gap: 6px; }

.wd-crt-rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--lf);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #99b184;
}

.wd-crt-rows b { color: #d8ff3e; font-weight: 500; }

.wd-crt-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(216, 255, 62, 0.18);
  font-family: var(--lf);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #7f9a6a;
}

.wd-crt-slot::before {
  content: "";
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(216, 255, 62, 0.4);
}

/* ---------- 快捷入口键列 ---------- */
.wd-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -1px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.wd-quick a {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.wd-quick a:hover {
  border-color: rgba(216, 255, 62, 0.45);
  background: rgba(216, 255, 62, 0.05);
  transform: translateY(-3px);
}

.wd-quick b {
  font-family: var(--lf);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--neon);
}

.wd-quick strong { font-size: 15px; }
.wd-quick span { font-size: 12px; color: var(--mute); }

/* ---------- 频道卡 ---------- */
.wd-chan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wd-chan {
  display: grid;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.wd-chan:hover { border-color: rgba(57, 230, 255, 0.4); transform: translateY(-3px); }

.wd-chan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--lf);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mute);
}

.wd-chan h3 { font-size: 16px; }
.wd-chan p { font-size: 12.5px; line-height: 1.8; color: var(--mute); }

.wd-chan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--lf);
  font-size: 10.5px;
  color: var(--text-2);
}

.wd-chan-foot b { color: var(--neon); font-weight: 500; }

/* ---------- 主播墙 ---------- */
.wd-roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wd-streamer {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.wd-streamer:hover { border-color: rgba(255, 47, 125, 0.4); transform: translateY(-3px); }

.wd-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--panel-3), #0e0b17);
  border: 1px solid var(--line-2);
  font-family: var(--lf);
  font-size: 16px;
  color: var(--neon);
  letter-spacing: 0.04em;
}

.wd-streamer h3 { font-size: 15px; }
.wd-streamer .wd-mono { font-size: 10.5px; }

.wd-streamer dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.wd-streamer dt { font-family: var(--lf); font-size: 9.5px; letter-spacing: 0.1em; color: var(--mute); }
.wd-streamer dd { margin: 2px 0 0; font-size: 13px; color: var(--text); }

/* ---------- 栏目表 ---------- */
.wd-show {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 160px 96px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s var(--ease);
}

.wd-show:last-child { border-bottom: 0; }
.wd-show:hover { background: rgba(57, 230, 255, 0.04); }

.wd-show-no {
  font-family: var(--lf);
  font-size: 22px;
  color: rgba(216, 255, 62, 0.55);
}

.wd-show h3 { font-size: 16px; margin-bottom: 4px; }
.wd-show p { font-size: 12.5px; line-height: 1.7; color: var(--mute); }
.wd-show time { font-family: var(--lf); font-size: 11px; letter-spacing: 0.08em; color: var(--text-2); }

/* ---------- 赛事轮次 ---------- */
.wd-bracket {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wd-round {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.wd-round > h3 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--lf);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--neon);
}

.wd-match {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.wd-match:last-child { border-bottom: 0; }
.wd-match span { color: var(--text-2); }
.wd-match b { font-family: var(--lf); color: var(--text); }
.wd-match small { grid-column: 1 / -1; font-family: var(--lf); font-size: 10px; color: var(--mute); }

/* ---------- 案例 ---------- */
.wd-case {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.wd-case + .wd-case { margin-top: 14px; }

.wd-case-stamp {
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px dashed rgba(255, 47, 125, 0.4);
  border-radius: 8px;
  text-align: center;
}

.wd-case-stamp b {
  font-family: var(--lf);
  font-size: 26px;
  color: var(--hot);
  line-height: 1;
}

.wd-case-stamp span { font-family: var(--lf); font-size: 9px; letter-spacing: 0.14em; color: var(--mute); }

.wd-case h3 { font-size: 17px; margin-bottom: 8px; }
.wd-case p { font-size: 13.5px; line-height: 1.85; color: var(--text-2); }

.wd-case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--mute);
}

.wd-case-metrics b { font-family: var(--lf); color: var(--neon); font-size: 14px; }

/* ---------- 入驻 / 方案 ---------- */
.wd-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wd-plan {
  display: grid;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.wd-plan.is-hot {
  border-color: rgba(216, 255, 62, 0.45);
  background: linear-gradient(170deg, rgba(216, 255, 62, 0.08), rgba(255, 255, 255, 0.01));
  box-shadow: var(--glow-neon);
}

.wd-plan h3 { font-size: 16px; }
.wd-plan .wd-plan-price { font-family: var(--lf); font-size: 26px; color: var(--neon); }
.wd-plan .wd-plan-price small { font-size: 11px; color: var(--mute); }
.wd-plan ul { display: grid; gap: 6px; }
.wd-plan li { position: relative; padding-left: 15px; font-size: 12.5px; line-height: 1.75; color: var(--text-2); }
.wd-plan li::before { content: "·"; position: absolute; left: 2px; color: var(--neon); }

/* ---------- 门户 ---------- */
.wd-portal {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.wd-terminal {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--lf);
  font-size: 11.5px;
  line-height: 2;
  color: #8fae74;
}

.wd-terminal b { color: var(--neon); font-weight: 500; }
.wd-terminal .is-warn { color: var(--amber); }

.wd-portal-aside { display: grid; gap: 14px; }

.wd-portal-list { display: grid; gap: 10px; }

.wd-portal-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--mute);
}

.wd-portal-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(216, 255, 62, 0.1);
  color: var(--neon);
  font-family: var(--lf);
  font-size: 11px;
}

.wd-portal-list strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 2px; }

/* ---------- 资讯 ---------- */
.wd-post {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 96px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s var(--ease);
}

.wd-post:hover { background: rgba(216, 255, 62, 0.035); }

.wd-post-date {
  font-family: var(--lf);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute);
  line-height: 1.5;
}

.wd-post-date b { display: block; font-size: 20px; color: var(--neon); }

.wd-post h3 { font-size: 16px; margin-bottom: 5px; }
.wd-post p { font-size: 13px; line-height: 1.8; color: var(--mute); }
.wd-post-meta { font-family: var(--lf); font-size: 10.5px; color: var(--text-2); text-align: right; }

/* 文章页 */
.wd-article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }

.wd-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-family: var(--lf);
  font-size: 11px;
  color: var(--mute);
}

.wd-aside { position: sticky; top: 84px; display: grid; gap: 16px; }

.wd-aside-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.wd-aside-card h3 {
  margin-bottom: 12px;
  font-family: var(--lf);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-2);
}

.wd-aside-card ul { display: grid; gap: 9px; }
.wd-aside-card li a { font-size: 13px; color: var(--mute); line-height: 1.6; display: block; }
.wd-aside-card li a:hover { color: var(--neon); }

/* ---------- 品牌墙 ---------- */
.wd-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
  overflow: hidden;
}

.wd-logos span {
  display: grid;
  place-items: center;
  padding: 18px 10px;
  background: var(--ink-2);
  font-family: var(--lf);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute);
}

/* ---------- 时间线 ---------- */
.wd-timeline { display: grid; gap: 0; }

.wd-timeline li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.wd-timeline time { font-family: var(--lf); font-size: 12px; color: var(--neon); }
.wd-timeline strong { display: block; margin-bottom: 4px; font-size: 15px; }
.wd-timeline p { font-size: 13px; line-height: 1.8; color: var(--mute); }

/* ---------- 联系 ---------- */
.wd-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wd-contact-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.wd-contact-card h3 { font-size: 14px; margin-bottom: 10px; }
.wd-contact-card p { font-size: 13px; line-height: 1.85; color: var(--text-2); }
.wd-contact-card .wd-mono { margin-top: 8px; color: var(--neon); }

.wd-map {
  position: relative;
  height: 240px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background:
    repeating-linear-gradient(to right, rgba(216, 255, 62, 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    repeating-linear-gradient(to bottom, rgba(216, 255, 62, 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(circle at 62% 44%, rgba(255, 47, 125, 0.22), transparent 46%),
    #0b0910;
}

.wd-map-pin {
  position: absolute;
  left: 62%;
  top: 44%;
  display: grid;
  gap: 4px;
  transform: translate(-50%, -50%);
  font-family: var(--lf);
  font-size: 10px;
  color: var(--neon);
  text-align: center;
}

.wd-map-pin::before {
  content: "";
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--hot);
  box-shadow: 0 0 18px var(--hot);
}

/* ---------- CTA 带 ---------- */
.wd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  border: 1px solid rgba(216, 255, 62, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(100% 160% at 0% 0%, rgba(216, 255, 62, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.wd-cta h2 { font-size: clamp(19px, 2.6vw, 26px); }
.wd-cta p { margin-top: 6px; font-size: 13px; color: var(--mute); }

/* ---------- 404 ---------- */
.wd-404 { display: grid; place-items: center; gap: 18px; padding: 90px 0 110px; text-align: center; }

.wd-404 b {
  font-family: var(--lf);
  font-size: clamp(78px, 16vw, 168px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 255, 62, 0.55);
  text-shadow: 0 0 60px rgba(216, 255, 62, 0.18);
}

.wd-404 h1 { font-size: clamp(20px, 3vw, 28px); }
.wd-404 p { max-width: 46ch; color: var(--mute); font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .wd-hero { grid-template-columns: 1fr; gap: 28px; padding: 34px 0 38px; }
  .wd-crt { max-width: 520px; }
  .wd-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wd-article { grid-template-columns: 1fr; gap: 26px; }
  .wd-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wd-portal { grid-template-columns: 1fr; }
  .wd-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .wd-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wd-chan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wd-plans { grid-template-columns: 1fr; }
  .wd-case { grid-template-columns: 1fr; gap: 14px; }
  .wd-case-stamp { justify-self: start; padding: 10px 16px; grid-auto-flow: column; align-items: center; gap: 8px; }
  .wd-bracket { grid-template-columns: 1fr; }
  .wd-contact-grid { grid-template-columns: 1fr; }
  .wd-show { grid-template-columns: 46px minmax(0, 1fr); }
  .wd-show time, .wd-show .wd-tag { grid-column: 2; }
  .wd-post { grid-template-columns: 72px minmax(0, 1fr); }
  .wd-post-meta { grid-column: 2; text-align: left; }
}

@media (max-width: 640px) {
  .wd-chan-grid, .wd-roster { grid-template-columns: 1fr; }
  .wd-aside { grid-template-columns: 1fr; }
  .wd-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wd-cta { padding: 22px 18px; }
}
