.page-home {
  overflow-x: clip;
  background-image: repeating-linear-gradient(180deg, rgba(242, 245, 247, 0.028) 0 1px, transparent 1px 5px);
}

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

.page-home .breadcrumb {
  margin-bottom: 20px;
}

.page-home .hero-inner,
.page-home .home-hero {
  position: relative;
}

.page-home .home-hero {
  padding: 24px 0 64px;
  background:
    radial-gradient(ellipse 55% 45% at 8% 2%, rgba(138, 92, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 40% at 92% 18%, rgba(61, 255, 168, 0.14), transparent 68%);
}

.page-home .hero-inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
}

.page-home .hero-title {
  margin: 16px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 7.4rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.025em;
  transform: skewY(-1.5deg);
  transform-origin: left center;
}

.page-home .hero-title span {
  display: block;
}

.page-home .hero-title span:last-child {
  background: linear-gradient(100deg, var(--neon) 0%, var(--neon-soft) 38%, var(--violet-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--neon), rgba(61, 255, 168, 0));
  box-shadow: var(--glow-neon);
}

.page-home .hero-line {
  max-width: 32ch;
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
}

.page-home .hero-lede {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .stat-item {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}

.page-home .stat-num {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.1;
}

.page-home .stat-label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.page-home .hero-device-col {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  margin: 0 auto;
}

.page-home .device-shell {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(61, 255, 168, 0.34);
  border-radius: 30px;
  background: linear-gradient(155deg, var(--raise), var(--panel) 55%, var(--ink));
  box-shadow: var(--shadow-lift), 0 0 36px rgba(138, 92, 255, 0.18);
}

.page-home .device-shell::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(242, 245, 247, 0.06);
  border-radius: 24px;
  pointer-events: none;
}

.page-home .device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 8px 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.page-home .device-dots {
  display: inline-flex;
  gap: 4px;
}

.page-home .device-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.7;
}

.page-home .device-dots i:first-child {
  background: var(--neon);
}

.page-home .device-shell img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  background: var(--panel);
}

.page-home .device-caption {
  margin: 12px 4px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: right;
}

.page-home .collect-band {
  padding: 20px 0 70px;
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(61, 255, 168, 0.08), transparent 72%);
}

.page-home .collect-card {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(61, 255, 168, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 23, 28, 0.96), rgba(30, 35, 43, 0.92)),
    radial-gradient(circle at 12% 0%, rgba(61, 255, 168, 0.18), transparent 46%);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.page-home .collect-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 36px;
  width: 124px;
  height: 28px;
  border: 1px solid rgba(61, 255, 168, 0.22);
  background: rgba(61, 255, 168, 0.12);
  transform: rotate(-4deg);
  pointer-events: none;
}

.page-home .collect-copy {
  position: relative;
  z-index: 1;
}

.page-home .collect-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-home .collect-copy p {
  max-width: 46ch;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.page-home .collect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .collect-path {
  margin-top: 22px;
  color: var(--neon-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.page-home .collect-figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.page-home .collect-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--void);
}

.page-home .section-head {
  max-width: 720px;
}

.page-home .filter-section {
  background: linear-gradient(180deg, transparent, rgba(20, 23, 28, 0.72) 30%, transparent);
}

.page-home .filter-panel {
  margin-top: 28px;
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-home .filter-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .filter-label {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.page-home .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .filter-results {
  margin-top: 22px;
}

.page-home .result-head {
  display: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

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

.page-home .result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(42, 48, 56, 0.72);
}

.page-home .result-title {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.page-home .result-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.page-home .result-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.page-home .filter-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.page-home .filter-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--neon);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 255, 168, 0.4);
}

.page-home .line-section {
  padding-top: 70px;
}

.page-home .rail-wrap {
  position: relative;
  margin-top: 26px;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .rail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.09;
  pointer-events: none;
}

.page-home .rail-scroller {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  padding: 4px var(--gutter) 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .rail-scroller:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

.page-home .line-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 260px;
  min-height: 218px;
  padding: 18px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--panel), var(--raise));
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.page-home .line-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 255, 168, 0.55);
}

.page-home .line-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
}

.page-home .line-letter {
  color: var(--violet-soft);
  font-family: var(--font-mono);
  font-size: 1.9rem;
  line-height: 1;
}

.page-home .line-title {
  margin: 16px 0 6px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.page-home .line-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.page-home .line-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}

.page-home .line-foot span:last-child {
  color: var(--text);
}

.page-home .rail-hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.page-home .countdown-section {
  position: relative;
  margin-top: 70px;
  padding: 70px 0;
  overflow: hidden;
  background: var(--void);
}

.page-home .countdown-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .countdown-inner {
  position: relative;
  z-index: 1;
}

.page-home .countdown-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.page-home .countdown-primary {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(255, 122, 61, 0.38);
  border-radius: var(--radius);
  background: rgba(11, 13, 16, 0.78);
}

.page-home .countdown-clock {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 18px 0;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 9vw, 4.2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.page-home .clock-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .clock-group em {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.24em;
  font-style: normal;
  letter-spacing: 0.08em;
}

.page-home .countdown-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
}

.page-home .countdown-lists {
  display: grid;
  gap: 14px;
}

.page-home .countdown-list {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(20, 23, 28, 0.86);
}

.page-home .countdown-list h3 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

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

.page-home .countdown-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(42, 48, 56, 0.7);
}

.page-home .countdown-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .list-name {
  color: var(--text);
  font-size: 0.88rem;
}

.page-home .list-batch {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
}

.page-home .guide-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-home .guide-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-home .guide-copy > p {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.8;
}

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

.page-home .guide-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(42, 48, 56, 0.7);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .guide-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px rgba(138, 92, 255, 0.65);
}

.page-home .guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .guide-facts {
  display: grid;
  gap: 4px;
  padding: 8px 22px;
  border: 1px solid rgba(138, 92, 255, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(30, 35, 43, 0.9), rgba(20, 23, 28, 0.94));
}

.page-home .fact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .fact-row:last-child {
  border-bottom: 0;
}

.page-home .fact-num {
  color: var(--violet-soft);
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-home .fact-label {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.page-home .beta-panel {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(61, 255, 168, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 12%, rgba(61, 255, 168, 0.16), transparent 42%),
    linear-gradient(140deg, var(--panel), var(--ink));
  overflow: hidden;
}

.page-home .beta-copy h2 {
  margin: 14px 0 16px;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1.15;
}

.page-home .beta-copy p {
  max-width: 55ch;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.page-home .beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .beta-note {
  margin-top: 18px;
  color: var(--neon-soft);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.page-home .beta-mark {
  align-self: end;
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-left: 2px solid var(--neon);
  background: rgba(61, 255, 168, 0.06);
  transform: skewX(-6deg);
}

.page-home .beta-mark-num {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 2.2rem;
  line-height: 1;
}

.page-home .beta-mark-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}

@media (min-width: 760px) {
  .page-home .result-head {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.5fr);
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }

  .page-home .result-row {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.5fr);
    align-items: center;
    gap: 16px;
  }

  .page-home .result-state {
    grid-column: 3;
    grid-row: auto;
  }

  .page-home .countdown-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .countdown-list:last-child {
    grid-column: 1 / -1;
  }

  .page-home .line-card {
    flex-basis: 300px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 42px 0 92px;
  }

  .page-home .hero-inner {
    grid-template-columns: 58fr 42fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .hero-device-col {
    width: 100%;
    margin-top: -34px;
  }

  .page-home .device-shell {
    transform: translateY(-26px);
  }

  .page-home .collect-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .page-home .filter-row {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 18px 0;
  }

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

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

  .page-home .countdown-list:last-child {
    grid-column: auto;
  }

  .page-home .guide-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 40px;
  }

  .page-home .beta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .beta-mark {
    justify-self: end;
  }
}

@media (min-width: 1200px) {
  .page-home .line-card {
    flex-basis: 320px;
  }

  .page-home .rail-scroller {
    padding-left: max(var(--gutter), calc((100vw - var(--wrap-wide)) / 2));
    padding-right: max(var(--gutter), calc((100vw - var(--wrap-wide)) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .line-card {
    transition: none;
  }

  .page-home .line-card:hover {
    transform: none;
  }
}
