﻿:root {
  --bg: #08090c;
  --panel: #0f1218;
  --panel-2: #131720;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #e9edf3;
  --muted: #8b94a3;
  --orange: #ff7a1a;
  --green: #4ade80;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.frame {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.mono-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(8, 9, 12, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.topbar.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 12, 0.92);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.35);
}

.brand-text {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-tag {
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 28px;
  font-size: 0.84rem;
  color: var(--muted);
}

.topnav a {
  transition: color 0.2s ease;
}

.topnav a:hover {
  color: var(--text);
}

.topbar-cta:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 122, 26, 0.5);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffb27a;
  transition: background 0.2s ease, color 0.2s ease;
}

.topbar-cta:not([hidden]):hover {
  background: var(--orange);
  color: #1a0d05;
}

/* Hero */
.hero {
  position: relative;
  padding: 142px 0 92px;
  background:
    radial-gradient(52% 46% at 86% 12%, rgba(255, 122, 26, 0.16), transparent 68%),
    radial-gradient(40% 40% at 6% 78%, rgba(255, 122, 26, 0.05), transparent 70%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin: 20px 0 22px;
  font-size: clamp(2.5rem, 5.1vw, 4.2rem);
  line-height: 1.08;
  font-weight: 900;
}

.hot {
  color: var(--orange);
  text-shadow: 0 0 34px rgba(255, 122, 26, 0.35);
}

.lede {
  max-width: 32em;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-specs span {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.hero-specs strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 0.94rem;
}

.hero-specs p {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffb27a;
  transition: gap 0.2s ease, color 0.2s ease;
}

.hero-link:hover {
  gap: 16px;
  color: var(--text);
}

/* Bento */
.hero-bento {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  min-height: 492px;
}

.panel {
  position: relative;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.panel-player {
  grid-column: 1;
  grid-row: 1 / span 3;
  padding: 0;
  min-height: 480px;
}

.panel-player img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.player-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 26%, transparent 52%, rgba(0, 0, 0, 0.9));
}

.player-chip {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.player-bottom {
  margin-top: auto;
}

.player-bottom p {
  font-size: 1rem;
  font-weight: 700;
}

.player-track {
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.player-track span {
  display: block;
  width: 46%;
  height: 100%;
  background: var(--orange);
}

.panel-queue {
  grid-column: 2;
  grid-row: 1;
}

.panel-cache {
  grid-column: 2;
  grid-row: 2;
}

.panel-speed {
  grid-column: 2;
  grid-row: 3;
}

.panel-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.panel-queue ul {
  margin-top: 10px;
}

.panel-queue li {
  position: relative;
  padding: 6px 0 9px;
}

.panel-queue li span {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-queue li em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--muted);
}

.bar {
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: var(--orange);
}

.b1::after { width: 62%; }
.b2::after { width: 34%; }
.b3::after { width: 18%; }

.big-num {
  margin-top: 2px;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.big-num span {
  margin-left: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
}

.panel-note {
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Matrix */
.matrix {
  padding: 92px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.section-note {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 42em;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.cell {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.cell:hover {
  border-color: rgba(255, 122, 26, 0.42);
  background: var(--panel-2);
  transform: translateY(-3px);
}

.cell-wide {
  grid-column: span 6;
}

.cell-no {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.cell h3 {
  margin: 12px 0 8px;
  font-size: 1.16rem;
}

.cell p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.8;
}

.cell-tag {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Schedule */
.schedule {
  padding: 92px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.schedule-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.schedule-figure {
  margin-top: 28px;
}

.schedule-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.schedule-figure figcaption {
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--muted);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table caption {
  padding-bottom: 14px;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.schedule-table th,
.schedule-table td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.88rem;
  vertical-align: middle;
}

.schedule-table thead th {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
}

.schedule-table tbody th {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
}

.schedule-table td {
  color: #c8cfda;
}

.schedule-table tbody tr {
  transition: background 0.2s ease;
}

.schedule-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.schedule-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}

.schedule-foot p {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Tools */
.tools {
  padding: 92px 0;
}

.tool-rows {
  display: grid;
  gap: 14px;
}

.tool-row {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 30px;
  align-items: center;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.25s ease;
}

.tool-row:hover {
  border-color: rgba(255, 122, 26, 0.35);
}

.tool-thumb img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}

.tool-copy h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
}

.tool-copy p {
  max-width: 52em;
  font-size: 0.9rem;
  color: var(--muted);
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tool-tags li {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  padding: 92px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.faq-grid h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  font-size: 0.96rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin-top: 10px;
  max-width: 48em;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.85;
}

/* Download */
.download {
  position: relative;
  padding: 96px 0 92px;
  background:
    radial-gradient(46% 60% at 86% 18%, rgba(255, 122, 26, 0.16), transparent 68%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.download-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 52px;
  align-items: start;
}

.download-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.download-copy > p {
  max-width: 26em;
  font-size: 0.92rem;
  color: var(--muted);
}

.download-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.download-note p {
  font-size: 0.74rem;
  color: var(--muted);
}

.channel-list {
  display: grid;
  gap: 12px;
}

.channel-row:not([hidden]) {
  display: grid;
  grid-template-columns: 92px 1fr 30px;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.channel-row:not([hidden]):hover {
  border-color: var(--orange);
  background: var(--panel-2);
  transform: translateX(4px);
}

.channel-key {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.channel-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.channel-main strong {
  font-size: 1rem;
}

.channel-main small {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
}

.channel-go {
  justify-self: end;
  color: var(--orange);
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.channel-row:not([hidden]):hover .channel-go {
  transform: translateX(3px);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.footer-brand span {
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-brand em {
  font-style: normal;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 22px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
}

/* Entrance */
@keyframes boot {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > *,
.hero-bento {
  animation: boot 0.8s ease both;
}

.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-copy > :nth-child(5) { animation-delay: 0.24s; }

.hero-bento {
  animation-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy > *,
  .hero-bento,
  .live-dot {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-bento {
    max-width: 620px;
    min-height: 460px;
  }

  .schedule-grid,
  .download-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .schedule-figure img {
    height: 340px;
  }

  .tool-row {
    grid-template-columns: 200px 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .topnav {
    gap: 18px;
  }

  .brand-tag {
    display: none;
  }

  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cell,
  .cell-wide {
    grid-column: span 1;
  }

  .cell {
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .topnav {
    display: none;
  }

  .hero {
    padding: 118px 0 68px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 9.5vw, 2.9rem);
  }

  .hero-specs {
    gap: 10px;
  }

  .hero-specs p {
    display: none;
  }

  .hero-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .panel-player {
    grid-column: 1;
    grid-row: auto;
    min-height: 430px;
  }

  .panel-queue,
  .panel-cache,
  .panel-speed {
    grid-column: 1;
    grid-row: auto;
  }

  .panel-queue li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 7px 0;
  }

  .panel-queue li .bar {
    grid-column: 1 / -1;
  }

  .matrix,
  .schedule,
  .tools,
  .faq,
  .download {
    padding-top: 68px;
    padding-bottom: 64px;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .cell {
    min-height: 0;
    padding: 22px;
  }

  .tool-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tool-thumb img {
    height: 210px;
  }

  .channel-row:not([hidden]) {
    grid-template-columns: 1fr 26px;
    gap: 10px 14px;
    padding: 18px 18px;
  }

  .channel-key {
    grid-column: 1;
  }

  .channel-main {
    grid-column: 1;
    grid-row: 2;
  }

  .channel-go {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 12px 6px;
    font-size: 0.8rem;
  }

  .schedule-table thead th:nth-child(3),
  .schedule-table tbody td:nth-child(3) {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-brand em {
    display: none;
  }
}

@media (max-width: 430px) {
  .frame {
    width: calc(100% - 32px);
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .topbar-cta:not([hidden]) {
    height: 32px;
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .hero-specs strong {
    font-size: 0.84rem;
  }

  .panel-player {
    min-height: 380px;
  }
}
