/* ==========================================================================
   个人主页专用样式 —— 星云 / 魔法 / 科技（紫色）
   配合 assets/css/style.css 使用。
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 22px 72px;
  text-align: center;
  overflow: hidden;
}

/* 一团缓慢呼吸的紫色光晕，像星云核心。 */
.hero-orb {
  position: absolute;
  top: -160px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
      rgba(160, 120, 255, .55), rgba(110, 70, 220, .18) 45%, transparent 70%);
  filter: blur(30px);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: .85; }
  50%      { transform: translateX(-50%) scale(1.10); opacity: 1; }
}

.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: 13px;
  color: var(--brand-soft);
  background: rgba(139,108,246,.12);
  border: 1px solid var(--border-2);
  margin-bottom: 26px;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 0 0 rgba(185,164,255,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(185,164,255,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(185,164,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(185,164,255,0); }
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(46px, 9vw, 82px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 2px;
  background: linear-gradient(120deg, #fff 8%, var(--accent) 46%, var(--brand) 88%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(139,108,246,.45));
}
.hero-sub {
  font-size: 15px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--text-mute); margin: 0 0 22px;
}
.hero-tag {
  max-width: 620px; margin: 0 auto 34px;
  font-size: 17px; color: var(--text-dim);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 分区标题 ---------- */
.section { padding: 12px 22px; max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin: 54px 0 20px; }
.section-head h2 { margin: 0; }
.section-head .idx {
  font-family: var(--serif); font-size: 15px; color: var(--brand);
  opacity: .8;
}
.section-head .line { flex: 1; height: 1px; background: var(--border); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-orb { animation: none; }
}

/* ---------- 关于我 ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }

.about-text p { color: var(--text-dim); }
.about-text strong { color: var(--text); font-weight: 650; }

.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.fact-list li:last-child { border-bottom: none; }
.fact-list .k { color: var(--text-mute); }
.fact-list .v { color: var(--text); text-align: right; }

/* ---------- 秋奈 ---------- */
.akina-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border-2);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(160,120,255,.20), transparent 55%),
    var(--surface);
}
.akina-card::before {
  content: "✦";
  position: absolute; right: 22px; top: 14px;
  font-size: 60px; color: rgba(185,164,255,.12);
}
.akina-title { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.akina-en { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--brand); }

/* ---------- 项目卡片 ---------- */
.proj-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.proj {
  display: block; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.proj:hover { transform: translateY(-4px); text-decoration: none;
  border-color: var(--border-2); background: var(--surface-2); }
.proj .ico { font-size: 26px; margin-bottom: 12px; }
.proj h3 { margin: 0 0 6px; color: var(--text); }
.proj p { margin: 0; font-size: 13.5px; color: var(--text-mute); }

/* ---------- 社交 ---------- */
.social-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.social {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 14.5px;
}
.social:hover { text-decoration: none; border-color: var(--border-2); color: var(--text); }
.social .ico { font-size: 18px; }
.social .handle { color: var(--text-mute); font-size: 13px; margin-left: auto; }
