/* ============================================================
   jrs直播 · 体育赛事实时观看平台
   设计风格：热血霓虹竞技 · 深底高对比 × 荧光橙/青蓝/品红撞色
   布局：斜切几何分区 + 大图通栏 + 非对称撞色网格（全新，不与旧模板重复）
   ============================================================ */

:root {
  --ink: #0c0e1a;
  --ink-2: #141829;
  --ink-3: #1c2138;
  --panel: #12162a;
  --panel-2: #181d34;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,120,60,.32);
  --txt-h: #f2f5ff;
  --txt-b: #aab3cf;
  --txt-dim: #6c7696;
  --orange: #ff5a1f;
  --orange-2: #ff8a3c;
  --cyan: #27c4ff;
  --pink: #ff3ea2;
  --green: #49e2a8;
  --yellow: #ffd23c;
  --grad-hot: linear-gradient(100deg, #ff5a1f, #ff3ea2);
  --grad-cool: linear-gradient(100deg, #27c4ff, #6f6bff);
  --shadow: 0 18px 44px rgba(0,0,0,.45);
  --radius: 16px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-en: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--txt-b);
  background:
    radial-gradient(1100px 480px at 8% -8%, rgba(255,90,31,.16), transparent 58%),
    radial-gradient(900px 460px at 96% 0%, rgba(39,196,255,.14), transparent 55%),
    var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1240px, 92%); margin: 0 auto; position: relative; z-index: 2; }

/* ============ 顶部导航 ============ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(12,14,26,.86);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.head-flex { display: flex; align-items: center; height: 66px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  height: 38px; padding: 0 12px; display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 900; font-size: 17px; letter-spacing: .5px; color: #fff;
  background: var(--grad-hot); border-radius: 10px;
  box-shadow: 0 6px 18px rgba(255,90,31,.4);
}
.brand-name { font-size: 20px; font-weight: 900; color: var(--txt-h); letter-spacing: 2px; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
  font-size: 15px; color: var(--txt-b); padding: 8px 14px; border-radius: 9px;
  font-weight: 600; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--txt-h); background: rgba(255,255,255,.05); }
.main-nav a.on { color: #fff; background: var(--grad-hot); box-shadow: 0 6px 16px rgba(255,90,31,.35); }
.head-actions { display: flex; align-items: center; }
.pill-btn {
  display: inline-block; font-weight: 800; font-size: 14px;
  padding: 9px 20px; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease;
}
.pill-btn.solid { background: var(--grad-hot); color: #fff; box-shadow: 0 8px 20px rgba(255,90,31,.35); }
.pill-btn.solid:hover { transform: translateY(-2px); }

/* ============ 通栏大图横幅 ============ */
.showcase { padding: 30px 0 10px; }
.hero-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(12,14,26,.2) 0%, rgba(12,14,26,.55) 45%, rgba(12,14,26,.9) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 70px 54px 96px;
  color: var(--txt-h);
  max-width: 640px;
}
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(255,90,31,.82); padding: 5px 13px; border-radius: 999px;
  margin-bottom: 14px;
}
.live-chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.5)} 80%{box-shadow:0 0 0 8px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }
.hero-inner h1 { font-size: 40px; font-weight: 900; letter-spacing: .5px; margin-bottom: 12px; }
.hero-inner p { font-size: 15px; color: rgba(240,244,255,.85); max-width: 520px; margin-bottom: 18px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-tags span {
  font-size: 12px; color: var(--txt-h);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 4px 12px; border-radius: 999px;
}
.giant-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-hot); color: #fff; font-weight: 800; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(255,90,31,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.giant-btn i { font-style: normal; transition: transform .2s ease; }
.giant-btn:hover { transform: translateY(-2px); transform: translateY(-2px); }
.giant-btn:hover i { transform: translateX(4px); }

/* 通栏右侧榜单条 */
.hero-rack {
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; gap: 12px; width: 230px;
}
.rack-item {
  position: relative;
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(12,14,26,.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  padding: 12px 12px 12px 34px; border-radius: 12px;
  color: var(--txt-h);
  transition: transform .2s ease, border-color .2s ease;
}
.rack-item:hover { transform: translateX(-4px); border-color: rgba(255,138,60,.5); }
.rack-item .rk { position: absolute; left: 10px; top: 10px; font-weight: 900; font-size: 15px; color: var(--orange-2); }
.rack-item b { font-size: 15px; font-weight: 800; }
.rack-item small { font-size: 11.5px; color: var(--txt-dim); }
.rack-item img { position: absolute; right: 12px; top: 12px; width: 46px; height: 46px; border-radius: 8px; object-fit: cover; opacity: .95; }

/* ============ 数据带 ============ */
.metric-band { padding: 26px 0 6px; }
.metric-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: linear-gradient(120deg, #131830, #0f1426);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.metric-cell { text-align: center; position: relative; }
.metric-cell + .metric-cell::before {
  content: ""; position: absolute; left: -8px; top: 10%; height: 80%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.16), transparent);
}
.metric-cell b { display: block; font-family: var(--font-en); font-size: 30px; font-weight: 900; color: var(--orange-2); line-height: 1.1; background: var(--grad-hot); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.metric-cell span { font-size: 13px; color: var(--txt-dim); }

/* ============ 通用分区 ============ */
.zone { padding: 30px 0 10px; position: relative; }
.zone-alt {
  background: linear-gradient(180deg, transparent, rgba(39,196,255,.03) 20%, rgba(255,90,31,.03) 80%, transparent);
}
.zone-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.zone-ttl { display: flex; align-items: flex-start; gap: 12px; }
.zone-ttl .tick {
  width: 6px; height: 30px; margin-top: 6px; border-radius: 4px;
  background: var(--grad-hot); flex-shrink: 0;
}
.zone-ttl .tick-yellow { background: linear-gradient(180deg,#ffd23c,#ff8a3c); }
.zone-ttl .tick-pink { background: linear-gradient(180deg,#ff3ea2,#6f6bff); }
.zone-ttl .tick-green { background: linear-gradient(180deg,#49e2a8,#27c4ff); }
.zone-ttl h2 { font-size: 24px; font-weight: 900; color: var(--txt-h); letter-spacing: .5px; line-height: 1.2; }
.more-link { font-size: 14px; font-weight: 700; color: var(--orange-2); }
.more-link:hover { color: var(--txt-h); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a {
  font-size: 13px; color: var(--txt-b); font-weight: 600;
  padding: 6px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: all .2s ease;
}
.tabs a:hover { color: var(--txt-h); border-color: var(--line-strong); }
.tabs a.on { color: #fff; background: var(--grad-hot); border-color: transparent; }

/* ============ 正在热播 ============ */
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.shot-card:hover { transform: translateY(-4px); border-color: rgba(255,120,60,.4); box-shadow: var(--shadow); }
.shot-pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.shot-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.shot-card:hover .shot-pic img { transform: scale(1.05); }
.shot-pic .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 800; color: #fff;
  background: var(--grad-hot); padding: 4px 11px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(255,90,31,.35);
}
.shot-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; }
.shot-body h3 { font-size: 16px; font-weight: 800; color: var(--txt-h); line-height: 1.35; }
.shot-body h3 a:hover { color: var(--orange-2); }
.shot-body p { font-size: 13px; color: var(--txt-b); line-height: 1.6; }
.shot-body .feed {
  font-style: normal; font-size: 12px; color: var(--cyan);
  margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line);
}

/* ============ 即时比分 ============ */
.score-rows { display: grid; gap: 10px; }
.score-row {
  display: grid; grid-template-columns: 84px 1fr 130px 1fr 64px; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 18px;
  transition: border-color .2s ease, background .2s ease;
}
.score-row:hover { border-color: rgba(39,196,255,.4); background: var(--panel-2); }
.score-time { font-size: 12px; color: var(--txt-dim); }
.team-h { font-size: 14px; color: var(--txt-h); font-weight: 700; text-align: right; }
.team-h b { margin-left: 6px; font-family: var(--font-en); color: var(--orange-2); font-size: 16px; }
.score-mid { font-size: 12px; color: var(--cyan); text-align: center; font-weight: 700; }
.score-sport {
  justify-self: end; font-size: 11.5px; font-weight: 800; color: #fff;
  background: linear-gradient(100deg,#27c4ff,#6f6bff); padding: 4px 10px; border-radius: 999px;
}

/* ============ 热门项目 ============ */
.sport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sport-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 120px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  color: var(--txt-h); text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sport-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sport-tile i { font-style: normal; font-size: 30px; line-height: 1; }
.sport-tile b { font-size: 16px; font-weight: 800; }
.sport-tile small { font-size: 11.5px; color: var(--txt-dim); }
.sport-tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
}
.t1::after { background: var(--grad-hot); } .t1:hover { border-color: rgba(255,90,31,.5); }
.t2::after { background: linear-gradient(90deg,#ff8a3c,#ffd23c); } .t2:hover { border-color: rgba(255,210,60,.5); }
.t3::after { background: var(--grad-cool); } .t3:hover { border-color: rgba(39,196,255,.5); }
.t4::after { background: linear-gradient(90deg,#ff3ea2,#ff8a3c); } .t4:hover { border-color: rgba(255,62,162,.5); }
.t5::after { background: linear-gradient(90deg,#49e2a8,#27c4ff); } .t5:hover { border-color: rgba(73,226,168,.5); }
.t6::after { background: linear-gradient(90deg,#ffd23c,#ff5a1f); } .t6:hover { border-color: rgba(255,210,60,.5); }
.t7::after { background: linear-gradient(90deg,#6f6bff,#ff3ea2); } .t7:hover { border-color: rgba(111,107,255,.5); }
.t8::after { background: linear-gradient(90deg,#27c4ff,#49e2a8); } .t8:hover { border-color: rgba(73,226,168,.5); }

/* ============ 精选频道 ============ */
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.channel-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); display: block;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.channel-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ch-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 800; color: #fff;
  background: rgba(12,14,26,.6); border: 1px solid rgba(255,255,255,.3);
  padding: 3px 10px; border-radius: 999px;
}
.ch-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10,12,24,.92));
}
.ch-text h3 { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.ch-text p { font-size: 12px; color: rgba(240,244,255,.82); line-height: 1.5; }

/* ============ 近期赛程 ============ */
.fixtures { display: grid; gap: 10px; }
.fix-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 18px;
  transition: border-color .2s ease, background .2s ease;
}
.fix-row:hover { border-color: rgba(255,120,60,.4); background: var(--panel-2); }
.fix-date { display: flex; flex-direction: column; align-items: center; min-width: 52px; flex-shrink: 0; font-size: 12px; color: var(--txt-dim); }
.fix-date b { font-family: var(--font-en); font-size: 22px; font-weight: 900; color: var(--orange-2); line-height: 1.1; }
.fix-pair { display: flex; align-items: center; gap: 12px; flex: 1; }
.fix-pair span { font-size: 15px; font-weight: 700; color: var(--txt-h); }
.fix-pair em { font-style: normal; font-size: 11px; font-weight: 900; color: #fff; background: var(--grad-cool); padding: 3px 9px; border-radius: 8px; }
.fix-venue { font-size: 13px; color: var(--txt-b); white-space: nowrap; flex-shrink: 0; }

/* ============ 底部文案 ============ */
.seo-panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 32px;
}
.seo-panel h3 { font-size: 18px; color: var(--txt-h); margin-bottom: 14px; font-weight: 900; }
.seo-panel p { font-size: 14px; color: var(--txt-b); margin-bottom: 10px; }
.seo-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 6px; }
.seo-panel ul li { font-size: 13px; color: var(--txt-dim); padding-left: 20px; position: relative; }
.seo-panel ul li::before { content:""; position:absolute; left:0; top:8px; width:8px; height:8px; border-radius:2px; background: var(--grad-hot); }

/* ============ 底部引导带 ============ */
.cta-strap { padding: 26px 0 8px; }
.strap-inner {
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--grad-hot); border-radius: var(--radius);
  padding: 40px 42px; color: #fff;
  box-shadow: 0 18px 46px rgba(255,90,31,.35);
}
.strap-inner h2 { font-size: 26px; font-weight: 900; }
.strap-inner p { font-size: 14px; opacity: .92; margin-top: 5px; }
.giant-btn.light { background: #fff; color: #ff5a1f; box-shadow: 0 12px 26px rgba(10,20,40,.3); }

/* ============ 页脚 ============ */
.footer { background: #0a0c18; border-top: 1px solid var(--line); margin-top: 34px; padding: 44px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { font-size: 13px; color: var(--txt-dim); max-width: 300px; line-height: 1.8; }
.foot-col h4 { font-size: 15px; color: var(--txt-h); margin-bottom: 14px; font-weight: 800; }
.foot-col a { display: block; font-size: 13px; color: var(--txt-b); padding: 5px 0; transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--orange-2); transform: translateX(4px); }
.foot-bottom { text-align:center; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--txt-dim); }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .sport-grid { grid-template-columns: repeat(4, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-rack { position: static; transform: none; width: 100%; flex-direction: row; background: rgba(12,14,26,.6); padding: 14px; }
  .hero-stage { display: block; }
  .hero-stage { clip-path: none; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .hero-inner { padding: 40px 24px 60px; }
  .hero-inner h1 { font-size: 27px; }
  .hero-rack { flex-direction: column; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .metric-cell + .metric-cell::before { display: none; }
  .hot-grid, .channel-grid { grid-template-columns: 1fr; }
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
  .score-row { grid-template-columns: 64px 1fr 96px 1fr; }
  .score-sport { display: none; }
  .fix-row { flex-wrap: wrap; gap: 10px; }
  .fix-venue { white-space: normal; }
  .seo-panel ul { grid-template-columns: 1fr; }
  .strap-inner { flex-direction: column; text-align: center; }
}
