.page-home {
  --panel-glass: rgba(22, 18, 31, 0.72);
  --panel-solid: #16121f;
  --line-grid: rgba(155, 92, 255, 0.06);
  --shadow-pink: 0 0 24px rgba(255, 42, 120, 0.18);
  position: relative;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(220, 208, 192, 0.08);
  padding: 28px 0 48px;
}

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

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 15, 0.96) 0%, rgba(11, 11, 15, 0.84) 40%, rgba(11, 11, 15, 0.6) 75%, rgba(11, 11, 15, 0.82) 100%),
    linear-gradient(0deg, rgba(11, 11, 15, 0.62) 0%, transparent 42%);
}

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

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0px, rgba(0, 0, 0, 0.14) 1px, transparent 1px, transparent 4px);
  opacity: 0.4;
  pointer-events: none;
}

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

.page-home .home-hero__content {
  padding-top: 32px;
}

.page-home .home-breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.page-home .home-breadcrumb span {
  color: var(--color-pink);
  margin: 0 6px;
}

.page-home .home-hero__title {
  font-size: clamp(30px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow:
    1.5px 0 0 rgba(255, 42, 120, 0.55),
    -1.5px 0 0 rgba(0, 255, 159, 0.45);
}

.page-home .home-hero__desc {
  margin: 18px 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 56ch;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}

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

.page-home .home-hero__stat {
  background: var(--panel-glass);
  border: 1px solid rgba(220, 208, 192, 0.09);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}

.page-home .home-hero__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--color-text-bright);
  line-height: 1.1;
}

.page-home .home-hero__stat span {
  font-size: 13px;
  color: var(--color-text-muted);
}

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

.page-home .home-path {
  margin-top: 32px;
}

.page-home .home-path__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.page-home .home-path__kicker {
  color: var(--color-pink);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.page-home .home-path__hint {
  color: var(--color-text-muted);
  font-size: 13px;
}

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

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

.page-home .home-path__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px 18px 64px;
  background: var(--panel-glass);
  border: 1px solid rgba(220, 208, 192, 0.09);
  border-radius: 12px;
  overflow: hidden;
  min-height: 128px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-path__card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 42, 120, 0.56);
  box-shadow: var(--shadow-pink);
}

.page-home .home-path__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #ff2a78, #9b5cff);
  opacity: 0.7;
}

.page-home .home-path__num {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(155, 92, 255, 0.75);
  text-shadow: 0 0 18px rgba(255, 42, 120, 0.4);
}

.page-home .home-path__label {
  color: var(--color-text-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .home-path__title {
  font-size: 16px;
  color: var(--color-text-bright);
  line-height: 1.45;
}

.page-home .home-path__text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.page-home .home-season,
.page-home .home-guide,
.page-home .home-index,
.page-home .home-news {
  padding: 48px 0;
}

@media (min-width: 900px) {
  .page-home .home-season,
  .page-home .home-guide,
  .page-home .home-index,
  .page-home .home-news {
    padding: 64px 0;
  }
}

.page-home .chapter__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .chapter__num {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(155, 92, 255, 0.8);
  border: 1px solid rgba(155, 92, 255, 0.35);
  border-radius: 14px;
  background: rgba(155, 92, 255, 0.06);
  box-shadow: 0 0 18px rgba(155, 92, 255, 0.18);
}

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

.page-home .chapter__desc {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-season__grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 880px) {
  .page-home .home-season__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 36px;
  }
}

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

.page-home .home-season__visual::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 42, 120, 0.6), rgba(155, 92, 255, 0.6), rgba(0, 255, 159, 0.5));
  filter: blur(14px);
  opacity: 0.3;
}

.page-home .home-season__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.page-home .home-season__panel {
  background: var(--panel-solid);
  border: 1px solid rgba(220, 208, 192, 0.09);
  border-radius: 14px;
  padding: 24px;
}

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

.page-home .home-season__tags span {
  font-size: 12px;
  color: var(--color-green);
  border: 1px solid rgba(0, 255, 159, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0, 255, 159, 0.08);
}

.page-home .home-season__panel h3 {
  font-size: 22px;
  color: var(--color-text-bright);
  margin-bottom: 16px;
}

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

.page-home .home-season__facts li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.page-home .home-season__facts li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--color-pink);
}

.page-home .home-season__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-guide {
  background:
    radial-gradient(circle at 88% 16%, rgba(0, 255, 159, 0.08), transparent 36%),
    radial-gradient(circle at 4% 78%, rgba(155, 92, 255, 0.12), transparent 40%),
    var(--color-bg);
  border-top: 1px solid rgba(220, 208, 192, 0.08);
  border-bottom: 1px solid rgba(220, 208, 192, 0.08);
}

.page-home .home-guide__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 880px) {
  .page-home .home-guide__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 36px;
  }

  .page-home .home-guide__steps {
    order: 2;
  }

  .page-home .home-guide__visual {
    order: 1;
  }
}

.page-home .home-guide__visual img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.page-home .home-guide__steps {
  display: grid;
  gap: 12px;
}

.page-home .home-guide__step {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--panel-glass);
  border: 1px solid rgba(220, 208, 192, 0.09);
  border-radius: 12px;
}

.page-home .home-guide__step-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(0, 255, 159, 0.1);
  border: 1px solid rgba(0, 255, 159, 0.38);
  color: var(--color-green);
  font-weight: 900;
  font-size: 15px;
}

.page-home .home-guide__step h3 {
  font-size: 16px;
  color: var(--color-text-bright);
  margin-bottom: 4px;
}

.page-home .home-guide__step p {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.page-home .home-index__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 16px;
  background: rgba(22, 18, 31, 0.6);
  border: 1px solid rgba(220, 208, 192, 0.09);
  border-radius: 12px;
}

.page-home .home-index__summary p {
  flex: 1 1 260px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
}

.page-home .home-index__summary-img {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 12px;
}

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

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

.page-home .filter-btn {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(22, 18, 31, 0.85);
  border: 1px solid rgba(155, 92, 255, 0.35);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.page-home .filter-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 42, 120, 0.92), rgba(155, 92, 255, 0.9));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(255, 42, 120, 0.35);
}

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

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

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

.page-home .home-index__card {
  position: relative;
  background: rgba(22, 18, 31, 0.76);
  border: 1px solid rgba(220, 208, 192, 0.09);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-index__card:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 92, 255, 0.28);
  box-shadow: var(--shadow-pink);
}

.page-home .home-index__cover {
  height: 174px;
  position: relative;
  border-bottom: 1px solid rgba(220, 208, 192, 0.06);
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0px, rgba(0, 0, 0, 0.18) 1px, transparent 1px, transparent 3px),
    linear-gradient(135deg, #2a1b3d, #16121f 70%);
}

.page-home .home-index__card[data-filter="anime"] .home-index__cover {
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0px, rgba(0, 0, 0, 0.18) 1px, transparent 1px, transparent 3px),
    linear-gradient(135deg, rgba(255, 42, 120, 0.28), rgba(29, 23, 41, 0.9) 72%);
}

.page-home .home-index__card[data-filter="actor"] .home-index__cover {
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0px, rgba(0, 0, 0, 0.18) 1px, transparent 1px, transparent 3px),
    linear-gradient(135deg, rgba(155, 92, 255, 0.3), rgba(29, 23, 41, 0.9) 72%);
}

.page-home .home-index__card[data-filter="comic"] .home-index__cover {
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0px, rgba(0, 0, 0, 0.18) 1px, transparent 1px, transparent 3px),
    linear-gradient(135deg, rgba(0, 255, 159, 0.2), rgba(29, 23, 41, 0.9) 72%);
}

.page-home .home-index__card-body {
  padding: 14px 14px 18px;
}

.page-home .home-index__card-meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-purple);
  margin-bottom: 6px;
}

.page-home .home-index__card-title {
  font-size: 17px;
  color: var(--color-text-bright);
  line-height: 1.4;
  margin-bottom: 4px;
}

.page-home .home-index__card-line {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.page-home .home-index__badge {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 10px;
  color: var(--color-orange);
  border: 1px solid rgba(255, 176, 0, 0.5);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 176, 0, 0.12);
}

.page-home .home-news {
  background:
    radial-gradient(circle at 92% 28%, rgba(0, 255, 159, 0.08), transparent 32%),
    var(--color-panel);
  border-top: 1px solid rgba(220, 208, 192, 0.08);
  border-bottom: 1px solid rgba(220, 208, 192, 0.08);
}

.page-home .timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  display: grid;
  gap: 18px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-pink), var(--color-purple), var(--color-green));
}

.page-home .timeline__item {
  position: relative;
  padding: 18px 18px 16px 20px;
  background: rgba(11, 11, 15, 0.55);
  border: 1px solid rgba(220, 208, 192, 0.09);
  border-radius: 12px;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 12px rgba(0, 255, 159, 0.8);
}

.page-home .home-news__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(155, 92, 255, 0.15);
  border: 1px solid rgba(155, 92, 255, 0.4);
  color: var(--color-purple);
  margin-bottom: 8px;
}

.page-home .timeline__item h3 {
  font-size: 18px;
  color: var(--color-text-bright);
  margin-bottom: 6px;
}

.page-home .timeline__item p {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

.page-home .home-support {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 42, 120, 0.14), rgba(155, 92, 255, 0.16));
  border: 1px solid rgba(255, 42, 120, 0.3);
  border-radius: 14px;
}

.page-home .home-support h3 {
  font-size: 20px;
  color: var(--color-text-bright);
  margin-bottom: 6px;
}

.page-home .home-support p {
  max-width: 46ch;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

@media (min-width: 1100px) {
  .page-home .home-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .page-home .home-hero__content {
    grid-column: 1;
  }

  .page-home .home-path {
    grid-column: 2;
    grid-row: 1;
  }
}
