.page-home {
  --panel-edge: 22px;
  --glass-bg: rgba(19, 40, 61, 0.78);
  --speed-lines: repeating-linear-gradient(135deg, rgba(184, 255, 26, 0.09) 0 2px, transparent 2px 14px);
  background:
    radial-gradient(1100px 520px at 85% -5%, rgba(45, 111, 242, 0.2), transparent 70%),
    radial-gradient(700px 360px at 10% 110%, rgba(255, 108, 10, 0.08), transparent 70%),
    linear-gradient(180deg, #071420 0%, var(--deep-space-blue) 55%, #091a2b 100%);
  color: var(--cloud-white);
  line-height: 1.6;
}

.page-home .breadcrumb {
  padding-top: 1rem;
}

.page-home .crumb-sep {
  margin: 0 0.4rem;
  color: var(--slate-gray);
  font-family: var(--font-data);
}

.page-home .crumb-current {
  color: var(--ice-blue);
}

.page-home .home-hero {
  position: relative;
  padding: 1.5rem 0 3.5rem;
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 108, 10, 0.5), transparent);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
}

.page-home .page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0.7rem 1rem;
  background: rgba(11, 27, 46, 0.58);
  border: 1px solid rgba(160, 200, 224, 0.16);
  border-radius: var(--radius);
}

.page-home .page-toc::before {
  content: "索引";
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--neon-green);
}

.page-home .toc-link {
  color: var(--ice-blue);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.page-home .toc-link:hover,
.page-home .toc-link.is-active {
  color: var(--cloud-white);
  border-bottom-color: var(--electric-orange);
}

.page-home .hero-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.page-home .hero-dashboard {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid rgba(160, 200, 224, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .hero-dashboard::before {
  content: "";
  position: absolute;
  top: -42px;
  right: -42px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 108, 10, 0.22), transparent 70%);
  border-radius: 50%;
}

.page-home .hero-dashboard h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.8rem;
}

.page-home .hero-lead {
  color: var(--ice-blue);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.page-home .hero-meta {
  margin-top: 0.9rem;
}

.page-home .text-link {
  color: var(--cobalt-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 111, 242, 0.35);
  font-size: 0.9rem;
  transition: color 0.2s, border-color 0.2s;
}

.page-home .text-link:hover {
  color: var(--cloud-white);
  border-bottom-color: var(--cloud-white);
}

.page-home .live-board {
  margin-top: 1.4rem;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(27, 73, 101, 0.65), rgba(11, 27, 46, 0.88));
  border: 1px solid rgba(160, 200, 224, 0.14);
  border-left: 3px solid var(--neon-green);
  border-radius: 10px;
}

.page-home .live-board-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(160, 200, 224, 0.28);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cloud-white);
}

.page-home .live-board-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cloud-white);
  margin: 0;
  letter-spacing: 0.02em;
}

.page-home .live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  flex: 0 0 auto;
  animation: page-home-pulse 1.4s ease-in-out infinite;
}

@keyframes page-home-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 26, 0.65);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 7px rgba(184, 255, 26, 0);
    opacity: 0.5;
  }
}

.page-home .live-board-version {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 700;
  color: #081422;
  background: var(--electric-orange);
  padding: 0.22rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.page-home .live-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .live-event {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.5rem;
  background: rgba(11, 27, 46, 0.42);
  border-radius: 8px;
  font-size: 0.8rem;
}

.page-home .league-tag {
  font-family: var(--font-data);
  font-size: 0.66rem;
  color: var(--ice-blue);
  background: rgba(45, 111, 242, 0.2);
  border: 1px solid rgba(45, 111, 242, 0.5);
  border-radius: 3px;
  padding: 0.14rem 0.3rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.page-home .team-name {
  flex: 1 1 24%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cloud-white);
}

.page-home .live-score {
  font-family: var(--font-data);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--cloud-white);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.14rem 0.34rem;
  border-radius: 4px;
  white-space: nowrap;
  flex: 0 0 auto;
  animation: page-home-score-breathe 2.4s ease-in-out infinite;
}

@keyframes page-home-score-breathe {
  0%, 100% {
    background-color: rgba(0, 0, 0, 0.3);
  }
  50% {
    background-color: rgba(184, 255, 26, 0.1);
  }
}

.page-home .live-minute {
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--neon-green);
  white-space: nowrap;
  flex: 0 0 auto;
  margin-left: auto;
}

.page-home .live-board-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(160, 200, 224, 0.26);
  font-size: 0.76rem;
  color: var(--slate-gray);
}

.page-home .live-board-foot .mono {
  color: var(--ice-blue);
}

.page-home .board-note {
  margin: 0.9rem 0 0;
  font-size: 0.76rem;
  color: var(--slate-gray);
  line-height: 1.6;
  border-left: 2px solid rgba(255, 108, 10, 0.5);
  padding-left: 0.7rem;
}

.page-home .hero-league {
  position: relative;
  padding: 1.7rem 1.5rem 1.5rem;
  background: var(--speed-lines), var(--glass-bg);
  border: 1px solid rgba(160, 200, 224, 0.12);
  border-radius: var(--radius);
}

.page-home .hero-league h2,
.page-home .history-content h2,
.page-home .section-head h2,
.page-home .version-doc h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 0.45rem 0 0.7rem;
  letter-spacing: -0.015em;
}

.page-home .section-desc {
  color: var(--ice-blue);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 54ch;
}

.page-home .league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.page-home .league-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1rem 0.9rem;
  background: linear-gradient(145deg, rgba(27, 73, 101, 0.78), rgba(11, 27, 46, 0.92));
  border: 1px solid rgba(160, 200, 224, 0.16);
  border-radius: 8px;
  color: var(--cloud-white);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .league-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(225deg, rgba(255, 108, 10, 0.4), transparent 68%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.page-home .league-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 108, 10, 0.55);
}

.page-home .league-card:hover::after {
  opacity: 1;
}

.page-home .league-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.page-home .league-sub {
  font-size: 0.76rem;
  color: var(--ice-blue);
  line-height: 1.4;
}

.page-home .league-round {
  font-family: var(--font-data);
  font-size: 0.74rem;
  color: var(--neon-green);
  margin-top: auto;
  letter-spacing: 0.02em;
}

.page-home .section {
  padding: 4rem 0 3.5rem;
  position: relative;
}

.page-home .history-section {
  background: linear-gradient(100deg, rgba(19, 40, 61, 0.55), transparent 36%);
}

.page-home .history-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.page-home .history-visual {
  position: relative;
}

.page-home .history-visual .media-frame {
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  overflow: hidden;
}

.page-home .history-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-home .history-content {
  padding: 1.9rem 1.6rem;
  background: linear-gradient(135deg, rgba(45, 111, 242, 0.08), transparent 48%);
  border-left: 4px solid var(--electric-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-home .history-content p,
.page-home .version-doc p {
  color: var(--ice-blue);
  font-size: 0.92rem;
  line-height: 1.72;
  margin: 0 0 1rem;
}

.page-home .feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.page-home .feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ice-blue);
  font-size: 0.89rem;
  line-height: 1.6;
}

.page-home .feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--neon-green);
  font-family: var(--font-data);
}

.page-home .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

@media (max-width: 480px) {
  .page-home .btn-row .btn {
    width: 100%;
    text-align: center;
  }
}

.page-home .highlights-section {
  background:
    linear-gradient(180deg, transparent 0%, rgba(11, 27, 46, 0.8) 24%, rgba(11, 27, 46, 0.8) 76%, transparent 100%);
}

.page-home .section-head {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.page-home .highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.page-home .highlight-card {
  display: flex;
  flex-direction: column;
  background: rgba(19, 40, 61, 0.72);
  border: 1px solid rgba(160, 200, 224, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.page-home .highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 255, 26, 0.28);
}

.page-home .highlight-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--space-blue-alt);
}

.page-home .highlight-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.page-home .highlight-card:hover .highlight-media img {
  transform: scale(1.04);
}

.page-home .highlight-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  flex: 1;
}

.page-home .highlight-body .card-title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

.page-home .highlight-body p {
  font-size: 0.84rem;
  color: var(--ice-blue);
  margin: 0;
  line-height: 1.6;
}

.page-home .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.3rem;
  align-items: center;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(160, 200, 224, 0.14);
}

.page-home .version-section {
  background:
    radial-gradient(600px 280px at 88% 30%, rgba(255, 108, 10, 0.1), transparent 70%);
}

.page-home .version-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.page-home .version-doc {
  background: var(--glass-bg);
  border: 1px solid rgba(160, 200, 224, 0.12);
  border-top: 3px solid var(--electric-orange);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}

.page-home .version-list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.page-home .version-list li::before {
  display: none;
}

.page-home .version-list .tag-line {
  flex: 0 0 auto;
}

.page-home .version-visual .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-home .caption {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-gray);
  margin-top: 0.6rem;
  line-height: 1.5;
}

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

@media (min-width: 900px) {
  .page-home .hero-columns {
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.6fr);
    gap: 2.6rem;
  }

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

  .page-home .history-inner {
    grid-template-columns: 42fr 58fr;
    gap: 4.2rem;
  }

  .page-home .history-content {
    margin-top: 3.6rem;
  }

  .page-home .version-inner {
    grid-template-columns: 56fr 44fr;
    gap: 4rem;
  }

  .page-home .version-visual {
    margin-top: 3rem;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-columns {
    gap: 3.4rem;
  }
}
