.page-home {
  --hero-bg-deep: #070c18;
  --hero-grid-line: rgba(155, 92, 255, 0.14);
  --hero-accent-ring: rgba(200, 255, 0, 0.28);
  --card-glow: rgba(155, 92, 255, 0.28);
  --section-gap: clamp(4rem, 8vw, 7rem);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  width: 100%;
  overflow-x: hidden;
}

.page-home .skip-link {
  display: inline-block;
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #0a0f1e;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}

.page-home .skip-link:focus {
  left: 0;
  color: #0a0f1e;
}

.page-home .container {
  max-width: var(--container-w, 1200px);
  margin-inline: auto;
  padding-inline: 1rem;
  width: 100%;
}

.page-home .section-kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .section-kicker::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent-2);
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  transform: skewX(-2deg);
  color: var(--text);
}

.page-home .section-lead {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 720px;
}

.page-home .badge,
.page-home .badge-hot,
.page-home .badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-heading);
}

.page-home .badge {
  background: rgba(122, 139, 168, 0.14);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.page-home .badge-hot {
  background: rgba(255, 176, 32, 0.12);
  color: var(--alert);
  border: 1px solid rgba(255, 176, 32, 0.35);
}

.page-home .badge-live {
  background: rgba(54, 245, 176, 0.1);
  color: var(--success);
  border: 1px solid rgba(54, 245, 176, 0.3);
}

.page-home .badge-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* Hero */
.page-home .home-hero {
  position: relative;
  min-height: min(680px, 88vh);
  display: flex;
  align-items: center;
  padding: clamp(5rem, 12vw, 7.5rem) 0 clamp(4rem, 10vw, 6rem);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-home .hero-bg-panel {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-panel-left {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 52% 0, 30% 100%, 0 100%);
  background: linear-gradient(130deg, #0d1425 0%, var(--bg) 82%);
}

.page-home .hero-panel-right {
  position: absolute;
  inset: 0;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 22% 100%);
  background: #0b1220;
}

.page-home .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  mix-blend-mode: screen;
}

.page-home .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.35) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.page-home .hero-copy {
  max-width: 620px;
}

.page-home .hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-weight: 600;
}

.page-home .hero-overline::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--accent-2);
}

.page-home .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.page-home .hero-title-mark {
  color: var(--accent-2);
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: middle;
  margin-inline-start: 0.35em;
  display: inline-block;
  transform: translateY(-0.2em);
  letter-spacing: 0.06em;
}

.page-home .hero-slogan {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.25rem;
  transform: skewX(-3deg);
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 6px;
  text-shadow: 0 0 32px rgba(200, 255, 0, 0.28);
}

.page-home .hero-desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 560px;
}

.page-home .hero-pulse-row {
  margin-top: 1.5rem;
}

.page-home .pulse-svg {
  width: min(280px, 70vw);
  height: auto;
  overflow: visible;
}

.page-home .hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.page-home .metric-card {
  background: rgba(18, 26, 48, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(6px);
}

.page-home .metric-card-32 {
  border-top: 3px solid var(--accent);
}

.page-home .metric-card-2h {
  border-top: 3px solid var(--accent-2);
}

.page-home .metric-card-12 {
  border-top: 3px solid var(--accent);
}

.page-home .metric-card-30 {
  border-top: 3px solid var(--accent-2);
}

.page-home .metric-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.page-home .metric-value {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.page-home .metric-value small {
  font-size: 0.85rem;
  color: var(--accent-2);
  font-weight: 600;
}

.page-home .metric-note {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.page-home .hero-scroll-hint {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  z-index: 5;
  padding: 8px 12px;
  background: rgba(18, 26, 48, 0.6);
  border-radius: 40px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .hero-scroll-hint:hover,
.page-home .hero-scroll-hint:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.page-home .scroll-hint-line {
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.page-home .scroll-hint-text {
  letter-spacing: 0.08em;
}

/* Match brief */
.page-home .home-brief {
  padding-top: var(--section-gap);
}

.page-home .section-block {
  padding-bottom: var(--section-gap);
}

.page-home .match-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: flex-start;
  position: relative;
}

.page-home .section-copy {
  flex: 1 1 300px;
  min-width: 260px;
}

.page-home .brief-img {
  flex: 0 1 360px;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .brief-score-list {
  flex: 1 1 300px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}

.page-home .score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(18, 26, 48, 0.6);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .score-row:hover {
  transform: translateX(4px);
  border-color: rgba(200, 255, 0, 0.4);
}

.page-home .score-team {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.page-home .score-num {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--accent);
  margin-inline: auto;
  font-size: 1.05rem;
}

.page-home .brief-more {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .btn-primary {
  background: var(--accent);
  color: #0a0f1e;
  border-color: var(--accent);
}

.page-home .btn-primary:hover,
.page-home .btn-primary:focus-visible {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(200, 255, 0, 0.2);
}

.page-home .btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.page-home .btn-secondary:hover,
.page-home .btn-secondary:focus-visible {
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow: 0 0 16px rgba(155, 92, 255, 0.18);
}

/* Platform index */
.page-home .platform-index {
  padding-top: 0.5rem;
}

.page-home .section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.page-home .section-side-note {
  color: var(--text-dim);
  font-size: 0.875rem;
  max-width: 280px;
  text-align: right;
}

.page-home .index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .index-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.page-home .index-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.page-home .index-card:hover,
.page-home .index-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), var(--card-glow);
  border-color: rgba(155, 92, 255, 0.6);
}

.page-home .index-card:hover::before,
.page-home .index-card:focus-visible::before {
  opacity: 1;
}

.page-home .index-card-app {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .index-card-pc {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 16px));
}

.page-home .index-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.1em;
}

.page-home .index-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.page-home .index-desc {
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.6;
}

.page-home .index-click {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .index-click i {
  font-style: normal;
  transition: transform 0.2s ease;
}

.page-home .index-card:hover .index-click i {
  transform: translateX(4px);
}

/* Transfer band */
.page-home .transfer-band-wrap {
  background: linear-gradient(180deg, var(--bg) 0%, #0d1425 100%);
  border-block: 1px solid var(--border);
}

.page-home .transfer-section {
  padding-top: var(--section-gap);
}

.page-home .transfer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.page-home .transfer-refresh-badge {
  display: inline-flex;
  align-items: center;
}

.page-home .transfer-body {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.page-home .transfer-thumb {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(155, 92, 255, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155, 92, 255, 0.24);
  overflow: hidden;
  min-height: 240px;
}

.page-home .transfer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 220px;
  border-radius: var(--radius-lg);
}

.page-home .transfer-timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-left: 2px solid var(--border);
  padding-left: 1.25rem;
  position: relative;
}

.page-home .transfer-timeline::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.page-home .transfer-item {
  background: rgba(18, 26, 48, 0.7);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-home .transfer-item:hover {
  background: rgba(155, 92, 255, 0.08);
  border-color: rgba(155, 92, 255, 0.35);
}

.page-home .transfer-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-home .transfer-time::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.page-home .transfer-title-sm {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.page-home .transfer-text {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.page-home .transfer-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(200, 255, 0, 0.08);
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.24);
}

.page-home .library-layout {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(280px, 4fr);
  gap: 2.5rem;
  align-items: center;
}

.page-home .library-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .library-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.page-home .library-chart-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-home .chart-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  align-items: end;
  height: 110px;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 26px, rgba(42, 53, 80, 0.3) 26px, rgba(42, 53, 80, 0.3) 27px);
  padding-block: 4px;
  border-radius: 4px;
}

.page-home .chart-bar {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  width: 100%;
  border-radius: 2px 2px 0 0;
  min-height: 8px;
}

.page-home .bar-1 { height: 42%; opacity: 0.65; }
.page-home .bar-2 { height: 68%; opacity: 0.75; }
.page-home .bar-3 { height: 35%; opacity: 0.65; }
.page-home .bar-4 { height: 82%; opacity: 0.8; }
.page-home .bar-5 { height: 56%; opacity: 0.7; }
.page-home .bar-6 { height: 91%; opacity: 0.9; }
.page-home .bar-7 { height: 48%; opacity: 0.65; }
.page-home .bar-8 { height: 73%; opacity: 0.8; }
.page-home .bar-9 { height: 62%; opacity: 0.7; }
.page-home .bar-10 { height: 88%; opacity: 0.85; }

.page-home .chart-foot {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.page-home .library-img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.page-home .library-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

.page-home .library-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.5rem 0 1rem;
}

.page-home .library-feature-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .library-feature-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  transform: translateY(8px);
  margin-top: 2px;
}

.page-home .why-header {
  margin-bottom: 2rem;
}

.page-home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.page-home .why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .why-card:hover {
  border-color: rgba(200, 255, 0, 0.4);
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.06);
}

.page-home .why-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.page-home .why-card:nth-child(even) .why-num {
  color: var(--accent-2);
}

.page-home .why-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.page-home .why-card-text {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.page-home .home-catalog-links {
  padding-bottom: var(--section-gap);
}

.page-home .catalog-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.page-home .catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 40px;
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.page-home .catalog-link:hover,
.page-home .catalog-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.12);
}

.page-home .home-catalog-links .section-heading-row {
  margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .page-home .home-hero {
    padding-inline: clamp(2rem, 6vw, 0rem);
  }
}

@media (max-width: 1023px) {
  .page-home .hero-panel-left {
    clip-path: polygon(0 0, 70% 0, 45% 100%, 0 100%);
  }
  .page-home .hero-panel-right {
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 45% 100%);
  }
  .page-home .library-layout {
    grid-template-columns: 1fr;
  }
  .page-home .library-img {
    max-height: 300px;
  }
  .page-home .transfer-thumb {
    flex-basis: 180px;
  }
}

@media (max-width: 640px) {
  .page-home .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .page-home .index-grid {
    grid-template-columns: 1fr;
  }
  .page-home .why-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-home .transfer-body {
    flex-direction: column;
    gap: 1rem;
  }
  .page-home .transfer-thumb {
    flex: 0 0 auto;
    min-height: auto;
    max-height: none;
  }
  .page-home .transfer-img {
    max-width: 120px;
    height: auto;
  }
  .page-home .match-brief {
    flex-direction: column;
  }
  .page-home .brief-img {
    width: 100%;
    aspect-ratio: 16/10;
  }
  .page-home .brief-score-list {
    border-left: none;
    border-top: 2px solid var(--border);
    padding-left: 0;
    padding-top: 0.8rem;
  }
  .page-home .score-team {
    font-size: 0.8rem;
  }
  .page-home .hero-scroll-hint {
    right: 1rem;
  }
  .page-home .section-side-note {
    text-align: left;
  }
  .page-home .catalog-links-row {
    gap: 8px;
  }
  .page-home .catalog-link {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .page-home .why-num {
    font-size: 1.6rem;
  }
}
