/*
 * IABL Official Website V1.0 — Main Stylesheet
 * Visual language: MLB / WBSC / Premier12 — professional sports official.
 * Colors: deep navy, white, restrained red accents.
 * Shared by homepage; subpages may import or mirror tokens as needed.
 */

/* ---------- Design tokens ---------- */
:root {
  --navy: #071a4d;
  --navy-deep: #041033;
  --navy-mid: #0a2260;
  --navy-soft: #122b6e;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-12: rgba(255, 255, 255, 0.12);
  --red: #c8102e;
  --blue-btn: #1546c2;
  --blue-btn-hover: #1f56db;
  --wechat: #07c160;
  --wechat-hover: #06ad56;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-zh: "Noto Sans SC", "Source Sans 3", sans-serif;

  --header-h: 72px;
  --container: 1100px;
  --container-narrow: 720px;
  --section-y: clamp(5rem, 9vw, 7.5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image: url("../assets/branding/pattern/iabl-pattern.svg");
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: 0 0;
  background-size: 720px 520px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
}

.section {
  padding-block: var(--section-y);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}

.section__kicker {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white-50);
}

/* Alternating section atmospheres — clean, not flashy */
.section--season,
.section--stats,
.section--announcements,
.section--system {
  background: rgba(7, 26, 77, 0.9);
}

.section--about,
.section--clubs,
.section--follow,
.section--reports {
  background: rgba(4, 16, 51, 0.9);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-bilingual {
  flex-direction: column;
  gap: 0.12rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  max-width: 100%;
}

.btn-cn {
  display: block;
  font-family: var(--font-zh);
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.btn-en {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.82;
  line-height: 1.2;
}

/* Homepage bilingual button polish */
body.is-home .btn-bilingual {
  padding-top: calc(0.7rem + 2px);
  padding-bottom: calc(0.7rem + 2px);
}

body.is-home .btn-en {
  font-family: var(--font-display);
  letter-spacing: calc(0.04em + 1px);
  text-transform: uppercase;
  opacity: 0.75;
}

.btn--primary {
  background: var(--blue-btn);
  color: var(--white);
}

.btn--primary:hover:not(:disabled) {
  background: var(--blue-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 70, 194, 0.35);
}

.btn--outline {
  border: 1px solid var(--white-20);
  color: var(--white);
  background: transparent;
  padding: 0.7rem 1.35rem;
}

.btn--outline:hover {
  border-color: var(--white);
  background: var(--white-12);
  transform: translateY(-2px);
}

.btn--wechat {
  background: var(--wechat);
  color: var(--white);
  margin-top: 0.25rem;
}

.btn--wechat:hover {
  background: var(--wechat-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(7, 193, 96, 0.3);
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(7, 26, 77, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 26, 77, 0.72);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav {
  width: min(100% - 1.25rem, 1200px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(0.12rem, 0.4vw, 0.45rem);
}

.nav__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.02rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white-70);
  padding-block: 0.1rem;
  position: relative;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
  text-align: center;
  line-height: 1.1;
}

.nav-cn {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.75rem;
  line-height: 1.15;
}

.nav-en {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: none;
  opacity: 0.75;
  line-height: 1.1;
}

.nav__link:hover .nav-en,
.nav__link.is-active .nav-en {
  opacity: 0.9;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero (first screen) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1.5rem) 0 4.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Full-bleed stadium atmosphere — official hero */
  background-color: #05143c;
  background-image: url("../iabl-official-assets/hero/home-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Single deep-blue wash — keeps photo visible, text readable */
  background: rgba(5, 20, 60, 0.55);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__copy {
  text-align: left;
  max-width: 38rem;
}

.hero__title-zh {
  font-family: var(--font-zh);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: var(--white);
}

.hero__title-en {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white-90);
}

.hero__tagline {
  margin-top: 1.75rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.75;
  color: var(--white-70);
}

/* Hero season glass card */
.hero__season {
  justify-self: end;
  width: 100%;
  padding: 1.85rem 1.6rem 1.7rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero__season-code {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--white);
}

.hero__season-name {
  margin-top: 0.85rem;
  font-family: var(--font-zh);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white-70);
}

.hero__season-status {
  margin-top: 1.15rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-zh);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--red);
}

.hero__season-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* Unified hero CTA size */
.btn--hero {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-zh);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--blue-btn);
  color: var(--white);
  border: 1px solid transparent;
}

.btn--hero.btn-bilingual {
  min-height: 52px;
  padding: 0.55rem 0.65rem;
}

.btn--hero:hover {
  background: var(--blue-btn-hover);
  transform: translateY(-1px);
}

.btn--hero-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--hero-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

/* Scroll Down hint */
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--white-50);
  transition: color 0.25s var(--ease);
}

.hero__scroll:hover {
  color: var(--white);
}

.hero__scroll-text {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__scroll-icon {
  width: 14px;
  height: 14px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: hero-scroll-nudge 1.8s var(--ease) infinite;
}

@keyframes hero-scroll-nudge {
  0%,
  100% {
    opacity: 0.45;
    transform: rotate(45deg) translate(-2px, -2px);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) translate(2px, 2px);
  }
}

/* ---------- Season card ---------- */
.section--season {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.season-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(2rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
}

.season-card__code {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 1.35rem;
}

.season-card__caption {
  margin: 0 0 1.25rem;
  font-family: var(--font-zh);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white-70);
}

.season-card__status-label {
  font-family: var(--font-zh);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white-50);
}

.season-card__status {
  margin-top: 0.35rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-zh);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red);
}

.season-card__logo {
  width: clamp(120px, 18vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--white-20);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.season-card__logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* ---------- About ---------- */
.about {
  text-align: center;
}

.about__zh {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.9;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about__en {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--white-50);
}

/* ---------- Statistics ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  text-align: center;
  padding: 2.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.stat-card__label {
  font-family: var(--font-zh);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white-50);
  margin-top: 0.9rem;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.stat-card__value::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin: 0.85rem auto 0;
  background: var(--red);
  border-radius: 999px;
}

/* ---------- Club logo wall ---------- */
.club-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 960px;
  margin-inline: auto;
}

.club-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  padding: 1.25rem 1rem 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.club-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.club-card__logo {
  position: relative;
  width: 88px;
  height: 88px;
  max-width: 88px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
}

.club-card__logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  --logo-scale: 1;
  --logo-offset-x: 0px;
  --logo-offset-y: 0px;
  transform: translate(var(--logo-offset-x), var(--logo-offset-y)) scale(var(--logo-scale));
  transform-origin: center center;
}

.club-card__logo--debug {
  outline: 1px dashed rgba(200, 16, 46, 0.65);
}

.club-card__logo-debug {
  font-family: var(--font-body);
  font-size: 0.62rem;
  line-height: 1.3;
  color: var(--white-50);
  word-break: break-all;
  max-width: 11rem;
}

.club-card__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9aa3b5;
  pointer-events: none;
}

.club-card__ph svg {
  width: 36px;
  height: 36px;
  display: block;
}

.club-card__logo img[src]:not([src=""]) {
  background: transparent;
}

.club-card__name {
  font-family: var(--font-zh);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-90);
  line-height: 1.35;
  word-break: break-word;
  margin-top: 0.25rem;
}

.club-card__name-former {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--white-50);
  letter-spacing: 0.02em;
}

.club-card__former-en {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white-50);
  opacity: 0.8;
  line-height: 1.2;
  margin-top: -0.05rem;
}

.club-card__badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  max-width: 88px;
  margin-top: 7px;
}

.club-card__badge {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-zh);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.club-card__badge-en {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--red);
  opacity: 0.78;
  line-height: 1.1;
}

.club-card__meta {
  font-family: var(--font-zh);
  font-size: 0.75rem;
  color: var(--white-50);
  line-height: 1.25;
  margin-top: 0.1rem;
}

.club-card__meta-en {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-50);
  opacity: 0.65;
  line-height: 1.15;
  margin-top: 0.05rem;
}

.club-card__status {
  font-family: var(--font-zh);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
}

.club-card__status-en {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--red);
  opacity: 0.85;
  line-height: 1.25;
  margin-top: -0.12rem;
}

.club-card__btn {
  margin-top: 0.35rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.club-card__btn.btn-bilingual {
  padding: 0.55rem 1rem;
}

body.is-home .club-card__btn.btn-bilingual {
  padding-top: calc(0.55rem + 2px);
  padding-bottom: calc(0.55rem + 2px);
}

.club-wall__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--white-50);
  font-size: 0.95rem;
  padding: 1rem;
}

/* Legacy circular placeholder (unused but kept harmless) */
.club-wall__item {
  display: none;
}

/* ---------- Announcements ---------- */
.announce-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.announce-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 210px;
  padding: 1.85rem 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.announce-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.announce-card__title {
  font-family: var(--font-zh);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.announce-card__sub {
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.5;
  margin-bottom: auto;
}

.announce-card__date {
  font-size: 0.9rem;
  color: var(--white-50);
  margin-bottom: auto;
}

.announce-empty {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
}

.announce-empty__title {
  font-family: var(--font-zh);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.announce-empty__text {
  margin-top: 0.55rem;
  margin-bottom: 1.35rem;
  font-family: var(--font-zh);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--white-70);
}

/* ---------- Follow Us ---------- */
.follow {
  max-width: 680px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(2rem, 4vw, 2.75rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
}

.follow__qr {
  position: relative;
  width: clamp(140px, 22vw, 176px);
  aspect-ratio: 1;
  padding: 0.65rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.follow__qr.is-empty,
.follow__qr--empty {
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.28);
}

.follow__qr img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.follow__qr-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  text-align: center;
  font-family: var(--font-zh);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white-50);
  pointer-events: none;
}

.follow__qr:not(.follow__qr--empty) .follow__qr-ph,
.follow__qr.has-image .follow__qr-ph {
  display: none;
}

.follow__label {
  font-family: var(--font-zh);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-50);
  margin-bottom: 0.4rem;
}

.follow__name {
  font-family: var(--font-zh);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.follow__desc {
  font-family: var(--font-zh);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--white-50);
}

/* ---------- Match report cards (homepage + shared) ---------- */
.match-report-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
}

.match-report-card {
  padding: 1.5rem 1.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
}

.match-report-card__title {
  font-family: var(--font-zh);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.match-report-card__en {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-50);
}

.match-report-card__desc {
  margin-top: 0.85rem;
  font-family: var(--font-zh);
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--white-70);
}

.match-report-card__desc-en {
  margin-top: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--white-50);
}

.match-report-card .btn {
  margin-top: 1.15rem;
}

/* Legacy report cards (unused on homepage) */
.report-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 1.35rem;
  justify-content: center;
}

.report-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.report-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.report-card__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.report-card__cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.report-card__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white-50);
  font-family: var(--font-zh);
  font-size: 0.9rem;
}

.report-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.report-card__title {
  font-family: var(--font-zh);
  font-size: 1.1rem;
  font-weight: 700;
}

.report-card__date {
  font-size: 0.88rem;
  color: var(--white-50);
  margin-bottom: 0.25rem;
}

.report-card__desc {
  font-family: var(--font-zh);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--white-70);
}

/* ---------- System ---------- */
.system-block {
  text-align: center;
}

.system-block__text {
  font-size: 1.05rem;
  color: var(--white-50);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.system-card {
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem) 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
}

.system-card__title {
  font-family: var(--font-zh);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.system-card__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 360px;
  margin: 0 auto 1.75rem;
  font-family: var(--font-zh);
  color: var(--white-70);
}

.system-card__list li {
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #030b22;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.75rem 0 2.25rem;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-zh);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.5rem;
}

.site-footer__nav a {
  font-family: var(--font-zh);
  font-size: 0.88rem;
  color: var(--white-70);
  transition: color 0.2s var(--ease);
}

.site-footer__nav a:hover {
  color: var(--white);
}

.site-footer__copy {
  font-family: var(--font-zh);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  color: var(--white-70);
}

.site-footer__org {
  font-size: 0.95rem;
  color: var(--white-70);
  margin-bottom: 1.5rem;
}

.site-footer__filings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  font-size: 0.85rem;
}

.site-footer__filings a {
  color: var(--white-50);
  transition: color 0.2s var(--ease);
}

.site-footer__filings a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Scroll fade-in ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stats .fade-up:nth-child(1) { transition-delay: 0.04s; }
.stats .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stats .fade-up:nth-child(3) { transition-delay: 0.16s; }
.stats .fade-up:nth-child(4) { transition-delay: 0.22s; }

.announce-grid .fade-up:nth-child(1) { transition-delay: 0.04s; }
.announce-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.announce-grid .fade-up:nth-child(3) { transition-delay: 0.16s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .club-wall {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .announce-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.1rem;
    background: rgba(7, 26, 77, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__link::after {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 5rem;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero__season {
    justify-self: stretch;
    max-width: 360px;
  }

  .season-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .follow {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 64px;
  }

  .hero__season-actions {
    grid-template-columns: 1fr;
  }

  .club-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    gap: 0.85rem;
  }

  .stat-card {
    padding: 1.5rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up,
  .btn,
  .stat-card,
  .announce-card,
  .club-wall__item,
  .hero__scroll-icon {
    transition: none !important;
    animation: none !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}
