.page-home {
  --rail-width: 340px;
  --home-gap: clamp(22px, 3vw, 40px);
  --zone-radius: 0px;
  position: relative;
  background:
    linear-gradient(115deg, transparent 0 68%, rgba(0, 229, 255, 0.05) 68% 100%),
    linear-gradient(235deg, transparent 0 76%, rgba(167, 43, 250, 0.08) 76% 100%),
    var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

.page-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(9, 6, 15, 0.22) 2px 3px
  );
  opacity: 0.35;
}

.page-home .breadcrumb,
.page-home .monthly-index,
.page-home .home-layout {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.page-home .breadcrumb {
  padding-top: 18px;
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-home .breadcrumb__item::after {
  content: "/";
  margin-left: 8px;
  color: var(--c-muted);
  opacity: 0.6;
}

.page-home .breadcrumb__item:last-child::after {
  content: "";
  margin-left: 0;
}

.page-home .breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-home .breadcrumb a:hover {
  color: var(--c-electric-blue);
}

.page-home .monthly-index {
  position: relative;
  padding-top: 34px;
  padding-bottom: 8px;
}

.page-home .monthly-index__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 28px;
  margin-bottom: 22px;
}

.page-home .monthly-index .section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.page-home .monthly-index .section-sub {
  width: 100%;
  max-width: 720px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .monthly-index__track {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 6px 0 14px;
  margin: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--c-neon-purple) transparent;
}

.page-home .month-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: var(--c-surface);
  border: 1px solid rgba(167, 43, 250, 0.28);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-muted);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .month-chip--active {
  background: linear-gradient(135deg, rgba(167, 43, 250, 0.18), rgba(0, 229, 255, 0.1));
  border-color: var(--c-neon-purple);
  color: var(--c-text);
  box-shadow: 0 0 22px rgba(167, 43, 250, 0.35);
}

.page-home .month-chip:hover {
  border-color: var(--c-electric-blue);
  color: var(--c-text);
}

.page-home .monthly-index__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(240, 230, 255, 0.08);
  padding-top: 14px;
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-electric-blue);
  font-size: 14px;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.page-home .text-link::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--c-neon-purple);
  border-bottom-color: var(--c-neon-purple);
}

.page-home .home-layout {
  padding-bottom: 60px;
  display: block;
}

.page-home .home-layout__main {
  min-width: 0;
}

.page-home .hero-signal {
  margin-top: var(--home-gap);
  position: relative;
}

.page-home .hero-signal__frame {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--c-neon-purple);
  box-shadow: 0 0 34px rgba(167, 43, 250, 0.35), inset 0 0 40px rgba(167, 43, 250, 0.1);
  background: var(--c-surface);
}

.page-home .hero-signal__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.page-home .hero-signal__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 15, 0.94) 0%, rgba(9, 6, 15, 0.76) 46%, rgba(9, 6, 15, 0.22) 100%),
    linear-gradient(0deg, rgba(9, 6, 15, 0.82) 0%, transparent 44%);
}

.page-home .hero-signal__content {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 54px);
  max-width: 820px;
}

.page-home .hero-signal .eyebrow {
  margin-bottom: 14px;
}

.page-home .hero-signal__title {
  font-family: var(--font-headline);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.page-home .hero-signal__title-main {
  display: block;
  font-size: clamp(1.45rem, 2.4vw + 1rem, 3rem);
  color: var(--c-text);
  text-shadow: 0 0 18px rgba(167, 43, 250, 0.65), 0 0 46px rgba(0, 229, 255, 0.3);
}

.page-home .hero-signal__title-sub {
  display: block;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 0.45em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 42, 109, 0.35));
}

.page-home .hero-signal__lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--c-muted);
  max-width: 660px;
  margin: 0 0 24px;
}

.page-home .hero-signal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .hero-signal__status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(9, 6, 15, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--c-electric-blue);
  font-size: 12px;
  backdrop-filter: blur(6px);
}

.page-home .status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 12px var(--c-success);
  animation: pagehome-pulse 2.2s ease-in-out infinite;
}

@keyframes pagehome-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

.page-home .hero-signal__queue {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.page-home .hero-queue-item {
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid rgba(240, 230, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .hero-queue-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--c-text);
  min-height: 60px;
}

.page-home .hero-queue-item__no {
  color: var(--c-neon-purple);
  font-size: 13px;
}

.page-home .hero-queue-item__title {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .hero-queue-item__tag {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
}

.page-home .hero-queue-item:hover,
.page-home .hero-queue-item:focus-within {
  transform: translateY(-3px);
  border-color: var(--c-electric-blue);
  box-shadow: 0 12px 28px rgba(0, 229, 255, 0.15);
}

.page-home .hero-queue-item a:focus-visible {
  outline: none;
}

.page-home .zone-catalog {
  margin-top: calc(var(--home-gap) + 18px);
}

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 20px;
}

.page-home .section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
}

.page-home .section-sub {
  width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .zone-catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.page-home .zone-catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-surface);
  border: 1px solid rgba(240, 230, 255, 0.12);
  padding: 10px 16px;
  width: 100%;
  max-width: 380px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .search-box:focus-within {
  border-color: var(--c-electric-blue);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}

.page-home .search-box__glyph {
  color: var(--c-electric-blue);
  font-size: 18px;
  line-height: 1;
}

.page-home .search-box__input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.page-home .search-box__input::placeholder {
  color: var(--c-muted);
}

.page-home .tag--filter {
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(167, 43, 250, 0.5);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .tag--filter:hover,
.page-home .tag--filter:focus-visible {
  background: var(--c-neon-purple);
  border-color: var(--c-neon-purple);
  color: #fff;
  box-shadow: 0 0 18px rgba(167, 43, 250, 0.5);
}

.page-home .zone-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-home .zone-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid rgba(240, 230, 255, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-home .zone-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  z-index: 2;
}

.page-home .zone-card:nth-child(even)::before {
  background: var(--gradient-primary);
}

.page-home .zone-card:hover,
.page-home .zone-card:focus-within {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: var(--c-electric-blue);
  box-shadow: 0 18px 34px rgba(0, 229, 255, 0.12);
}

.page-home .zone-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 32% 30%, rgba(167, 43, 250, 0.36), transparent 48%),
    radial-gradient(circle at 72% 78%, rgba(0, 229, 255, 0.14), transparent 40%),
    var(--c-surface-raised);
}

.page-home .zone-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.page-home .zone-card:hover .zone-card__media img {
  transform: scale(1.06);
}

.page-home .zone-card__glyph {
  position: relative;
  z-index: 1;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-electric-blue);
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
  line-height: 1;
  background: rgba(9, 6, 15, 0.6);
  padding: 8px 12px;
  display: inline-block;
}

.page-home .zone-card--bare .zone-card__media {
  aspect-ratio: 4 / 3;
}

.page-home .zone-card__body {
  padding: 14px 16px 16px;
}

.page-home .zone-card__body h3 {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}

.page-home .zone-card__body .mono {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.page-home .zone-card__body .tag {
  font-size: 11px;
  color: var(--c-electric-blue);
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: transparent;
}

.page-home .finalized-zone {
  margin-top: calc(var(--home-gap) + 22px);
}

.page-home .finalized-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.page-home .finalized-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid rgba(240, 230, 255, 0.1);
  overflow: hidden;
  min-width: 0;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-home .finalized-card:hover,
.page-home .finalized-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--c-fluorescent-pink);
  box-shadow: 0 16px 32px rgba(255, 42, 109, 0.16);
}

.page-home .finalized-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.page-home .finalized-card:hover img {
  transform: scale(1.05);
}

.page-home .finalized-card__body {
  padding: 14px 16px 18px;
}

.page-home .finalized-card__body h3 {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.page-home .finalized-card__body .mono {
  font-size: 12px;
  color: var(--c-muted);
}

.page-home .help-center {
  margin-top: calc(var(--home-gap) + 22px);
  background: var(--c-surface);
  border-left: 3px solid var(--c-fluorescent-pink);
  padding: 24px;
}

.page-home .help-center .section-head {
  margin-bottom: 18px;
}

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

.page-home .help-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.page-home .help-list a {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  background: var(--c-bg);
  border-left: 2px solid var(--c-neon-purple);
  color: var(--c-text);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.page-home .help-list a:hover,
.page-home .help-list a:focus-visible {
  border-left-color: var(--c-electric-blue);
  background: rgba(0, 229, 255, 0.07);
  color: var(--c-electric-blue);
}

.page-home .help-feedback {
  background: linear-gradient(135deg, rgba(167, 43, 250, 0.14), rgba(255, 42, 109, 0.08));
  border: 1px solid rgba(255, 42, 109, 0.25);
  padding: 22px;
}

.page-home .help-feedback h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.page-home .help-feedback__email,
.page-home .help-feedback__phone {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--c-text);
  word-break: break-all;
}

.page-home .help-feedback__note {
  font-size: 13px;
  color: var(--c-muted);
  margin: 8px 0 16px;
}

.page-home .download-rail {
  margin-top: 42px;
  display: grid;
  gap: 16px;
}

.page-home .download-panel {
  background: var(--c-surface);
  border: 1px solid rgba(240, 230, 255, 0.08);
  padding: 20px;
}

.page-home .download-panel--title {
  background:
    linear-gradient(135deg, rgba(167, 43, 250, 0.2), rgba(0, 229, 255, 0.06)),
    var(--c-surface);
  border-top: 3px solid var(--c-neon-purple);
}

.page-home .download-panel h3 {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(240, 230, 255, 0.1);
}

.page-home .download-rail__title {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 10px 0 8px;
}

.page-home .download-rail__brand {
  font-size: 14px;
  color: var(--c-electric-blue);
  letter-spacing: 0.12em;
  margin: 0;
  font-weight: 600;
}

.page-home .download-rank {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  counter-reset: rank;
}

.page-home .download-rank__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  counter-increment: rank;
}

.page-home .download-rank__item::before {
  content: counter(rank, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-neon-purple);
  margin-top: 4px;
}

.page-home .download-rank__item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.page-home .download-rank__info {
  min-width: 0;
  flex: 1;
}

.page-home .download-rank__name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.page-home .download-rank__id {
  display: block;
  font-size: 11px;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.page-home .download-rank__btn {
  font-size: 12px;
  padding: 6px 12px;
}

.page-home .latest-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .latest-feed li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.page-home .latest-feed .tag {
  font-size: 10px;
  flex: 0 0 auto;
}

.page-home .tag--hot {
  background: rgba(255, 42, 109, 0.15);
  border: 1px solid var(--c-fluorescent-pink);
  color: var(--c-fluorescent-pink);
}

.page-home .download-panel--cta {
  background: var(--c-bg);
  border-top: 3px solid var(--c-fluorescent-pink);
}

.page-home .download-panel--cta p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0 0 14px;
}

.page-home .is-filter-hidden {
  display: none !important;
}

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home input:focus-visible {
  outline: 2px solid var(--c-electric-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.page-home [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .page-home .zone-catalog__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .finalized-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .finalized-card img {
    height: 260px;
  }

  .page-home .help-center__columns {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 26px;
  }

  .page-home .hero-signal__queue {
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--rail-width);
    gap: 32px;
    align-items: start;
    padding-top: 8px;
  }

  .page-home .download-rail {
    position: sticky;
    top: 110px;
    margin-top: 0;
  }

  .page-home .hero-signal__frame {
    min-height: 600px;
  }

  .page-home .hero-signal__queue {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }

  .page-home [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  .page-home [data-reveal][data-reveal-delay="80"] {
    transition-delay: 0.08s;
  }

  .page-home [data-reveal][data-reveal-delay="120"] {
    transition-delay: 0.12s;
  }

  .page-home [data-reveal][data-reveal-delay="240"] {
    transition-delay: 0.24s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
