/* 首页专属样式 */
.page-home {
  background: var(--cream);
  color: var(--gray);
  overflow-x: hidden;
}

.page-home #core-features,
.page-home #advantages,
.page-home #latest-content,
.page-home #brand-story {
  scroll-margin-top: 120px;
}

/* —— 首屏框景 —— */
.page-home .home-hero {
  position: relative;
  background: var(--dark);
  padding: 14px 14px 22px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
  background: repeating-linear-gradient(90deg, var(--gold) 0 44px, var(--dark) 44px 56px);
}

.page-home .home-hero__clip {
  position: relative;
  background: var(--dark);
  border: 6px solid var(--green);
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  box-shadow: 10px 10px 0 rgba(10, 46, 54, 0.4);
  overflow: hidden;
}

.page-home .home-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-home .home-hero__wash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 46, 54, 0.94) 0%, rgba(10, 46, 54, 0.88) 58%, rgba(30, 123, 75, 0.66) 100%);
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
}

.page-home .home-hero__content {
  padding: 30px 20px 10px;
  color: var(--white);
}

.page-home .home-hero__context {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 248, 231, 0.72);
}

.page-home .home-hero__context-dot {
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .home-hero__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .home-hero h1 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--white);
}

.page-home .home-hero__en {
  margin: 0 0 18px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .home-hero__lead {
  max-width: 52ch;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero .btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.page-home .home-hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.page-home .home-hero__index {
  margin: 16px 14px 14px;
  padding: 18px 16px 14px;
  background: rgba(255, 248, 231, 0.05);
  border-top: 5px solid var(--gold);
  border-left: 2px solid rgba(255, 193, 7, 0.5);
}

.page-home .home-hero__index-title {
  margin: 0 0 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.page-home .home-hero__index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 14px;
}

.page-home .home-hero__index-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-home .home-hero__index-num {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--gold);
}

.page-home .home-hero__index-list a:hover,
.page-home .home-hero__index-list a:focus {
  color: var(--gold);
  padding-left: 6px;
}

.page-home .home-hero__index-list a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-home .home-hero__index-note {
  margin: 14px 0 0;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* —— 分节标题 —— */
.page-home .home-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 30px;
}

.page-home .home-heading__num {
  flex: none;
  padding: 5px 12px;
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  background: var(--white);
  border: 2px solid var(--green);
  box-shadow: 4px 4px 0 rgba(30, 123, 75, 0.28);
  transform: skewX(-8deg);
}

.page-home .home-heading__kicker {
  margin: 1px 0 3px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.page-home .home-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--gray);
}

.page-home .home-heading--light .home-heading__num {
  color: var(--gold);
  background: transparent;
  border-color: var(--gold);
  box-shadow: 4px 4px 0 rgba(255, 193, 7, 0.3);
}

.page-home .home-heading--light .home-heading__kicker {
  color: var(--gold);
}

.page-home .home-heading--light h2 {
  color: var(--white);
}

/* —— 核心功能 —— */
.page-home .home-features {
  position: relative;
  padding: 64px 0 60px;
  background: var(--cream);
}

.page-home .home-features::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--green) 0 14px, var(--cream) 14px 24px);
}

.page-home .home-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .home-feat {
  background: var(--white);
  border: 3px solid var(--gray);
  box-shadow: 8px 8px 0 rgba(45, 55, 72, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-feat:hover,
.page-home .home-feat:focus-within {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 rgba(45, 55, 72, 0.2);
}

.page-home .home-feat__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 3px solid var(--gray);
}

.page-home .home-feat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-home .home-feat:hover .home-feat__media img {
  transform: scale(1.04);
}

.page-home .home-feat__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 12px, var(--dark) 12px 16px);
}

.page-home .home-feat__body {
  padding: 18px 18px 20px;
}

.page-home .home-feat__body h3 {
  margin: 10px 0 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--gray);
}

.page-home .home-feat__desc {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
}

.page-home .home-feat__stat {
  margin: 0;
  padding-top: 12px;
  border-top: 2px dashed var(--silver);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--gray);
}

.page-home .home-feat__stat .data-num {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 10px;
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--gold);
  background: var(--dark);
  transform: skewX(-5deg);
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.page-home .home-stat {
  padding: 18px 10px 16px;
  text-align: center;
  color: var(--white);
  background: var(--dark);
  border: 2px solid var(--green);
  box-shadow: 6px 6px 0 rgba(10, 46, 54, 0.25);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gold);
}

.page-home .home-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* —— 特色优势 —— */
.page-home .home-advantages {
  position: relative;
  padding: 64px 0 60px;
  color: var(--white);
  background: var(--dark);
}

.page-home .home-advantages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0 55%, var(--gold) 55% 78%, var(--red) 78% 100%);
}

.page-home .home-advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-adv {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(203, 213, 224, 0.2);
  border-left: 5px solid var(--blue);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .home-adv:hover {
  background: rgba(255, 193, 7, 0.08);
  transform: translateX(5px);
}

.page-home .home-adv__index {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold);
  transform: skewX(-8deg);
}

.page-home .home-adv h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
}

.page-home .home-adv p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* —— 最新内容 —— */
.page-home .home-latest {
  padding: 64px 0 56px;
  background: var(--cream);
}

.page-home .home-latest__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .home-post {
  position: relative;
  padding: 22px 18px 20px;
  background: var(--white);
  border: 3px solid var(--gray);
  box-shadow: 6px 6px 0 rgba(45, 55, 72, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-post::before {
  content: "";
  position: absolute;
  top: -3px;
  right: 26px;
  border-top: 12px solid var(--green);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.page-home .home-post:hover,
.page-home .home-post:focus-within {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 rgba(45, 55, 72, 0.18);
}

.page-home .home-post__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .home-post__meta {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.page-home .home-post h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--gray);
}

.page-home .home-post p {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.75;
}

.page-home .home-post__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--green);
}

.page-home .home-post__link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.page-home .home-post__link:hover span,
.page-home .home-post__link:focus span {
  transform: translateX(4px);
}

.page-home .home-post__link:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.page-home .home-latest__more {
  margin-top: 30px;
  text-align: center;
}

/* —— 品牌故事 —— */
.page-home .home-brand {
  background: var(--cream);
}

.page-home .home-brand__media {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-top: 8px solid var(--green);
  border-bottom: 8px solid var(--green);
}

.page-home .home-brand__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-brand__media::after {
  content: "INNER MONGOLIA · FOOTBALL ARCHIVE";
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 10px;
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--white);
  background: rgba(10, 46, 54, 0.72);
  border-left: 4px solid var(--gold);
}

.page-home .home-brand__body {
  padding: 44px 20px 60px;
}

.page-home .home-brand__body p {
  max-width: 60ch;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.85;
}

.page-home .home-brand__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.page-home .home-brand__link {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .home-brand__link:hover {
  border-bottom-color: var(--blue);
}

/* —— 行动召唤 —— */
.page-home .home-cta {
  position: relative;
  padding: 56px 14px 64px;
  background: var(--dark);
  overflow: hidden;
}

.page-home .home-cta__deco {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 260px;
  height: 260px;
  border: 5px solid rgba(255, 193, 7, 0.25);
  transform: rotate(18deg);
}

.page-home .home-cta__deco::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(30, 144, 255, 0.3);
}

.page-home .home-cta__panel {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 38px 22px;
  text-align: center;
  background: linear-gradient(145deg, var(--dark), rgba(30, 123, 75, 0.3));
  border: 3px solid var(--gold);
  box-shadow: 12px 12px 0 rgba(255, 193, 7, 0.16);
}

.page-home .home-cta__kicker {
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .home-cta h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--white);
}

.page-home .home-cta__text {
  max-width: 52ch;
  margin: 0 auto 24px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-home .home-cta .btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.page-home .home-cta .btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

/* —— 响应式 —— */
@media (min-width: 720px) {
  .page-home .home-hero {
    padding: 20px 20px 28px;
  }

  .page-home .home-hero__content {
    padding: 36px 28px 14px;
  }

  .page-home .home-hero__index-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .page-home .home-feat__media {
    height: 240px;
  }

  .page-home .home-advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-home .home-latest__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-home .home-brand__media {
    height: 320px;
  }

  .page-home .home-brand__body {
    padding: 52px 28px 64px;
  }
}

@media (min-width: 1000px) {
  .page-home .home-hero {
    padding: 24px 24px 36px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 7fr 3fr;
    min-height: 560px;
  }

  .page-home .home-hero__wash {
    background: linear-gradient(115deg, rgba(10, 46, 54, 0.97) 0%, rgba(10, 46, 54, 0.88) 46%, rgba(30, 123, 75, 0.58) 76%, rgba(255, 193, 7, 0.18) 100%);
  }

  .page-home .home-hero__content {
    align-self: center;
    padding: 48px 40px 48px 52px;
  }

  .page-home .home-hero h1 {
    font-size: 3rem;
  }

  .page-home .home-hero__index {
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 300px;
    margin: 0;
    padding: 28px 24px;
  }

  .page-home .home-hero__index-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .page-home .home-features,
  .page-home .home-latest {
    padding: 84px 0 76px;
  }

  .page-home .home-features__grid {
    gap: 34px;
  }

  .page-home .home-feat__media {
    height: 260px;
  }

  .page-home .home-feat__body {
    padding: 22px 24px 24px;
  }

  .page-home .home-stats {
    gap: 24px;
    margin-top: 44px;
  }

  .page-home .home-stat {
    padding: 24px 16px;
  }

  .page-home .home-stat__num {
    font-size: 24px;
  }

  .page-home .home-advantages {
    padding: 84px 0 80px;
  }

  .page-home .home-advantages__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .page-home .home-adv {
    padding: 28px 22px;
  }

  .page-home .home-latest__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .home-brand {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-brand__media {
    height: 100%;
    min-height: 440px;
    border-top: none;
    border-bottom: none;
    border-right: 8px solid var(--green);
  }

  .page-home .home-brand__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
  }

  .page-home .home-cta {
    padding: 80px 16px;
  }

  .page-home .home-cta__panel {
    padding: 50px 44px;
  }

  .page-home .home-cta h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
  }
}
