.page-home {
  --home-bg: #F7F5EF;
  --home-bg-dark: #141414;
  --home-bg-gray: #2C2C2C;
  --home-red: #C8102E;
  --home-gold: #D6A02C;
  --home-gold-light: #F0D285;
  --home-ink: #3A3A3A;
  --home-slate: #6A6A6A;
  --home-white: #FFFFFF;
  --home-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, monospace;
  --home-sans: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: var(--home-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-home .skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--home-red);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.page-home .skip-link:focus {
  left: 8px;
}

.page-home .breadcrumb {
  font-family: var(--home-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--home-slate);
  padding: 18px 20px 0;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .crumb-current {
  color: var(--home-red);
  font-weight: 700;
}
.page-home .crumb-sep {
  color: var(--home-gold);
}

.page-home .home-intro {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: grid;
  gap: 24px;
  position: relative;
}
.page-home .intro-copy {
  position: relative;
  z-index: 2;
}
.page-home .section-index {
  font-family: var(--home-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--home-red);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-weight: 500;
}
.page-home .index-diamond {
  width: 8px;
  height: 8px;
  background: var(--home-red);
  display: inline-block;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.page-home h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--home-bg-dark);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  max-width: 760px;
  font-family: var(--home-sans);
}
.page-home .intro-lead {
  font-size: 1.05rem;
  color: var(--home-ink);
  max-width: 620px;
  margin: 0 0 24px;
}
.page-home .intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--home-sans);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.page-home .btn-gold {
  background: linear-gradient(135deg, var(--home-gold-light), var(--home-gold));
  color: var(--home-bg-dark);
  border-color: var(--home-gold);
}
.page-home .btn-outline {
  background: transparent;
  color: var(--home-red);
  border-color: var(--home-red);
}
.page-home .btn-gold:hover,
.page-home .btn-gold:focus {
  transform: translateY(-2px);
  border-color: var(--home-gold-light);
}
.page-home .btn-outline:hover,
.page-home .btn-outline:focus {
  background: var(--home-red);
  color: #fff;
  transform: translateY(-2px);
}
.page-home .intro-visual {
  position: relative;
}
.page-home .cover-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}
.page-home .visual-note {
  font-family: var(--home-mono);
  font-size: 12px;
  color: var(--home-slate);
  margin-top: 10px;
  display: block;
  letter-spacing: 0.04em;
}

.page-home .home-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 20px;
}
.page-home .section-head {
  margin-bottom: 28px;
}
.page-home .section-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--home-bg-dark);
  margin: 0 0 10px;
}
.page-home .section-desc {
  color: var(--home-slate);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0;
}

.page-home .home-directory {
  background: var(--home-bg-dark);
  border-radius: 24px;
  padding: 48px 20px 52px;
  margin-top: 8px;
  position: relative;
}
.page-home .home-directory .section-index {
  color: var(--home-gold);
}
.page-home .home-directory .index-diamond {
  background: var(--home-gold);
}
.page-home .home-directory .section-head h2 {
  color: var(--home-white);
}
.page-home .home-directory .section-desc {
  color: rgba(255, 255, 255, 0.65);
}
.page-home .directory-grid {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.page-home .dir-card {
  background: var(--home-bg-gray);
  border: 1px solid rgba(214, 160, 44, 0.25);
  border-radius: 16px;
  padding: 22px 20px;
  text-decoration: none;
  display: block;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.page-home .dir-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--home-gold), var(--home-red));
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.page-home .dir-card:hover,
.page-home .dir-card:focus {
  border-color: var(--home-gold);
  transform: translateY(-4px);
  background: #333;
}
.page-home .dir-card:hover::before,
.page-home .dir-card:focus::before {
  opacity: 1;
}
.page-home .dir-num {
  font-family: var(--home-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--home-gold);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.page-home .dir-card h3 {
  color: var(--home-white);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.page-home .dir-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.page-home .dir-more {
  font-family: var(--home-mono);
  font-size: 12px;
  color: var(--home-gold-light);
  letter-spacing: 0.06em;
}
.page-home .red-cut {
  display: flex;
  align-items: center;
  gap: 0;
  height: 28px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-home .red-cut span {
  display: block;
  width: 200px;
  height: 100%;
  background: linear-gradient(135deg, var(--home-red), var(--home-muted-red));
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
  position: relative;
}
.page-home .red-cut span::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--home-gold), transparent);
}

.page-home .home-version {
  position: relative;
}
.page-home .version-wrap {
  display: grid;
  gap: 20px;
}
.page-home .print-frame {
  background: var(--home-white);
  border: 1px solid #ddd;
  border-left: 6px solid var(--home-red);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 8px 8px 0 rgba(214, 160, 44, 0.22);
  position: relative;
}
.page-home .version-fact {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-bg-dark);
  margin: 0 0 14px;
}
.page-home .version-list {
  margin: 0 0 14px;
  padding-left: 18px;
}
.page-home .version-list li {
  margin-bottom: 8px;
  color: var(--home-ink);
}
.page-home .version-foot {
  font-size: 0.9rem;
  color: var(--home-slate);
  margin: 0;
}
.page-home .aside-note {
  border-left: 3px solid var(--home-gold);
  background: rgba(214, 160, 44, 0.08);
  padding: 16px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: var(--home-ink);
}
.page-home .aside-note p {
  margin: 0;
}

.page-home .home-timetable {
  background: linear-gradient(135deg, #f1ece2, #fbf9f4);
  border-radius: 24px;
}
.page-home .timetable-grid {
  display: grid;
  gap: 20px;
}
.page-home .match-card {
  background: var(--home-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2ddd2;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.page-home .match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}
.page-home .match-media {
  position: relative;
}
.page-home .match-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-home .match-round {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--home-red);
  color: #fff;
  font-family: var(--home-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.page-home .match-body {
  padding: 20px 18px 22px;
}
.page-home .match-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e2ddd2;
}
.page-home .match-row:last-of-type {
  border-bottom: none;
}
.page-home .match-kickoff {
  font-family: var(--home-mono);
  font-size: 13px;
  color: var(--home-bg-dark);
  font-weight: 700;
}
.page-home .match-pair {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--home-ink);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.page-home .match-vs {
  font-family: var(--home-mono);
  font-size: 11px;
  color: var(--home-red);
  text-transform: uppercase;
}
.page-home .data-pill {
  font-family: var(--home-mono);
  font-size: 11px;
  background: var(--home-red);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.page-home .data-pill[data-tone="gold"] {
  background: linear-gradient(135deg, var(--home-gold-light), var(--home-gold));
  color: var(--home-bg-dark);
}
.page-home .data-pill[data-tone="dark"] {
  background: var(--home-bg-gray);
  color: #fff;
}
.page-home .match-note {
  font-size: 0.85rem;
  color: var(--home-slate);
  margin: 14px 0 0;
}
.page-home .timetable-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .home-briefs {
  position: relative;
}
.page-home .home-briefs .section-head h2 {
  max-width: 720px;
}
.page-home .briefs-layout {
  display: grid;
  gap: 20px;
}
.page-home .briefs-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}
.page-home .briefs-list {
  display: grid;
  gap: 12px;
}
.page-home .brief-item {
  background: var(--home-white);
  border: 1px solid #e2ddd2;
  border-radius: 12px;
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
}
.page-home .brief-item:hover,
.page-home .brief-item:focus {
  border-color: var(--home-gold);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(214, 160, 44, 0.18);
}
.page-home .tag-chip {
  font-family: var(--home-mono);
  font-size: 11px;
  color: var(--home-red);
  border: 1px solid rgba(200, 16, 46, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-home .tag-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--home-red);
  transform: rotate(45deg);
  display: inline-block;
}
.page-home .brief-title {
  font-weight: 700;
  color: var(--home-bg-dark);
  font-size: 0.98rem;
  line-height: 1.4;
}
.page-home .brief-time {
  font-family: var(--home-mono);
  font-size: 12px;
  color: var(--home-slate);
}

.page-home .home-changes {
  background: var(--home-bg-gray);
  border-radius: 24px;
  color: #fff;
}
.page-home .home-changes .section-head h2 {
  color: #fff;
}
.page-home .home-changes .section-desc {
  color: rgba(255, 255, 255, 0.7);
}
.page-home .home-changes .section-index {
  color: var(--home-gold);
}
.page-home .home-changes .index-diamond {
  background: var(--home-gold);
}
.page-home .changes-layout {
  display: grid;
  gap: 24px;
}
.page-home .changes-timeline {
  border-left: 2px solid rgba(241, 210, 133, 0.5);
  padding-left: 20px;
  display: grid;
  gap: 18px;
}
.page-home .change-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.page-home .change-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--home-gold);
  border: 2px solid var(--home-bg-gray);
}
.page-home .change-time {
  font-family: var(--home-mono);
  font-size: 12px;
  color: var(--home-gold-light);
  white-space: nowrap;
}
.page-home .change-text {
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.page-home .changes-visual {
  text-align: left;
}
.page-home .changes-visual img {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}
.page-home .changes-visual .visual-note {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-family: var(--home-mono);
  font-size: 12px;
}

.page-home .home-search {
  position: relative;
}
.page-home .search-features {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
.page-home .feature-card {
  background: var(--home-white);
  border: 1px solid #e2ddd2;
  border-radius: 14px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.page-home .feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--home-gold);
}
.page-home .feature-num {
  font-family: var(--home-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--home-red);
  display: block;
  margin-bottom: 8px;
}
.page-home .feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--home-bg-dark);
  margin: 0 0 6px;
}
.page-home .feature-card p {
  font-size: 0.9rem;
  color: var(--home-slate);
  margin: 0;
}
.page-home .trust-statement {
  font-size: 0.88rem;
  color: var(--home-slate);
  background: rgba(247, 245, 239, 0.8);
  border: 1px dashed #d6cfc0;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 24px;
}
.page-home .search-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
[data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .page-home .home-intro {
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 32px;
  }
  .page-home .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .timetable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .briefs-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
  .page-home .changes-layout {
    grid-template-columns: 1fr 220px;
    align-items: start;
  }
  .page-home .search-features {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .version-wrap {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .home-intro {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 56px;
    padding-bottom: 48px;
  }
  .page-home .home-section,
  .page-home .home-directory,
  .page-home .home-timetable,
  .page-home .home-changes {
    padding-left: 28px;
    padding-right: 28px;
  }
  .page-home .directory-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-intro::before {
    content: "";
    position: absolute;
    right: -40px;
    top: 20px;
    width: 220px;
    height: 120px;
    background: linear-gradient(135deg, transparent 40%, rgba(200, 16, 46, 0.12));
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
  }
}

.page-home {
  --home-muted-red: transparent;
}
