.page-home {
  --home-line: rgba(57, 255, 20, 0.25);
  --home-glow: rgba(123, 47, 247, 0.16);
  --home-radius: 14px;
}

.page-home .home-hero {
  position: relative;
  padding-top: 36px;
  overflow: hidden;
}

.page-home .hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 14px 0 18px;
  max-width: 720px;
}

.page-home .hero-eyebrow {
  margin: 0;
  color: var(--neon);
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-family: var(--font-head);
  text-transform: uppercase;
}

.page-home .hero-lead {
  margin: 0 0 22px;
  max-width: 680px;
  line-height: 1.75;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.page-home .hero-poster {
  position: relative;
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  background: var(--bg-card);
  border: 1px solid var(--home-line);
}

.page-home .hero-poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-poster-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(11, 27, 61, 0.82);
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.page-home .hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.page-home .hero-dashboard {
  position: relative;
  padding: 22px;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  background:
    linear-gradient(135deg, var(--home-glow), transparent 45%),
    var(--bg-card);
  overflow: hidden;
}

.page-home .hero-dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(57, 255, 20, 0.04) 0,
    rgba(57, 255, 20, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
}

.page-home .dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .dash-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.page-home .live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  display: inline-block;
  animation: pageHomePulse 1.6s ease-in-out infinite;
}

.page-home .dash-round {
  color: var(--muted);
  font-size: 0.8rem;
  border: 1px solid rgba(168, 192, 224, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

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

.page-home .dash-stat {
  border-left: 2px solid var(--neon);
  padding: 10px 0 4px 12px;
  min-width: 0;
}

.page-home .dash-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text);
  line-height: 1.1;
  white-space: nowrap;
}

.page-home .dash-unit {
  color: var(--neon);
  font-size: 0.5em;
}

.page-home .dash-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.page-home .dash-chart {
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 10px;
  background: rgba(2, 6, 18, 0.28);
  padding: 10px;
  margin-bottom: 14px;
}

.page-home .dash-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .chart-grid line {
  stroke: rgba(168, 192, 224, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.page-home .chart-line {
  fill: none;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .chart-line-a {
  stroke: var(--neon);
}

.page-home .chart-line-b {
  stroke: var(--accent);
}

.page-home .chart-dot {
  fill: var(--neon);
}

.page-home .dash-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.page-home .dash-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
}

.page-home .hero-news {
  background: var(--bg-deep);
  border: 1px solid rgba(168, 192, 224, 0.16);
  border-radius: var(--home-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.page-home .news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-home .news-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.page-home .news-all {
  color: var(--neon);
  font-size: 0.8rem;
  text-decoration: none;
}

.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.9rem;
}

.page-home .news-item a {
  color: var(--text);
  text-decoration: none;
}

.page-home .news-item a:hover {
  color: var(--neon);
}

.page-home .news-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neon);
  color: var(--neon);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  text-decoration: none;
}

.page-home .quick-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 48px auto 0;
}

.page-home .quick-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(168, 192, 224, 0.14);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.4;
  overflow: hidden;
}

.page-home .quick-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--neon);
  transition: width 0.25s ease;
}

.page-home .quick-item:hover::after {
  width: 100%;
}

.page-home .quick-num {
  font-family: var(--font-head);
  color: var(--neon);
  font-weight: 800;
  font-size: 0.8rem;
  flex: 0 0 auto;
}

.page-home .quick-name {
  color: var(--text);
}

.page-home .home-data-band {
  position: relative;
  height: 200px;
  overflow: hidden;
  margin-top: 48px;
}

.page-home .home-data-band img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .section {
  scroll-margin-top: 90px;
}

.page-home .section-head {
  margin-bottom: 26px;
}

.page-home .overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

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

.page-home .overview-cell {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(168, 192, 224, 0.14);
  border-radius: 12px;
  padding: 18px 20px 20px;
}

.page-home .overview-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--neon);
  border-radius: 0 3px 3px 0;
}

.page-home .overview-cell:nth-child(2)::before {
  background: var(--accent);
}

.page-home .overview-cell:nth-child(3)::before {
  background: var(--neon);
}

.page-home .overview-cell:nth-child(4)::before {
  background: var(--gold);
}

.page-home .overview-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.6rem);
  color: var(--neon);
  line-height: 1.1;
}

.page-home .overview-cell:nth-child(2) .overview-num {
  color: var(--accent);
}

.page-home .overview-cell:nth-child(3) .overview-num {
  color: var(--text);
}

.page-home .overview-cell:nth-child(4) .overview-num {
  color: var(--gold);
}

.page-home .overview-plus {
  font-size: 0.55em;
  color: inherit;
}

.page-home .overview-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 0.94rem;
  color: var(--text);
}

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

.page-home .overview-note {
  background: var(--bg-deep);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  align-items: center;
}

.page-home .overview-note p {
  margin: 0;
  line-height: 1.8;
  color: var(--text);
  font-size: 0.92rem;
}

.page-home .winrate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .winrate-chart {
  background: var(--bg-card);
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: var(--home-radius);
  padding: 20px;
}

.page-home .chart-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .chart-top span:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
}

.page-home .chart-refresh {
  font-size: 0.76rem;
  color: var(--neon);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
}

.page-home .winrate-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .chart-axes line {
  stroke: rgba(168, 192, 224, 0.5);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.page-home .chart-series {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.page-home .chart-series-moba {
  stroke: var(--accent);
}

.page-home .chart-series-fps {
  stroke: var(--neon);
}

.page-home .chart-series-mobile {
  stroke: var(--gold);
}

.page-home .chart-labels {
  fill: var(--muted);
  font-size: 11px;
}

.page-home .chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.page-home .legend-item {
  font-size: 0.8rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .legend-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.page-home .legend-fps::before {
  background: var(--neon);
}

.page-home .legend-mobile::before {
  background: var(--gold);
}

.page-home .winrate-aside {
  background: var(--bg-deep);
  border: 1px solid rgba(168, 192, 224, 0.16);
  border-radius: var(--home-radius);
  padding: 22px;
}

.page-home .aside-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.page-home .aside-text {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

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

.page-home .aside-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

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

.page-home .archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

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

.page-home .archive-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(105deg, var(--bg-card), rgba(16, 38, 74, 0.6));
  border: 1px solid rgba(168, 192, 224, 0.14);
  border-radius: 12px;
  position: relative;
}

.page-home .archive-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--neon);
}

.page-home .ar-idx {
  font-family: var(--font-head);
  color: rgba(57, 255, 20, 0.3);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
}

.page-home .ar-body .tag {
  margin-bottom: 8px;
}

.page-home .ar-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .ar-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.page-home .ar-link {
  color: var(--neon);
  font-size: 0.82rem;
  text-decoration: none;
}

.page-home .archive-board {
  margin: 0;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  overflow: hidden;
  background: var(--bg-card);
}

.page-home .archive-board img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.page-home .archive-board figcaption {
  padding: 12px 16px;
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.page-home .upgrade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.page-home .upgrade-info {
  background: linear-gradient(180deg, rgba(123, 47, 247, 0.1), rgba(11, 27, 61, 0));
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 22px;
}

.page-home .upgrade-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.3;
}

.page-home .upgrade-text {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

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

.page-home .upgrade-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  line-height: 1.5;
  color: var(--text);
  font-size: 0.9rem;
}

.page-home .upgrade-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--neon);
  border-radius: 50%;
  transform: rotate(45deg);
  justify-self: start;
  margin-top: 3px;
}

.page-home .upgrade-visual {
  display: flex;
  justify-content: center;
}

.page-home .device-frame {
  width: 300px;
  max-width: 100%;
  background: #0d1f42;
  border: 1px solid rgba(168, 192, 224, 0.18);
  border-radius: 30px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.page-home .device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(168, 192, 224, 0.18);
  font-family: var(--font-head);
  color: var(--text);
  font-size: 0.9rem;
}

.page-home .device-fav {
  color: var(--gold);
  font-size: 1rem;
}

.page-home .device-nav {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.page-home .device-nav-item {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid transparent;
}

.page-home .device-nav-item.is-active {
  color: var(--neon);
  border-color: var(--neon);
}

.page-home .device-card {
  margin-top: 14px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(57, 255, 20, 0.16);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.page-home .device-card strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.page-home .member-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.page-home .member-hero {
  position: relative;
}

.page-home .member-img {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--home-line);
}

.page-home .member-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-home .member-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--gold), #ffe066);
  color: #081227;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.86rem;
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4);
}

.page-home .member-info {
  background: var(--bg-card);
  border: 1px solid rgba(168, 192, 224, 0.14);
  border-radius: var(--home-radius);
  padding: 24px;
}

.page-home .member-title {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-family: var(--font-head);
  line-height: 1.3;
}

.page-home .member-text {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.page-home .member-benefits {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .member-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-home .member-check {
  color: var(--neon);
  font-weight: 800;
  line-height: 1.4;
}

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

.page-home .feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .feedback-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(120deg, rgba(123, 47, 247, 0.15), transparent 60%), var(--bg-card);
  border: 1px solid var(--home-line);
  border-radius: 16px;
  padding: 24px;
}

.page-home .feedback-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--neon);
  color: #081227;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.page-home .feedback-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.page-home .feedback-text {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

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

.page-home .channel-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-deep);
  border: 1px solid rgba(168, 192, 224, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
}

.page-home .channel-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.page-home .channel-value {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.4;
  word-break: break-word;
}

@keyframes pageHomePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

@media (min-width: 600px) {
  .page-home .quick-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (min-width: 960px) {
  .page-home .home-hero {
    padding-top: 48px;
  }

  .page-home .hero-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 36px;
  }

  .page-home .hero-bottom {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 36px;
    margin-top: 36px;
  }

  .page-home .overview-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    align-items: stretch;
  }

  .page-home .overview-note {
    align-items: center;
  }

  .page-home .winrate-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    align-items: stretch;
  }

  .page-home .archive-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  }

  .page-home .upgrade-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .member-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-home .feedback-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .page-home .feedback-notice {
    align-items: center;
  }

  .page-home .quick-index {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-pulse {
    animation: none;
  }

  .page-home .quick-item::after {
    transition: none;
  }
}
