.page-home {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #0B0E1A 0%, #141021 35%, #1A1329 70%, #0B0E1A 100%);
  color: var(--color-silver);
  overflow-x: hidden;
}

.page-home .progress-star {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  width: 100%;
  height: 3px;
  background: rgba(245, 192, 68, 0.12);
  pointer-events: none;
}

.page-home .progress-star span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-gold), var(--color-green));
}

.page-home .home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--header-h) + 72px) 0 56px;
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(0.75) brightness(0.85);
}

.page-home .home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(105deg, rgba(11, 14, 26, 0.98) 0%, rgba(11, 14, 26, 0.75) 46%, rgba(43, 29, 74, 0.55) 100%);
}

.page-home .home-hero__beam {
  position: absolute;
  right: -18%;
  top: -12%;
  width: 55%;
  height: 130%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(245, 192, 68, 0.14), transparent 64%);
  transform: skewX(-9deg);
}

.page-home .home-hero__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-home .home-hero__stars i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  opacity: 0.4;
  border-radius: 50%;
  animation: home-star-pulse 4s ease-in-out infinite;
}

.page-home .home-hero__stars i:nth-child(1) { top: 18%; left: 9%; width: 3px; height: 3px; }
.page-home .home-hero__stars i:nth-child(2) { top: 30%; left: 76%; width: 2px; height: 2px; opacity: 0.6; animation-delay: 0.8s; }
.page-home .home-hero__stars i:nth-child(3) { top: 60%; left: 88%; width: 4px; height: 4px; animation-delay: 1.6s; }
.page-home .home-hero__stars i:nth-child(4) { top: 72%; left: 50%; width: 3px; height: 3px; opacity: 0.5; animation-delay: 2.2s; }
.page-home .home-hero__stars i:nth-child(5) { top: 45%; left: 31%; width: 2px; height: 2px; animation-delay: 3s; }
.page-home .home-hero__stars i:nth-child(6) { top: 82%; left: 24%; width: 3px; height: 3px; opacity: 0.55; animation-delay: 1.2s; }
.page-home .home-hero__stars i:nth-child(7) { top: 12%; left: 42%; width: 2px; height: 2px; opacity: 0.7; animation-delay: 2.6s; }
.page-home .home-hero__stars i:nth-child(8) { top: 55%; left: 13%; width: 4px; height: 4px; animation-delay: 0.4s; }

@keyframes home-star-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 0.8; transform: scale(1.15); }
}

.page-home .home-hero__inner {
  display: grid;
  gap: 36px;
  width: 100%;
}

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

.page-home .home-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .home-hero__crumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--color-steel);
  text-transform: uppercase;
}

.page-home .home-hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.75rem, 7.5vw, 5rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--color-silver);
}

.page-home .home-hero__title span {
  display: block;
  color: var(--color-gold);
  text-shadow: 0 0 44px rgba(245, 192, 68, 0.3);
}

.page-home .home-hero__lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-steel);
}

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

.page-home .home-hero__index {
  position: relative;
  border-top: 1px solid var(--color-line-strong);
  margin-top: 24px;
}

.page-home .home-hero__index-title {
  display: block;
  padding: 14px 0 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--color-steel);
  text-transform: uppercase;
}

.page-home .hero-index__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-steel);
  text-decoration: none;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease), background-color 0.3s var(--ease);
}

.page-home .hero-index__item:hover,
.page-home .hero-index__item.is-visible,
.page-home .hero-index__item.is-active {
  color: var(--color-gold);
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(245, 192, 68, 0.08), transparent);
}

.page-home .hero-index__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-green);
}

.page-home .hero-index__label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.page-home .btn-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s var(--ease);
}

.page-home .btn:hover .btn-arrow,
.page-home .home-support__card-footer a:hover .btn-arrow {
  transform: translateX(4px);
}

.page-home .home-login {
  position: relative;
  padding: 72px 0 48px;
}

.page-home .home-login .zone-topic__header {
  margin-bottom: 40px;
}

.page-home .home-login__intro {
  max-width: 42em;
  margin-top: 12px;
  color: var(--color-steel);
  line-height: 1.75;
}

.page-home .home-login__grid {
  display: grid;
  gap: 28px;
}

.page-home .home-login__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(145deg, var(--color-moon), rgba(21, 27, 40, 0.85));
  border: 1px solid var(--color-line);
}

.page-home .home-login__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.page-home .home-login__card:hover .home-login__media img {
  transform: scale(1.04);
}

.page-home .home-login__clip-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(11, 14, 26, 0.88);
  border: 1px solid var(--color-line-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.page-home .home-login__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.page-home .home-login__code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--color-green);
  text-transform: uppercase;
}

.page-home .home-login__body h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-silver);
  letter-spacing: 0.02em;
}

.page-home .home-login__body p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-steel);
}

.page-home .home-login__body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.page-home .home-calendar {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

.page-home .home-calendar__band {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7px;
  background: linear-gradient(90deg, #F5C044 0%, #00E58F 55%, rgba(245, 192, 68, 0.2) 100%);
  opacity: 0.9;
}

.page-home .home-calendar__strips {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(245, 192, 68, 0.04) 22px 23px, transparent 23px 46px);
  pointer-events: none;
}

.page-home .home-calendar .zone-topic__header {
  margin-bottom: 32px;
}

.page-home .home-calendar__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-calendar__copy p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-steel);
}

.page-home .home-calendar__copy p + p {
  margin-top: 12px;
}

.page-home .home-calendar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .home-calendar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line-strong);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease);
}

.page-home .home-calendar__link:hover {
  gap: 12px;
}

.page-home .home-calendar__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

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

.page-home .home-support {
  position: relative;
  padding: 64px 0;
}

.page-home .home-support .zone-topic__header {
  margin-bottom: 36px;
}

.page-home .home-support__intro {
  margin-top: 12px;
  max-width: 36em;
  color: var(--color-steel);
  line-height: 1.7;
}

.page-home .home-support__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-support__card {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(150deg, rgba(43, 29, 74, 0.95), rgba(11, 14, 26, 0.9));
  border: 1px solid var(--color-line-strong);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.page-home .home-support__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(5, 8, 18, 0.5);
}

.page-home .home-support__card--frame {
  border-top: 2px solid var(--color-green);
}

.page-home .home-support__card--frame:hover {
  transform: translateY(26px);
}

.page-home .home-support__card-label {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 16px;
  background: var(--color-night);
  border: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.page-home .home-support__card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-silver);
}

.page-home .home-support__card p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-steel);
}

.page-home .home-support__card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}

.page-home .home-support__card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-green);
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-decoration: none;
}

.page-home .home-support__card-footer a:hover {
  color: var(--color-gold);
}

.page-home .home-archive {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.page-home .home-archive__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.page-home .home-archive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.65) brightness(0.8);
}

.page-home .home-archive::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(11, 14, 26, 0.98) 0%, rgba(27, 19, 43, 0.82) 40%, rgba(11, 14, 26, 0.97) 100%);
}

.page-home .home-archive .zone-topic__header {
  margin-bottom: 40px;
}

.page-home .home-archive__lead {
  max-width: 36em;
  margin-top: 12px;
  color: var(--color-steel);
  line-height: 1.75;
}

.page-home .home-archive__timeline {
  position: relative;
  margin-top: 44px;
  padding-left: 30px;
}

.page-home .home-archive__timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-green), transparent);
}

.page-home .home-archive__timeline .timeline__item {
  position: relative;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--color-line);
}

.page-home .home-archive__timeline .timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 30px;
  width: 13px;
  height: 13px;
  background: var(--color-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(245, 192, 68, 0.5);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .home-archive__timeline .timeline__item.is-revealed::before {
  background: var(--color-green);
  box-shadow: 0 0 30px rgba(0, 229, 143, 0.8);
}

.page-home .home-archive__timeline .timeline__item:last-child {
  border-bottom: none;
}

.page-home .home-archive__timeline .timeline__meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--color-green);
  text-transform: uppercase;
}

.page-home .home-archive__timeline .timeline__title {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-silver);
}

.page-home .home-archive__timeline .timeline__text {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-steel);
}

.page-home .home-archive__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.page-home .home-archive__muted-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--color-steel);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .home-archive__muted-link:hover {
  color: var(--color-gold);
  border-color: var(--color-line-strong);
}

@media (min-width: 900px) {
  .page-home .home-hero {
    align-items: center;
    min-height: 100vh;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

  .page-home .home-hero__index {
    transform: translateY(8px);
  }

  .page-home .home-login {
    padding: 96px 0 72px;
  }

  .page-home .home-login__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
  }

  .page-home .home-login__card--left {
    transform: translateY(28px);
    clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 0 100%);
  }

  .page-home .home-login__card--right {
    transform: translateY(-28px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 52px), calc(100% - 52px) 100%, 0 100%);
  }

  .page-home .home-login__body {
    padding: 28px 24px;
  }

  .page-home .home-calendar {
    padding: 72px 0 88px;
  }

  .page-home .home-calendar__band {
    height: 8px;
  }

  .page-home .home-calendar__grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .page-home .home-calendar__visual {
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  }

  .page-home .home-support {
    padding: 72px 0;
  }

  .page-home .home-support__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-home .home-support__card {
    padding: 36px 32px;
  }

  .page-home .home-support__card--frame {
    transform: translateY(32px);
  }

  .page-home .home-archive {
    padding: 96px 0;
  }

  .page-home .home-archive__timeline {
    padding-left: 44px;
  }

  .page-home .home-archive__timeline::before {
    left: 18px;
  }

  .page-home .home-archive__timeline .timeline__item::before {
    left: -44px;
  }

  .page-home .home-archive__actions {
    margin-top: 48px;
  }
}
