.page-home {
  --ph-hero-h: min(920px, 100vh);
  overflow-x: hidden;
}

.page-home .ph-hero {
  position: relative;
  isolation: isolate;
  min-height: var(--ph-hero-h);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 64px;
}

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

.page-home .ph-hero__bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .ph-hero__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 11, 26, 0.95) 0%, rgba(13, 11, 26, 0.72) 50%, rgba(176, 38, 255, 0.35) 100%);
}

.page-home .ph-hero__cut {
  position: absolute;
  right: -12%;
  top: -25%;
  width: 52%;
  height: 150%;
  transform: skewX(-18deg);
  background: linear-gradient(160deg, rgba(176, 38, 255, 0.2), rgba(255, 46, 138, 0.05) 60%, transparent);
  border-left: 1px solid rgba(0, 229, 255, 0.3);
  z-index: -2;
}

.page-home .ph-hero__gridline {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent, #000 40%, #000 60%, transparent);
}

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

.page-home .ph-hero__copy {
  max-width: 760px;
}

.page-home .ph-hero__kicker {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  border-left: 3px solid var(--neon-pink);
  padding-left: 12px;
  margin-bottom: 20px;
}

.page-home .ph-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--text-main);
}

.page-home .ph-hero__lede {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(17px, 2.4vw, 26px);
  line-height: 1.35;
  color: var(--neon-cyan);
  margin: 0 0 14px;
}

.page-home .ph-hero__tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .ph-hero__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 640px;
}

.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .ph-btn--pink {
  background: var(--neon-pink);
  border: 1px solid var(--neon-pink);
  color: #fff;
}

.page-home .ph-btn--pink:hover,
.page-home .ph-btn--pink:focus-visible {
  background: transparent;
  color: var(--neon-pink);
}

.page-home .ph-btn--lg {
  padding: 12px 26px;
}

.page-home .ph-hero__panel {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.page-home .ph-hero__panel-kicker {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-purple);
  margin: 0;
}

.page-home .ph-hero__panel-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0;
}

.page-home .ph-hero__panel-nav {
  display: grid;
  gap: 8px;
}

.page-home .ph-hero__panel-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 0 8px 12px;
  border-left: 2px solid rgba(176, 38, 255, 0.35);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.page-home .ph-hero__panel-nav a:hover {
  border-left-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateX(4px);
}

.page-home .ph-hero__panel-note {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  border-top: 1px solid rgba(176, 38, 255, 0.2);
  padding-top: 12px;
  margin: 0;
}

.page-home .ph-guide,
.page-home .ph-grid,
.page-home .ph-latest,
.page-home .ph-season,
.page-home .ph-subscribe,
.page-home .ph-stats {
  padding: 64px 0;
}

.page-home .ph-grid,
.page-home .ph-subscribe {
  background: rgba(26, 21, 40, 0.55);
}

.page-home .ph-guide__lead,
.page-home .ph-grid__lead,
.page-home .ph-season__lead,
.page-home .ph-stats__lead {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 680px;
}

.page-home .ph-guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.page-home .ph-guide-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(176, 38, 255, 0.18);
  border-radius: var(--radius);
  height: 100%;
}

.page-home .ph-guide-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.5;
}

.page-home .ph-guide-card__index {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 14px;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
}

.page-home .ph-guide-card .card__title {
  font-size: 20px;
  margin: 10px 0 8px;
}

.page-home .ph-grid__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.page-home .ph-grid-card {
  position: relative;
  padding: 22px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(176, 38, 255, 0.16);
  border-radius: 14px;
  height: 100%;
  overflow: hidden;
  transition: border-color 0.32s, transform 0.32s;
}

.page-home .ph-grid-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 0%, rgba(176, 38, 255, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.32s;
  pointer-events: none;
}

.page-home .ph-grid-card:hover,
.page-home .ph-grid-card:focus-within {
  border-color: rgba(0, 229, 255, 0.55);
  transform: translateY(-3px);
}

.page-home .ph-grid-card:hover::before,
.page-home .ph-grid-card:focus-within::before {
  opacity: 1;
}

.page-home .ph-grid-card__code {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--neon-purple);
}

.page-home .ph-grid-card .card__title {
  font-size: 18px;
  margin: 8px 0 6px;
}

.page-home .ph-grid-card .card__text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}

.page-home .ph-latest__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
}

.page-home .ph-latest__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}

.page-home .ph-latest__list {
  display: grid;
  gap: 10px;
}

.page-home .ph-latest-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(176, 38, 255, 0.14);
  border-radius: 12px;
  transition: border-color 0.32s, transform 0.32s;
}

.page-home .ph-latest-item:hover {
  border-color: rgba(0, 229, 255, 0.55);
  transform: translateX(6px);
}

.page-home .ph-latest-item__code {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  color: var(--neon-cyan);
}

.page-home .ph-latest-item__body {
  flex: 1 1 220px;
  min-width: 0;
}

.page-home .ph-latest-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 4px;
  color: var(--text-main);
}

.page-home .ph-latest-item__meta {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  color: var(--text-dim);
}

.page-home .ph-latest__aside {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .ph-latest__aside img,
.page-home .ph-subscribe__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.page-home .ph-aside__kicker {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--neon-pink);
  margin: 0;
}

.page-home .ph-aside__text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

.page-home .ph-season__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 28px;
}

.page-home .ph-season__visual img,
.page-home .ph-season__visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .ph-season__copy {
  padding: 28px 24px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.page-home .ph-season__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  margin: 0;
  color: var(--text-main);
}

.page-home .ph-season__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0;
  max-width: 560px;
}

.page-home .ph-season__copy .btn {
  justify-self: start;
}

.page-home .ph-subscribe__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}

.page-home .ph-subscribe__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .ph-subscribe-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-home .ph-subscribe-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--text-main);
}

.page-home .ph-subscribe-card__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0 0 14px;
}

.page-home .ph-subscribe-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.page-home .ph-subscribe-list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
}

.page-home .ph-subscribe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.page-home .ph-subscribe__note {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink);
}

.page-home .ph-stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.page-home .ph-stat {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(176, 38, 255, 0.2);
  border-radius: var(--radius);
  padding: 28px 16px 22px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  overflow: hidden;
}

.page-home .ph-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.7;
}

.page-home .ph-stat__num {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1;
  background: linear-gradient(110deg, var(--neon-purple) 0%, var(--neon-pink) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.page-home .ph-stat__unit {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 2px;
}

.page-home .ph-stat__label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
}

@media (min-width: 560px) {
  .page-home .ph-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 700px) {
  .page-home .ph-guide__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .ph-grid__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .page-home .ph-hero__inner {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 56px;
  }

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

  .page-home .ph-grid__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .ph-latest__layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }

  .page-home .ph-season__panel {
    grid-template-columns: 5fr 7fr;
  }

  .page-home .ph-season__copy {
    padding: 44px 40px;
  }

  .page-home .ph-subscribe__layout {
    grid-template-columns: 1fr 300px;
  }
}

@media (min-width: 1200px) {
  .page-home .ph-grid__cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .ph-subscribe__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-hero__gridline,
  .page-home .ph-hero__cut,
  .page-home .ph-grid-card::before {
    animation: none;
    transition: none;
  }

  .page-home .ph-latest-item,
  .page-home .ph-grid-card,
  .page-home .ph-hero__panel-nav a {
    transform: none;
    transition: opacity 0.2s ease;
  }
}
