/* ============ 云开首页专属样式 ============ */
.page-home {
  --home-cut-lg: 32px;
  --home-cut-sm: 16px;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--c-deep);
  color: var(--c-white);
  overflow-x: clip;
}

.page-home .home-section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  scroll-margin-top: 120px;
}

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

.page-home .home-data .section-head__title,
.page-home .home-news .section-head__title {
  color: var(--c-deep);
}

.page-home .home-data .section-head__desc,
.page-home .home-news .section-head__desc {
  color: rgba(11, 30, 51, 0.72);
}

.page-home .home-data .section-head__kicker,
.page-home .home-news .section-head__kicker {
  color: var(--c-flame);
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  background: var(--c-deep);
  padding: 40px 0 56px;
  overflow: hidden;
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  pointer-events: none;
}

.page-home .home-hero__path {
  position: absolute;
  left: 0;
  right: 0;
  top: 10%;
  width: 100%;
  height: 280px;
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
}

.page-home .home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-hero__kicker {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--c-yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
  line-height: 1.08;
  color: var(--c-white);
  margin: 0 0 20px;
  text-wrap: balance;
}

.page-home .home-hero__brand {
  display: block;
  font-size: 0.52em;
  letter-spacing: 0.22em;
  color: var(--c-yellow);
  margin-bottom: 8px;
}

.page-home .home-hero__accent {
  color: var(--c-flame);
  position: relative;
  display: inline-block;
}

.page-home .home-hero__accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: linear-gradient(90deg, var(--c-flame), var(--c-yellow));
  opacity: 0.32;
  z-index: -1;
}

.page-home .home-hero__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46em;
  margin: 0 0 24px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-hero__facts li {
  font-size: 0.88rem;
  color: var(--c-gray);
}

.page-home .home-hero__facts strong {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  color: var(--c-yellow);
  margin-right: 4px;
}

.page-home .home-hero__visual {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.page-home .home-hero__shot {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  background: var(--c-ocean);
}

.page-home .home-hero__shot::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-yellow), transparent);
  transform: rotate(-6deg);
  opacity: 0.7;
  pointer-events: none;
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-hero__badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(11, 30, 51, 0.86);
  border: 1px solid rgba(255, 215, 0, 0.35);
  backdrop-filter: blur(6px);
  padding: 12px 18px;
  z-index: 3;
}

.page-home .home-hero__badge--one {
  top: 16px;
  left: 10px;
  border-left: 4px solid var(--c-flame);
}

.page-home .home-hero__badge--two {
  bottom: 18px;
  right: 10px;
  border-right: 4px solid var(--c-yellow);
  text-align: right;
}

.page-home .home-hero__badge-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--c-white);
}

.page-home .home-hero__badge-label {
  font-size: 0.78rem;
  color: var(--c-gray);
}

.page-home .home-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 28px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
}

.page-home .home-hero__scroll-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(180deg, var(--c-flame), transparent);
  border-radius: 2px;
}

/* ============ 01 赛程总览 ============ */
.page-home .home-schedule {
  background: var(--c-ocean);
}

.page-home .home-schedule::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-home .home-schedule > .container {
  position: relative;
}

.page-home .home-schedule__grid {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}

.page-home .home-schedule__card {
  position: relative;
  background: rgba(11, 30, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--c-flame);
  padding: 22px 22px 20px;
  transition: transform 0.45s var(--home-ease), box-shadow 0.45s var(--home-ease);
}

.page-home .home-schedule__card::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-flame), transparent);
  transform: rotate(-18deg);
  opacity: 0.65;
  pointer-events: none;
}

.page-home .home-schedule__card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 16px 36px rgba(4, 12, 22, 0.5);
}

.page-home .home-schedule__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .home-schedule__league {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--c-yellow);
  letter-spacing: 0.06em;
}

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

.page-home .home-schedule__team {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-white);
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.page-home .home-schedule__team:first-child {
  text-align: left;
}

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

.page-home .home-schedule__vs {
  color: var(--c-flame);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  flex-shrink: 0;
}

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

.page-home .home-schedule__time {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--c-yellow);
}

.page-home .home-schedule__status {
  font-size: 0.76rem;
  color: var(--c-gray);
}

.page-home .home-schedule__link {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-yellow);
  text-underline-offset: 4px;
  opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
}

.page-home .home-schedule__card:hover .home-schedule__link {
  opacity: 1;
}

.page-home .home-schedule__link:hover {
  color: var(--c-flame);
}

.page-home .home-schedule__info {
  display: grid;
  gap: 24px;
  align-items: center;
  background: rgba(11, 30, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  margin-bottom: 44px;
}

.page-home .home-schedule__thumb {
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .home-schedule__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-schedule__coverage h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--c-white);
}

.page-home .home-schedule__coverage p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.page-home .home-schedule__coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.page-home .home-schedule__coverage-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--c-white);
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
  transition: border-color 0.3s, color 0.3s;
}

.page-home .home-schedule__coverage-list li:hover {
  border-color: var(--c-flame);
  color: var(--c-yellow);
}

.page-home .home-schedule__profile-link {
  color: var(--c-yellow);
  font-weight: 600;
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

.page-home .home-schedule__bottom {
  display: flex;
  justify-content: center;
}

/* ============ 02 数据面板亮点 ============ */
.page-home .home-data {
  background: var(--c-sand);
  color: var(--c-deep);
}

.page-home .home-data__inner {
  display: grid;
  gap: 44px;
  align-items: center;
}

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

.page-home .home-data__features li {
  position: relative;
  padding-left: 44px;
  line-height: 1.55;
  color: rgba(11, 30, 51, 0.82);
  font-size: 0.96rem;
}

.page-home .home-data__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 28px;
  height: 16px;
  background: linear-gradient(135deg, var(--c-flame), var(--c-yellow));
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}

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

.page-home .home-data__visual {
  position: relative;
}

.page-home .home-data__frame {
  position: relative;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  background: var(--c-deep);
  border: 8px solid var(--c-deep);
}

.page-home .home-data__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-data__callout {
  position: absolute;
  left: 14px;
  bottom: 26px;
  background: var(--c-flame);
  color: var(--c-deep);
  font-family: var(--font-heading);
  padding: 6px 14px;
  transform: rotate(-3deg);
  box-shadow: 4px 4px 0 rgba(11, 30, 51, 0.2);
}

/* ============ 03 球队库入口 ============ */
.page-home .home-teams {
  background: var(--c-indigo);
}

.page-home .home-teams__demo {
  margin-bottom: 44px;
}

.page-home .home-teams__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  background: rgba(11, 30, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 6px solid var(--c-flame);
}

.page-home .home-teams__nav-item {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 8px 18px;
  border: 1px solid transparent;
}

.page-home .home-teams__nav-item--active {
  background: var(--c-flame);
  color: var(--c-deep);
  border-color: var(--c-yellow);
  font-weight: 700;
  box-shadow: 0 0 24px rgba(255, 107, 53, 0.4);
}

.page-home .home-teams__steps {
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
}

.page-home .home-teams__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(11, 30, 51, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
}

.page-home .home-teams__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--c-yellow);
  line-height: 1;
}

.page-home .home-teams__step-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.5;
}

.page-home .home-teams__arrow {
  color: var(--c-flame);
  font-size: 1.4rem;
  text-align: center;
  line-height: 1;
}

.page-home .home-teams__actions {
  display: flex;
  justify-content: center;
}

/* ============ 04 应用下载 ============ */
.page-home .home-app {
  background: var(--c-deep);
  border-top: 4px solid var(--c-flame);
}

.page-home .home-app__inner {
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-home .home-app__visual {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.page-home .home-app__visual::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(closest-side, rgba(255, 107, 53, 0.4), transparent);
  filter: blur(40px);
  z-index: 0;
}

.page-home .home-app__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.page-home .home-app__version {
  position: absolute;
  top: 14px;
  right: -10px;
  z-index: 2;
  background: var(--c-yellow);
  color: var(--c-deep);
  font-family: var(--font-heading);
  padding: 6px 12px;
  transform: rotate(6deg);
  box-shadow: 4px 4px 0 rgba(255, 107, 53, 0.5);
}

.page-home .home-app__timeline {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home .home-app__milestone {
  display: flex;
  align-items: center;
  gap: 18px;
}

.page-home .home-app__year {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--c-flame);
  width: 66px;
  border-right: 2px solid rgba(255, 107, 53, 0.4);
  padding-right: 12px;
}

.page-home .home-app__milestone-text {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.page-home .home-app__copy .btn--primary {
  position: relative;
  z-index: 2;
}

.page-home .home-app__copy .btn--primary:hover {
  box-shadow: 0 0 36px rgba(255, 107, 53, 0.5);
}

/* ============ 05 最新动态 ============ */
.page-home .home-news {
  background: var(--c-sand);
  color: var(--c-deep);
}

.page-home .home-news__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-news__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--c-white);
  border: 1px solid rgba(11, 30, 51, 0.08);
  border-top: 4px solid var(--c-ocean);
  padding: 26px 24px;
  transition: transform 0.4s var(--home-ease), box-shadow 0.4s var(--home-ease);
}

.page-home .home-news__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11, 30, 51, 0.15);
}

.page-home .home-news__card .tag {
  margin-bottom: 14px;
}

.page-home .home-news__card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--c-deep);
  margin: 0 0 12px;
  text-wrap: balance;
}

.page-home .home-news__card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(11, 30, 51, 0.72);
  margin: 0 0 18px;
  flex: 1;
}

.page-home .home-news__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-flame);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.page-home .home-news__link:hover {
  color: var(--c-deep);
}

/* ============ 06 订阅更新总览 ============ */
.page-home .home-subscribe {
  position: relative;
  background: var(--c-ocean);
}

.page-home .home-subscribe::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 215, 0, 0.18);
  box-shadow:
    0 0 0 40px rgba(255, 215, 0, 0.04),
    0 0 0 80px rgba(255, 215, 0, 0.03);
  pointer-events: none;
}

.page-home .home-subscribe::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 107, 53, 0.28);
  pointer-events: none;
}

.page-home .home-subscribe > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-subscribe__grid {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}

.page-home .home-subscribe__item {
  position: relative;
  background: rgba(11, 30, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--c-flame);
  padding: 28px 24px 24px;
}

.page-home .home-subscribe__item:nth-child(2) {
  border-left-color: var(--c-yellow);
}

.page-home .home-subscribe__item:nth-child(3) {
  border-left-color: var(--c-green);
}

.page-home .home-subscribe__time {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--c-flame);
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(255, 107, 53, 0.3);
  padding-bottom: 4px;
}

.page-home .home-subscribe__item:nth-child(2) .home-subscribe__time {
  color: var(--c-yellow);
  border-color: rgba(255, 215, 0, 0.3);
}

.page-home .home-subscribe__item:nth-child(3) .home-subscribe__time {
  color: #6FCFB5;
  border-color: rgba(0, 107, 94, 0.5);
}

.page-home .home-subscribe__item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--c-white);
}

.page-home .home-subscribe__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-home .home-subscribe__deco {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.page-home .home-subscribe__deco span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--c-gray);
}

.page-home .home-subscribe__deco strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--c-yellow);
  margin-right: 4px;
}

.page-home .home-subscribe__deco i {
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-flame), transparent);
}

.page-home .home-subscribe__footer {
  background: rgba(11, 30, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 24px;
  display: grid;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.page-home .home-subscribe__footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.page-home .home-subscribe .btn--outline-light:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.2);
}

/* ============ 响应式断点 ============ */
@media (min-width: 768px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .home-hero__scroll {
    display: flex;
  }

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

  .page-home .home-schedule__info {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 24px;
  }

  .page-home .home-teams__steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px;
  }

  .page-home .home-teams__step {
    flex-direction: column;
  }

  .page-home .home-teams__arrow {
    padding: 0 4px;
  }

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

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

  .page-home .home-subscribe__footer {
    grid-template-columns: 1fr auto;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 660px;
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .page-home .home-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 56%;
    height: 100%;
    background: linear-gradient(140deg, var(--c-indigo) 0%, var(--c-ocean) 100%);
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
  }

  .page-home .home-hero__inner {
    min-height: 580px;
  }

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

  .page-home .home-data__inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .page-home .home-app__inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 68px;
  }
}
