/* =========================================
   OLD GUYS FOOTBALL CLUB — Premium Style
   Palette: Deep Navy + Gold + Ice Blue
   ========================================= */

:root {
  --navy-900: #050d24;
  --navy-800: #0a1838;
  --navy-700: #122552;
  --navy-600: #1b3270;
  --navy-500: #234089;
  --gold-500: #f5c518;
  --gold-400: #ffd84d;
  --gold-300: #ffe588;
  --ice-500: #7ec0ee;
  --white: #ffffff;
  --gray-100: #f5f6fa;
  --gray-200: #e3e6ef;
  --gray-400: #9aa0b4;
  --gray-600: #5b6280;
  --gray-800: #2a3050;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.15);

  --font-display: 'Oswald', 'Bebas Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

  --container: 1280px;
  --pad: clamp(20px, 4vw, 60px);
}

/* ====== Reset ====== */
*,*::before,*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: none;          /* Firefox 隐藏滚动条 */
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {         /* Chrome/Safari 隐藏滚动条 */
  width: 0;
  height: 0;
  display: none;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ====== Preloader ====== */
.preloader {
  position: fixed; inset: 0;
  background: var(--navy-900);
  display: grid; place-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-badge {
  width: 100px; height: auto;
  animation: pulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(245,197,24,0.4));
}
.preloader-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  color: var(--gold-500);
  margin: 24px 0 16px;
}
.preloader-bar {
  width: 200px; height: 2px;
  background: var(--line);
  margin: 0 auto;
  overflow: hidden;
}
.preloader-bar span {
  display: block; width: 40%; height: 100%;
  background: var(--gold-500);
  animation: load 1.2s ease-in-out infinite;
}
@keyframes load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ====== Navigation ====== */
.nav {
  position: sticky; top: 0;
  z-index: 100;
  background: rgba(5,13,36,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(5,13,36,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
}
.nav-logo img {
  width: 64px; height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(245,197,24,0.3));
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-cn { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.05em; }
.logo-en { font-size: 0.75rem; letter-spacing: 0.25em; color: var(--gray-400); margin-top: 6px; }

.nav-menu {
  display: flex; align-items: center; gap: 34px;
}
.nav-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-100);
  position: relative;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--gold-500); }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold-500);
  color: var(--navy-900) !important;
  padding: 13px 28px;
  border-radius: 2px;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold-400); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 4px; right: 4px;
  height: 2px; background: var(--white);
  transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.active span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245,197,24,0.3);
}
.btn-primary span { transition: transform 0.3s; }
.btn-primary:hover span { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  background: rgba(245,197,24,0.05);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: calc(100vh - 117px); /* 117px = 导航栏高度 */
  padding: 60px var(--pad) 100px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(5,13,36,0.4) 0%, rgba(5,13,36,0.95) 100%),
    url('../assets/img/hero-bg.jpg') center/cover;
  filter: saturate(0.7) contrast(1.1);
  transform: scale(1.05);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(245,197,24,0.08) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--navy-900) 100%);
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 40px 0;
}
.hero-tagline {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold-500);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero-tagline .line {
  width: 60px; height: 1px;
  background: var(--gold-500);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 0.9;
  margin-bottom: 24px;
}
.hero-title-cn {
  display: block;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 0.08em;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title-en {
  display: block;
  font-size: clamp(4rem, 14vw, 12rem);
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 8px 0;
  text-shadow: 0 0 80px rgba(245,197,24,0.2);
}
.hero-title-sub {
  display: block;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--ice-500);
  padding-left: 0.5em;
}

.hero-motto {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--white);
  margin: 32px 0 24px;
  text-shadow: 0 0 30px rgba(245,197,24,0.5);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-200);
  max-width: 640px;
  margin: 0 0 40px;
  line-height: 1.8;
}

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

/* Featured Activity Banner */
.hero-feature {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 60px auto 0;
  width: 100%;
}
.hero-feature-label {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(245,197,24,0.15);
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  padding: 8px 18px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-feature-label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 12px var(--gold-500);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-feature-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}
.hero-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}
.hero-feature-img {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}
.hero-feature-content {
  padding: 40px 50px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.hero-feature-date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hero-feature-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 16px;
  line-height: 1.2;
  color: var(--white);
}
.hero-feature-content p {
  color: var(--gray-200);
  margin: 0 0 24px;
  font-size: 1rem;
}
.hero-feature-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  transition: gap 0.2s;
}
.hero-feature-link:hover { letter-spacing: 0.2em; }

/* Hero Stats */
.hero-stats {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 80px auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 40px;
  gap: 30px;
}
.stat {
  text-align: left;
  position: relative;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num::after {
  content: '+';
  font-size: 0.6em;
  color: var(--gold-400);
  margin-left: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ====== Sections ====== */
.section {
  position: relative;
  padding: 120px var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--gold-500);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-title span {
  color: var(--gold-500);
  position: relative;
  display: inline-block;
}
.section-divider {
  width: 60px; height: 3px;
  background: var(--gold-500);
  margin: 0 auto;
}
.section-sub {
  color: var(--gray-200);
  font-size: 1.1rem;
  margin: 24px auto 0;
  max-width: 600px;
}

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.4fr;
  gap: 30px;
}
.about-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold-500);
  transition: width 0.4s;
}
.about-card:hover::before { width: 100%; }
.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,24,0.3);
  background: linear-gradient(180deg, rgba(245,197,24,0.04) 0%, rgba(255,255,255,0.01) 100%);
}
.about-card-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(245,197,24,0.1);
  line-height: 1;
  position: absolute;
  top: 20px; right: 30px;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  margin: 0 0 20px;
  text-transform: uppercase;
}
.about-bigword {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}
.about-bigword em {
  font-style: normal;
  color: var(--gold-500);
  font-size: 1.4em;
  text-shadow: 0 0 40px rgba(245,197,24,0.5);
}
.about-card p {
  color: var(--gray-200);
  margin: 0;
  font-size: 0.95rem;
}

.about-list {
  display: flex; flex-direction: column; gap: 16px;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 14px;
  color: var(--gray-100);
  font-size: 1rem;
  line-height: 1.5;
}
.about-list li span {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.timeline {
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.timeline-item {
  position: relative;
}
.timeline-dot {
  position: absolute;
  left: -30px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 2px solid var(--gray-600);
}
.timeline-dot-active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  box-shadow: 0 0 16px rgba(245,197,24,0.6);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-500);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.timeline-text {
  color: var(--gray-200);
  font-size: 0.9rem;
  line-height: 1.5;
}
.timeline-text em {
  font-style: normal;
  color: var(--gold-500);
  font-weight: 600;
}

/* ====== Leadership ====== */
.leadership {
  background:
    linear-gradient(180deg, transparent 0%, rgba(18,37,82,0.3) 50%, transparent 100%);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leader-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
}
.leader-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-500);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(245,197,24,0.2);
}
.leader-photo {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-700);
  filter: grayscale(0.4) contrast(1.1);
  transition: all 0.5s;
  position: relative;
}
.leader-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,13,36,0.95) 100%);
}
.leader-card:hover .leader-photo { filter: grayscale(0) contrast(1.1); }
.leader-info {
  padding: 20px 24px 24px;
  text-align: center;
  position: relative;
  margin-top: -40px;
  z-index: 2;
}
.leader-role {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.leader-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.leader-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin: 0;
}

/* Honor card special */
.leader-card-honor {
  background: linear-gradient(180deg, rgba(245,197,24,0.08) 0%, rgba(245,197,24,0.02) 100%);
  border-color: rgba(245,197,24,0.3);
}
.leader-card-honor .leader-name { color: var(--gold-500); }

/* Feature card */
.leader-card-feature {
  background: linear-gradient(180deg, rgba(245,197,24,0.1) 0%, rgba(18,37,82,0.4) 100%);
  border-color: var(--gold-500);
  transform: translateY(-4px);
}
.leader-card-feature::before {
  content: '★';
  position: absolute;
  top: 14px; right: 14px;
  color: var(--gold-500);
  font-size: 1.4rem;
  z-index: 3;
}

/* ====== SQUAD ====== */
.squad-filter {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  background: transparent;
  color: var(--gray-200);
  border: 1px solid var(--line-strong);
  padding: 10px 24px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.filter-btn:hover { color: var(--gold-500); border-color: var(--gold-500); }
.filter-btn.active {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
  font-weight: 700;
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.player-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-700);
  cursor: pointer;
  transition: all 0.4s;
}
.player-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.player-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  line-height: 0.8;
  z-index: 2;
  transition: color 0.3s;
}
.player-card:hover .player-num { color: var(--gold-500); }
.player-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.6s;
}
.player-card:hover .player-photo { transform: scale(1.08); }
.player-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,13,36,0.95) 100%);
}
.player-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
}
.player-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.player-pos {
  font-size: 0.75rem;
  color: var(--gold-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ====== MATCHES ====== */
.matches {
  background:
    linear-gradient(180deg, transparent 0%, rgba(18,37,82,0.3) 50%, transparent 100%);
}
.matches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
}
.match-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.match-result {
  border-color: var(--gold-500);
  background: linear-gradient(135deg, rgba(245,197,24,0.08) 0%, rgba(18,37,82,0.3) 100%);
}
.match-result::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.match-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  background: rgba(245,197,24,0.15);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.match-tag-next {
  background: rgba(126,192,238,0.15);
  color: var(--ice-500);
}
.match-league {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.match-team {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  text-align: center;
}
.match-team-logo {
  width: 70px; height: 70px;
  background-color: var(--navy-700);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  display: grid; place-items: center;
  overflow: hidden;
}
.match-team-logo img { width: 100%; height: 100%; object-fit: cover; }
.match-team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}
.match-score {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-500);
  text-shadow: 0 0 30px rgba(245,197,24,0.4);
}
.score-sep { color: var(--gray-400); }
.match-vs {
  font-size: 1.5rem;
  color: var(--ice-500);
  letter-spacing: 0.1em;
  text-shadow: none;
}
.match-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray-400);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.match-win { color: var(--gold-500); font-weight: 700; }
.match-lose { color: #ff7a6b; font-weight: 700; }
.match-pending { color: var(--ice-500); font-weight: 700; }
.match-scorers {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--gray-200);
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

/* Activities */
.activities-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
}
.activity-list {
  display: flex; flex-direction: column;
  gap: 20px;
}
.activity-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 4px 4px 0;
  padding: 30px 30px 30px 0;
  transition: all 0.3s;
}
.activity-item:hover {
  background: linear-gradient(90deg, rgba(245,197,24,0.08) 0%, transparent 100%);
  transform: translateX(8px);
}
.activity-date {
  display: flex; flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--navy-700);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}
.activity-day {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}
.activity-month {
  font-size: 0.8rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  margin-top: 8px;
  text-transform: uppercase;
}
.activity-content h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--white);
}
.activity-content p {
  color: var(--gray-200);
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.activity-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--gray-400);
}
.activity-meta span {
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
}
/* 公众号战报链接卡片 */
a.activity-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.activity-item:hover .activity-content h4 {
  color: var(--gold-500);
}
.activity-meta span.activity-link-badge {
  color: var(--gold-500);
  background: rgba(245,197,24,0.08);
  border-color: rgba(245,197,24,0.35);
}

/* ====== GALLERY ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-bottom: 80px;
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-700);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,13,36,0.8) 100%);
  transition: opacity 0.3s;
}
.gallery-caption {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  z-index: 2;
  letter-spacing: 0.05em;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.3s;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
/* Lightbox 翻页 */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--white);
  background: rgba(5, 13, 36, 0.55);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  padding-bottom: 6px;
  transition: background 0.3s;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(5, 13, 36, 0.9); border-color: var(--gold-500); }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-counter {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--gray-200);
  background: rgba(5, 13, 36, 0.55);
  padding: 5px 16px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 2rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-counter { bottom: 12px; }
}

.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-grid { grid-auto-flow: dense; }
/* 相册年份分组 */
.gallery .members-title { margin: 0 auto 24px; }
.gallery .members-title:first-of-type { margin-top: 0; }
.gallery .gallery-grid { margin-bottom: 28px; }

/* Video Showcase */
.video-showcase {
  margin-top: 60px;
}
.video-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
}
.video-title span { color: var(--gold-500); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.video-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(5,13,36,0.3);
  transition: background 0.3s;
}
.video-card:hover .video-thumb::after {
  background: rgba(5,13,36,0.1);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(245,197,24,0.95);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 2;
  transition: all 0.3s;
  box-shadow: 0 0 0 0 rgba(245,197,24,0.4);
}
.play-btn span {
  color: var(--navy-900);
  font-size: 1.5rem;
  margin-left: 4px;
}
.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 16px rgba(245,197,24,0);
}
.video-duration {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(5,13,36,0.9);
  color: var(--white);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.video-info { padding: 20px 24px 24px; }
.video-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--white);
}
.video-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ====== VALUES ====== */
.values {
  position: relative;
}
.values-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(18,37,82,0.5) 0%, rgba(5,13,36,0.8) 100%),
    url('../assets/img/values-bg.jpg') center/cover fixed;
  filter: saturate(0.5);
  border-radius: 8px;
}
.values-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.value-card {
  background: rgba(5,13,36,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  background: rgba(5,13,36,0.85);
}
.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}
.value-card p {
  color: var(--gray-200);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ====== JOIN ====== */
.join {
  position: relative;
  padding: 140px var(--pad);
  max-width: 100%;
  margin-top: 100px;
}
.join-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(5,13,36,0.92) 0%, rgba(18,37,82,0.7) 100%),
    url('../assets/img/join-bg.jpg') center/cover;
}
.join-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 80px;
}
.join-eyebrow { color: var(--gold-500); }
.join-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  margin: 16px 0 24px;
  color: var(--white);
}
.join-title em {
  font-style: normal;
  color: var(--gold-500);
  position: relative;
}
.join-title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 8px;
  background: var(--gold-500);
  opacity: 0.2;
}
.join-desc {
  font-size: 1.1rem;
  color: var(--gray-200);
  margin: 0 0 40px;
  line-height: 1.8;
}
.join-actions {
  display: flex; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.join-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.join-info-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.join-info-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}
.join-badge {
  display: grid; place-items: center;
}
.join-badge img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 60px rgba(245,197,24,0.3));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* ====== FOOTER ====== */
.footer {
  background: #02071a;
  padding: 72px var(--pad) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-badge {
  width: 72px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 16px rgba(245,197,24,0.3));
}
.footer-cn {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.footer-en {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--gray-400);
  margin-top: 6px;
}
.footer-slogan {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  padding-left: 0.42em;   /* 字距补偿，视觉居中 */
  color: var(--gold-500);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 38px;
  max-width: var(--container);
  margin: 44px auto;
  padding: 30px var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer-nav a {
  font-size: 0.92rem;
  color: var(--gray-200);
  transition: color 0.2s;
  position: relative;
}
.footer-nav a:hover { color: var(--gold-500); }
.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold-500);
  transition: width 0.3s ease;
}
.footer-nav a:hover::after { width: 100%; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 0 6px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--gray-600);
}
.footer-bottom-meta { letter-spacing: 0.1em; }
.footer-beian {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  padding: 10px 0 26px;
}
@media (max-width: 640px) {
  .footer { padding-top: 56px; }
  .footer-nav { gap: 12px 24px; margin: 36px auto; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ====== Lightbox ====== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 40px;
}
.lightbox.active { display: grid; }
.lightbox-close {
  position: absolute;
  top: 30px; right: 40px;
  background: none; border: none;
  color: var(--white);
  font-size: 3rem;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.2s;
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ====== Reveal Animations ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Responsive ====== */
/* ====== Expeditions 远征足迹 ====== */
.expedition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.expedition-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.expedition-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.expedition-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.expedition-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.expedition-card:hover .expedition-photo img { transform: scale(1.07); }
.expedition-year {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--navy-900);
  background: var(--gold-500);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
}
.expedition-body { padding: 20px 22px 24px; }
.expedition-city {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
  color: var(--white);
}
.expedition-date {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.expedition-body p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gray-400);
  margin: 0;
}

/* --- 2026 秋季远征 · 即将开始 --- */
.next-expedition {
  max-width: var(--container);
  margin: 48px auto 0;
  padding: 56px var(--pad);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(245,197,24,0.08), transparent 55%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  text-align: center;
}
.next-expedition-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--gold-500);
  border: 1px solid rgba(245,197,24,0.35);
  background: rgba(245,197,24,0.07);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  animation: expPulse 1.8s ease-in-out infinite;
}
@keyframes expPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(245,197,24,0); }
}
.next-expedition-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}
.next-expedition-title span { color: var(--gold-500); }
.next-expedition-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.9;
  color: var(--gray-200);
  margin: 0 auto 36px;
  max-width: 720px;
}
.next-expedition-desc strong { color: var(--gold-400); }

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.candidate-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 36px 24px 28px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.candidate-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.candidate-xian   { background: linear-gradient(160deg, rgba(245,197,24,0.12), rgba(160,70,20,0.18)), var(--navy-800); }
.candidate-wuhan  { background: linear-gradient(160deg, rgba(126,192,238,0.14), rgba(20,60,110,0.22)), var(--navy-800); }
.candidate-nanning{ background: linear-gradient(160deg, rgba(90,190,130,0.13), rgba(15,80,55,0.22)), var(--navy-800); }
.candidate-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  white-space: nowrap;
}
.candidate-city-cn {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 4px;
  position: relative;
}
.candidate-city-en {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold-500);
  margin-bottom: 16px;
  position: relative;
}
.candidate-copy {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gray-200);
  margin: 0 0 20px;
  position: relative;
}
.candidate-status {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #7ee2a0;
  background: rgba(126,226,160,0.1);
  border: 1px solid rgba(126,226,160,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  position: relative;
}
.candidate-status-tbd { color: var(--gold-400); background: rgba(245,197,24,0.08); border-color: rgba(245,197,24,0.3); }
.next-expedition-note {
  margin-top: 36px;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}

@media (max-width: 1024px) {
  .expedition-grid { grid-template-columns: repeat(2, 1fr); }
  .candidate-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .expedition-grid { grid-template-columns: 1fr; }
  .candidate-grid { grid-template-columns: 1fr; }
  .next-expedition { padding: 40px var(--pad); }
  .candidate-watermark { font-size: 5rem; }
}

/* ====== Council & Squad 理事会·阵容合并 ====== */
.members-title {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--container);
  margin: 44px auto 24px;
  padding: 0 var(--pad);
}
.members-title:first-of-type { margin-top: 8px; }
.members-title::before,
.members-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.members-title span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--gold-500);
  white-space: nowrap;
}
.council-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.council-row .leader-card {
  flex: 0 0 232px;          /* 所有人员卡片统一宽度 */
  display: flex;
  flex-direction: column;
}
.council-card { position: relative; overflow: hidden; }
/* 分组区分色顶线 */
.council-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 4;
  background: var(--accent, transparent);
}
.accent-chairman { --accent: var(--gold-500); }
.accent-chairman .leader-role { color: var(--gold-500); }
.accent-coach { --accent: var(--ice-500); }
.accent-coach .leader-role { color: var(--ice-500); }
.accent-captain { --accent: #ff7a6b; }
.accent-captain .leader-role { color: #ff7a6b; }
.accent-member { --accent: rgba(255,255,255,0.28); }
.accent-member .leader-role { color: var(--gray-400); }
.council-num {
  position: absolute; top: 14px; right: 14px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-900);
  background: var(--gold-500);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.council-meta {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ice-500);
  background: rgba(126,192,238,0.08);
  border: 1px solid rgba(126,192,238,0.25);
  padding: 3px 10px;
  border-radius: 999px;
}
/* 姓名与位置标签同行，基线对齐、居中为一组 */
.leader-name-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 -24px 14px;      /* 借满卡片宽度，长名+号码+标签也能单行放下 */
}
.council-row .leader-name { margin: 0; font-size: 1.2rem; letter-spacing: 0; }
.council-row .council-meta { margin: 0; font-size: 0.66rem; padding: 2px 8px; }
.council-row .leader-info {
  flex: 1;
  min-height: 262px;          /* 信息区等高，保证所有卡片同尺寸 */
  margin-top: 0;              /* 文字从照片下方开始，不遮挡照片 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.council-row .leader-photo::after { display: none; }  /* 照片底部渐变原为衬托叠字，现去掉 */
.council-row .leader-desc {
  min-height: 10em;           /* 5 行简介区等高 */
  max-height: 10em;           /* 双保险：无论截断是否生效都不撑高卡片 */
  display: -webkit-box;
  -webkit-line-clamp: 5;      /* 超长简介截断为 5 行，保持卡片整齐 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-indent: 2em;           /* 首行缩进两个字符 */
  text-align: justify;        /* 两端对齐 */
}
@media (max-width: 480px) {
  .council-row { gap: 16px; }
  .council-row .leader-card { flex-basis: calc(50% - 8px); }
}

/* ====== 人员资料弹窗（完整简介） ====== */
.council-row .leader-card { cursor: pointer; }

.profile-modal {
  position: fixed; inset: 0;
  background: rgba(3, 8, 22, 0.92);
  display: none;
  z-index: 10000;
  padding: 28px 24px;
  overflow-y: auto;
}
.profile-modal.active { display: flex; }
.profile-card {
  position: relative;
  margin: auto;               /* 弹性居中：空间不足时自动贴顶，底部不会被裁 */
  width: min(460px, 100%);
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}
.profile-photo-wrap { position: relative; }
.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;        /* 4:3 比卡片 1:1 更矮，整卡完整显示不滚动 */
  object-fit: cover;
  object-position: center center;  /* 上下均匀裁切，人物不偏不倚 */
  background-color: var(--navy-700);
}
.profile-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-900);
  background: var(--gold-500);
  min-width: 34px;
  padding: 5px 7px;
  border-radius: 4px;
  text-align: center;
  transform: translateY(-2px);
}
.profile-num:empty { display: none; }
.profile-body { padding: 24px 28px 30px; }
.profile-role {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--gold-500);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.accent-coach .profile-role { color: var(--ice-500); }
.accent-captain .profile-role { color: #ff7a6b; }
.accent-member .profile-role { color: var(--gray-400); }
.profile-name-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.profile-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--gray-200);
  text-indent: 2em;
  text-align: justify;
  margin: 0 0 22px;
}

/* 卡片号码徽章（位于姓名行内） */
.council-num-chip {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-900);
  background: var(--gold-500);
  min-width: 28px;
  padding: 4px 5px;
  border-radius: 4px;
  text-align: center;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .profile-modal { padding: 16px; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-history { grid-column: span 2; }
  .leadership-grid { grid-template-columns: repeat(3, 1fr); }
  .squad-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .join-inner { grid-template-columns: 1fr; }
  .join-badge { order: -1; max-width: 280px; margin: 0 auto; }
  .hero-feature-card { grid-template-columns: 1fr; }
  .hero-feature-img { min-height: 220px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 70px; right: 0; left: 0;
    background: rgba(5,13,36,0.98);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu.active { transform: translateY(0); }
  .nav-toggle { display: block; }
  .logo-en { display: none; }

  .hero { padding: 40px var(--pad) 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 80px var(--pad); }
  .section-head { margin-bottom: 50px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-history { grid-column: span 1; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
  .matches-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item-wide { grid-column: span 2; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { flex-direction: column; gap: 30px; }
  .activity-item { grid-template-columns: 1fr; gap: 16px; }
  .activity-date { flex-direction: row; gap: 12px; padding: 16px; }
  .activity-day { font-size: 1.8rem; }
  .join-info { grid-template-columns: 1fr; gap: 16px; }
  .join-badge img { max-width: 240px; }
}

@media (max-width: 480px) {
  .leadership-grid { grid-template-columns: 1fr; }
  .squad-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-actions, .join-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .match-teams { grid-template-columns: 1fr; gap: 16px; }
  .match-score, .match-vs { order: 0; }
  .stat-num { font-size: 2.5rem; }
  .player-name { font-size: 1.1rem; }
  .player-num { font-size: 2.5rem; }
}
