/* ==========================================================
   hellojackhui — personal homepage
   Apple-style long-scroll, dark, glassmorphic
   ========================================================== */

/* --- Tokens --- */
:root {
  --bg: #000000;
  --bg-soft: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --fg: #f5f5f7;
  --fg-2: #a1a1a6;
  --fg-3: #6e6e73;
  --fg-4: #48484a;

  --accent-1: #5e5ce6;       /* indigo */
  --accent-2: #bf5af2;       /* purple */
  --accent-3: #ff375a;       /* pink */
  --accent-4: #30d158;       /* green */
  --accent-5: #64d2ff;       /* teal */

  --hl: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);

  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;

  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 56px);

  color-scheme: dark;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
em { font-style: normal; background: var(--hl); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- 噪点 / 颗粒感 --- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* --- Topbar --- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
/* 左侧 brand：吸顶后才淡入（首屏不占位） */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.topbar.is-scrolled .brand {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.brand-mark {
  color: var(--accent-1);
  font-size: 18px;
  filter: drop-shadow(0 0 8px var(--accent-1));
  transition: color 0.3s var(--ease);
}
.brand:hover .brand-mark { color: var(--accent-2); }
.brand-name {
  background: linear-gradient(180deg, #fff 30%, #9a9aa5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-2);
}
.nav a {
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  transition: width 0.3s var(--ease);
}
.nav a:hover::after { width: 100%; }
/* 当前区块高亮 */
.nav a.is-active { color: var(--fg); }
.nav a.is-active::after { width: 100%; }
.nav-cta {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--bg-card); }
.nav-cta.is-active {
  border-color: rgba(191, 90, 242, 0.6);
  color: var(--accent-2) !important;
  box-shadow: 0 0 14px rgba(191, 90, 242, 0.18);
}

@media (max-width: 720px) {
  .nav { display: none; }
  .topbar { justify-content: center; }
  .brand { display: none; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(94, 92, 230, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(191, 90, 242, 0.14), transparent 60%),
    linear-gradient(180deg, #050507 0%, #000 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: float 18s ease-in-out infinite;
}
.blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, var(--accent-1), transparent 70%);
  top: -120px; left: -100px;
}
.blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 70% 30%, var(--accent-2), transparent 70%);
  top: 10%; right: -120px;
  animation-delay: -6s;
}
.blob-3 {
  width: 600px; height: 600px;
  background: radial-gradient(circle at 50% 50%, var(--accent-3), transparent 70%);
  bottom: -200px; left: 30%;
  animation-delay: -12s;
  opacity: 0.4;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* --- 首屏：左右分栏 --- */
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  animation: rise 1.2s var(--ease-out) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 左侧文字 */
.hero-copy { text-align: left; }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 8.4vw, 148px);
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin: 0 0 26px;
}
.hero-title .line {
  display: block;
  background: linear-gradient(180deg, #fff 0%, #c8c8d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .line-2 .hl {
  background: var(--hl);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 20px);
  color: var(--fg-2);
  margin: 0;
  max-width: 560px;
  letter-spacing: 0.01em;
}
.hero-sub .muted { color: var(--fg-3); }

/* 右侧虚拟形象 */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.avatar-stage {
  position: relative;
  width: min(42vh, 400px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.avatar-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(110, 96, 255, 0.5), rgba(191, 90, 242, 0.16) 46%, transparent 70%);
  filter: blur(8px);
}
.avatar-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(160, 150, 255, 0.45);
  animation: orbit-spin 26s linear infinite;
}
.avatar-orbit.o1 { inset: 5%; }
.avatar-orbit.o2 {
  inset: 15%;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(160, 150, 255, 0.25);
  animation-direction: reverse;
  animation-duration: 40s;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.avatar-img {
  position: relative;
  width: 76%;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(110, 96, 255, 0.35));
  animation: avatar-float 6s ease-in-out infinite;
}
@keyframes avatar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
/* 首屏响应式：窄屏变上下堆叠、居中 */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero-copy,
  .hero-copy .hero-title,
  .hero-copy .hero-sub { text-align: center; }
  .hero-copy .hero-sub { margin: 0 auto; }
  .hero-visual { display: none; }
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--fg-3), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--fg));
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ==========================================================
   Sections (general)
   ========================================================== */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-inner { width: 100%; }
.section-head {
  max-width: 880px;
  margin: 0 0 clamp(48px, 8vw, 88px);
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 24px;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--fg-3);
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  background: linear-gradient(180deg, #fff 0%, #b8b8c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--fg-2);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}
.muted { color: var(--fg-3); }

/* --- Grid --- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Card --- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px 24px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }
.card-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.card p {
  font-size: 14px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.55;
}

/* mini card */
.card-mini { padding: 22px 20px; text-align: left; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(94,92,230,0.18), rgba(191,90,242,0.18));
  border: 1px solid var(--line);
  margin-bottom: 14px;
  font-size: 18px;
  color: var(--accent-2);
}

/* game card */
.card-game {
  padding: 0;
  overflow: hidden;
}
.card-art {
  height: 200px;
  background: linear-gradient(135deg, #1a1a22, #0a0a12);
  position: relative;
}
.card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 70%);
}
.art-1 { background: linear-gradient(135deg, #2a1a3a 0%, #0a0a1a 100%); }
.art-2 { background: linear-gradient(135deg, #1a2a3a 0%, #0a1a2a 100%); }
.art-3 { background: linear-gradient(135deg, #3a1a2a 0%, #1a0a1a 100%); }
.card-body { padding: 22px 22px 24px; }
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  margin-bottom: 12px;
}

/* --- KPI row (investment) --- */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kpi:last-child { border-right: none; }
.kpi-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.kpi-value {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg);
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  .kpi-row { grid-template-columns: 1fr; }
  .kpi { border-right: none; border-bottom: 1px solid var(--line); }
  .kpi:last-child { border-bottom: none; }
}

/* ==========================================================
   Apps matrix
   ========================================================== */
.section--apps { padding-bottom: clamp(60px, 8vw, 100px); }
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.app-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: all 0.4s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease);
  z-index: -1;
}
.app-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.app-card:hover::after { transform: translateX(100%); }
.app-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, var(--accent-1)), var(--c2, var(--accent-2)));
  box-shadow: 0 6px 20px rgba(94, 92, 230, 0.25);
}
.app-info { flex: 1 1 auto; min-width: 0; }
.app-info h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.app-info p {
  margin: 0;
  font-size: 12px;
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-arrow {
  font-size: 14px;
  color: var(--fg-3);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.app-card:hover .app-arrow {
  color: var(--fg);
  transform: translateX(4px);
}

/* ==========================================================
   Contact + Footer（腾讯官网式小字分栏）
   ========================================================== */
.contact-head {
  max-width: 680px;
  margin: 0 0 clamp(40px, 6vw, 64px);
}
.contact-head .eyebrow { margin-bottom: 18px; }
.contact-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff 0%, #b8b8c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-head p {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-col { display: flex; flex-direction: column; gap: 12px; }
.contact-col-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.contact-col a {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}
.contact-col a:hover { color: var(--fg); }
.contact-col a .mail { color: var(--fg-3); }
.contact-col a:hover .mail { color: var(--fg-2); }

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 12px;
  color: var(--fg-3);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-meta a {
  color: var(--fg-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-meta a:hover { color: var(--fg); border-bottom-color: var(--fg); }
.contact-meta .dot-sep { color: var(--fg-4); }

/* ==========================================================
   Scroll-driven animations
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Custom cursor (sci-fi)
   仅桌面精确指针生效（html 带 .custom-cursor 时才隐藏系统指针）
   ========================================================== */
html.custom-cursor,
html.custom-cursor * { cursor: none !important; }

/* 跟随容器：JS 负责位移，视觉元素在内部独立缩放/旋转 */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
  z-index: 9999;
  opacity: 0;
}
html.is-cursor-on .cursor-dot,
html.is-cursor-on .cursor-ring { opacity: 1; }

/* 核心点：高亮 + 辉光 */
.cursor-dot {
  width: 0;
  height: 0;
  transition: opacity 0.2s linear;
}
.cursor-dot::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-5);
  box-shadow: 0 0 6px var(--accent-5), 0 0 14px var(--accent-5);
}

/* 外圈视觉层：缩放 / 变色 / 旋转都在这一层做 */
.cursor-ring-inner {
  display: block;
  position: relative;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 12px rgba(100, 210, 255, 0.18),
    0 0 16px rgba(100, 210, 255, 0.12);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
/* 亮弧扫描：模拟雷达 / HUD 环 */
.cursor-ring-inner::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  border-top-color: var(--accent-5);
  border-right-color: var(--accent-1);
  animation: cursor-spin 2.2s linear infinite;
}
@keyframes cursor-spin { to { transform: rotate(360deg); } }

/* 悬停可交互元素时：光环放大 + 点亮 */
.cursor-ring.is-hover .cursor-ring-inner {
  transform: scale(1.9);
  border-color: var(--accent-5);
  background: rgba(100, 210, 255, 0.05);
}
.cursor-ring.is-hover .cursor-ring-inner::after {
  border-top-color: var(--accent-5);
  border-right-color: var(--accent-2);
}

@media (prefers-reduced-motion: reduce) {
  html.custom-cursor,
  html.custom-cursor * { cursor: auto !important; }
}