/* 狮醒体育 — 全站统一主题 */
:root {
      --pitch: #0a2e18;
      --pitch-deep: #020B05;
      --gold: #F6D36A;
      --gold-bright: #FFE9A0;
      --gold-dim: #A8892E;
      --glass: rgba(5, 18, 10, 0.72);
      --glass-border: rgba(255, 215, 120, 0.14);
      --glass-light: rgba(255, 255, 255, 0.05);
      --text: #F5F7EF;
      --text-dim: rgba(235, 245, 230, 0.62);
      --white: #ffffff;
      --accent-blue: #4fc3f7;
      --accent-red: #FF3B3B;
      --hud-green: #27F59A;
      --glow-gold: 0 0 40px rgba(246, 211, 106, 0.28);
      --radius: 24px;
      --nav-h: 64px;
      --card-blur: blur(18px);
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    .team-with-flag {
      display: inline-flex;
      align-items: center;
      gap: 0.5em;
      vertical-align: middle;
    }

    .team-with-flag--elite {
      gap: 0.45em;
    }

    .elite-flag {
      display: inline-flex;
      padding: 3px;
      border-radius: 5px;
      border: 1px solid rgba(255, 215, 120, 0.22);
      background: rgba(255, 255, 255, 0.04);
      box-shadow:
        0 0 14px rgba(246, 211, 106, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      flex-shrink: 0;
    }

    .team-flag-img {
      width: 40px;
      height: 28px;
      object-fit: cover;
      border-radius: 3px;
      display: block;
    }

    .team-flag-img--sm {
      width: 34px;
      height: 24px;
    }

    .team-flag-img--lg {
      width: 52px;
      height: 36px;
    }

    .team-flag-img--xl {
      width: 64px;
      height: 44px;
    }

    .team-flag-img--xxl {
      width: 76px;
      height: 52px;
    }

    .team-code-badge {
      font-family: 'Orbitron', 'Inter', sans-serif;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: rgba(246, 211, 106, 0.85);
      padding: 2px 6px;
      border-radius: 4px;
      border: 1px solid rgba(255, 215, 120, 0.18);
      background: rgba(255, 215, 120, 0.06);
      flex-shrink: 0;
    }

    .team-flag-emoji { display: none; }

    .team-name-text {
      font-weight: 600;
      color: var(--text);
    }

    .team-vs-sep {
      margin: 0 0.35em;
      font-family: 'Orbitron', sans-serif;
      font-size: 0.72em;
      font-weight: 800;
      letter-spacing: 0.14em;
      color: var(--gold);
      text-shadow: 0 0 12px rgba(246, 211, 106, 0.35);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      background: #020B05;
      color: #F5F7EF;
      line-height: 1.5;
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* ── 巨幅球场背景（原版） ── */
    .bg-layer {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    .bg-base,
    .bg-hud,
    .bg-scan {
      display: none;
    }

    .bg-poster {
      position: absolute;
      inset: 0;
      background: transparent;
    }

    .bg-poster::before {
      content: '';
      position: absolute;
      inset: -5%;
      background: url('../assets/hero-poster.jpg') center center / cover no-repeat;
      opacity: 1;
      filter: saturate(1.10) contrast(1.04) brightness(1);
      animation: posterKenBurns 32s ease-in-out infinite alternate;
      pointer-events: none;
    }

    @keyframes posterKenBurns {
      from { transform: scale(1); }
      to { transform: scale(1.04); }
    }

    .bg-poster::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(2, 10, 5, 0.18) 0%, rgba(2, 10, 5, 0.08) 35%, rgba(2, 10, 5, 0.22) 100%),
        radial-gradient(ellipse 120% 40% at 50% 0%, rgba(0, 0, 0, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 100% 35% at 50% 100%, rgba(0, 0, 0, 0.22) 0%, transparent 50%);
      pointer-events: none;
    }

    .bg-lights {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 248, 220, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, transparent 0%, rgba(2, 8, 5, 0.08) 70%, rgba(2, 8, 5, 0.28) 100%);
      pointer-events: none;
    }

    .bg-pitch-lines {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 45%;
      opacity: 0;
      pointer-events: none;
    }

    .bg-grain {
      position: absolute;
      inset: 0;
      opacity: 0.03;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    .page-wrap {
      position: relative;
      z-index: 1;
    }

    /* ── 顶栏 ── */
    .topnav {
      position: sticky;
      top: 0;
      z-index: 200;
      height: var(--nav-h);
      background: rgba(4, 18, 11, 0.88);
      backdrop-filter: blur(20px) saturate(1.4);
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    }

    .topnav-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .logo-icon-wrap {
      width: 38px;
      height: 38px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 8px;
    }

    .logo-mark {
      width: 46px;
      height: 46px;
      object-fit: contain;
      display: block;
      background: transparent;
      border: none;
      box-shadow: none;
      /* 去除 PNG 黑底，只保留金色狮子 */
      mix-blend-mode: screen;
      filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.45));
    }

    .logo-text {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--gold-bright);
      letter-spacing: 0.08em;
      white-space: nowrap;
      text-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
      min-width: 0;
    }

    .nav-clock {
      display: flex;
      flex-direction: column;
      gap: 1px;
      padding-left: 16px;
      border-left: 1px solid rgba(212, 175, 55, 0.22);
      line-height: 1.2;
    }

    .nav-clock-date {
      font-size: 0.68rem;
      font-weight: 600;
      color: var(--text-dim);
      white-space: nowrap;
      letter-spacing: 0.04em;
    }

    .nav-clock-time {
      font-size: 0.95rem;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      color: var(--gold-bright);
      letter-spacing: 0.06em;
      text-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
    }

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

    .nav-links a {
      color: var(--text-dim);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 600;
      padding: 8px 14px;
      border-radius: 8px;
      transition: color 0.2s, background 0.2s;
      white-space: nowrap;
      cursor: pointer;
      position: relative;
      z-index: 1;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--gold-bright);
      background: rgba(212, 175, 55, 0.1);
    }

    .nav-toggle {
      display: none;
      background: none;
      border: 1px solid rgba(212, 175, 55, 0.3);
      color: var(--gold);
      padding: 8px 12px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1.1rem;
    }

    /* ── 玻璃卡片基础 ── */
    .glass-card {
      background: var(--glass);
      backdrop-filter: var(--card-blur) saturate(1.35);
      -webkit-backdrop-filter: var(--card-blur) saturate(1.35);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 24px 64px rgba(0, 0, 0, 0.45);
      position: relative;
      overflow: hidden;
      transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    }

    .glass-card:hover {
      border-color: rgba(255, 215, 120, 0.28);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 32px rgba(246, 211, 106, 0.08),
        0 28px 72px rgba(0, 0, 0, 0.5);
    }

    .glass-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    }

    .section {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .section-head {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .section-head h2 {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--white);
      letter-spacing: 0.04em;
    }

    .section-head .line {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, rgba(212, 175, 55, 0.4), transparent);
    }

    .section-tag {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: var(--gold);
      text-transform: uppercase;
    }


/* ── 通用徽章 / 动画 ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── 通用按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid rgba(246, 211, 106, 0.45);
  box-shadow:
    inset 0 0 24px rgba(246, 211, 106, 0.08),
    0 0 20px rgba(246, 211, 106, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(246, 211, 106, 0.65);
  box-shadow:
    inset 0 0 32px rgba(246, 211, 106, 0.12),
    0 0 36px rgba(246, 211, 106, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(246, 211, 106, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(246, 211, 106, 0.1);
}

/* ── 内页标题区 ── */
.page-hero {
  padding: 36px 0 28px;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-bright) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.page-hero-sub {
  font-size: 0.88rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.topnav-inner {
  position: relative;
}

/* ── 页脚 ── */
.footer {
  padding: 32px 20px 48px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(2, 8, 5, 0.8);
  text-align: center;
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 12px;
  line-height: 1.7;
}

.footer .brand {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-dim);
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    touch-action: pan-y;
    overscroll-behavior-x: none;
  }

  .page-wrap {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
  }

  .bg-layer {
    overflow: hidden;
  }

  .bg-poster::before {
    animation: none;
    inset: 0;
    transform: none !important;
    background-size: auto 115%;
    background-position: 68% 42%;
  }

  .bg-poster::after {
    background:
      linear-gradient(180deg, rgba(2, 10, 5, 0.12) 0%, rgba(2, 10, 5, 0.06) 40%, rgba(2, 10, 5, 0.18) 100%),
      radial-gradient(ellipse 120% 40% at 50% 0%, rgba(0, 0, 0, 0.1) 0%, transparent 55%),
      radial-gradient(ellipse 100% 35% at 50% 100%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
  }

  .nav-clock {
    padding-left: 8px;
    flex-shrink: 0;
    gap: 0;
  }

  .nav-clock-date {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }

  .nav-clock-time {
    font-size: 0.78rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(4, 18, 11, 0.98);
    padding: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 300;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
