.page-home {
  --home-bg: var(--x-bg-dark);
  --home-panel: var(--x-deep-blue);
  --home-panel-alt: var(--x-blue);
  --home-grid-line: var(--x-line-grid);
  --home-mono: var(--x-font-mono);
  --home-sans: var(--x-font-body);
  --home-highlight: var(--x-neon-green);
  --home-accent: var(--x-orange);
  background: var(--home-bg);
  color: var(--x-text-light);
  overflow-x: hidden;
}

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

.page-home .hb-route {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--home-grid-line);
}

.page-home .hb-route__link {
  font-family: var(--home-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--x-text-light);
  text-decoration: none;
  position: relative;
  padding-left: 1.25rem;
  transition: color 0.2s ease;
}

.page-home .hb-route__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.7rem;
  height: 2px;
  background: var(--home-highlight);
  transform: translateY(-50%);
}

.page-home .hb-route__link:hover,
.page-home .hb-route__link:focus {
  color: var(--home-highlight);
}

.page-home .hb-dashboard {
  padding-top: 0;
}

.page-home .hb-dashboard__hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-home .hb-dashboard__hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-home .hb-dashboard__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 47, 0.96) 0%, rgba(10, 25, 47, 0.82) 40%, rgba(11, 17, 32, 0.6) 100%),
    repeating-linear-gradient(0deg, rgba(100, 255, 218, 0.05) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(90deg, rgba(100, 255, 218, 0.05) 0 1px, transparent 1px 70px);
}

.page-home .hb-dashboard__shade::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -2rem;
  width: 70%;
  height: 6px;
  background: linear-gradient(90deg, var(--home-highlight) 0%, var(--home-highlight) 24%, transparent 24%, transparent 48%, var(--home-accent) 48%, var(--home-accent) 72%, transparent 72%);
  transform: rotate(-8deg);
}

.page-home .hb-dashboard__hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  padding-top: 6rem;
  padding-bottom: 3rem;
  width: 100%;
}

.page-home .hb-dashboard__intro {
  max-width: 620px;
}

.page-home .hb-dashboard__title {
  font-family: var(--home-sans);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0.85rem 0 1.1rem;
}

.page-home .hb-dashboard__subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.82);
  max-width: 34rem;
  margin: 0;
}

.page-home .hb-dashboard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.page-home .hb-dashboard__pulse {
  background: rgba(10, 25, 47, 0.88);
  border: 1px solid rgba(100, 255, 218, 0.28);
  border-radius: var(--x-radius);
  padding: 1.4rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  position: relative;
}

.page-home .hb-dashboard__pulse::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14%;
  width: 38%;
  height: 2px;
  background: var(--home-highlight);
}

.page-home .hb-dashboard__live-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--home-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--home-highlight);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-home .hb-dashboard__badge {
  margin-left: auto;
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 99px;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  color: var(--x-text-light);
}

.page-home .hb-live-score {
  border-bottom: 1px solid var(--home-grid-line);
  padding-bottom: 1.1rem;
  margin-bottom: 1rem;
}

.page-home .hb-live-score__league {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--x-text-light);
}

.page-home .hb-live-score__board {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: center;
  padding: 0.4rem 0;
}

.page-home .hb-live-score__num {
  font-family: var(--home-mono);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  min-width: 2.5rem;
  text-align: center;
}

.page-home .hb-live-score__num--home {
  color: var(--home-highlight);
}

.page-home .hb-live-score__num--away {
  color: var(--home-accent);
}

.page-home .hb-live-score__sep {
  font-family: var(--home-mono);
  font-size: 2rem;
  color: var(--x-text-light);
  opacity: 0.5;
}

.page-home .hb-live-score__meta {
  margin: 0.6rem 0 0;
  text-align: center;
  font-family: var(--home-mono);
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.6);
}

.page-home .hb-live-schedule {
  display: grid;
  gap: 0.8rem;
}

.page-home .hb-live-schedule__item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.6rem 0;
}

.page-home .hb-live-schedule__item .hb-coord {
  flex: 0 0 auto;
  padding-top: 0.2rem;
}

.page-home .hb-live-schedule__detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .hb-live-schedule__detail strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.page-home .hb-live-schedule__detail em {
  font-style: normal;
  font-family: var(--home-mono);
  font-size: 0.78rem;
  color: var(--home-accent);
}

.page-home .hb-dashboard__data {
  padding-top: 2rem;
  padding-bottom: 0;
}

.page-home .hb-dashboard__stats {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--home-grid-line);
  background: var(--home-panel);
}

.page-home .hb-dashboard__stats .hb-stat {
  padding: 1.35rem 1rem;
  border-right: 1px solid var(--home-grid-line);
  border-bottom: 1px solid var(--home-grid-line);
}

.page-home .hb-dashboard__stats .hb-stat:nth-child(2n) {
  border-right: 0;
}

.page-home .hb-dashboard__stats .hb-stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.page-home .hb-dashboard__grid {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 1rem;
}

.page-home .hb-card--panel {
  background: var(--home-panel);
  border: 1px solid var(--home-grid-line);
  border-radius: var(--x-radius);
  padding: 1.35rem;
}

.page-home .hb-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-home .hb-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-home .hb-match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .hb-match-list__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
}

.page-home .hb-match-list__item:last-child {
  border-bottom: 0;
}

.page-home .hb-match-list__league {
  font-family: var(--home-mono);
  font-size: 0.78rem;
  color: var(--home-highlight);
  background: rgba(100, 255, 218, 0.08);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  flex: 0 0 auto;
}

.page-home .hb-match-list__label {
  font-size: 0.9rem;
  font-weight: 600;
  flex: 1 1 auto;
}

.page-home .hb-match-list__score {
  font-family: var(--home-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--x-text-light);
}

.page-home .hb-match-list__status {
  font-family: var(--home-mono);
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.6);
  border: 1px solid var(--home-grid-line);
  border-radius: 99px;
  padding: 0.15rem 0.5rem;
  flex: 0 0 auto;
}

.page-home .hb-match-list__status.is-live {
  color: var(--home-highlight);
  border-color: rgba(100, 255, 218, 0.34);
  background: rgba(100, 255, 218, 0.07);
}

.page-home .hb-injury-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .hb-injury-list__item {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  align-items: center;
  gap: 0.4rem 0.7rem;
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
}

.page-home .hb-injury-list__item:last-child {
  border-bottom: 0;
}

.page-home .hb-injury-list__side {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.55);
}

.page-home .hb-injury-list__player {
  font-size: 0.9rem;
  font-weight: 700;
}

.page-home .hb-injury-list__tag {
  font-size: 0.72rem;
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
  font-weight: 700;
}

.page-home .hb-injury-list__tag--out {
  background: rgba(255, 122, 0, 0.16);
  color: var(--home-accent);
}

.page-home .hb-injury-list__tag--doubt {
  background: rgba(251, 191, 36, 0.14);
  color: var(--x-warning-yellow);
}

.page-home .hb-injury-list__note {
  grid-column: 2 / -1;
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.55);
}

.page-home .hb-quick__body {
  margin-bottom: 1.1rem;
}

.page-home .hb-quick__body p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-home .hb-quick__body strong {
  font-family: var(--home-mono);
  font-size: 1.2rem;
  color: var(--home-accent);
}

.page-home .hb-sparkline {
  display: block;
  width: 100%;
  height: 72px;
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid var(--home-grid-line);
  border-radius: 8px;
  padding: 0.4rem;
  box-sizing: border-box;
}

.page-home .hb-video {
  padding-top: 4.5rem;
}

.page-home .hb-video__feature {
  display: grid;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
}

.page-home .hb-video__figure {
  position: relative;
}

.page-home .hb-video__figure img,
.page-home .hb-ios__frame img,
.page-home .hb-check__frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-home .hb-video__notice {
  background: var(--home-panel);
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: var(--x-radius);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.page-home .hb-video__notice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--home-highlight), var(--home-accent));
}

.page-home .hb-video__notice-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.4rem 0 0.7rem;
}

.page-home .hb-video__notice p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 1.2rem;
  color: rgba(226, 232, 240, 0.78);
}

.page-home .hb-video__grid {
  display: grid;
  gap: 1rem;
}

.page-home .hb-video__card {
  padding: 1.3rem;
}

.page-home .hb-video__card-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0.6rem 0 0.5rem;
  line-height: 1.45;
}

.page-home .hb-video__card-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.68);
  margin: 0 0 0.9rem;
}

.page-home .hb-video__tag {
  display: inline-block;
  font-family: var(--home-mono);
  font-size: 0.72rem;
  color: var(--home-highlight);
  background: rgba(100, 255, 218, 0.08);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.8rem;
}

.page-home .hb-video__link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--home-accent);
  text-decoration: none;
}

.page-home .hb-video__link:hover {
  color: var(--home-highlight);
}

.page-home .hb-ios {
  padding-top: 4rem;
}

.page-home .hb-ios__wrap {
  display: grid;
  gap: 2rem;
}

.page-home .hb-sec-head--left {
  text-align: left;
}

.page-home .hb-ios__steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.page-home .hb-ios__step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(17, 34, 64, 0.7);
  border: 1px solid var(--home-grid-line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.page-home .hb-ios__step-num {
  font-family: var(--home-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--home-accent);
  line-height: 1;
  min-width: 2rem;
}

.page-home .hb-ios__step-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.page-home .hb-ios__step-body p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.68);
}

.page-home .hb-ios__media {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.page-home .hb-ios__frame {
  background: var(--home-panel-alt);
  border: 1px solid var(--home-grid-line);
  border-radius: var(--x-radius);
  padding: 0.5rem;
  overflow: hidden;
}

.page-home .hb-ios__note {
  border-left: 3px solid var(--home-highlight);
  background: rgba(100, 255, 218, 0.05);
  padding: 1rem 1.2rem;
}

.page-home .hb-ios__note p {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.72);
}

.page-home .hb-check {
  padding-top: 4rem;
}

.page-home .hb-check__grid {
  display: grid;
  gap: 2rem;
}

.page-home .hb-check__media {
  order: 2;
}

.page-home .hb-check__frame {
  background: var(--home-panel-alt);
  border: 1px solid var(--home-grid-line);
  border-radius: var(--x-radius);
  padding: 0.6rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .hb-check__content {
  order: 1;
}

.page-home .hb-check__list {
  list-style: none;
  margin: 1.5rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.page-home .hb-check__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.6;
  background: rgba(17, 34, 64, 0.6);
  border: 1px solid var(--home-grid-line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.page-home .hb-check__marker {
  font-family: var(--home-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--home-highlight);
  background: rgba(100, 255, 218, 0.08);
  border-radius: 4px;
  padding: 0.18rem 0.45rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.page-home .hb-check__text {
  color: rgba(226, 232, 240, 0.84);
}

.page-home .hb-version {
  padding-top: 4rem;
}

.page-home .hb-version__box {
  background:
    linear-gradient(135deg, rgba(10, 25, 47, 0.96), rgba(17, 34, 64, 0.92)),
    repeating-linear-gradient(45deg, rgba(100, 255, 218, 0.04) 0 1px, transparent 1px 12px);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: var(--x-radius);
  padding: 2rem;
  display: grid;
  gap: 1.8rem;
  position: relative;
  overflow: hidden;
}

.page-home .hb-version__box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  width: 45%;
  height: 3px;
  background: linear-gradient(90deg, var(--home-highlight), var(--home-accent));
}

.page-home .hb-version__title {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.35;
  margin: 0.6rem 0 0.8rem;
  letter-spacing: -0.01em;
}

.page-home .hb-version__content > p {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.76);
}

.page-home .hb-version__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-home .hb-version__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.page-home .hb-version__meta .hb-stat {
  background: rgba(11, 17, 32, 0.55);
  border: 1px solid var(--home-grid-line);
  border-radius: 8px;
  padding: 1rem 0.8rem;
  text-align: center;
}

.page-home .hb-index {
  padding-top: 4rem;
}

.page-home .hb-index__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .hb-index__card {
  display: block;
  padding: 1.3rem;
  text-decoration: none;
  color: var(--x-text-light);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.page-home .hb-index__card:hover,
.page-home .hb-index__card:focus {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 218, 0.45);
}

.page-home .hb-index__card-title {
  margin: 0.7rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.page-home .hb-index__card-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.68);
  padding-right: 1.8rem;
}

.page-home .hb-index__arrow {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  font-family: var(--home-mono);
  font-size: 1.2rem;
  color: var(--home-accent);
}

@media (min-width: 720px) {
  .page-home .hb-dashboard__hero {
    min-height: 720px;
  }

  .page-home .hb-dashboard__title {
    font-size: 3.4rem;
  }

  .page-home .hb-dashboard__hero-content {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
  }

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

  .page-home .hb-dashboard__stats .hb-stat:nth-child(2n) {
    border-right: 1px solid var(--home-grid-line);
  }

  .page-home .hb-dashboard__stats .hb-stat:nth-child(4n) {
    border-right: 0;
  }

  .page-home .hb-dashboard__stats .hb-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .page-home .hb-dashboard__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-home .hb-card--quick {
    grid-column: 1 / -1;
  }

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

  .page-home .hb-video__feature {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .page-home .hb-ios__wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .page-home .hb-check__grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

  .page-home .hb-check__media {
    order: 1;
  }

  .page-home .hb-check__content {
    order: 2;
  }

  .page-home .hb-version__box {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: center;
    padding: 2.6rem;
  }

  .page-home .hb-version__meta {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 1080px) {
  .page-home .hb-dashboard__grid {
    grid-template-columns: 1.15fr 0.85fr 1fr;
  }

  .page-home .hb-card--quick {
    grid-column: auto;
  }

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