.page-home {
  background-color: var(--c-bg);
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--c-text);
  --home-gap: 16px;
  --home-cut: 22px;
  --home-accent-soft: rgba(0,229,160,0.14);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .breadcrumb {
  margin-bottom: 20px;
}

.page-home .section-head {
  margin-bottom: 28px;
}

.page-home .section-head--split {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .section-head--split p {
  margin: 0;
  color: var(--c-text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-home .section-tag {
  display: inline-block;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.page-home .section-title {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-home .home-hero {
  position: relative;
  padding: 30px 0 12px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(0,229,160,0.07), rgba(0,229,160,0) 36%),
    radial-gradient(circle at 84% 12%, rgba(255,107,53,0.1), transparent 44%);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: 44px;
  right: 0;
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-hot));
  opacity: 0.55;
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-hero__main {
  position: relative;
  padding: 26px 22px 34px;
  background: linear-gradient(155deg, #1c2947, #0f1e39 82%);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.page-home .home-hero__main:hover {
  border-color: rgba(0,229,160,0.36);
  box-shadow: var(--shadow-hover);
}

.page-home .home-hero__version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 13px;
  background: var(--home-accent-soft);
  border: 1px solid rgba(0,229,160,0.3);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-home .home-hero__version:hover {
  background: rgba(0,229,160,0.24);
  border-color: rgba(0,229,160,0.55);
}

.page-home .home-hero__statusdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 10px rgba(0,229,160,0.85);
}

.page-home .home-hero__title {
  margin: 12px 0 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.page-home .home-hero__lead {
  margin: 0;
  max-width: 34em;
  color: var(--c-text-dim);
  font-size: 1rem;
  line-height: 1.85;
}

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

.page-home .home-hero__actions .btn {
  min-width: 148px;
  justify-content: center;
}

.page-home .home-hero__rail {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-hero__snap {
  padding: 22px 20px 18px;
  background: rgba(20,48,79,0.92);
  border: 1px solid rgba(0,229,160,0.22);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
}

.page-home .home-hero__snap-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  color: var(--c-warn);
}

.page-home .home-hero__statlist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-hero__statlist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(192,200,208,0.22);
}

.page-home .home-hero__statnum {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--c-accent);
  animation: home-num-breathe 2.6s ease-in-out infinite alternate;
}

@keyframes home-num-breathe {
  from { text-shadow: 0 0 0 rgba(0,229,160,0); }
  to { text-shadow: 0 0 14px rgba(0,229,160,0.5); }
}

.page-home .home-hero__statlabel {
  font-size: 0.88rem;
  color: var(--c-text-dim);
}

.page-home .home-hero__flow {
  padding: 12px 12px 8px;
  background: #0d1d36;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: flex-end;
  min-height: 118px;
}

.page-home .home-hero__svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-hero__flowline {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.page-home .home-hero__flowline--main {
  stroke: var(--c-accent);
  stroke-dasharray: 6 6;
}

.page-home .home-hero__flowline--alt {
  stroke: var(--c-hot);
  stroke-opacity: 0.55;
}

.page-home .home-hero__dot {
  fill: var(--c-accent);
}

.page-home .home-hero__dot--plain {
  fill: var(--c-accent);
  opacity: 0.7;
}

.page-home .home-hero__dot--hot {
  fill: var(--c-hot);
}

.page-home .quick-access,
.page-home .china-data,
.page-home .fan-service,
.page-home .home-updates {
  padding-block: 46px;
}

.page-home .quick-access__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .quick-card {
  position: relative;
  padding: 24px 20px 26px;
  background: linear-gradient(180deg, var(--c-panel), #16223d);
  border: 1px solid var(--c-line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.page-home .quick-card:hover,
.page-home .quick-card:focus-within {
  border-color: rgba(0,229,160,0.6);
  box-shadow: 0 18px 44px rgba(3,8,22,0.5), 0 0 0 1px rgba(0,229,160,0.12);
  transform: translateY(-4px);
}

.page-home .quick-card--fold {
  background: linear-gradient(180deg, #1a2a4c, #15223d);
}

.page-home .quick-card--hot {
  background: linear-gradient(180deg, #173d50, #142c44);
  border-color: rgba(0,229,160,0.28);
}

.page-home .quick-card__num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(0,229,160,0.72);
  transform: skewX(-8deg);
}

.page-home .quick-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 900;
  padding-right: 34px;
}

.page-home .quick-card p {
  margin: 0 0 18px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--c-text-dim);
}

.page-home .match-ticker {
  padding-block: 46px 28px;
  overflow: hidden;
}

.page-home .match-ticker__viewport {
  position: relative;
  margin-top: 28px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .match-ticker__viewport:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}

.page-home .match-ticker__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .match-ticker__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-home .match-ticker__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-bg) 0%, rgba(11,27,58,0.2) 22%, rgba(11,27,58,0.62) 100%);
}

.page-home .match-ticker__track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  padding: 18px max(var(--gutter), calc((100vw - var(--container)) / 2));
  width: max-content;
  min-width: 100%;
}

.page-home .match-ticker__card {
  width: 268px;
  flex: 0 0 268px;
  scroll-snap-align: start;
  padding: 18px;
  background: rgba(15,29,54,0.88);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.page-home .match-ticker__card:hover {
  border-color: rgba(0,229,160,0.5);
  box-shadow: 0 0 0 1px rgba(0,229,160,0.1), 0 16px 32px rgba(3,8,22,0.45);
  transform: translateY(-3px);
}

.page-home .match-ticker__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.page-home .match-ticker__status {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
}

.page-home .match-ticker__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.page-home .match-ticker__team {
  display: grid;
  gap: 6px;
}

.page-home .match-ticker__team:last-child {
  text-align: right;
}

.page-home .match-ticker__team-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.page-home .match-ticker__score {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-accent);
  transition: color 0.2s ease;
}

.page-home .match-ticker__card:hover .match-ticker__score {
  color: var(--c-hot);
}

.page-home .match-ticker__vs {
  font-size: 0.7rem;
  color: var(--c-text-dim);
  letter-spacing: 0.1em;
}

.page-home .match-ticker__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.88rem;
}

.page-home .china-data__panel {
  padding: 26px 22px 30px;
  background: linear-gradient(145deg, rgba(31,42,68,0.96), #101f39 78%);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.page-home .china-data__panel:hover {
  border-color: rgba(0,229,160,0.3);
  box-shadow: var(--shadow-hover);
}

.page-home .china-data__grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .china-data__body p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-text-dim);
}

.page-home .china-data__facts {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .china-data__facts li {
  position: relative;
  padding-left: 20px;
  color: var(--c-text-dim);
  font-size: 0.94rem;
}

.page-home .china-data__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 11px;
  height: 2px;
  background: var(--c-accent);
}

.page-home .china-data__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .china-data__media {
  background: #0e1f38;
  border: 1px solid rgba(0,229,160,0.16);
  padding: 10px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .china-data__media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.page-home .compare-tool {
  padding-block: 40px;
}

.page-home .compare-tool__grid {
  display: grid;
  gap: 30px;
}

.page-home .compare-tool__body p {
  margin: 16px 0 0;
  color: var(--c-text-dim);
  line-height: 1.85;
}

.page-home .compare-tool__steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .compare-tool__step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--c-text-dim);
  line-height: 1.65;
}

.page-home .compare-tool__step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--c-accent);
  background: var(--home-accent-soft);
  border: 1px solid rgba(0,229,160,0.3);
  transform: translateY(4px);
}

.page-home .compare-tool__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.page-home .compare-tool__media {
  background: linear-gradient(135deg, #13284a, #0d1d36);
  border: 1px solid var(--c-line);
  padding: 10px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .compare-tool__media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.page-home .fan-service__panel {
  padding: 26px 22px;
  background: linear-gradient(160deg, #14324a, #101f39 82%);
  border: 1px solid rgba(0,229,160,0.22);
  box-shadow: var(--shadow);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .fan-service__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .fan-service__body p {
  margin: 16px 0 0;
  color: var(--c-text-dim);
  line-height: 1.85;
}

.page-home .fan-service__steps {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  counter-reset: fan-step;
}

.page-home .fan-service__steps li {
  position: relative;
  padding: 0 0 14px 28px;
  counter-increment: fan-step;
  color: var(--c-text-dim);
  line-height: 1.7;
}

.page-home .fan-service__steps li::before {
  content: counter(fan-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--c-bg);
  background: var(--c-accent);
}

.page-home .fan-service__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 2px;
  width: 2px;
  height: 16px;
  background: rgba(0,229,160,0.4);
}

.page-home .fan-service__media {
  background: #0d1d36;
  border: 1px solid var(--c-line);
  padding: 10px;
}

.page-home .fan-service__media img {
  width: 100%;
  display: block;
}

.page-home .home-updates__list {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-update {
  position: relative;
  padding: 22px 20px 24px;
  background: linear-gradient(180deg, #1a2847, #141f38);
  border: 1px solid var(--c-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.page-home .home-update:hover {
  border-color: rgba(0,229,160,0.42);
  box-shadow: 0 14px 34px rgba(3,8,22,0.48);
  transform: translateY(-3px);
}

.page-home .home-update__title {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.5;
}

.page-home .home-update__title a {
  color: var(--c-text);
  text-decoration: none;
}

.page-home .home-update__title a:hover {
  color: var(--c-accent);
}

.page-home .home-update p {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--c-text-dim);
}

.page-home .home-trust {
  margin-top: 48px;
  padding-block: 46px;
  background: linear-gradient(135deg, #10213d, #0c1c33);
  border-top: 1px solid var(--c-line);
}

.page-home .home-trust__statement {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.75;
  max-width: 42em;
}

.page-home .home-trust__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .home-trust__badges span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--c-text-dim);
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,0.03);
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.page-home .home-trust__links a {
  color: var(--c-accent);
  text-decoration: none;
  font-size: 0.92rem;
}

.page-home .home-trust__links a:hover {
  color: var(--c-hot);
}

@media (min-width: 680px) {
  .page-home .section-head--split {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-home .section-head--split p {
    max-width: 420px;
    text-align: right;
  }

  .page-home .quick-card p {
    font-size: 0.96rem;
  }

  .page-home .china-data__media img {
    aspect-ratio: 1;
    object-fit: cover;
  }
}

@media (min-width: 860px) {
  .page-home .china-data__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-home .compare-tool__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .compare-tool__media {
    order: -1;
  }

  .page-home .fan-service__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-home .fan-service__media {
    order: 2;
  }
}

@media (min-width: 920px) {
  .page-home .home-hero {
    padding-top: 40px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }

  .page-home .home-hero__main {
    padding: 32px 30px 40px;
  }

  .page-home .home-hero__rail {
    padding-top: 34px;
  }

  .page-home .home-hero__snap-title {
    font-size: 1.08rem;
  }

  .page-home .home-hero__statnum {
    font-size: 1.8rem;
  }

  .page-home .home-hero__flow {
    min-height: 150px;
  }
}

@media (min-width: 980px) {
  .page-home .quick-access__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-updates__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__statnum {
    animation: none;
  }

  .page-home .quick-card,
  .page-home .home-update,
  .page-home .match-ticker__card {
    transition: none;
  }
}
