/* ============================================================
   Harry Kane · 球星档案站 共享样式
   高端 · 大气 · 全终端自适应
   ============================================================ */
:root {
  --navy: #0a1628;
  --navy-2: #101f35;
  --navy-3: #16283f;
  --gold: #d4af37;
  --gold-soft: #e6c968;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1e2a38;
  --muted: #67748a;
  --border: #e3e7ee;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(10, 22, 40, .10);
  --shadow-lg: 0 18px 50px rgba(10, 22, 40, .18);
  --max-width: 76rem;
  --serif: "Noto Serif SC", "STSong", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- 顶部品牌栏 ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.92);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(10,22,40,.35);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .8rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
}
.brand:hover { color: #fff; }
.brand-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #a8842b);
  display: grid; place-items: center;
  font-size: 1.05rem;
  font-family: var(--serif);
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(212,175,55,.25);
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .28em;
  color: var(--gold-soft);
  text-transform: uppercase;
}

/* ---------- 主导航 ---------- */
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
}
.site-nav a {
  display: block;
  padding: .55rem 1rem;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.site-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav a.active {
  background: linear-gradient(135deg, var(--gold), #b8912d);
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Hero（各页首屏） ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(35,66,110,.55), transparent 60%),
    linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
}
.hero .kicker {
  color: var(--gold-soft);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .35em;
  text-transform: uppercase;
}
.hero h1, .page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin: .7rem 0 1rem;
}
.hero h1 em, .page-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-soft), #f4e2a4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  max-width: 44rem;
  color: rgba(255,255,255,.78);
  font-size: 1.06rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: .78rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8912d);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(212,175,55,.35);
}
.btn-gold:hover { color: var(--navy); box-shadow: 0 12px 30px rgba(212,175,55,.5); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- 通用 Section ---------- */
main { padding: 3.5rem 0 4.5rem; }
section { margin-bottom: 3.5rem; }

.section-head { text-align: center; margin-bottom: 2.2rem; }
.section-head .kicker {
  color: #a8842b;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  color: var(--navy);
  margin: .3rem 0 .6rem;
}
.section-head p { color: var(--muted); max-width: 40rem; margin: 0 auto; }

h3 {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--navy);
  margin: 1.6rem 0 .7rem;
}
p { margin-bottom: 1rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.9rem;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* 金色细分隔线 */
.gold-rule {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border: none;
  margin: .4rem 0 1.4rem;
}

/* ---------- 球员档案 ---------- */
.profile {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 2.5rem;
  align-items: start;
}
.profile figure { position: relative; }
.profile img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 690 / 862;
  object-fit: cover;
}
.profile figure::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: .55;
}
.info-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.info-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s;
}
.info-list li:hover { transform: translateY(-3px); border-color: var(--gold); }
.info-list dt {
  font-size: .74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .15rem;
}
.info-list dd { font-weight: 600; font-size: 1.05rem; color: var(--navy); }

/* ---------- 特征标签 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.tags span {
  background: linear-gradient(135deg, #fdf6e0, #f8ecd0);
  border: 1px solid rgba(212,175,55,.4);
  color: #8a6d1c;
  border-radius: 999px;
  padding: .3rem 1rem;
  font-size: .85rem;
  font-weight: 600;
}

/* ---------- 时间线 ---------- */
.timeline { list-style: none; border-left: 2px solid rgba(212,175,55,.55); margin-left: .6rem; }
.timeline li { position: relative; padding: 0 0 1.7rem 1.8rem; }
.timeline li:last-child { padding-bottom: .2rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: .5rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8912d);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 2px rgba(212,175,55,.35);
}
.timeline time {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  background: #eef2f8;
  border-radius: 6px;
  padding: .05rem .6rem;
  margin-bottom: .25rem;
  font-size: .95rem;
}
.timeline p { margin: 0; color: var(--text); }

/* ---------- 成就卡片 ---------- */
.achievements {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.achievements li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.achievements li:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.achievements li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}
.achievements .num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}
.achievements strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: .3rem;
}
.achievements p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- 数据表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--card);
}
table { width: 100%; border-collapse: collapse; min-width: 580px; }
caption {
  text-align: left;
  padding: 1.2rem 1.4rem .4rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.02rem;
}
th, td { padding: .85rem 1.4rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th {
  background: var(--navy);
  color: #f4e2a4;
  font-weight: 600;
  white-space: nowrap;
  font-size: .9rem;
  letter-spacing: .04em;
}
tbody th[scope="row"] { font-weight: 600; color: var(--navy); }
tbody tr { transition: background .2s; }
tbody tr:hover { background: #f7f3e6; }
tbody td { color: var(--text); }
tfoot td, tfoot th {
  font-weight: 700;
  color: var(--navy);
  background: #fbf7ea;
  border-top: 2px solid var(--gold);
}

/* ---------- 图集 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.gallery figure {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.gallery figure:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  transition: transform .5s;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: .8rem 1.1rem;
  font-size: .9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ---------- 数字统计条 ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  background: linear-gradient(140deg, var(--navy), var(--navy-3));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.stats-band div { text-align: center; }
.stats-band .num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--gold-soft), #f4e2a4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-band .label { color: rgba(255,255,255,.72); font-size: .88rem; margin-top: .2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 2.5rem 0;
  text-align: center;
  font-size: .9rem;
}
.site-footer .brand-badge { margin: 0 auto 1rem; }
.site-footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-bottom: 1.2rem;
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--gold); }
.site-footer .fine { color: rgba(255,255,255,.45); font-size: .82rem; }

/* ---------- 无障碍 ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: .6rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 入场动画 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s ease both; }
  .reveal-2 { animation: rise .7s .12s ease both; }
  .reveal-3 { animation: rise .7s .24s ease both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; gap: 2rem; }
  .hero-inner { padding: 3.5rem 0 4rem; }
}
@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; align-items: center; }
  .site-nav ul { justify-content: center; }
  .site-nav a { padding: .5rem .8rem; font-size: .88rem; }
  .card { padding: 1.3rem; }
  th, td { padding: .7rem .9rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
@media (max-width: 400px) {
  body { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- 首页 Hero 双栏海报 ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 690 / 862;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, .5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 8px rgba(212, 175, 55, .08);
}
.hero-visual figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(10, 22, 40, .92));
  color: rgba(255, 255, 255, .9);
  font-size: .82rem;
  letter-spacing: .04em;
  border-radius: 0 0 20px 20px;
}
.profile figcaption {
  margin-top: .85rem;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .08em;
}
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-visual { width: 100%; max-width: 340px; margin: 0 auto; }
}
