.page-home {
  --home-radius: 24px;
  --home-gap: 22px;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 28px 16px 80px;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 360px at 85% 2%, rgba(43, 127, 255, 0.18), transparent 62%),
    radial-gradient(560px 320px at 4% 40%, rgba(255, 107, 0, 0.1), transparent 58%),
    linear-gradient(120deg, transparent 0%, transparent 40%, rgba(79, 184, 255, 0.05) 50%, transparent 62%);
  pointer-events: none;
}

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

.page-home .page-panel {
  position: relative;
  padding: 26px 20px 30px;
  margin: 0 0 26px;
  border: 1px solid var(--c-border);
  border-radius: var(--home-radius);
  background:
    linear-gradient(180deg, rgba(15, 43, 76, 0.3), transparent 180px),
    rgba(17, 24, 39, 0.94);
  box-shadow: 0 20px 52px rgba(2, 6, 18, 0.35);
  overflow: hidden;
}

.page-home .page-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-blue-light) 55%, var(--c-orange) 110%);
  opacity: 0.95;
}

.page-home .panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .panel-head__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, rgba(43, 127, 255, 0.22), rgba(255, 107, 0, 0.14));
  color: var(--c-blue-light);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-home .page-home__lead {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text-dim);
  letter-spacing: 0.02em;
}

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

.page-home .round-overview__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.page-home .round-overview__visual {
  margin: 6px 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-panel-alt);
}

.page-home .round-overview__visual img {
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}

.page-home .visual-caption,
.page-home .media-clock__caption {
  margin: 10px 2px 0;
  color: var(--c-text-dim);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.page-home .stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.page-home .stat-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid transparent;
}

.page-home .stat-chip--blue {
  background: rgba(43, 127, 255, 0.12);
  border-color: rgba(43, 127, 255, 0.35);
  color: var(--c-blue-light);
}

.page-home .stat-chip--orange {
  background: rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.32);
  color: #ffb066;
}

.page-home .round-overview__main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .round-overview__main::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.16), transparent 60%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

.page-home .round-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.page-home .round-filter::-webkit-scrollbar {
  display: none;
}

.page-home .round-filter__btn {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--c-border);
  background: rgba(17, 24, 39, 0.7);
  color: var(--c-text-dim);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .round-filter__btn:hover {
  color: var(--c-text);
  border-color: rgba(43, 127, 255, 0.5);
}

.page-home .round-filter__btn.is-active {
  border-color: var(--c-orange);
  background: rgba(255, 107, 0, 0.14);
  color: #ffb066;
}

.page-home .media-clock {
  margin: 0;
  padding: 14px 14px 10px;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(15, 43, 76, 0.5), rgba(11, 16, 32, 0.4));
}

.page-home .media-clock img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.page-home .round-table {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgba(11, 16, 32, 0.5);
  overflow: hidden;
}

.page-home .round-table__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
}

.page-home .round-table__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .round-table__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home .round-row {
  display: grid;
  grid-template-columns: 28px 70px minmax(0, 1fr) auto;
  grid-template-areas:
    "num sport status time"
    "body .page-home .page-home body";
  align-items: center;
  gap: 6px 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.25s var(--ease);
}

.page-home .round-row:last-child {
  border-bottom: none;
}

.page-home .round-row:hover {
  background: rgba(43, 127, 255, 0.07);
}

.page-home .round-row__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-orange);
}

.page-home .round-row__sport {
  grid-area: sport;
  font-size: 14px;
  color: var(--c-blue-light);
}

.page-home .round-row__body {
  grid-area: body;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}

.page-home .round-row__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}

.page-home .round-row__round {
  font-size: 13px;
  color: var(--c-text-dim);
}

.page-home .round-row__status {
  grid-area: status;
  justify-self: end;
}

.page-home .round-row__time {
  grid-area: time;
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.page-home .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.page-home .status-pill--live {
  background: rgba(0, 217, 139, 0.12);
  color: var(--c-success);
}

.page-home .status-pill--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: page-home-live-pulse 1.6s ease-in-out infinite;
}

.page-home .status-pill--confirm {
  background: rgba(255, 107, 0, 0.12);
  color: #ffb066;
}

.page-home .status-pill--ready {
  background: rgba(79, 184, 255, 0.12);
  color: var(--c-blue-light);
}

@keyframes page-home-live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.78);
  }
}

.page-home .round-overview__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 2px 0;
}

.page-home .refresh-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 4px rgba(0, 217, 139, 0.16);
}

.page-home .home-cta {
  margin-top: 6px;
}

.page-home .core-matrix__header {
  margin-bottom: 8px;
}

.page-home .core-matrix__header h2,
.page-home .case-library__header h2,
.page-home .latest-news__header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.page-home .section-lead {
  margin: 12px 0 0;
  color: var(--c-text-dim);
  line-height: 1.7;
  font-size: 15px;
}

.page-home .core-grid {
  display: grid;
  gap: var(--home-gap);
  margin-top: 24px;
}

.page-home .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--home-radius);
  background:
    linear-gradient(160deg, rgba(15, 43, 76, 0.42), rgba(17, 24, 39, 0.9) 62%),
    var(--c-panel);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .feature-card::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -14%;
  width: 190px;
  height: 190px;
  background: linear-gradient(135deg, rgba(43, 127, 255, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 127, 255, 0.5);
  box-shadow: 0 14px 40px rgba(43, 127, 255, 0.14);
}

.page-home .feature-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .feature-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(43, 127, 255, 0.14);
  color: var(--c-blue-light);
}

.page-home .feature-card--schedule .feature-card__icon {
  background: rgba(255, 107, 0, 0.14);
  color: var(--c-orange);
}

.page-home .feature-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(11, 16, 32, 0.45);
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
  font-size: 13px;
  line-height: 1.4;
}

.page-home .feature-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .feature-card p {
  margin: 0;
  color: var(--c-text-dim);
  line-height: 1.7;
  font-size: 15px;
}

.page-home .feature-card__list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .feature-card__list li {
  position: relative;
  padding-left: 22px;
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.5;
}

.page-home .feature-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-blue-light), var(--c-orange));
}

.page-home .feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--c-blue-light);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.page-home .feature-card__link:hover {
  color: var(--c-orange);
  gap: 12px;
}

.page-home .feature-card__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.page-home .feature-card__media img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.page-home .case-library__header {
  margin-bottom: 12px;
}

.page-home .case-library__layout {
  display: grid;
  gap: var(--home-gap);
  margin-top: 22px;
}

.page-home .timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-blue), var(--c-border) 45%, var(--c-orange));
}

.page-home .timeline__item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-home .timeline__item:last-child {
  margin-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -22px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--c-blue-light);
  border: 2px solid var(--c-panel);
  box-shadow: 0 0 0 2px rgba(43, 127, 255, 0.35);
}

.page-home .timeline__year {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-orange);
  letter-spacing: 0.06em;
}

.page-home .timeline__card {
  padding: 16px 18px;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: rgba(11, 16, 32, 0.45);
}

.page-home .timeline__card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.page-home .timeline__card p {
  margin: 0;
  color: var(--c-text-dim);
  font-size: 14px;
  line-height: 1.65;
}

.page-home .case-stat__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page-home .case-stat__cell {
  padding: 18px 16px;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: rgba(11, 16, 32, 0.5);
}

.page-home .case-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  line-height: 1.1;
  color: var(--c-blue-light);
}

.page-home .case-stat__unit {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 107, 0, 0.12);
  color: #ffb066;
  font-size: 13px;
}

.page-home .case-stat__cell p {
  margin: 10px 0 0;
  color: var(--c-text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.page-home .case-stats__foot {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(43, 127, 255, 0.14), rgba(11, 16, 32, 0.5) 55%, rgba(255, 107, 0, 0.08));
  border: 1px solid var(--c-border);
}

.page-home .case-stats__foot p {
  margin: 0 0 14px;
  color: var(--c-text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .latest-news__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.page-home .latest-news__more {
  flex: 0 0 auto;
}

.page-home .news-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.page-home .news-list__item {
  border-top: 1px solid var(--c-border);
}

.page-home .news-list__item:last-child {
  border-bottom: 1px solid var(--c-border);
}

.page-home .news-list__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .news-list__link:hover {
  padding-left: 12px;
  background: rgba(43, 127, 255, 0.05);
}

.page-home .news-list__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.page-home .news-list__tag--blue {
  background: rgba(43, 127, 255, 0.14);
  color: var(--c-blue-light);
}

.page-home .news-list__tag--orange {
  background: rgba(255, 107, 0, 0.14);
  color: #ffb066;
}

.page-home .news-list__tag--success {
  background: rgba(0, 217, 139, 0.12);
  color: var(--c-success);
}

.page-home .news-list__tag--info {
  background: rgba(79, 184, 255, 0.12);
  color: var(--c-blue-light);
}

.page-home .news-list__title {
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text);
  overflow-wrap: anywhere;
}

.page-home .news-list__time {
  font-size: 14px;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.page-home .trust-strip {
  max-width: var(--content-w);
  margin: 36px auto 0;
  border: 1px solid var(--c-border);
  border-radius: var(--home-radius);
  background:
    linear-gradient(120deg, rgba(43, 127, 255, 0.14), rgba(11, 16, 32, 0.6) 42%, rgba(255, 107, 0, 0.1)),
    var(--c-panel);
  overflow: hidden;
}

.page-home .trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

.page-home .trust-strip__copy {
  flex: 1 1 300px;
}

.page-home .trust-strip__copy p {
  margin: 12px 0 0;
  color: var(--c-text-dim);
  line-height: 1.75;
  font-size: 15px;
  max-width: 640px;
}

.page-home .trust-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .trust-strip__links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .trust-strip__links a:hover {
  border-color: var(--c-orange);
  color: #ffb066;
  background: rgba(255, 107, 0, 0.08);
}

@media (min-width: 720px) {
  .page-home {
    padding: 34px 22px 88px;
  }

  .page-home .page-panel {
    padding: 30px 28px 34px;
  }

  .page-home .round-overview__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .round-row {
    grid-template-columns: 40px 72px minmax(0, 1fr) auto auto;
    grid-template-areas: "num sport .page-home status time";
    gap: 12px;
  }

  .page-home .round-row__status,
  .page-home .round-row__time {
    justify-self: auto;
  }

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

  .page-home .feature-card--schedule {
    grid-column: span 2;
  }

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

  .page-home .news-list__link {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

@media (min-width: 980px) {
  .page-home .case-library__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .core-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "schedule pingpong"
      "schedule billiards";
  }

  .page-home .feature-card--schedule {
    grid-area: schedule;
  }

  .page-home .feature-card--pingpong {
    grid-area: pingpong;
  }

  .page-home .feature-card--billiards {
    grid-area: billiards;
  }

  .page-home .core-matrix {
    margin-right: 2%;
  }

  .page-home .case-library {
    margin-left: 3%;
  }

  .page-home .latest-news {
    margin-right: 1%;
  }
}

@media (min-width: 1200px) {
  .page-home .core-matrix__header h2,
  .page-home .case-library__header h2,
  .page-home .latest-news__header h2 {
    font-size: 36px;
  }
}
