/* ============================================================
   AIGEM（爱宝）· 动漫风格样式 v2
   核心：真实 BP 图片 + Ken Burns + 滚动揭示 + 玻璃拟态 + 粒子
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Baloo+2:wght@500;700;800&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;700&display=swap');

/* ---------- CSS 变量 ---------- */
:root {
  --bg:        #0a0612;
  --bg-sec:    #12091f;
  --panel:     rgba(22, 10, 46, 0.72);
  --panel-border: rgba(155, 107, 255, 0.18);
  --pink:      #ff8fc7;
  --violet:    #9b6bff;
  --cyan:      #4fe0d0;
  --gold:      #ffd56b;
  --emerald:   #50c878;
  --ice:       #a0e8ff;
  --white:     #f0e6ff;
  --muted:     #a89cc4;
  --grad:      linear-gradient(135deg, var(--pink), var(--violet), var(--cyan));
  --grad-gold: linear-gradient(135deg, var(--gold), #ff9a56);
  --radius:    20px;
  --radius-lg: 28px;
  --shadow:    0 8px 40px rgba(0,0,0,.45);
  --glow-pink: 0 0 30px rgba(255,143,199,.35);
  --glow-violet:0 0 30px rgba(155,107,255,.35);
  font-family: "ZCOOL KuaiLe", "Baloo 2", "Noto Sans SC", "Noto Serif SC", "PingFang SC", system-ui, sans-serif;
  color: var(--white);
  background: var(--bg);
  scroll-behavior: smooth;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pink); text-decoration: none; transition: .25s; }
a:hover { color: var(--violet); text-shadow: 0 0 12px rgba(155,107,255,.5); }
img { max-width: 100%; display: block; }
::selection { background: var(--violet); color: #fff; }

/* ---------- 漂浮宝石粒子 ---------- */
.bg-deco {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-deco span {
  position: absolute; font-size: 20px; opacity: .45;
  animation: floatGem linear infinite;
  filter: drop-shadow(0 0 6px currentColor);
  will-change: transform;
}
@keyframes floatGem {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: .35; }
  90%  { opacity: .35; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(10, 6, 18, 0.75);
  border-bottom: 1px solid rgba(155, 107, 255, 0.12);
  transition: all .35s ease;
}
.nav.scrolled { background: rgba(10, 6, 18, 0.92); box-shadow: 0 4px 30px rgba(0,0,0,.4); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 40px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-size: 26px; font-weight: 800; white-space: nowrap;
  letter-spacing: 1px;
  line-height: 1;
}
.brand b { font-weight: 900; font-family: "Baloo 2", "ZCOOL KuaiLe", cursive; }
.brand-sub {
  font-family: "ZCOOL KuaiLe", "Baloo 2", "Noto Sans SC", sans-serif;
  /* 纯白 + 紫色光晕，跟 LOGO 字母同色系——去掉渐变避免色彩打架 */
  color: #fff;
  font-weight: 700; margin-left: 12px;
  vertical-align: middle;
  letter-spacing: 3px;
  filter: drop-shadow(0 0 8px rgba(155, 107, 255, 0.55)) drop-shadow(0 0 2px rgba(155, 107, 255, 0.8));
}
.brand-nav .brand-sub { font-size: 22px; margin-left: 12px; }
.brand-foot .brand-sub { font-size: 30px; margin-left: 16px; letter-spacing: 4px; }
/* 文字 LOGO 分隔符（保留备用，目前 LOGO 已替换为图片） */
.brand-sep {
  display: inline-block; width: 11px; height: 11px; margin: 0 9px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  transform: rotate(45deg); border-radius: 2px;
  box-shadow: 0 0 9px rgba(155,107,255,.65);
  vertical-align: middle;
}
/* 图片 LOGO —— 已经把 new_logo_02.jpg 的深紫黑色背景透明化以融入网站底色 */
.brand-logo {
  display: block;
  height: 44px; width: auto;
  vertical-align: middle;
  transition: transform .35s ease, filter .35s ease;
}
.brand-nav .brand-logo {
  height: 44px;
  filter: drop-shadow(0 0 8px rgba(155, 107, 255, 0.25));
}
.brand-foot .brand-logo {
  height: 64px;
  filter: drop-shadow(0 0 12px rgba(155, 107, 255, 0.35));
}
.brand:hover .brand-logo { transform: scale(1.06); filter: drop-shadow(0 0 16px rgba(255, 143, 199, 0.55)); }

/* ===== LOGO 星空闪耀特效：鼠标悬停时围绕 LOGO 浮现闪烁星点 ===== */
.logo-stars {
  position: absolute;
  inset: -22px -34px;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}
.logo-star {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}
.brand:hover .logo-star,
.brand:focus-within .logo-star {
  animation-name: starTwinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}
@keyframes starTwinkle {
  0%, 100% { opacity: .12; transform: scale(0.4); }
  50%      { opacity: 1;   transform: scale(1); }
}
.nav-links {
  display: flex; gap: 6px; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 15px; color: var(--muted); padding: 6px 12px; border-radius: 10px;
  transition: all .25s; font-family: "ZCOOL KuaiLe", "Baloo 2", "Noto Sans SC", sans-serif; font-weight: 500;
}
.nav-links a:hover { color: var(--white); background: rgba(155,107,255,.15); text-shadow: none; }

/* 语言切换 */
.lang { display: flex; gap: 4px; }
.lang button {
  width: 34px; height: 30px; border: 1px solid var(--violet); border-radius: 8px;
  background: transparent; color: var(--muted); cursor: pointer;
  font-size: 13px; font-family: "Baloo 2", sans-serif; font-weight: 700;
  transition: all .25s;
}
.lang button:hover { border-color: var(--pink); color: var(--pink); }
.lang button.active { background: var(--violet); color: #fff; border-color: var(--violet); }

/* 汉堡菜单 */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .25s; }

/* ---------- Hero 区域 —— ANGELA 主视觉 ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: clamp(24px, 4vw, 56px);
  padding: 96px 24px 48px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(155,107,255,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(255,143,199,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 80%, rgba(79,224,208,.22) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(255,213,107,.12) 0%, transparent 45%),
    linear-gradient(160deg, #0a0612 0%, #1a0a2e 35%, #120628 60%, #0d0520 100%);
  z-index: 0;
  animation: bgShift 18s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(12deg); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,6,18,.5) 0%,
    rgba(10,6,18,.3) 30%,
    transparent 50%,
    rgba(10,6,18,.7) 85%,
    rgba(10,6,18,.95) 100%
  );
  z-index: 1;
}

/* Hero 装饰图 —— ANGELA 骑士（右侧栏，正常流排版，不参与绝对定位） */
.hero-figure {
  position: relative; z-index: 2;
  width: min(46vw, 540px); flex-shrink: 0;
  align-self: center;
  pointer-events: auto;
  background:
    radial-gradient(ellipse at 55% 40%, rgba(155,107,255,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 35% 70%, rgba(255,143,199,.15) 0%, transparent 50%),
    linear-gradient(135deg, rgba(42,18,72,.6) 0%, rgba(22,10,46,.8) 100%);
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
}
.hero-figure img {
  width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(155,107,255,.3));
}
/* 图片缺失时的 fallback 光效 */
.hero-figure::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(155,107,255,.2) 0%, transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(255,143,199,.12) 0%, transparent 45%);
  pointer-events: none;
}

/* Ken Burns —— 缓慢推近 + 微摇 */
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  35%  { transform: scale(1.05) translate(-0.6%, -0.4%); }
  65%  { transform: scale(1.08) translate(0.4%, 0.3%); }
  100% { transform: scale(1.04) translate(-0.3%, 0.15%); }
}
.ken-burns img { animation: kenBurns 18s ease-in-out infinite alternate; }

.hero-inner {
  position: relative; z-index: 3;
  width: min(100%, 560px);
  margin: 0;
  animation: heroIn 1.1s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.badge {
  display: inline-block; font-size: 13px; font-family: "Noto Sans SC", sans-serif;
  background: rgba(155,107,255,.2); border: 1px solid rgba(155,107,255,.35);
  padding: 6px 18px; border-radius: 30px; color: var(--violet);
  margin-bottom: 20px; letter-spacing: 1px;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 48px); line-height: 1.2; margin-bottom: 18px;
  font-weight: 800; font-family: "ZCOOL KuaiLe", "Baloo 2", "Noto Serif SC", sans-serif;
}
.grad {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.lede {
  font-size: 17px; color: var(--muted); margin-bottom: 30px;
  font-family: "Baloo 2", "Noto Sans SC", sans-serif; font-weight: 400; line-height: 1.65;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 14px; font-size: 15px;
  font-weight: 700; font-family: "ZCOOL KuaiLe", sans-serif;
  cursor: pointer; border: none; transition: all .3s cubic-bezier(.25,.46,.45,.94);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad); color: #fff; box-shadow: var(--glow-pink);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 40px rgba(255,143,199,.5), 0 0 80px rgba(155,107,255,.25);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-ghost:hover {
  border-color: var(--pink); color: var(--pink);
  box-shadow: var(--glow-pink); transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 10px; }

/* 脉冲动画 */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,143,199,.45); }
  50%      { box-shadow: 0 0 0 12px rgba(255,143,199,0); }
}
.pulse { animation: pulse 2.5s ease-in-out infinite; }

/* Hero 统计数字 */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat {
  text-align: center; padding: 14px 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); backdrop-filter: blur(8px);
}
.stat b {
  display: block; font-size: 28px; font-weight: 800;
  background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { font-size: 14px; color: var(--muted); display: block; margin-top: 4px; font-family: "Noto Sans SC", sans-serif; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; font-size: 13px; color: var(--muted);
  animation: bounce 2s ease-in-out infinite;
  font-family: "Noto Sans SC", sans-serif;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Section 通用 ---------- */
.section {
  position: relative; z-index: 2;
  padding: 100px clamp(20px, 5vw, 80px);
}
.sec-head { text-align: center; margin: 0 auto 52px; max-width: 900px; }
.kicker {
  display: inline-block; font-size: 13px; font-family: "Baloo 2", "ZCOOL KuaiLe", sans-serif;
  color: var(--pink); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
  font-weight: 500;
}
.sec-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; line-height: 1.3; font-family: "ZCOOL KuaiLe", "Noto Serif SC", sans-serif; }

/* ---------- 玻璃卡片 ---------- */
.glass-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
}
.glass-card:hover {
  border-color: rgba(155,107,255,.35);
  box-shadow: var(--glow-violet);
  transform: translateY(-4px);
}
.glass-card.accent:hover { border-color: rgba(255,143,199,.35); box-shadow: var(--glow-pink); }
.glass-panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  padding: 32px; margin-bottom: 36px;
}

.card { padding: 28px; border-radius: var(--radius-lg); }
.card h3 { font-size: 21px; margin-bottom: 14px; color: var(--pink); }
.card.accent h3 { color: var(--gold); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.dot { list-style: none; padding: 0; }
.dot li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  font-size: 16px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; line-height: 1.6;
}
.dot li::before {
  content: '✦'; position: absolute; left: 0; top: 1px;
  color: var(--pink); font-size: 15px;
}

/* ---------- IP 画廊（动漫角色展示）---------- */
.ip-gallery-section { overflow: hidden; }
.ip-gallery {
  position: relative; width: 100%; height: 480px;
  margin-bottom: 28px; border-radius: var(--radius-lg); overflow: hidden;
}
.ip-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 36px;
  padding: 40px; opacity: 0;
  transform: translateX(60px); transition: all .7s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
}
.ip-slide.active {
  opacity: 1; transform: translateX(0); pointer-events: auto;
}
.ip-slide.exit { transform: translateX(-60px); }

.ip-img-frame {
  position: relative; flex-shrink: 0;
  width: 340px; height: 400px; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #2a1248, #160a2e);
}
.ip-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.ip-img-frame:hover img { transform: scale(1.06); }

/* 图片光晕 —— 增强可见度 */
.ip-img-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(155,107,255,.3) 0%, transparent 65%);
  pointer-events: none; mix-blend-mode: screen;
}
.ip-img-glow.green   { background: radial-gradient(circle at center, rgba(80,200,120,.3) 0%, transparent 65%); }
.ip-img-glow.blue    { background: radial-gradient(circle at center, rgba(100,150,255,.3) 0%, transparent 65%); }
.ip-img-glow.cyan    { background: radial-gradient(circle at center, rgba(79,224,208,.3) 0%, transparent 65%); }
.ip-img-glow.ice     { background: radial-gradient(circle at center, rgba(160,232,255,.3) 0%, transparent 65%); }
.ip-img-glow.emerald{ background: radial-gradient(circle at center, rgba(80,200,120,.35) 0%, transparent 65%); }

.ip-info { flex: 1; }
.ip-info h3 { font-size: 21px; margin-bottom: 10px; color: var(--white); }
.ip-info p { color: var(--muted); font-size: 16px; font-family: "Noto Sans SC", sans-serif; margin-bottom: 12px; line-height: 1.65; }
.ip-tag {
  display: inline-block; font-size: 14px; font-family: "Noto Sans SC", sans-serif;
  background: rgba(155,107,255,.15); color: var(--violet);
  padding: 4px 14px; border-radius: 20px; border: 1px solid rgba(155,107,255,.2);
}

/* 画廊导航点 */
.ip-dots {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 36px;
}
.ip-dots .dot-btn {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; cursor: pointer;
  transition: all .3s;
}
.ip-dots .dot-btn.active { background: var(--violet); box-shadow: 0 0 10px rgba(155,107,255,.5); transform: scale(1.3); }
.ip-dots .dot-btn:hover { background: var(--pink); }

/* 左右切换箭头 */
.ip-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(155,107,255,.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; transition: all .3s;
  display: flex; align-items: center; justify-content: center;
}
.ip-arrow:hover {
  background: rgba(155,107,255,.45);
  border-color: var(--pink);
  box-shadow: var(--glow-pink);
  transform: translateY(-50%) scale(1.1);
}
.ip-arrow-prev { left: 12px; }
.ip-arrow-next { right: 12px; }
@media (max-width: 640px) {
  .ip-arrow { width: 36px; height: 36px; font-size: 22px; }
  .ip-arrow-prev { left: 6px; }
  .ip-arrow-next { right: 6px; }
}

/* IP 卡片网格 */
.ip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px;
}
.ip-card { padding: 24px 18px; text-align: center; }

/* ========== 四个精美宝石图标（纯 CSS）========== */
.ip-icon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.ip-icon span {
  display: block; width: 100%; height: 100%; border-radius: 16px;
  position: relative; transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.ip-card:hover .ip-icon span { transform: scale(1.1) rotate(5deg); }

/* 图标1：动漫 IP —— 紫粉皇冠/星形 */
.ip-icon-crown span {
  background:
    linear-gradient(135deg, #ff8fc7 0%, #9b6bff 50%, #c47dff 100%);
  box-shadow: 0 0 20px rgba(155,107,255,.4), inset 0 -3px 12px rgba(0,0,0,.2);
  clip-path: polygon(50% 0%, 65% 28%, 100% 28%, 75% 58%, 85% 100%, 50% 78%, 15% 100%, 25% 58%, 0% 28%, 35% 28%);
}
.ip-icon-crown span::after {
  content: '✦'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-size: 22px; color: rgba(255,255,255,.9); text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* 图标2：宝石高定 —— 金橙钻石 */
.ip-icon-gem span {
  background:
    linear-gradient(135deg, #ffd56b 0%, #ff9a56 40%, #ff6b9d 100%);
  box-shadow: 0 0 20px rgba(255,213,107,.35), inset 0 -3px 12px rgba(0,0,0,.2);
  clip-path: polygon(50% 0%, 85% 25%, 100% 60%, 70% 100%, 30% 100%, 0% 60%, 15% 25%);
  animation: gemShine 3s ease-in-out infinite alternate;
}
@keyframes gemShine {
  0%   { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}
.ip-icon-gem span::after {
  content: '💎'; position: absolute; top: 52%; left: 50%;
  transform: translate(-50%, -55%);
  font-size: 20px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

/* 图标3：数字孪生 —— 青蓝链式节点 */
.ip-icon-chain span {
  background:
    linear-gradient(135deg, #4fe0d0 0%, #5a4bd0 60%, #a0e8ff 100%);
  box-shadow: 0 0 20px rgba(79,224,208,.35), inset 0 -3px 12px rgba(0,0,0,.2);
  border-radius: 18px;
}
.ip-icon-chain span::before {
  content: ''; position: absolute; top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 2px dashed rgba(255,255,255,.4); border-radius: 10px;
}
.ip-icon-chain span::after {
  content: '⬡'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 26px; color: rgba(255,255,255,.95); text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* 图标4：创作者生态 —— 翠绿调色盘 */
.ip-icon-create span {
  background:
    linear-gradient(135deg, #50c878 0%, #4fe0d0 50%, #a0e8ff 100%);
  box-shadow: 0 0 20px rgba(80,200,120,.35), inset 0 -3px 12px rgba(0,0,0,.2);
  border-radius: 50%;
}
.ip-icon-create span::after {
  content: '✎'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -48%) rotate(-15deg);
  font-size: 28px; color: rgba(255,255,255,.95); text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.ip-card h3 { font-size: 19px; color: var(--white); margin-bottom: 8px; }
.ip-card p { font-size: 15px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; }

/* ---------- 浮动动画 ---------- */
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.float-anim { animation: floatAnim 4s ease-in-out infinite; }
.float-anim-alt { animation: floatAnim 5s ease-in-out infinite reverse; }

/* ---------- 产品展示条 ---------- */
.product-showcase {
  display: flex; gap: 16px; margin-bottom: 24px; overflow-x: auto;
  padding: 8px 0; scrollbar-width: thin; scrollbar-color: var(--violet) transparent;
}
.product-showcase-item {
  flex-shrink: 0; width: 220px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--panel-border); position: relative;
  transition: all .35s;
  background: linear-gradient(135deg, #2a1248, #160a2e);
}
.product-showcase-item:hover {
  border-color: var(--pink); transform: translateY(-6px) scale(1.02);
  box-shadow: var(--glow-pink);
}
.product-showcase-item img {
  width: 100%; height: 180px; object-fit: cover;
}
.product-showcase-item span {
  display: block; text-align: center; font-size: 14px; padding: 8px;
  background: rgba(0,0,0,.4); font-family: "Noto Sans SC", sans-serif;
  color: var(--muted);
}

/* ---------- 估价器 ---------- */
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.est-form label {
  display: block; font-size: 15px; color: var(--muted); margin-bottom: 6px;
  font-family: "Noto Sans SC", sans-serif;
}
.est-form select, .est-form input {
  width: 100%; padding: 10px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: var(--white);
  font-size: 15px; font-family: "Noto Sans SC", sans-serif;
  outline: none; transition: all .25s; margin-bottom: 12px;
}
.est-form select:focus, .est-form input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 16px rgba(155,107,255,.25);
}
.est-form select option { background: #1a0a2e; color: var(--white); }

.est-result { padding: 20px; }
.price { text-align: center; margin-bottom: 18px; }
.price-label { font-size: 14px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; }
.price-range {
  font-size: 32px; font-weight: 800; margin: 10px 0;
  background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.price-point { font-size: 14px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; }
.est-explain {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  padding: 14px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  font-family: "Noto Sans SC", sans-serif; margin-bottom: 14px;
}
.ai-out {
  margin-top: 14px; padding: 16px; border-radius: 12px;
  background: rgba(155,107,255,.08); border: 1px solid rgba(155,107,255,.2);
  font-size: 14px; line-height: 1.7; font-family: "Noto Sans SC", sans-serif;
  white-space: pre-wrap;
}

.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.panel-head h3 { font-size: 21px; }
.tag {
  font-size: 14px; font-family: "Noto Sans SC", sans-serif;
  background: rgba(79,224,208,.12); color: var(--cyan);
  padding: 4px 14px; border-radius: 20px; border: 1px solid rgba(79,224,208,.2);
}

/* ---------- 交易工具栏 ---------- */
.market-toolbar {
  display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap;
}
.market-toolbar input {
  flex: 1; min-width: 180px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: var(--white);
  font-size: 14px; font-family: "Noto Sans SC", sans-serif; outline: none;
}
.market-toolbar input:focus { border-color: var(--cyan); box-shadow: 0 0 14px rgba(79,224,208,.2); }
.market-toolbar select {
  padding: 10px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: var(--white);
  font-size: 14px; font-family: "Noto Sans SC", sans-serif; outline: none;
}

/* 宝石网格 */
.gem-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px;
}
.gem-card {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--panel-border);
  background: var(--panel); backdrop-filter: blur(12px);
  transition: all .35s; cursor: pointer;
}
.gem-card:hover { transform: translateY(-6px); border-color: var(--pink); box-shadow: var(--glow-pink); }
.gem-card-img {
  height: 190px; position: relative; overflow: hidden;
  background: #0a0612; border-radius: 16px 16px 0 0;
}
.gem-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.gem-card:hover .gem-card-img img { transform: scale(1.1); }
.cert-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 12px; padding: 3px 11px; border-radius: 12px;
  font-family: "Noto Sans SC", sans-serif; font-weight: 500;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.cert-badge.ok { background: rgba(79,224,208,.9); color: #042; }
.cert-badge.no { background: rgba(255,143,199,.9); color: #402; }
.gem-card-body { padding: 14px; }
.gem-card-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.gem-card-price { font-size: 20px; font-weight: 800; color: var(--gold); }
.gem-card-meta { font-size: 14px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; margin-top: 6px; }

/* ---------- 技术架构 ---------- */
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.tech-card { padding: 24px 20px; text-align: center; }
.tech-card h3 { font-size: 19px; color: var(--pink); margin-bottom: 8px; }
.tech-card p { font-size: 15px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; line-height: 1.6; }

/* ---------- 商业模式 ---------- */
.model-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.model-card { padding: 22px 16px; text-align: center; }
.model-card b { font-size: 17px; color: var(--cyan); display: block; margin-bottom: 8px; }
.model-card p { font-size: 15px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; line-height: 1.55; }

/* ---------- 路线图 ---------- */
.roadmap { display: flex; gap: 20px; position: relative; }
.roadmap::before {
  content: ''; position: absolute; top: 32px; left: 40px; right: 40px;
  height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--pink));
  z-index: 0;
}
.rm-item { flex: 1; padding: 24px 18px; position: relative; z-index: 1; }
.rm-year {
  display: inline-block; font-size: 14px; font-weight: 800;
  background: var(--grad); color: #fff; padding: 4px 16px; border-radius: 20px;
  margin-bottom: 12px;
}
.rm-item h3 { font-size: 19px; margin-bottom: 8px; }
.rm-item p { font-size: 14px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; line-height: 1.6; }

/* ---------- 投资区 ---------- */
.invest {
  background: linear-gradient(180deg, var(--bg) 0%, #0f0720 50%, #0a0612 100%);
  border-top: 1px solid rgba(155,107,255,.15);
  border-bottom: 1px solid rgba(155,107,255,.15);
}
.invest-inner {
  max-width: 1000px; margin: 0 auto; text-align: center; position: relative;
}
.invest-hero-img {
  width: 320px; margin: 0 auto 28px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: linear-gradient(135deg, #2a1248, #160a2e);
}
.invest-hero-img img { width: 100%; transition: transform .6s; }
.invest-hero-img:hover img { transform: scale(1.04); }

.inv-list { text-align: left; list-style: none; padding: 0; margin: 20px 0 28px; }
.inv-list li {
  padding: 10px 0; font-size: 16px; color: var(--muted);
  font-family: "Noto Sans SC", sans-serif; line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.inv-list li b { color: var(--gold); }

/* ---------- Team ---------- */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1280px; margin: 0 auto;
}
.team-card {
  padding: 28px 24px;
}
.team-card-inner {
  display: flex; gap: 20px; align-items: flex-start;
}
.team-avatar {
  width: 100px; height: 100px; min-width: 100px; border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(212,175,55,.45);
  background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(155,107,255,.08));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.team-avatar-cto { border-color: rgba(0,160,220,.45); background: linear-gradient(135deg, rgba(0,160,220,.12), rgba(155,107,255,.08)); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform .3s; }
.team-avatar span { font-size: 48px; opacity: .4; }
.team-info { flex: 1; min-width: 0; }

/* ===== 头像星空闪耀特效 ===== */
.team-avatar { position: relative; }
.team-stars {
  position: absolute; inset: -6px; pointer-events: none;
  opacity: 0; transition: opacity .35s ease; z-index: 4;
}
.team-avatar:hover .team-stars { opacity: 1; }
.team-star {
  position: absolute; border-radius: 50%;
  animation: teamTwinkle 1.5s ease-in-out infinite;
}
@keyframes teamTwinkle {
  0%, 100% { transform: scale(0.3); opacity: 0.15; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* ===== 创始人头像灯箱（点击放大，遮水印） ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5, 3, 10, 0.93); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 22px; right: 30px;
  font-size: 38px; line-height: 1; color: #fff; opacity: .65;
  background: none; border: none; cursor: pointer; transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-wrap {
  position: relative; display: inline-block; line-height: 0;
  max-width: 86vw; max-height: 78vh;
}
.lightbox-wrap img {
  max-width: 86vw; max-height: 78vh; width: auto; height: auto;
  border-radius: 18px;
  box-shadow: 0 0 70px rgba(155, 107, 255, .45);
}
/* 右下角水印遮罩：盖住豆包生成水印 */
.lightbox-wm-mask {
  position: absolute; right: 0; bottom: 0;
  width: 24%; height: 15%;
  background: linear-gradient(135deg, rgba(10, 6, 18, 0) 0%, rgba(10, 6, 18, .88) 55%, rgba(10, 6, 18, .96) 100%);
  border-radius: 0 0 18px 0;
  pointer-events: none;
}
.lightbox-cap {
  margin-top: 20px; color: #fff; font-size: 20px;
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  letter-spacing: 2px; text-shadow: 0 0 12px rgba(155, 107, 255, .6);
}
.team-card h3 { font-size: 21px; color: var(--white); margin-bottom: 2px; }
.team-role { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.team-section { margin-bottom: 8px; }
.team-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--gold); margin-bottom: 2px;
}
.team-section p {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
  .team-card-inner { flex-direction: column; align-items: center; text-align: center; }
  .team-avatar { width: 80px; height: 80px; min-width: 80px; }
  .team-section { text-align: left; }
}

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 2;
  background: rgba(5,3,10,.95); border-top: 1px solid rgba(155,107,255,.12);
  padding: 64px clamp(20px, 5vw, 80px) 32px;
}
.foot-inner {
  max-width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1.4fr; gap: 48px;
}
.foot-col h4 { font-size: 16px; color: var(--pink); margin-bottom: 12px; }
.foot-sub { font-size: 14px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; margin-top: 6px; }
.foot-col ul { list-style: none; padding: 0; }
.foot-col ul li { margin-bottom: 6px; }
.foot-col ul li a { font-size: 14px; color: var(--muted); font-family: "Noto Sans SC", sans-serif; }
.foot-col ul li a:hover { color: var(--cyan); }
.foot-contact li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 14px; color: var(--muted);
  margin-bottom: 0; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.foot-contact li:last-child { border-bottom: none; }
.foot-contact b {
  color: rgba(255,255,255,.62); font-weight: 600;
  min-width: 78px; flex-shrink: 0;
}
.foot-contact b::after { content: "："; }
.foot-contact a { color: var(--cyan); text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; color: var(--pink); }
.foot-address { opacity: .62; font-size: 13px !important; }
.foot-bottom {
  text-align: center; font-size: 14px; color: rgba(255,255,255,.25);
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: "Noto Sans SC", sans-serif;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
/* hidden 属性必须能盖住 display:flex，否则 modal 页面加载即弹出 */
.modal[hidden] { display: none !important; }
.modal-card {
  max-width: 560px; width: 100%; padding: 32px;
  position: relative; max-height: 88vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--muted);
  font-size: 28px; cursor: pointer; transition: .2s;
}
.modal-close:hover { color: var(--pink); transform: rotate(90deg); }

/* ---------- Note ---------- */
.note {
  font-size: 14px; color: rgba(255,255,255,.3);
  font-family: "Noto Sans SC", sans-serif; margin-top: 12px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 3000;
  background: var(--panel); border: 1px solid var(--violet);
  color: var(--white); padding: 14px 24px; border-radius: 14px;
  font-size: 14px; font-family: "Noto Sans SC", sans-serif;
  backdrop-filter: blur(16px); box-shadow: var(--shadow);
  animation: toastIn .4s ease, toastOut .4s ease 2.6s forwards;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } }

/* ========== 滚动揭示动画 ========== */
/* 默认（无 JS / JS 失败）全部可见，保证页面有内容 */
.reveal {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.25,.46,.45,.94);
}
/* 仅当 JS 成功运行加上 .js 后，才启用隐藏→揭示动画 */
html.js .reveal { opacity: 0; transform: translateY(30px); }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }
html.js .reveal-left  { transform: translateX(-40px); }
html.js .reveal-left.visible  { transform: translateX(0); }
html.js .reveal-right { transform: translateX(40px); }
html.js .reveal-right.visible { transform: translateX(0); }

/* 安全网：减弱动画 / 动画被禁用时，内容必须立即可见，禁止白屏 */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  .hero-inner { animation: none; }
  .ken-burns img { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .ip-grid { grid-template-columns: repeat(2, 1fr); }
  .estimator { grid-template-columns: 1fr; }
  .hero-figure { width: min(72vw, 340px); margin: 8px auto 0; }
  .ip-gallery { height: auto; min-height: 380px; }
  .ip-slide { flex-direction: column; text-align: center; padding: 24px; }
  .ip-img-frame { width: 240px; height: 280px; }
  .foot-inner { grid-template-columns: 1fr; text-align: center; }
  .foot-contact li { justify-content: center; }
  .roadmap { flex-direction: column; }
  .roadmap::before { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,6,18,.97); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid var(--panel-border); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .invest-hero-img { width: 260px; }
}
@media (max-width: 520px) {
  .hero-figure { width: min(80vw, 300px); }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .product-showcase-item { width: 170px; }
  .gem-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 16px; }
}

/* ========== AI 宝石顾问窗口 ========== */
.ai-chat {
  margin: 26px auto 6px;
  max-width: 620px;
  background: rgba(20, 12, 34, .55);
  border: 1px solid rgba(155, 107, 255, .28);
  border-radius: 18px;
  padding: 16px 16px 12px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35), 0 0 24px rgba(155, 107, 255, .12);
  text-align: left;
}
.ai-chat-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.ai-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: aiPulse 1.6s ease-in-out infinite;
}
@keyframes aiPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.ai-title { font-weight: 800; font-size: 16px; color: #fff; letter-spacing: .5px; }
.ai-sub { font-size: 12px; color: var(--muted); margin-left: auto; }
.ai-chat-body {
  max-height: 240px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  padding: 4px 2px 8px;
  scrollbar-width: thin; scrollbar-color: rgba(155,107,255,.4) transparent;
}
.ai-msg {
  font-size: 14px; line-height: 1.6; padding: 9px 13px; border-radius: 12px;
  max-width: 92%;
}
.ai-msg-bot {
  background: rgba(155, 107, 255, .12);
  border: 1px solid rgba(155, 107, 255, .18);
  color: rgba(255, 255, 255, .92);
  align-self: flex-start;
}
.ai-msg-user {
  background: linear-gradient(135deg, rgba(255, 143, 199, .22), rgba(120, 220, 255, .22));
  border: 1px solid rgba(255, 143, 199, .3);
  color: #fff; align-self: flex-end;
}
.ai-gems { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; width: 100%; }
.ai-gem {
  background: rgba(10, 6, 18, .5);
  border: 1px solid rgba(155, 107, 255, .18);
  border-radius: 10px; padding: 8px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.ai-gem b { font-size: 13px; color: #fff; }
.ai-gem span { font-size: 11px; color: var(--muted); }
.ai-gem i { font-size: 12px; color: var(--cyan); font-style: normal; }
.ai-chat-input { display: flex; gap: 8px; margin-top: 8px; }
.ai-chat-input input {
  flex: 1; min-width: 0;
  background: rgba(10, 6, 18, .6);
  border: 1px solid rgba(155, 107, 255, .25);
  border-radius: 10px; padding: 11px 13px;
  color: #fff; font-size: 14px; outline: none;
  font-family: inherit;
}
.ai-chat-input input:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(120, 220, 255, .15); }
.ai-chat-input button {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  border: none; color: #fff; font-weight: 700;
  padding: 0 20px; border-radius: 10px; cursor: pointer;
  font-size: 14px; white-space: nowrap; transition: transform .2s, box-shadow .2s;
}
.ai-chat-input button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(155, 107, 255, .4); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.ai-chip {
  background: rgba(155, 107, 255, .1);
  border: 1px solid rgba(155, 107, 255, .22);
  color: rgba(255, 255, 255, .82);
  font-size: 12px; padding: 6px 11px; border-radius: 999px; cursor: pointer;
  transition: .2s; font-family: inherit;
}
.ai-chip:hover { background: rgba(155, 107, 255, .25); color: #fff; }
@media (max-width: 520px) {
  .ai-gems { grid-template-columns: 1fr; }
  .ai-sub { display: none; }
}

/* ========== 第一章节：AI 宝石搜索（全幅 / 简洁） ========== */
.ai-search-section {
  max-width: 100%;
  text-align: center;
  padding-top: 100px; padding-bottom: 100px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(155,107,255,.14), transparent 58%),
    radial-gradient(ellipse at 50% 120%, rgba(79,224,208,.08), transparent 55%);
}
.ai-search-lead {
  max-width: 640px; margin: 14px auto 0;
  font-size: 16px; color: var(--muted);
  font-family: "Baloo 2", "Noto Sans SC", sans-serif; line-height: 1.7;
}
.ai-chat-wide {
  max-width: 1100px;
  margin: 38px auto 0;
  padding: 24px 24px 20px;
  background: rgba(20, 12, 34, .6);
  text-align: left;
}
.ai-chat-wide .ai-chat-input input { font-size: 16px; padding: 14px 16px; }
.ai-chat-wide .ai-chat-input button { padding: 0 28px; font-size: 16px; }
.ai-chat-wide .ai-chat-body { max-height: 340px; }
.ai-chat-wide .ai-gems { grid-template-columns: repeat(2, 1fr); }

/* ========== 章节次序感：分隔光带 + 隔章底纹 ========== */
.section:not(:first-of-type)::after {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: min(94%, 1600px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,107,255,.45), rgba(79,224,208,.4), transparent);
  pointer-events: none;
}
.section:nth-of-type(even) { background: rgba(255,255,255,.015); }

/* ========== 星光闪烁 + 点击放大 ========== */
.twk-layer {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity .45s ease; z-index: 4; overflow: hidden;
  border-radius: inherit;
}
.hero-figure:hover .twk-layer,
.ip-img-frame:hover .twk-layer,
.invest-hero-img:hover .twk-layer { opacity: 1; }
.twk-star {
  position: absolute; border-radius: 50%;
  animation: twkTwinkle 1.7s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes twkTwinkle {
  0%, 100% { opacity: .12; transform: scale(.4); }
  50%      { opacity: 1;   transform: scale(1.25); }
}
.zoomable { cursor: zoom-in; }

/* ========== 页脚：社媒入口（针对海外站，无 ICP 备案号） ========== */
.foot-social {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.foot-social a {
  font-size: 13px; color: var(--muted);
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(155,107,255,.25);
  background: rgba(155,107,255,.08);
  transition: all .25s; font-family: "Noto Sans SC", sans-serif;
}
.foot-social a:hover { color: #fff; border-color: var(--pink); background: rgba(155,107,255,.22); }
