.page-home {
  background: var(--color-bg);
  color: var(--color-text);
}

.page-home .home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 45, 149, 0.2) 0%, transparent 56%),
    radial-gradient(circle at 85% 70%, rgba(0, 229, 255, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, rgba(10, 6, 20, 0.82) 0%, rgba(10, 6, 20, 0.55) 45%, #0a0614 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: clamp(5rem, 16vh, 8rem);
  padding-bottom: clamp(2rem, 8vh, 4rem);
}

.page-home .home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 45, 149, 0.08);
  color: var(--color-accent-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.9rem, 6vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: 0.015em;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
  text-shadow: 0 0 28px rgba(255, 45, 149, 0.32), 0 1px 2px rgba(0, 0, 0, 0.55);
}

.page-home .home-hero__title em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(1rem, 2.6vw, 1.55rem);
  line-height: 1.4;
  margin-top: 0.6em;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.page-home .home-hero__lead {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.85;
}

.page-home .home-hero__index {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  max-width: 820px;
  margin: 0 auto;
}

.page-home .home-hero__link {
  position: relative;
  display: block;
  padding: 1rem 1.15rem;
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.page-home .home-hero__link:hover,
.page-home .home-hero__link:focus-visible {
  border-color: var(--color-accent);
  background: rgba(255, 45, 149, 0.12);
  transform: translateY(-4px);
}

.page-home .home-hero__link span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent-2);
}

.page-home .home-hero__link strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-text);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.page-home .home-hero__link i {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--color-text-dim);
}

.page-home .home-section {
  scroll-margin-top: 140px;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.page-home .home-section--daily {
  padding-top: var(--space-md);
}

.page-home .home-section__title {
  margin: 0;
}

.page-home .section-heading__index {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-accent-2);
  margin-bottom: 0.3rem;
}

.page-home .section-heading__title {
  color: var(--color-text);
}

.page-home .home-note {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 1rem 0 1.4rem;
}

.page-home .daily-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.page-home .daily-item {
  background: rgba(21, 11, 46, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid transparent;
  border-radius: 0.65rem;
  overflow: hidden;
  transition: border-color 0.2s ease, border-left-color 0.2s ease, background 0.2s ease;
}

.page-home .daily-item:hover,
.page-home .daily-item:focus-within {
  border-color: rgba(255, 45, 149, 0.38);
  border-left-color: var(--color-accent);
  background: rgba(26, 14, 50, 0.82);
}

.page-home .daily-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: transparent;
  border: 0;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.page-home .daily-item__thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 42px;
  overflow: hidden;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, #1c0f38, #0a0614);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.page-home .daily-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .daily-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-home .daily-item__title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-home .daily-item__time {
  flex: 0 0 auto;
  font-size: 0.75rem;
  color: var(--color-text-dim);
  font-variant-numeric: tabular-nums;
}

.page-home .daily-item__foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .daily-item__sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .daily-item__state {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.page-home .daily-item__icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-home .daily-item__icon::before,
.page-home .daily-item__icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.page-home .daily-item__icon::before {
  width: 9px;
  height: 2px;
}

.page-home .daily-item__icon::after {
  width: 2px;
  height: 9px;
}

.page-home .daily-item[aria-expanded="true"] .daily-item__icon::after {
  transform: scaleY(0);
}

.page-home .daily-item__panel {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .daily-item__note {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.page-home .daily-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-home .daily-item__tags .tag {
  font-size: 0.72rem;
}

.page-home .daily-more {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .daily-more:hover {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent-2);
}

.page-home .home-section--hot {
  background:
    linear-gradient(180deg, rgba(10, 6, 20, 0.65), rgba(21, 11, 46, 0.5)),
    repeating-linear-gradient(45deg, rgba(255, 45, 149, 0.05) 0 2px, transparent 2px 8px);
}

.page-home .hot-fire {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 12px rgba(255, 45, 149, 0.65));
}

.page-home .hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.page-home .hot-item {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3.6rem;
  background: rgba(20, 10, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.6rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home .hot-item:hover,
.page-home .hot-item:focus-within {
  border-color: rgba(255, 45, 149, 0.65);
  background: linear-gradient(90deg, rgba(255, 45, 149, 0.12), rgba(20, 10, 40, 0.7));
  transform: translateX(4px);
}

.page-home .hot-item__rank {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent-2);
  opacity: 0.85;
}

.page-home .hot-item__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .hot-item__info {
  min-width: 0;
}

.page-home .hot-item__info strong {
  display: block;
  color: var(--color-text);
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .hot-item__info span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.page-home .hot-item__value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-accent);
}

.page-home .home-section--progress {
  padding-top: 0;
}

.page-home .progress-board {
  position: relative;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 45, 149, 0.16), transparent 40%),
    linear-gradient(135deg, rgba(21, 11, 46, 0.9), rgba(10, 6, 20, 0.82));
  border: 1px solid var(--color-border);
  border-radius: 0.7rem;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  overflow: hidden;
}

.page-home .progress-board__data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.page-home .progress-stat {
  display: flex;
  flex-direction: column;
}

.page-home .progress-stat strong {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent);
  text-shadow: 0 0 18px rgba(255, 45, 149, 0.35);
}

.page-home .progress-stat span {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.page-home .progress-track {
  height: 14px;
  background: #1a1035;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .progress-track__bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  box-shadow: 0 0 18px rgba(255, 45, 149, 0.5);
  transform-origin: left center;
}

.page-home .progress-board__note {
  margin: 1.4rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.page-home .home-section--apps {
  padding-top: 0;
}

.page-home .apps-banner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
  padding: clamp(1.6rem, 4vw, 3rem);
  background:
    linear-gradient(120deg, rgba(255, 45, 149, 0.22), rgba(21, 11, 46, 0.9) 58%),
    var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 0.7rem;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home .apps-banner__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-accent-2);
}

.page-home .apps-banner__title {
  margin: 0 0 0.8rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.25;
}

.page-home .apps-banner__lead {
  max-width: 680px;
  margin: 0 0 1.4rem;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.page-home .apps-banner__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.5));
}

.page-home .home-section--map {
  padding-top: var(--space-md);
}

.page-home .index-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.page-home .index-map__col {
  padding: 1.5rem;
  background: var(--color-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-accent-2);
  border-radius: 0.65rem;
}

.page-home .index-map__col h3 {
  margin: 0 0 1rem;
  color: var(--color-accent-2);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--color-border-blue);
}

.page-home .index-map__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-home .index-map__col a {
  display: inline-block;
  color: var(--color-text-muted);
  text-decoration: none;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .index-map__col a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

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

  .page-home .apps-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .apps-banner__icon {
    flex: 0 0 80px;
  }

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

@media (min-width: 1024px) {
  .page-home .home-section {
    scroll-margin-top: 120px;
  }

  .page-home .content-grid {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .page-home .content-grid__aside {
    padding-top: 0.2rem;
  }

  .page-home .daily-item__trigger {
    padding: 0.85rem 1.1rem;
    gap: 1rem;
  }

  .page-home .daily-item__thumb {
    flex-basis: 88px;
    width: 88px;
    height: 60px;
  }

  .page-home .daily-item__title {
    font-size: 1.05rem;
  }

  .page-home .daily-item__state {
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .page-home .daily-item:hover .daily-item__state,
  .page-home .daily-item:focus-within .daily-item__state {
    opacity: 0.85;
  }

  .page-home .progress-board__data {
    gap: 3rem;
  }

  .page-home .apps-banner {
    padding-right: clamp(2rem, 6vw, 4.5rem);
  }
}
