/* ===== 全局变量与重置 ===== */
:root {
  --blue: #010E80;
  --black: #000000;
  --dark: #0a0a2e;
  --gold: #c9a84c;
  --white: #ffffff;
  --gray: #f4f4f8;
  --text: #333333;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); line-height: 1.7; background: var(--gray);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.site-header {
  background: var(--black); color: var(--white); position: sticky;
  top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; }
.logo span { color: var(--blue); }
.nav-list { display: flex; gap: 28px; }
.nav-list a {
  font-size: .95rem; font-weight: 600; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: .25s;
}
.nav-list a:hover, .nav-list a.active {
  color: var(--gold); border-bottom-color: var(--gold);
}
.hamburger { display: none; font-size: 1.6rem; cursor: pointer; }

/* ===== 英雄横幅 ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--black) 100%);
  color: var(--white); text-align: center; padding: 80px 20px 60px;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 12px; }
.hero p { font-size: 1.15rem; opacity: .85; max-width: 640px; margin: 0 auto 28px; }
.btn {
  display: inline-block; padding: 12px 32px; border-radius: 50px;
  font-weight: 700; font-size: 1rem; transition: .25s; cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #b8963f; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--white); margin-left: 12px;
}
.btn-outline:hover { background: var(--white); color: var(--black); }

/* ===== 通用区块 ===== */
.section { padding: 60px 0; }
.section-title {
  text-align: center; font-size: 1.8rem; margin-bottom: 8px;
}
.section-sub {
  text-align: center; color: #888; margin-bottom: 36px; font-size: .95rem;
}

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.card-img { height: 200px; background: var(--dark); display: flex;
  align-items: center; justify-content: center; color: #666; font-size: .9rem; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card-body p { font-size: .9rem; color: #666; }
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 600; margin-bottom: 8px;
}
.tag-blue { background: var(--blue); color: #fff; }
.tag-gold { background: var(--gold); color: #000; }

/* ===== 球员卡片 ===== */
.player-card { text-align: center; padding: 28px 16px; }
.player-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--dark); margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.6rem; font-weight: 800;
}
.player-card h4 { font-size: 1rem; margin-bottom: 4px; }
.player-card .number { color: var(--blue); font-weight: 800; font-size: 1.3rem; }
.player-card .pos { font-size: .8rem; color: #888; }

/* ===== 问答折叠 ===== */
.faq-item {
  background: var(--white); border-radius: var(--radius);
  margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq-q {
  padding: 18px 24px; cursor: pointer; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.4rem; transition: .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; padding: 0 24px;
  font-size: .92rem; color: #555; transition: max-height .35s, padding .35s;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 18px; }

/* ===== 商品/票务 ===== */
.product { padding: 20px; text-align: center; }
.product .price { color: var(--blue); font-size: 1.25rem; font-weight: 800; margin: 10px 0; }
.product .btn { padding: 8px 24px; font-size: .9rem; }
.ticket-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.ticket-table th, .ticket-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee;
}
.ticket-table th { background: var(--blue); color: #fff; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--black); color: #aaa; text-align: center;
  padding: 36px 20px; font-size: .85rem;
}
.site-footer a { color: var(--gold); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; flex-wrap: wrap; }

/* ===== 购物车浮动按钮 ===== */
.cart-float {
  position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px;
  border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(1,14,128,.45); cursor: pointer; z-index: 99;
}
.cart-float .badge {
  position: absolute; top: -4px; right: -4px; background: var(--gold);
  color: #000; font-size: .7rem; width: 20px; height: 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .nav-list { display: none; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--black); padding: 16px 20px; gap: 12px; }
  .nav-list.show { display: flex; }
  .hamburger { display: block; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
}