/* Qazauen 官网（docs/ktv/WEBSITE.md）。深紫底 + logo 的粉紫渐变，和电视界面一套风格；从右往左（托特文）用逻辑属性。 */
@font-face {
  font-family: 'KerwenTor';
  src: url('/assets/fonts/kerwen_tor.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg: #0e0620;
  --bg-2: #150a2e;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f1ff;
  --muted: #b8acd6;
  --faint: #8a7fae;
  --pink: #ff4fa3;
  --violet: #a855f7;
  --indigo: #6366f1;
  --grad: linear-gradient(100deg, #ff4fa3 0%, #c04df0 48%, #7a5cff 100%);
  --radius: 18px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[dir='rtl'] body,
html[lang='kk-Arab'] body {
  font-family: 'KerwenTor', var(--font);
  font-size: 17px;
  line-height: 1.9;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}
.ic {
  width: 20px;
  height: 20px;
  flex: none;
}
[dir='rtl'] .ic.flip {
  transform: scaleX(-1);
}
.skip {
  position: absolute;
  inset-inline-start: -999px;
}
.skip:focus {
  inset-inline-start: 16px;
  top: 12px;
  z-index: 100;
  padding: 8px 14px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible,
.nav a:focus-visible,
.lang summary:focus-visible,
.burger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 79, 163, 0.65);
}
.btn-grad:hover {
  box-shadow: 0 14px 36px -10px rgba(255, 79, 163, 0.8);
}
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 6, 32, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand img {
  height: 34px;
  width: auto;
}
.nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 550;
  font-size: 15px;
}
.nav a:hover {
  color: var(--text);
  background: var(--surface);
}
/* 宽屏：右边有「联系我们」按钮，导航里同名的那一项不重复显示 */
@media (min-width: 1241px) {
  .nav .nav-contact {
    display: none;
  }
}
/* 中等宽度（导航还没收进菜单）：哈萨克语 / 俄语六个链接放不下 → 链接紧一点、不折行，顶栏右边的「联系我们」按钮先藏（导航里有「联系我们」） */
@media (max-width: 1240px) {
  .nav a {
    padding: 8px 9px;
    font-size: 14px;
    white-space: nowrap;
  }
  .top-in {
    gap: 16px;
  }
  .top-act .btn-grad {
    display: none;
  }
}
.top-act {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  position: relative;
}
.lang summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang[open] summary,
.lang summary:hover {
  color: var(--text);
  background: var(--surface);
}
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  background: #1c1038;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6);
  display: grid;
}
.lang-menu a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 15px;
}
.lang-menu a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.lang-menu a[aria-current] {
  color: var(--text);
  font-weight: 650;
}
.lang-menu a[lang='kk-Arab'] {
  font-family: 'KerwenTor', var(--font);
}
/* 和语言按钮一样的圆钮（用户 10-06：「一个是圆，另一个是正方形，能统一吗」） */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  cursor: pointer;
  place-items: center;
}
.burger:hover,
.burger[aria-expanded='true'] {
  color: var(--text);
  background: var(--surface);
}

/* ---------- 首屏：舞台灯光 + 卡拉 OK 标题 + 均衡器（不用设备样机，和 OrikTV 区分开） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 170px;
  text-align: center;
  isolation: isolate;
}
.stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.haze {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(176, 36, 154, 0.38), transparent 70%),
    radial-gradient(40% 50% at 15% 30%, rgba(76, 43, 212, 0.3), transparent 70%),
    radial-gradient(40% 50% at 85% 30%, rgba(122, 92, 255, 0.28), transparent 70%);
}
.beam {
  position: absolute;
  top: -12%;
  width: 260px;
  height: 125%;
  transform-origin: 50% 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(10px);
  opacity: 0.55;
  animation: sway 9s ease-in-out infinite alternate;
}
.b1 {
  left: 14%;
  background: linear-gradient(to bottom, rgba(255, 79, 163, 0.55), rgba(255, 79, 163, 0) 78%);
  --from: -14deg;
  --to: 10deg;
}
.b2 {
  right: 14%;
  background: linear-gradient(to bottom, rgba(140, 110, 255, 0.55), rgba(140, 110, 255, 0) 78%);
  --from: 12deg;
  --to: -9deg;
  animation-duration: 11s;
  animation-delay: -4s;
}
@keyframes sway {
  from {
    transform: rotate(var(--from));
  }
  to {
    transform: rotate(var(--to));
  }
}
.hero-in {
  position: relative;
  display: grid;
  justify-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 79, 163, 0.12);
  border: 1px solid rgba(255, 79, 163, 0.32);
  color: #ffc2de;
  font-size: 14px;
  font-weight: 600;
}
.eyebrow .ic {
  width: 17px;
  height: 17px;
}
/* 标题 = 一行卡拉 OK 歌词：词（中文是字）一个个被唱亮；托特文从右往左 */
.karaoke {
  max-width: 15ch;
  font-size: clamp(40px, 6.6vw, 82px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 8px 36px rgba(255, 79, 163, 0.28));
}
html[lang='zh-Hans'] .karaoke {
  max-width: 12em;
  letter-spacing: 0;
}
[dir='rtl'] .karaoke {
  line-height: 1.5;
  letter-spacing: 0;
}
.kw {
  display: inline-block;
  background-image: linear-gradient(90deg, #ff6bb8 0%, #c06bff 50%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0.24) 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sing 0.5s ease-out forwards;
  animation-delay: calc(var(--i) * 0.3s + 0.35s);
}
[dir='rtl'] .kw {
  background-image: linear-gradient(270deg, #ff6bb8 0%, #c06bff 50%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0.24) 100%);
  background-position: 0 0;
  animation-name: sing-rtl;
}
@keyframes sing {
  to {
    background-position: 0 0;
  }
}
@keyframes sing-rtl {
  to {
    background-position: 100% 0;
  }
}
.lead {
  margin: 26px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
/* 手机扫码 → 电视点歌机 → 前台控制台：一条信号线连起来 */
.flow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.flow-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 15px;
  white-space: nowrap;
}
[dir='rtl'] .flow-card {
  padding: 14px 14px 14px 20px;
}
.flow-card + .flow-card {
  margin-inline-start: 72px;
}
.flow-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
}
.flow-ic .ic {
  width: 22px;
  height: 22px;
}
.flow-link {
  position: absolute;
  inset-inline-end: 100%;
  top: 50%;
  width: 72px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 6px, transparent 6px 11px);
}
.flow-link i {
  position: absolute;
  top: -3px;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8fca;
  box-shadow: 0 0 12px 3px rgba(255, 79, 163, 0.7);
  animation: signal 1.8s linear infinite;
}
[dir='rtl'] .flow-link i {
  animation-name: signal-rtl;
}
@keyframes signal {
  from {
    transform: translateX(0);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  to {
    transform: translateX(64px);
    opacity: 0;
  }
}
@keyframes signal-rtl {
  from {
    transform: translateX(0);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  to {
    transform: translateX(-64px);
    opacity: 0;
  }
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}
.badges li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.badges .ic,
.ticks .ic {
  color: var(--pink);
  width: 18px;
  height: 18px;
}
/* 底部均衡器 */
.eq {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 0 8px;
  opacity: 0.5;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent), linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, #000 10%, transparent), linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-composite: intersect;
}
.eq i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, #ff4fa3, #8b5cf6);
  transform-origin: 50% 100%;
  animation: bounce var(--d) ease-in-out infinite alternate;
  animation-delay: var(--o);
}
@keyframes bounce {
  from {
    transform: scaleY(0.22);
  }
  to {
    transform: scaleY(1);
  }
}
.shot-placeholder {
  background: radial-gradient(120% 90% at 20% 10%, rgba(255, 79, 163, 0.35), transparent 60%),
    radial-gradient(100% 80% at 90% 90%, rgba(99, 102, 241, 0.4), transparent 60%), #1a0f35;
}

/* ---------- 版块 ---------- */
.sec {
  padding: 96px 0;
}
.sec.alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}
.sec-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.sec h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
}
.sec-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 产品 */
.products {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}
.product {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product.main {
  background: linear-gradient(160deg, rgba(255, 79, 163, 0.16), rgba(122, 92, 255, 0.1) 60%, rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 79, 163, 0.35);
}
.product h3 {
  font-size: 22px;
}
.product p {
  color: var(--muted);
}
.tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.tag.soon {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.ticks {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15px;
}
.ticks .ic {
  margin-top: 3px;
}

/* ---------- 场景插画：包房里大家在用 Qazauen 唱歌（首屏下面，往上压住均衡器） ---------- */
.scene-sec {
  position: relative;
  z-index: 1;
  margin-top: -110px;
  padding-bottom: 24px;
}
.scene {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 120px -40px rgba(176, 36, 154, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.scene-svg {
  display: block;
  width: 100%;
  height: auto;
}
.sc-beam-l,
.sc-beam-r {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: sc-sway 8s ease-in-out infinite alternate;
}
.sc-beam-r {
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}
@keyframes sc-sway {
  from {
    transform: rotate(-7deg);
  }
  to {
    transform: rotate(7deg);
  }
}
.sc-disco {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: sc-spin 6s linear infinite;
}
@keyframes sc-spin {
  to {
    transform: rotate(360deg);
  }
}
.sc-sparkle circle,
.sc-notes text {
  animation: sc-twinkle 2.4s ease-in-out infinite;
}
.sc-sparkle circle:nth-child(2n),
.sc-notes text:nth-child(2n) {
  animation-delay: -1.2s;
}
@keyframes sc-twinkle {
  50% {
    opacity: 0.2;
    transform: translateY(-6px);
  }
}
.sc-p1,
.sc-p2 {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sc-bob 1.6s ease-in-out infinite;
}
.sc-p2 {
  animation-delay: -0.8s;
}
@keyframes sc-bob {
  50% {
    transform: translateY(-5px) rotate(1.2deg);
  }
}
.sc-glowphone {
  animation: sc-pulse 1.8s ease-in-out infinite;
}
@keyframes sc-pulse {
  50% {
    opacity: 0.55;
  }
}
.scene-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(14, 6, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
[dir='rtl'] .scene-note {
  padding: 8px 10px 8px 14px;
}
.scene-note i {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6bb8;
  box-shadow: 0 0 10px 2px rgba(255, 79, 163, 0.8);
}
.scene-note i::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 184, 0.7);
  animation: sc-ring 1.8s ease-out infinite;
}
@keyframes sc-ring {
  from {
    transform: scale(0.4);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
/* 插画是图，不跟着从右往左镜像：气泡位置用 left / top */
.scene-note.n1 {
  left: 28%;
  top: 60%;
}
.scene-note.n2 {
  left: 66%;
  top: 9%;
}
.scene-note.n3 {
  left: 4%;
  top: 33%;
}

/* ---------- 一整晚的流程：圆圈一上一下沿着一条发光的线，信号点沿线跑 ---------- */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  height: 470px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.j-track {
  position: absolute;
  inset-inline: 2%;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 79, 163, 0.15), rgba(255, 79, 163, 0.65), rgba(122, 92, 255, 0.65), rgba(122, 92, 255, 0.15));
}
.j-track i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff9fd0;
  box-shadow: 0 0 14px 4px rgba(255, 79, 163, 0.75);
  animation: j-run 6s linear infinite;
}
.j-track i:nth-child(2) {
  animation-delay: -2s;
}
.j-track i:nth-child(3) {
  animation-delay: -4s;
}
@keyframes j-run {
  from {
    left: 0;
    opacity: 0;
  }
  8%,
  92% {
    opacity: 1;
  }
  to {
    left: 100%;
    opacity: 0;
  }
}
[dir='rtl'] .j-track i {
  animation-name: j-run-rtl;
}
@keyframes j-run-rtl {
  from {
    left: 100%;
    opacity: 0;
  }
  8%,
  92% {
    opacity: 1;
  }
  to {
    left: 0;
    opacity: 0;
  }
}
.j-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.j-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ff7cc4, #a855f7 55%, #6d4bff);
  box-shadow: 0 0 0 6px rgba(14, 6, 32, 0.9), 0 0 0 7px rgba(255, 255, 255, 0.14), 0 14px 34px -8px rgba(255, 79, 163, 0.7);
  z-index: 1;
  animation: j-pop 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.6s);
}
[dir='rtl'] .j-dot {
  animation-delay: calc((8 - var(--i)) * 0.6s);
}
@keyframes j-pop {
  0%,
  86%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  92% {
    transform: translate(-50%, -50%) scale(1.14);
  }
}
.j-dot .ic {
  width: 28px;
  height: 28px;
  color: #fff;
}
.j-dot em {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #2a0f4f;
  font: 800 12px/1 var(--font);
  font-style: normal;
}
.j-txt {
  position: absolute;
  left: 50%;
  /* 中等宽度时九列很窄：最多比这一列宽 28px，两头的不伸出页面 */
  width: min(168px, calc(100% + 28px));
  transform: translateX(-50%);
  display: grid;
  gap: 6px;
  text-align: center;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.j-txt::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 0;
  height: 34px;
  border-left: 2px dashed rgba(255, 255, 255, 0.25);
}
.j-step.up .j-txt {
  bottom: calc(50% + 70px);
}
.j-step.up .j-txt::before {
  top: 100%;
}
.j-step.down .j-txt {
  top: calc(50% + 70px);
}
.j-step.down .j-txt::before {
  bottom: 100%;
}
.j-txt b {
  font-size: 15.5px;
  line-height: 1.3;
}
.j-txt small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* 实际界面：截图装在设备框里，左右交替 */
.shows {
  display: grid;
  gap: 88px;
}
.show {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.show.flip-row .show-art {
  order: 2;
}
.show-art {
  display: grid;
  place-items: center;
}
.show-copy {
  display: grid;
  gap: 14px;
  max-width: 460px;
}
.show-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad);
  box-shadow: 0 12px 30px -12px rgba(255, 79, 163, 0.7);
}
.show-ic .ic {
  width: 26px;
  height: 26px;
}
.show h3 {
  font-size: 30px;
  font-weight: 800;
}
.show p {
  color: var(--muted);
  font-size: 17px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
}
.screen {
  position: relative;
  overflow: hidden;
  background: #0b0618;
}
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.shot-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  background: radial-gradient(120% 90% at 20% 10%, rgba(255, 79, 163, 0.35), transparent 60%),
    radial-gradient(100% 80% at 90% 90%, rgba(99, 102, 241, 0.4), transparent 60%), #1a0f35;
}
.shot-placeholder .ic {
  width: 56px;
  height: 56px;
}
.frame-tv {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(160deg, #2a1b4f, #120a26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -30px rgba(160, 40, 220, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}
.frame-tv .screen {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
.frame-tv .stand {
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: 32%;
  height: 24px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #23163f, #0f0820);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.frame-phone {
  width: min(300px, 70%);
  padding: 9px;
  border-radius: 40px;
  background: #0b0618;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px -24px rgba(122, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.frame-phone .screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
}
/* 员工端：三页（任务 / 包房 / 我的）左右滑动、自动轮播；下面的胶囊标签点了直接切，当前那页有一条走动的进度线 */
.phone-carousel {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
}
.phone-carousel .slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.phone-carousel .slides::-webkit-scrollbar {
  display: none;
}
.phone-carousel .slides img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.slide-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.slide-tabs button {
  position: relative;
  overflow: hidden;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.slide-tabs button:hover {
  color: #fff;
}
.slide-tabs button.on {
  color: #fff;
  background: var(--grad);
}
.slide-tabs button.on::after {
  content: '';
  position: absolute;
  inset-inline: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: left;
  transform: scaleX(0);
}
[dir='rtl'] .slide-tabs button.on::after {
  transform-origin: right;
}
.phone-carousel.playing .slide-tabs button.on::after {
  animation: slide-progress var(--slide-ms, 4200ms) linear forwards;
}
.phone-carousel.paused .slide-tabs button.on::after {
  animation-play-state: paused;
}
@keyframes slide-progress {
  to {
    transform: scaleX(1);
  }
}

.frame-browser {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #160c2e;
  box-shadow: 0 40px 90px -36px rgba(122, 92, 255, 0.6);
}
.frame-browser .bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
}
.frame-browser .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.frame-browser .bar i:first-child {
  background: #ff5f6d;
}
.frame-browser .bar span {
  margin-inline-start: 12px;
  font-size: 13px;
  color: var(--faint);
}
.frame-browser .screen {
  aspect-ratio: 1920 / 970;
}

/* 大号连线卡片（曲库同步、三步开业）：沿用首屏那条跑信号点的线 */
.flow-lg {
  margin-top: 8px;
  align-items: stretch;
}
.flow-lg .flow-card {
  flex: 1 1 0;
  max-width: 340px;
  align-items: flex-start;
  padding: 22px;
  gap: 16px;
  white-space: normal;
  border-radius: 20px;
}
.flow-lg .flow-card + .flow-card {
  margin-inline-start: 64px;
}
.flow-lg .flow-link {
  width: 64px;
}
.flow-lg .flow-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex: none;
}
.flow-lg .flow-ic .ic {
  width: 26px;
  height: 26px;
}
.num-ic {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font);
}
.flow-txt {
  display: grid;
  gap: 6px;
  text-align: start;
}
.flow-txt b {
  font-size: 18px;
}
.flow-txt small {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.feature-chips {
  margin-top: 72px;
  text-align: center;
}
.feature-chips h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 650;
}
.feature-chips ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
}
[dir='rtl'] .feature-chips li {
  padding: 10px 12px 10px 18px;
}
.feature-chips .ic {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(255, 79, 163, 0.25), rgba(122, 92, 255, 0.25));
  color: #ffd1e8;
}

/* 优势 */
.advs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv {
  padding: 26px;
}
.num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  font-family: var(--font);
}
.adv h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.adv p {
  color: var(--muted);
  font-size: 15px;
}
.how-title {
  text-align: center;
  margin: 88px 0 36px;
}

/* 关于我们 + 联系我们（合成一块，用户 10-06：「两个要不要整合一下」） */
.reach {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  padding: 48px;
  background: linear-gradient(140deg, rgba(255, 79, 163, 0.14), rgba(122, 92, 255, 0.12) 55%, rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.14);
}
.reach-about {
  display: grid;
  align-content: start;
  gap: 14px;
}
.about-k {
  color: var(--pink);
  font-weight: 700;
  font-size: 15px;
}
.reach h2 {
  font-size: clamp(30px, 3.6vw, 42px);
}
.about-text {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 16.5px;
}
.reach-cta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.reach-cta h3 {
  font-size: 22px;
}
.reach-cta p {
  color: var(--muted);
}
.reach-cta .btn {
  justify-self: start;
  margin-top: 6px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.contact-list li {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(10, 4, 24, 0.45);
  border: 1px solid var(--line);
  min-width: 0;
}
.contact-list li.wide {
  grid-column: 1 / -1;
}
.contact-list .ic {
  color: var(--pink);
  margin-top: 3px;
}
.contact-list div {
  display: grid;
  min-width: 0;
}
.contact-list span {
  color: var(--faint);
  font-size: 13px;
}
.contact-list a,
.contact-list b {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-list a:hover {
  color: #ffb3d6;
}

/* 页脚 */
.foot {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--faint);
  font-size: 14px;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.foot img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

/* 404 */
.nf main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  text-align: center;
}
.nf h1 {
  font-size: 72px;
}

/* ---------- 窄屏 ---------- */

@media (max-width: 960px) {
  .reach,
  .show {
    grid-template-columns: 1fr;
  }
  .scene-sec {
    margin-top: -80px;
  }
  .scene {
    border-radius: 18px;
  }
  .scene-note {
    font-size: 12px;
    padding: 5px 10px 5px 8px;
  }
  .journey {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    height: auto;
    padding-inline-start: 0;
  }
  .j-track {
    inset-inline: auto;
    inset-inline-start: 32px;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    transform: none;
    background: linear-gradient(180deg, rgba(255, 79, 163, 0.65), rgba(122, 92, 255, 0.65));
  }
  .j-track i,
  [dir='rtl'] .j-track i {
    left: -4px;
    animation-name: j-run-down;
  }
  .j-step {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    min-height: 80px;
  }
  .j-dot,
  [dir='rtl'] .j-dot {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex: none;
    width: 64px;
    height: 64px;
    animation: none;
  }
  .j-txt,
  .j-step.up .j-txt,
  .j-step.down .j-txt {
    position: static;
    width: auto;
    flex: 1;
    transform: none;
    text-align: start;
  }
  .j-txt::before {
    display: none;
  }
  .show {
    gap: 32px;
  }
  .show.flip-row .show-art {
    order: 0;
  }
  .flow-lg .flow-card {
    max-width: 420px;
    width: 100%;
  }
  .flow-lg .flow-card + .flow-card {
    margin-inline-start: 0;
    margin-top: 44px;
  }
  .flow-lg .flow-link {
    width: 2px;
    height: 44px;
  }
  .hero {
    padding: 56px 0 140px;
  }
  .flow {
    flex-direction: column;
    align-items: center;
  }
  .flow-card + .flow-card {
    margin-inline-start: 0;
    margin-top: 40px;
  }
  .flow-link {
    inset-inline-end: auto;
    left: 50%;
    top: auto;
    bottom: 100%;
    width: 2px;
    height: 40px;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0 6px, transparent 6px 11px);
  }
  /* 竖线上的点:8px 的点压在 2px 的线中间。托特文时基础样式的 inset-inline-start 变成 right,要清掉,不然点偏左(用户 10-06) */
  .flow-link i,
  [dir='rtl'] .flow-link i {
    left: -3px;
    right: auto;
    animation-name: signal-down;
  }
  .beam {
    width: 160px;
  }
  .products,
  .advs {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(14, 6, 32, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 14px 8px;
    font-size: 17px;
  }
  .burger {
    display: grid;
  }
  /* 导航收起来以后没人把右边的按钮顶过去了 → 自己靠右 */
  .top-act {
    margin-inline-start: auto;
  }
  .hide-sm {
    display: none;
  }
}
@media (max-width: 640px) {
  .sec {
    padding: 64px 0;
  }
  .reach {
    padding: 26px;
  }
  .show h3 {
    font-size: 24px;
  }
  .contact-list {
    grid-template-columns: 1fr;
  }
  .lang summary span {
    display: none;
  }
  /* 只剩地球图标：和菜单按钮一样的 40×40 圆 */
  .lang summary {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .lead {
    font-size: 17px;
  }
  /* 插画在手机上太小，标注气泡会挤在一起 → 不显示 */
  .scene-note {
    display: none;
  }
}
@media (max-width: 420px) {
  .cta .btn {
    flex: 1 1 100%;
  }
}
@keyframes j-run-down {
  from {
    top: 0;
    opacity: 0;
  }
  8%,
  92% {
    opacity: 1;
  }
  to {
    top: 100%;
    opacity: 0;
  }
}
@keyframes signal-down {
  from {
    transform: translateY(0);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  to {
    transform: translateY(32px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
  .beam,
  .eq i,
  .flow-link i,
  .j-track i,
  .j-dot,
  .scene-svg *,
  .scene-note i::after {
    animation: none !important;
  }
  .kw {
    animation: none;
    background-position: 0 0;
  }
  [dir='rtl'] .kw {
    background-position: 100% 0;
  }
}

/* 包房游戏（docs/ktv/GAMES.md）：左边七张彩色卡片（颜色同电视游戏大厅），右边手机框轮播大话骰两张截图 */
.games-sec {
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(255, 79, 163, 0.14), transparent 70%),
    radial-gradient(50% 60% at 90% 80%, rgba(122, 92, 255, 0.16), transparent 70%);
}
.games {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.g-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
/* 两款手机一起玩的大卡片一行两张；五款电视上的小卡片三张 + 两张 */
.g-tile {
  grid-column: span 2;
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 150px;
  padding: 18px 16px;
  border-radius: 20px;
  background: var(--g);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.g-tile::after {
  content: '';
  position: absolute;
  inset: auto -30% -55% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
[dir='rtl'] .g-tile::after {
  inset: auto auto -55% -30%;
}
.g-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.g-tile.big {
  grid-column: span 3;
  min-height: 186px;
}
.g-tile:nth-last-child(-n + 2) {
  grid-column: span 3;
}
.g-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
}
.g-ic .ic {
  width: 26px;
  height: 26px;
}
.g-tile b {
  font-size: 18px;
  line-height: 1.3;
}
.g-tile.big b {
  font-size: 21px;
}
.g-tile small {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.g-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 6, 40, 0.35);
  font-size: 12px;
  white-space: nowrap;
}
.g-badge .ic {
  width: 14px;
  height: 14px;
}
.g-art {
  display: grid;
  place-items: center;
}
@media (max-width: 960px) {
  .games {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
@media (max-width: 640px) {
  .g-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .g-tile,
  .g-tile:nth-last-child(-n + 2) {
    grid-column: span 1;
    min-height: 0;
    padding: 14px 13px;
  }
  .g-tile.big,
  .g-tile:last-child {
    grid-column: span 2;
  }
  .g-tile.big {
    min-height: 0;
    padding-top: 16px;
  }
  .g-tile b {
    font-size: 16px;
  }
  .g-tile.big b {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-tile {
    transition: none;
  }
  .g-tile:hover {
    transform: none;
  }
}
