.page-home {
  --home-grid-line: rgba(255, 255, 255, 0.03);
  --home-card-surface: rgba(255, 255, 255, 0.03);
  background-color: var(--primary-bg);
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text-primary);
  overflow-x: hidden;
}

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

.page-home .home-section-head {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 0 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-line);
}

.page-home .home-section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
}

.page-home .home-section-head__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-gold);
  border: 1px solid var(--border-line);
  background: var(--secondary-bg);
  padding: 6px 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-home .home-section-head__text {
  flex: 1;
}

.page-home .home-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.2;
}

.page-home .home-section-head__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .home-section-head__tag {
  margin-left: auto;
  align-self: center;
}

.page-home .home-console {
  position: relative;
  padding: 24px 0 44px;
  background: linear-gradient(78deg, var(--secondary-bg) 0%, var(--primary-bg) 46%, var(--primary-bg) 100%);
  border-bottom: 1px solid var(--border-line);
  overflow: hidden;
}

.page-home .home-console::before {
  content: "";
  position: absolute;
  top: 0;
  right: -60px;
  width: 240px;
  height: 100%;
  background: linear-gradient(160deg, transparent 0%, rgba(0, 230, 118, 0.08) 50%, transparent 80%);
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-home .home-console__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.page-home .home-console__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-green);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-console__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-green);
}

.page-home .home-console__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--text-primary);
}

.page-home .home-console__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.page-home .home-console__statement {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--accent-gold);
  background: var(--surface-glass);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
}

.page-home .home-console__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .home-console__quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-console__quick .btn {
  font-size: 14px;
  text-align: center;
}

.page-home .home-console__media {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--border-line);
  overflow: hidden;
}

.page-home .home-entry {
  padding: 20px 0 44px;
}

.page-home .home-entry__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.page-home .home-entry__card {
  position: relative;
  display: block;
  padding: 18px 16px 16px 46px;
  background: var(--home-card-surface);
  border: 1px solid var(--border-line);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.page-home .home-entry__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-green), var(--accent-gold));
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.page-home .home-entry__card:hover,
.page-home .home-entry__card:focus-visible {
  border-color: var(--accent-green);
  background: var(--hover-mask);
  transform: translateY(-2px);
}

.page-home .home-entry__card:hover::before,
.page-home .home-entry__card:focus-visible::before {
  opacity: 1;
}

.page-home .home-entry__num {
  position: absolute;
  left: 12px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
  line-height: 1;
}

.page-home .home-entry__title {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.page-home .home-entry__desc {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.page-home .home-entry__go {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-green);
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.page-home .home-entry__card:hover .home-entry__go {
  color: var(--accent-gold);
}

.page-home .home-entry__visual {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-line);
  background: var(--secondary-bg);
}

.page-home .home-entry__img {
  aspect-ratio: 1 / 1;
  max-height: 280px;
  border: none;
  overflow: hidden;
}

.page-home .home-entry__caption {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border-line);
}

.page-home .home-league {
  padding: 20px 0 44px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, transparent 38%);
}

.page-home .home-league__chart {
  aspect-ratio: 2 / 1;
  border: 1px solid var(--border-line);
  margin-bottom: 24px;
  overflow: hidden;
}

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

.page-home .home-league__card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--border-line);
  background: linear-gradient(145deg, rgba(13, 42, 79, 0.9), rgba(10, 30, 63, 0.85));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-league__card:hover {
  border-color: var(--accent-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-home .home-league__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.page-home .home-league__round {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.page-home .home-league__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
}

.page-home .home-league__value .data-num {
  font-size: 28px;
  color: var(--accent-green);
}

.page-home .home-league__unit {
  font-size: 12px;
  color: var(--text-secondary);
}

.page-home .home-league__track {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.page-home .home-league__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
  border-radius: 2px;
}

.page-home .home-league__split {
  display: flex;
  gap: 8px;
  margin: 0;
}

.page-home .home-league__split div {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-line);
  padding: 8px 6px;
  text-align: center;
}

.page-home .home-league__split dt {
  font-size: 11px;
  color: var(--text-secondary);
}

.page-home .home-league__split dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-primary);
}

.page-home .home-league__footnote {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-align: right;
}

.page-home .home-change {
  padding: 20px 0 48px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.04));
}

.page-home .home-change__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .home-change__media {
  aspect-ratio: 2 / 1;
  border: 1px solid var(--border-line);
  overflow: hidden;
}

.page-home .home-change__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-home .home-change__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-line);
}

.page-home .home-change__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-home .home-change__index {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.2;
  min-width: 40px;
  transition: color 0.2s ease;
}

.page-home .home-change__item:hover .home-change__index {
  color: var(--accent-green);
}

.page-home .home-change__body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.page-home .home-change__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .home-feedback {
  padding: 0 0 56px;
}

.page-home .home-feedback__bar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border-line);
  background: linear-gradient(120deg, rgba(13, 42, 79, 0.9), rgba(10, 30, 63, 0.7));
  overflow: hidden;
}

.page-home .home-feedback__bar::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.1) 0%, transparent 68%);
  pointer-events: none;
}

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

.page-home .home-feedback__text h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 10px 0 6px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.page-home .home-feedback__text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .home-feedback__actions {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.page-home .home-feedback__link {
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-feedback__link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

@media (min-width: 640px) {
  .page-home .home-console__quick {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

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

@media (min-width: 1024px) {
  .page-home .home-console {
    padding: 44px 0 72px;
  }

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

  .page-home .home-console__title {
    font-size: 42px;
  }

  .page-home .home-console__media {
    aspect-ratio: 3 / 2;
  }

  .page-home .home-entry__layout {
    grid-template-columns: 1fr 260px;
    gap: 28px;
  }

  .page-home .home-entry__grid {
    gap: 16px;
  }

  .page-home .home-entry__img {
    max-height: none;
  }

  .page-home .home-league__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  .page-home .home-league__card {
    padding: 14px 12px;
  }

  .page-home .home-league__value .data-num {
    font-size: 24px;
  }

  .page-home .home-section-title {
    font-size: 28px;
  }

  .page-home .home-change__layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: start;
  }

  .page-home .home-change__media {
    aspect-ratio: 2 / 1;
  }

  .page-home .home-feedback__bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 36px;
  }
}
