/* ============================================================
   球讯直播 ukwrbb.cn — 综合体育门户
   ============================================================ */
:root {
  --bg:       #0c1118;
  --bg2:      #131b26;
  --bg3:      #1a2535;
  --card:     #162033;
  --border:   rgba(255,255,255,0.08);
  --red:      #e84545;
  --red2:     #c72b2b;
  --orange:   #ff6b35;
  --gold:     #f5a623;
  --green:    #22c55e;
  --cyan:     #38bdf8;
  --text:     #e2e8f0;
  --text2:    #94a3b8;
  --text3:    #64748b;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,17,24,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 62px;
}
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 62px; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo-icon { width: 32px; height: 32px; background: var(--red); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.brand-cn { font-size: 1.05rem; font-weight: 900; color: #fff; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.65rem; color: var(--text3); display: block; }
.nav-links { display: flex; align-items: center; gap: 0.2rem; flex: 1; }
.nav-links a {
  padding: 0.4rem 0.75rem; border-radius: 6px; font-size: 0.875rem; color: var(--text2);
  transition: var(--transition); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg3); color: #fff; }
.nav-cta {
  background: var(--red); color: #fff !important; font-weight: 700;
  padding: 0.45rem 1rem; border-radius: 6px;
}
.nav-cta:hover { background: var(--red2) !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text2); padding: 0.4rem 0.6rem; border-radius: 6px; font-size: 1.1rem; margin-left: auto; }

/* ── TICKER ── */
.ticker-wrap {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; height: 38px; overflow: hidden;
}
.ticker-label {
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0 0.8rem; height: 100%; display: flex; align-items: center; white-space: nowrap; flex-shrink: 0;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-inner { display: flex; gap: 3rem; animation: tickerScroll 40s linear infinite; padding-left: 2rem; }
.ticker-inner span { white-space: nowrap; font-size: 0.82rem; color: var(--text2); }
.ticker-inner span strong { color: var(--orange); margin-right: 0.3rem; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0a0f1a 0%, #1a0a1a 50%, #0c1118 100%);
  padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,69,69,0.12) 0%, transparent 60%);
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(232,69,69,0.15); border: 1px solid rgba(232,69,69,0.3); color: var(--red); font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 20px; margin-bottom: 1rem; }
.hero-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; line-height: 1.2; margin-bottom: 0.75rem; }
.hero-title em { color: var(--red); font-style: normal; }
.hero-sub { font-size: 0.95rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.5rem; }
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.4rem; border-radius: 8px; font-size: 0.9rem; font-weight: 700; transition: var(--transition); border: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,69,69,0.35); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--text2); background: var(--bg3); }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.stat-val { font-size: 1.8rem; font-weight: 900; color: var(--red); }
.stat-lbl { font-size: 0.78rem; color: var(--text2); margin-top: 0.25rem; }

/* ── SECTIONS ── */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg2); }
.section-title { font-size: 1.25rem; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; }
.section-title .dot { width: 4px; height: 1.1em; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.section-sub { font-size: 0.85rem; color: var(--text2); margin-bottom: 1.5rem; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.more-link { font-size: 0.82rem; color: var(--text2); transition: var(--transition); }
.more-link:hover { color: var(--red); }

/* ── 推荐比分 PICKS ── */
.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }
.pick-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.pick-card:hover { border-color: rgba(232,69,69,0.4); transform: translateY(-3px); box-shadow: var(--shadow); }
.pick-top { background: linear-gradient(90deg, var(--bg3), var(--bg2)); padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.pick-league { font-size: 0.73rem; color: var(--text2); font-weight: 600; }
.pick-date { font-size: 0.72rem; color: var(--text3); }
.pick-body { padding: 1.2rem 1rem; }
.pick-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.pick-team { text-align: center; }
.pick-team.right { text-align: center; }
.team-flag { font-size: 1.8rem; margin-bottom: 0.2rem; }
.team-name { font-size: 0.88rem; font-weight: 700; color: #fff; }
.team-rank { font-size: 0.72rem; color: var(--text3); margin-top: 0.1rem; }
.vs-box { text-align: center; }
.vs-badge { background: var(--bg); border: 1px solid var(--border); color: var(--text2); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.pick-time { text-align: center; font-size: 0.8rem; color: var(--orange); font-weight: 700; margin-top: 0.3rem; }
.pick-prediction { background: var(--bg); border-radius: 8px; padding: 0.85rem 1rem; }
.pred-score { font-size: 1.4rem; font-weight: 900; color: var(--gold); text-align: center; letter-spacing: 0.15em; }
.pred-label { font-size: 0.72rem; color: var(--text3); text-align: center; margin-bottom: 0.6rem; }
.pred-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
.pred-tag { font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 600; }
.tag-win { background: rgba(34,197,94,0.15); color: var(--green); }
.tag-odds { background: rgba(245,166,35,0.15); color: var(--gold); }
.tag-conf { background: rgba(232,69,69,0.15); color: var(--red); }
.pick-footer { padding: 0.75rem 1rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--text2); }

/* ── 直播 LIVE ── */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.live-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; display: flex; gap: 1rem; align-items: center; transition: var(--transition);
}
.live-card:hover { border-color: rgba(232,69,69,0.4); background: var(--bg3); }
.live-status { flex-shrink: 0; text-align: center; width: 52px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin: 0 auto 0.4rem; box-shadow: 0 0 0 3px rgba(232,69,69,0.3); animation: pulse 1.5s ease-in-out infinite; }
.live-dot.upcoming { background: var(--text3); box-shadow: none; animation: none; }
.live-status-txt { font-size: 0.68rem; color: var(--red); font-weight: 700; }
.live-status-txt.upcoming { color: var(--text3); }
.live-info { flex: 1; min-width: 0; }
.live-league { font-size: 0.72rem; color: var(--text2); margin-bottom: 0.2rem; }
.live-match { font-size: 0.92rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-score { font-size: 0.82rem; color: var(--orange); font-weight: 700; margin-top: 0.15rem; }
.live-btn { flex-shrink: 0; background: var(--red); color: #fff; border: none; border-radius: 6px; padding: 0.4rem 0.75rem; font-size: 0.8rem; font-weight: 700; transition: var(--transition); }
.live-btn:hover { background: var(--red2); }
.live-btn.soon { background: var(--bg); color: var(--text2); border: 1px solid var(--border); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* ── 资讯 NEWS ── */
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.news-featured { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.news-img-placeholder { height: 200px; background: linear-gradient(135deg, var(--bg3), var(--bg2)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.news-content { padding: 1.25rem; flex: 1; }
.news-cat { font-size: 0.7rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.news-title { font-size: 1.05rem; font-weight: 800; color: #fff; line-height: 1.4; margin-bottom: 0.5rem; }
.news-excerpt { font-size: 0.85rem; color: var(--text2); line-height: 1.65; }
.news-meta { font-size: 0.75rem; color: var(--text3); margin-top: 0.75rem; }
.news-list { display: flex; flex-direction: column; gap: 0.75rem; }
.news-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; transition: var(--transition); }
.news-item:hover { border-color: rgba(232,69,69,0.3); }
.news-item-cat { font-size: 0.68rem; font-weight: 700; color: var(--orange); margin-bottom: 0.3rem; }
.news-item-title { font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 0.3rem; }
.news-item-meta { font-size: 0.73rem; color: var(--text3); }

/* ── 积分榜 STANDINGS ── */
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tab-btn {
  background: var(--card); border: 1px solid var(--border); color: var(--text2);
  padding: 0.45rem 1rem; border-radius: 6px; font-size: 0.83rem; font-weight: 600;
  transition: var(--transition);
}
.tab-btn:hover { border-color: var(--text3); color: #fff; }
.tab-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.standings-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.standings-table th { background: var(--bg3); padding: 0.65rem 0.8rem; text-align: left; font-size: 0.75rem; color: var(--text2); font-weight: 600; }
.standings-table td { padding: 0.65rem 0.8rem; font-size: 0.85rem; border-top: 1px solid var(--border); }
.standings-table tr:hover td { background: var(--bg3); }
.rank-1,.rank-2,.rank-3,.rank-4 { color: var(--cyan); font-weight: 700; }
.rank-rel { color: var(--orange); font-weight: 700; }
.rank-drop { color: var(--red); font-weight: 700; }
.team-cell { display: flex; align-items: center; gap: 0.5rem; }
.team-flag-sm { font-size: 1.1rem; }
.team-name-td { font-weight: 700; color: #fff; }
.pts { font-weight: 900; color: var(--gold); }

/* ── 球星 STARS ── */
.stars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.star-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; text-align: center; transition: var(--transition);
}
.star-card:hover { border-color: rgba(232,69,69,0.4); transform: translateY(-3px); }
.star-avatar { font-size: 2.8rem; margin-bottom: 0.6rem; }
.star-name { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 0.2rem; }
.star-team { font-size: 0.75rem; color: var(--text2); margin-bottom: 0.6rem; }
.star-stats { display: flex; justify-content: center; gap: 1rem; }
.star-stat { text-align: center; }
.star-stat-val { font-size: 1rem; font-weight: 900; color: var(--gold); }
.star-stat-lbl { font-size: 0.65rem; color: var(--text3); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; max-width: 800px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item[open] { border-color: rgba(232,69,69,0.4); }
.faq-q { padding: 1rem 1.2rem; cursor: pointer; font-weight: 600; color: var(--text); font-size: 0.92rem; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '＋'; color: var(--text3); flex-shrink: 0; font-size: 1rem; }
.faq-item[open] .faq-q::after { content: '－'; color: var(--red); }
.faq-a { padding: 0 1.2rem 1rem; font-size: 0.87rem; color: var(--text2); line-height: 1.7; }

/* ── 导航专题 GUIDE NAV ── */
.guide-nav { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 0; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.6rem; margin-top: 1rem; }
.guide-link { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--text); transition: var(--transition); display: block; }
.guide-link:hover { border-color: var(--red); color: #fff; background: var(--bg3); }

/* ── FOOTER ── */
.footer { background: #070b12; border-top: 1px solid var(--border); padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand-name { font-size: 1.1rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.footer-desc { font-size: 0.83rem; color: var(--text3); line-height: 1.7; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--text2); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 0.83rem; color: var(--text3); margin-bottom: 0.4rem; transition: var(--transition); }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { font-size: 0.78rem; color: var(--text3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: var(--text3); transition: var(--transition); }
.footer-links a:hover { color: var(--red); }

/* ── 落地页 Article ── */
.art-wrap { max-width: 960px; margin: 0 auto; padding: 80px 1.25rem 80px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text3); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--red); }
.bc-sep { color: var(--text3); }
.art-hero-box { background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 2rem; margin-bottom: 2rem; }
.art-eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); margin-bottom: 0.5rem; font-weight: 700; }
.art-h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 900; color: #fff; line-height: 1.25; margin-bottom: 0.7rem; }
.art-desc { font-size: 0.95rem; color: var(--text2); line-height: 1.7; max-width: 680px; }
.art-cta-btn { display: inline-block; margin-top: 1.2rem; background: var(--red); color: #fff; font-weight: 700; padding: 0.65rem 1.4rem; border-radius: 8px; font-size: 0.9rem; transition: var(--transition); }
.art-cta-btn:hover { background: var(--red2); }
.art-body { display: flex; flex-direction: column; gap: 1.5rem; }
.art-section { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.art-h2 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--red); }
.art-lead { color: var(--text2); font-size: 0.88rem; margin: 0.5rem 0 1.2rem; line-height: 1.7; }
.art-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.85rem; margin-top: 0.5rem; }
.art-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; }
.art-card:hover { border-color: rgba(232,69,69,0.4); }
.art-h3 { font-size: 0.88rem; font-weight: 700; color: var(--orange); margin-bottom: 0.35rem; }
.art-card p { font-size: 0.82rem; color: var(--text2); line-height: 1.6; margin-top: 0.2rem; }
.art-steps { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.5rem; }
.art-steps li { color: var(--text); font-size: 0.88rem; line-height: 1.7; }
.art-steps li strong { color: var(--gold); display: block; margin-bottom: 2px; }
.art-faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.art-faq { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.art-faq[open] { border-color: rgba(232,69,69,0.4); }
.art-faq-q { padding: 0.8rem 1rem; cursor: pointer; font-weight: 600; color: var(--text); font-size: 0.88rem; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.art-faq-q::-webkit-details-marker { display: none; }
.art-faq-q::after { content: '＋'; color: var(--text3); flex-shrink: 0; }
.art-faq[open] .art-faq-q::after { content: '－'; color: var(--red); }
.art-faq-a { padding: 0 1rem 0.85rem; font-size: 0.84rem; color: var(--text2); line-height: 1.7; }
.art-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 0.75rem; }
.art-rel-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 0.85rem; transition: var(--transition); }
.art-rel-card:hover { border-color: var(--red); }
.art-rel-card strong { display: block; font-size: 0.85rem; color: #fff; margin-bottom: 0.2rem; }
.art-rel-card span { font-size: 0.78rem; color: var(--text3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0.75rem; gap: 0.3rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .picks-grid { grid-template-columns: 1fr; }
  .stars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .art-cards { grid-template-columns: 1fr; }
  .art-related { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(3,1fr); gap: 0.5rem; }
  .stat-val { font-size: 1.3rem; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
