@charset "utf-8";
/* =========================================================
   欧博官网 · 电竞赛事报道中心
   全站样式表（无外部依赖，纯手写）
   ========================================================= */

:root {
  --bg: #080b12;
  --bg-2: #0d1220;
  --panel: #111a28;
  --panel-2: #16202f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8eef7;
  --text-2: #9fb0c6;
  --text-3: #6f8098;
  --cyan: #2ad4e6;
  --cyan-deep: #0e7f8d;
  --amber: #f6b23c;
  --danger: #ef5b5b;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --maxw: 1200px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: #7ce9f4; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .01em;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #04121a;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ================= 顶部导航 ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 18, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), #0b7a86 60%, #0a3f4a);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: #021016;
  letter-spacing: 0;
}

.brand-text { line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.brand-sub {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .18em;
}

.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 15px;
  white-space: nowrap;
}
.nav-list a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.nav-list a[aria-current="page"] {
  color: #04141a;
  background: var(--cyan);
  font-weight: 600;
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(42, 212, 230, .4);
  border-radius: 999px;
  font-size: 13px;
  color: var(--cyan);
  white-space: nowrap;
}
.header-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 91, 91, .18);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

/* ================= 首页主视觉 ================= */
.hero {
  position: relative;
  isolation: isolate;
  padding: 96px 0 88px;
  background-image: url("../img/hero-arena.jpg");
  background-size: cover;
  background-position: center 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 18% 45%, rgba(8, 11, 18, .96) 0%, rgba(8, 11, 18, .72) 45%, rgba(8, 11, 18, .28) 100%),
    linear-gradient(180deg, rgba(8, 11, 18, .55) 0%, rgba(8, 11, 18, .3) 45%, var(--bg) 100%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid rgba(42, 212, 230, .35);
  background: rgba(42, 212, 230, .08);
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: .06em;
}

.hero h1 {
  max-width: 15em;
  font-size: clamp(30px, 1.4vw + 26px, 52px);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-lead {
  max-width: 40em;
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--cyan); color: #04141a; }
.btn-primary:hover { background: #7ce9f4; color: #04141a; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* 数据条 */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: rgba(10, 15, 24, .78);
  padding: 18px 20px;
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.2;
}
.stat-label { font-size: 13px; color: var(--text-3); }

/* ================= 子页头部 ================= */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 52px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 11, 18, .96) 0%, rgba(8, 11, 18, .82) 48%, rgba(8, 11, 18, .55) 100%);
}
.page-hero h1 {
  font-size: clamp(26px, 1vw + 22px, 40px);
  max-width: 20em;
  margin-bottom: 14px;
}
.page-hero p {
  max-width: 46em;
  color: var(--text-2);
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: #3b4a5f; }

/* ================= 通用区块 ================= */
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.section-head h2 {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: clamp(21px, .6vw + 18px, 28px);
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--cyan-deep));
}
.section-head p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--text-3);
}
.section-more { font-size: 14px; white-space: nowrap; }

.eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* 栏目卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* 四栏目两列排布 */
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 212, 230, .35);
  box-shadow: var(--shadow);
  color: var(--text);
}
.card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a1620;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-thumb img { transform: scale(1.04); }
.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(42, 212, 230, .12);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .04em;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-2); margin-bottom: 16px; }
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
}
.card-foot .go { color: var(--cyan); }

/* 文章列表 */
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.article-list li {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.article-list time {
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.article-list h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.article-list p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}
.article-list .topic {
  align-self: start;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}

/* 双栏内容 */
.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin-top: 1.4em; color: #cfe3f2; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: .5em; }

/* 侧栏 */
.aside-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
}
.aside-card h3 { font-size: 16px; margin-bottom: 16px; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li + li { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.aside-card li a { display: block; font-size: 14.5px; color: var(--text); }
.aside-card li a:hover { color: var(--cyan); }
.aside-card li span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-3); }

/* 赛程表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}
table.schedule {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
}
table.schedule caption {
  caption-side: top;
  text-align: left;
  padding: 18px 20px;
  font-size: 13px;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
}
table.schedule th,
table.schedule td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.schedule thead th {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--text-3);
  font-weight: 600;
  background: var(--panel-2);
  white-space: nowrap;
}
table.schedule tbody tr:hover { background: rgba(42, 212, 230, .04); }
table.schedule tbody tr:last-child td { border-bottom: none; }
table.schedule .match { font-weight: 600; color: var(--text); white-space: nowrap; }
table.schedule .vs { color: var(--text-3); margin: 0 8px; font-weight: 400; }
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
}
.badge-live { background: rgba(239, 91, 91, .14); color: #ff8b8b; }
.badge-soon { background: rgba(246, 178, 60, .14); color: var(--amber); }
.badge-done { background: rgba(255, 255, 255, .07); color: var(--text-3); }

/* 赛程筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-2);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn:hover { color: var(--text); border-color: rgba(42, 212, 230, .4); }
.filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04141a;
  font-weight: 600;
}
table.schedule tr[hidden] { display: none; }

/* 提示条 */
.notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid rgba(246, 178, 60, .28);
  background: rgba(246, 178, 60, .07);
  font-size: 14px;
  color: #e6d3b4;
}
.notice strong { color: var(--amber); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--cyan);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--text-2); font-size: 14.5px; }

/* 步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--cyan);
}
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--text-2); }

/* 相关栏目 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
}
.related:hover { border-color: rgba(42, 212, 230, .4); color: var(--text); transform: translateY(-3px); }
.related .k { display: block; font-size: 12px; letter-spacing: .16em; color: var(--cyan); margin-bottom: 6px; }
.related .t { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.related .d { display: block; font-size: 13.5px; color: var(--text-3); }

/* 页脚 */
.site-footer {
  margin-top: 40px;
  padding: 56px 0 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-about p { color: var(--text-3); font-size: 13.5px; max-width: 34em; }
.footer-col h3 {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-2); font-size: 14px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: var(--text-3);
  font-size: 13px;
}
.keyword-line { color: var(--text-3); font-size: 13px; }
.keyword-line a { color: var(--text-2); }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(17, 26, 40, .9);
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: var(--cyan); transform: translateY(-3px); }

/* 滚动入场动画：仅在 JS 可用时启用，保证无脚本时内容始终可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

/* ================= 响应式 ================= */
@media (max-width: 1000px) {
  .card-grid, .related-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .header-live { display: none; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 10px 18px 18px;
    background: rgba(9, 13, 21, .98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 12px 14px; font-size: 15px; }

  .hero { padding: 64px 0 56px; }
  .hero-lead { font-size: 15.5px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }

  .card-grid, .related-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }

  .article-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .article-list .topic { justify-self: start; order: -1; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .to-top, .hero-actions, .header-live { display: none !important; }
  body { background: #fff; color: #000; }
}
