/* ==========================================================================
   首届中学生人形机器人足球联赛（南A）— 赛事官网前台样式
   设计：亮色高端主题 · 蓝紫渐变点缀 · 玻璃质感 · 响应式
   主站品牌渐变保留：linear-gradient(135deg,#1E88FF,#7C5CFF,#00D4FF)
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
               "Segoe UI", "Hiragino Sans GB", sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; outline: none; }
ul, ol { list-style: none; }

/* ---------- Theme tokens（亮色高端方案） ---------- */
:root {
  --bg:            #F5F8FC;
  --bg-2:          #FFFFFF;
  --bg-3:          #EDF2FA;
  --surface:       #FFFFFF;
  --surface-2:     #F2F6FD;
  --border:        rgba(30,136,255,.14);
  --border-strong: rgba(30,136,255,.32);
  --text:          #18233C;
  --text-dim:      #5B6B85;
  --text-mute:     #8C98AE;
  --primary:       #1E88FF;
  --primary-2:     #00A6FF;
  --accent:        #7C5CFF;
  --gradient:      linear-gradient(135deg, #1E88FF 0%, #7C5CFF 50%, #00D4FF 100%);
  --gradient-soft: linear-gradient(135deg, rgba(30,136,255,.10), rgba(124,92,255,.08) 60%, rgba(0,212,255,.12));
  --shadow:        0 14px 40px -14px rgba(30,136,255,.28);
  --shadow-card:   0 6px 22px -10px rgba(23,35,61,.12);
  --radius:        14px;
  --radius-sm:     8px;
  --container:     1240px;
  --header-h:      72px;
}

/* ---------- Background decoration（浅色光晕 + 细网格） ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(30,136,255,.10), transparent 60%),
    radial-gradient(700px 500px at 5% 30%, rgba(124,92,255,.08), transparent 60%),
    radial-gradient(600px 400px at 92% 92%, rgba(0,212,255,.08), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(30,136,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,136,255,.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 82%);
  pointer-events: none;
}

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

/* ---------- Header（白色毛玻璃） ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-stuck { background: rgba(255,255,255,.92); box-shadow: 0 8px 30px -16px rgba(30,136,255,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; letter-spacing: 1px; white-space: nowrap; color: var(--text); }
.brand-logo {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); border-radius: 12px;
  font-size: 1.3rem; box-shadow: 0 8px 22px -8px rgba(30,136,255,.55);
}
.brand small { display: block; font-size: .7rem; color: var(--text-mute); letter-spacing: 2px; font-weight: 400; }

.nav-menu { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu a {
  position: relative;
  padding: 10px 14px;
  font-size: .92rem;
  color: var(--text-dim);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color .25s, background .25s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(30,136,255,.07); }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 22px; height: 2px; background: var(--gradient); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .25s, background .25s, color .25s;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 12px 30px -10px rgba(30,136,255,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(124,92,255,.55); }
.btn-ghost { border-color: var(--border-strong); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--gradient-soft); border-color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ---------- Hero（浅色渐变） ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 70px;
  min-height: 82vh;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 12%, rgba(124,92,255,.14), transparent 65%),
    radial-gradient(700px 420px at 6% 88%, rgba(0,212,255,.12), transparent 65%),
    linear-gradient(180deg, #EAF3FF 0%, #F3F0FF 55%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px -8px rgba(30,136,255,.25);
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.25;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-dim); margin: 20px 0 30px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .num {
  font-size: 1.9rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat .lbl { font-size: .8rem; color: var(--text-mute); letter-spacing: 1px; }

/* Hero 视觉：机器人与球场抽象图形 */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.pitch {
  width: 100%; max-width: 420px; aspect-ratio: 3/2;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(rgba(30,136,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,136,255,.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(30,136,255,.16), transparent 70%),
    #FFFFFF;
  background-size: 34px 34px, 34px 34px, 100% 100%, 100%;
  position: relative;
  box-shadow: 0 30px 70px -30px rgba(30,136,255,.35);
}
.pitch::before, .pitch::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  border: 1.5px solid rgba(30,136,255,.3); border-radius: 50%;
  width: 34%; height: 62%;
}
.pitch::after { width: 100%; height: 100%; border: 1.5px dashed rgba(30,136,255,.22); border-radius: 24px; }
.robot-ball {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 108px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); border-radius: 50%;
  box-shadow: 0 16px 46px -12px rgba(30,136,255,.6);
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-14px); } }
.dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 16px rgba(30,136,255,.7); animation: pulse 2.4s infinite; }
.dot.d1 { top: 14%; left: 18%; }
.dot.d2 { bottom: 18%; left: 24%; animation-delay: .6s; background: var(--accent); box-shadow: 0 0 16px rgba(124,92,255,.7); }
.dot.d3 { top: 26%; right: 12%; animation-delay: 1.1s; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-alt { background: #FFFFFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; padding: 5px 16px; margin-bottom: 14px;
  font-size: .78rem; letter-spacing: 3px; color: var(--primary);
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px -8px rgba(30,136,255,.3);
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: 1px; color: var(--text); }
.section-head p { color: var(--text-dim); margin-top: 12px; }
.section-head .head-line { width: 56px; height: 3px; margin: 18px auto 0; background: var(--gradient); border-radius: 3px; }

/* ---------- Cards 通用 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }

/* ---------- 通知条 ---------- */
.notice-bar {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}
.notice-bar .notice-tag { flex-shrink: 0; font-size: .75rem; letter-spacing: 2px; color: #fff; background: var(--gradient); border-radius: 999px; padding: 4px 14px; }
.notice-bar .notice-ticker { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-dim); font-size: .95rem; }
.notice-bar .notice-ticker a:hover { color: var(--primary); }

/* ---------- 活动模块网格（首页七大板块） ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mod-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  transition: transform .25s, border-color .25s, background .25s;
}
.mod-item:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.mod-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.mod-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.mod-item .mod-name { font-size: .75rem; color: var(--primary); letter-spacing: 2px; margin-bottom: 6px; }
.mod-item p { font-size: .88rem; color: var(--text-dim); }

/* ---------- 队伍卡片 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.team-crest {
  width: 76px; height: 76px; margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 26px -10px rgba(30,136,255,.55);
  border: 3px solid #fff;
  outline: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.team-crest img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.05rem; color: var(--text); }
.team-card .school { font-size: .78rem; color: var(--text-mute); margin: 4px 0 10px; min-height: 2.4em; }
.team-card .motto { font-size: .8rem; color: var(--primary); font-style: italic; }
.team-card .player-count { margin-top: 12px; font-size: .75rem; color: var(--text-dim); border-top: 1px dashed var(--border); padding-top: 10px; }

/* 选手列表（头像照片） */
.player-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; }
.player-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: border-color .2s, transform .2s;
}
.player-item:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.player-avatar {
  width: 60px; height: 60px; margin: 0 auto 10px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft);
  border: 2px solid #fff;
  outline: 1px solid var(--border);
  font-weight: 700; color: var(--primary);
  font-size: 1.1rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px -10px rgba(30,136,255,.4);
}
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-item h4 { font-size: .95rem; color: var(--text); }
.player-item .role { font-size: .72rem; color: var(--accent); margin: 2px 0 6px; }
.player-item .meta { font-size: .72rem; color: var(--text-mute); }

/* ---------- 比赛卡片 / 赛程 ---------- */
.match-card {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color .25s, background .25s;
}
.match-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.match-team { text-align: center; }
.match-team .t-name { font-weight: 700; font-size: 1.02rem; color: var(--text); }
.match-team .t-school { font-size: .72rem; color: var(--text-mute); margin-top: 3px; }
.match-score {
  font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
}
.match-score .vs { font-size: .9rem; color: var(--text-mute); font-weight: 400; }
.match-score .s { min-width: 40px; text-align: center; background: var(--gradient-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px 8px; }
.match-score .s.win { background: var(--gradient); color: #fff; }
.match-meta { grid-column: 1 / -1; display: flex; justify-content: center; gap: 18px; font-size: .75rem; color: var(--text-mute); border-top: 1px dashed var(--border); padding-top: 12px; margin-top: 4px; flex-wrap: wrap; }
.match-meta .tag {
  padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--primary); font-size: .72rem; background: var(--gradient-soft);
}
.match-meta .tag.knockout { color: var(--accent); }

/* 赛程筛选 tab */
.filter-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.filter-tabs button {
  padding: 8px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  color: var(--text-dim); cursor: pointer;
  transition: all .25s; font-size: .9rem;
  box-shadow: var(--shadow-card);
}
.filter-tabs button:hover { color: var(--primary); border-color: var(--border-strong); }
.filter-tabs button.active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: var(--shadow); }

/* ---------- 通知列表 ---------- */
.notice-list .notice-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 4px;
  border-bottom: 1px dashed var(--border);
}
.notice-list .notice-item:last-child { border-bottom: none; }
.notice-date {
  flex-shrink: 0; text-align: center;
  background: var(--gradient-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 14px; min-width: 84px;
}
.notice-date .d { font-size: 1.35rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.notice-date .m { font-size: .72rem; color: var(--text-mute); }
.notice-body h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text); }
.notice-body h3 .pin { font-size: .68rem; color: var(--accent); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; letter-spacing: 1px; }
.notice-body p { color: var(--text-dim); font-size: .9rem; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-body .more { color: var(--primary); font-size: .8rem; margin-top: 8px; display: inline-block; }

/* ---------- 资讯卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; }
.news-card .news-thumb {
  height: 150px; border-radius: var(--radius-sm);
  background: var(--gradient-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin-bottom: 16px;
}
.news-card h3 { font-size: 1.02rem; line-height: 1.5; margin-bottom: 8px; color: var(--text); }
.news-card p { font-size: .86rem; color: var(--text-dim); flex: 1; }
.news-meta { margin-top: 14px; font-size: .75rem; color: var(--text-mute); display: flex; justify-content: space-between; }

/* ---------- 排名榜 ---------- */
.rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rank-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); }
.rank-card h3 { font-size: 1.1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.rank-card h3 .grp { font-size: .7rem; color: var(--primary); border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; background: var(--gradient-soft); }
.rank-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); }
.rank-row:nth-child(odd) { background: var(--bg-3); }
.rank-no { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; background: #fff; border: 1px solid var(--border); color: var(--text-dim); }
.rank-row:nth-child(1) .rank-no, .rank-row:nth-child(2) .rank-no, .rank-row:nth-child(3) .rank-no { background: var(--gradient); color: #fff; border-color: transparent; }
.rank-team { font-weight: 600; font-size: .93rem; color: var(--text); }
.rank-pts { font-weight: 800; color: var(--primary); font-size: .95rem; }

/* ---------- 奖项列表 ---------- */
.award-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.award-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .25s, border-color .25s;
}
.award-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.award-icon { font-size: 2rem; margin-bottom: 10px; }
.award-card h4 { font-size: 1rem; color: var(--text); }
.award-card .award-stage { font-size: .7rem; color: var(--accent); letter-spacing: 2px; margin-bottom: 6px; }
.award-card p { font-size: .8rem; color: var(--text-dim); margin-top: 8px; }

/* ---------- 关于 / 信息块 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-item { display: flex; gap: 14px; }
.info-icon { font-size: 1.4rem; flex-shrink: 0; }
.info-item h4 { font-size: .95rem; margin-bottom: 4px; color: var(--text); }
.info-item p { font-size: .86rem; color: var(--text-dim); }
.org-card { text-align: center; padding: 30px 20px; }
.org-card .org-role { font-size: .72rem; color: var(--primary); letter-spacing: 2px; margin-bottom: 8px; }
.org-card h4 { font-size: 1.05rem; color: var(--text); }

/* ---------- 时间线（赛制说明） ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gradient); opacity: .45; border-radius: 2px; }
.timeline-item { position: relative; padding: 0 0 28px 14px; }
.timeline-item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gradient); box-shadow: 0 0 0 4px rgba(30,136,255,.15);
}
.timeline-item h4 { font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.timeline-item .date { font-size: .78rem; color: var(--primary); margin-bottom: 6px; }
.timeline-item p { font-size: .88rem; color: var(--text-dim); }

/* ---------- 内容排版（富文本） ---------- */
.prose { line-height: 1.9; }
.prose h3 { font-size: 1.15rem; margin: 22px 0 10px; color: var(--text); }
.prose p { color: var(--text-dim); margin-bottom: 14px; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ul li { color: var(--text-dim); margin-bottom: 6px; }

/* ---------- 分页 / 骨架 ---------- */
.skeleton { background: linear-gradient(90deg, #EDF2FA 25%, #FFFFFF 50%, #EDF2FA 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-tip { text-align: center; color: var(--text-mute); padding: 60px 0; }

/* ---------- Footer（亮色） ---------- */
.site-footer { border-top: 1px solid var(--border); background: #FFFFFF; padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: .86rem; max-width: 340px; }
.footer-col h5 { font-size: .9rem; margin-bottom: 16px; letter-spacing: 1px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); font-size: .86rem; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-mute); font-size: .8rem; }
.footer-bottom a { color: var(--text-mute); }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- 页面头部横幅（内页） ---------- */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(30,136,255,.10), transparent 70%),
    linear-gradient(180deg, #EAF3FF 0%, var(--bg) 100%);
}
.page-hero .eyebrow { color: var(--primary); font-size: .78rem; letter-spacing: 3px; }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 12px 0 10px; font-weight: 800; color: var(--text); }
.page-hero p { color: var(--text-dim); max-width: 680px; margin: 0 auto; }

/* ---------- 详情页 ---------- */
.detail-wrap { max-width: 860px; margin: 0 auto; }
.detail-head { text-align: center; padding-bottom: 26px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.detail-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.5; color: var(--text); }
.detail-head .meta { margin-top: 14px; color: var(--text-mute); font-size: .82rem; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-grid, .info-grid { grid-template-columns: 1fr; }
  .player-list { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border); padding: 12px; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .mod-grid, .award-grid { grid-template-columns: 1fr; }
  .player-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .match-card { grid-template-columns: 1fr; }
  .match-score { order: -1; }
}
