/* ===== 基础与配色（暗色宇宙风） ===== */
:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1424;
  --surface: #161c30;
  --border: #232b45;
  --text: #e8ecf5;
  --muted: #9aa6c0;
  --accent: #7b5cf0;       /* 紫 */
  --accent2: #22d3ee;      /* 青 */
  --grad: linear-gradient(135deg, #7b5cf0, #22d3ee);
  --radius: 14px;
  /* 标题圆体（柔和·萌系）：优先站酷快乐体，回落系统圆体，再回落系统黑体 */
  --font-title: "ZCOOL KuaiLe", "Yuanti SC", "YouYuan", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    url('images/page-bg.jpg') center top / cover no-repeat fixed,
    linear-gradient(180deg, rgba(5,8,20,.65) 0%, rgba(5,8,20,.80) 50%, rgba(5,8,20,.92) 100%);
  background-blend-mode: normal;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== 标题统一使用圆体（柔和·萌系） ===== */
h1, h2, h3, .logo,
.hero-title, .section-title, .section-title-sm,
.sub-title, .sub-title-sm, .about-num, .news-title,
.work-body h3, .science-card h3, .job-main h3, .link-card h3 {
  font-family: var(--font-title);
}

/* ===== 导航 ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 26, .55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 20px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--text);
}

/* ===== 首页横幅（动态星空背景） ===== */
.hero {
  position: relative; min-height: 88vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 5%;
}
/* 暗色渐变遮罩 —— 保证首屏文字可读（背景图由 body 统一提供） */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(6, 8, 18, .50) 0%,
      rgba(6, 8, 18, .25) 35%,
      rgba(6, 8, 18, .45) 70%,
      rgba(6, 8, 18, .78) 100%
    ),
    radial-gradient(1200px 600px at 50% -10%, rgba(123,92,240,.18), transparent 55%);
  z-index: 0;
}
/* 星点层 */
.stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  z-index: 1;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 12%, #fff, transparent),
    radial-gradient(1px 1px   at 72% 20%, #cdd6ff, transparent),
    radial-gradient(1.5px 1.5px at 42% 50%, #fff, transparent),
    radial-gradient(1px 1px   at 10% 68%, #fff, transparent),
    radial-gradient(1px 1px   at 88% 62%, #aab4ff, transparent),
    radial-gradient(1.5px 1.5px at 58% 32%, #fff, transparent),
    radial-gradient(1px 1px   at 30% 82%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 92% 38%, #d7e0ff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }

.hero-content { position: relative; z-index: 1; max-width: 540px; text-align: left; }
.hero-title {
  font-size: 64px; font-weight: 800; letter-spacing: 6px;
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(123,92,240,.35);
}
.tagline { font-size: 19px; color: var(--muted); margin: 18px 0 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.hero-mission {
  flex: 0 0 100%;
  width: fit-content;
  max-width: 92%;
  margin: 30px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(170,200,255,.35);
  text-align: center;
  font-size: 16px; line-height: 1.6; color: #6db3ff;
  letter-spacing: .3px;
}
.hero-mission b { color: #9cc8ff; font-weight: 600; }

/* ===== 首屏中央容器（文字在左 · 角色在右 · 整体居中） ===== */
.hero-center {
  position: relative; z-index: 2;
  display: flex; flex-direction: row; align-items: center; flex-wrap: wrap;
  justify-content: center; gap: 54px; text-align: left;
}

/* ===== NPC 向导角色（首屏中央） ===== */
.hero-npc {
  display: flex; flex-direction: column; align-items: center;
}
.hero-npc img {
  width: 250px; height: auto;
  filter: drop-shadow(0 8px 24px rgba(123,92,240,.30));
  animation: npcFloat 3.5s ease-in-out infinite;
}
@keyframes npcFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.voice-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); border: none; color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(123,92,240,.4);
  transition: filter .2s, transform .2s;
}
.voice-btn:hover { filter: brightness(1.1); transform: scale(1.08); }
.voice-btn.speaking { animation: voicePulse .8s ease-in-out infinite; }
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,92,240,.5); }
  50% { box-shadow: 0 0 0 10px rgba(123,92,240,0); }
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all .2s; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--accent); color: #cfd6ff; }
.btn-ghost:hover { background: rgba(123,92,240,.15); color: #fff; }
.btn-small { padding: 8px 18px; font-size: 14px; background: var(--grad); color: #fff; }
.btn-small:hover { filter: brightness(1.1); }

/* ===== 通用区块 ===== */
.section { padding: 78px 0; }
.section-alt { background: rgba(15,20,36,.55); backdrop-filter: blur(8px); }
.section-title { font-size: 30px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }
.sub-title { font-size: 22px; color: #fff; margin: 48px 0 8px; text-align: center; }
.sub-title + .section-sub { margin-bottom: 28px; }
.lead { font-size: 18px; max-width: 760px; margin: 0 auto 36px; text-align: center; color: #c7cfe6; }
.body-text { max-width: 760px; margin: 30px auto 0; color: var(--muted); }

/* ===== 关于数据卡 ===== */
.about-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 10px 0;
}
.about-card {
  background: rgba(22,28,48,.60); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 26px 14px; text-align: center;
  backdrop-filter: blur(10px);
}
.about-num {
  font-size: 32px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.about-label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ===== 游戏作品 ===== */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  background: rgba(22,28,48,.60); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  backdrop-filter: blur(10px);
}
.work-card:hover {
  transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(123,92,240,.25);
}
.work-thumb {
  position: relative; overflow: hidden;
  height: 170px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 3px;
}
.thumb-a { background: linear-gradient(135deg, #7b5cf0, #22d3ee); }
.work-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-thumb-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; outline: none; }
.thumb-b { background: linear-gradient(135deg, #5b6ef0, #8b5cf6); }
.thumb-c { background: linear-gradient(135deg, #1f9bce, #22d3ee); }
.work-body { padding: 18px 20px 22px; }
.work-body h3 { font-size: 18px; margin-bottom: 8px; }
.work-body p { color: var(--muted); font-size: 14px; }
.work-tag {
  display: inline-block; margin-top: 12px; font-size: 12px;
  background: rgba(123,92,240,.15); color: #c4b8ff;
  padding: 4px 12px; border-radius: 999px;
}

/* 科普·科研 */
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.science-card {
  background: rgba(22,28,48,.60); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(10px);
}
.science-card .science-icon {
  font-size: 34px; line-height: 1; margin-bottom: 14px;
}
.science-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.science-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.science-imgs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 16px;
}
.science-imgs img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.08);
}

/* 旗舰作品（带短视频） */
.work-featured {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 0;
  background: rgba(22,28,48,.60); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 22px;
  backdrop-filter: blur(10px);
}
.work-video-wrap { background: #000; }
.work-video {
  width: 100%; height: 100%; aspect-ratio: 16 / 9; display: block;
  object-fit: cover; outline: none;
}
.work-featured .work-body {
  padding: 30px 32px; display: flex; flex-direction: column;
  justify-content: center; gap: 12px;
}
.work-flag {
  align-self: flex-start; font-size: 12px; font-weight: 600;
  background: var(--grad); color: #fff; padding: 4px 12px; border-radius: 999px;
}
.work-featured .work-body h3 { font-size: 26px; margin-bottom: 0; }
.work-featured .work-body p { color: var(--muted); font-size: 15px; }
.work-featured .work-tag { margin-top: 2px; }
.work-cta { align-self: flex-start; margin-top: 6px; }

/* ===== 加入我们 ===== */
.jobs-list { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin: 0 auto; }
.job-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(22,28,48,.60); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 22px 26px;
  backdrop-filter: blur(10px);
}
.job-main h3 { font-size: 18px; margin-bottom: 6px; }
.job-main p { color: var(--muted); font-size: 14px; }
.job-meta { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.job-loc { color: var(--muted); font-size: 14px; }

/* ===== 合作伙伴 ===== */
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.link-card {
  background: rgba(22,28,48,.60); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 22px 18px; transition: all .2s;
  backdrop-filter: blur(10px);
}
.link-card:hover { border-color: var(--accent2); transform: translateY(-3px); }
.link-card h3 { font-size: 16px; margin-bottom: 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link-card p { color: var(--muted); font-size: 13px; }

/* ===== 联系我们 ===== */
.contact-box { text-align: center; background: rgba(22,28,48,.55); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 36px 28px; backdrop-filter: blur(10px); }
.contact-list { list-style: none; display: inline-block; text-align: left; margin-top: 10px; }
.contact-list li { padding: 8px 0; color: var(--muted); }
.contact-list strong { color: var(--text); }
.contact-list a { color: #8fb6ff; }
.contact-note { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ===== 关于我们 + 加入我们 + 联系我们（一个整体卡片） ===== */
.about-join {
  background: rgba(22,28,48,.55);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 38px 40px 42px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
/* 关于我们：标题左对齐，正文两端对齐、最后一行右对齐 */
.about-join .section-title-sm { text-align: left; margin-bottom: 10px; }
.about-join .about-lead {
  font-size: 15px; color: #c7cfe6; line-height: 1.85;
  text-align: justify; text-align-last: left;
  margin: 0; padding-bottom: 4px;
}
/* 分隔线（渐变） */
.about-divider {
  border: none; height: 1px; margin: 26px 0;
  background: linear-gradient(to right, transparent, rgba(123,92,240,.45), transparent);
}
/* 加入我们 */
.about-join #jobs .section-title-sm { text-align: left; margin-bottom: 6px; }
.about-join #jobs .section-sub-sm { text-align: left; margin-bottom: 20px; }
.about-join .jobs-list { max-width: none; }
/* 联系我们：三列紧凑信息卡 */
.about-join #contact .section-title-sm { text-align: left; margin-bottom: 12px; }
.about-join .contact-inline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.about-join .contact-inline li {
  background: rgba(10,14,26,.45); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--muted);
}
.about-join .contact-inline strong { color: var(--text); }
.about-join .contact-inline a { color: #8fb6ff; }
.about-join .contact-note { text-align: left; margin-top: 16px; }

/* ===== 页脚 ===== */
.footer { background: rgba(6,9,18,.70); color: #6b7491; text-align: center; padding: 26px 20px; font-size: 14px; backdrop-filter: blur(8px); }
.footer .beian { margin-top: 6px; font-size: 13px; }
.footer .beian a { color: #8a93b8; text-decoration: none; }
.footer .beian a:hover { color: #cdd6f4; }
.footer .beian .beian-sep { color: #444b66; }
.footer .beian .police-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; border: 0; }

/* ===== 回到顶部按钮 ===== */
.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none;
  font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(123,92,240,.4);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s, filter .2s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { filter: brightness(1.1); }

/* ===== 航空航天资讯 窗口 ===== */
.news-window {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.news-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--border);
  background: rgba(123,92,240,.10);
}
.news-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.18); animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.35 } }
.news-title { font-weight: 700; color:#fff; font-size: 15px; }
.news-live {
  margin-left: auto; font-size: 11px; letter-spacing: 1px; color: #4ade80;
  border: 1px solid rgba(74,222,128,.4); padding: 2px 8px; border-radius: 999px;
}
.news-list { list-style: none; margin: 0; padding: 8px 18px; }
.news-item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--border);
}
.news-item:last-child { border-bottom: none; }
.news-date { color: #8b93b8; font-size: 13px; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.news-link { color: #d8dcf5; font-size: 14px; text-decoration: none; transition: color .2s; }
.news-link:hover { color: #fff; text-decoration: underline; }
.news-note { color: #6f769c; font-size: 12px; padding: 0 18px 14px; margin: 0; }

/* ===== 缩小·置底版式 ===== */
.section-compact { padding: 40px 0; }
.section-compact .container { max-width: 960px; }
.section-title-sm { font-size: 22px; text-align: center; color:#fff; margin-bottom: 6px; }
.section-sub-sm { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.jobs-list-sm { gap: 10px; }
.job-item-sm { padding: 12px 16px; }
.job-item-sm h3 { font-size: 15px; }
.job-item-sm p { font-size: 13px; }
.links-grid-sm { gap: 14px; grid-template-columns: repeat(5, 1fr); }
.link-card-sm { padding: 16px 18px; }
.link-card-sm h3 { font-size: 15px; }
.link-card-sm p { font-size: 12px; }

/* ===== 链接机构（置底·小字，区分上方正文） ===== */
.section-links-bottom {
  padding: 34px 0 30px;
  background: rgba(8, 11, 22, .55);
  border-top: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
}
.section-links-bottom .container { max-width: 1080px; }
.section-links-bottom .section-title-sm {
  font-size: 18px; font-weight: 700; text-align: center;
  color: #cfd6ff; letter-spacing: 2px; margin-bottom: 20px;
}
.sub-title-sm {
  font-size: 13px; color: var(--muted); font-weight: 600;
  text-align: center; margin: 20px 0 12px; letter-spacing: 1px;
}
.sub-title-sm:first-of-type { margin-top: 0; }
.section-links-bottom .links-grid { gap: 14px; }
.section-links-bottom .link-card {
  padding: 14px 14px; opacity: .9;
  background: rgba(22,28,48,.40); border-color: rgba(255,255,255,.06);
}
.section-links-bottom .link-card h3 { font-size: 13px; }
.section-links-bottom .link-card p { font-size: 11px; }

/* ===== 游戏图集 ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  aspect-ratio: 16 / 10; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px; font-size: 14px; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(10,14,26,.88));
  opacity: 0; transform: translateY(10px); transition: all .3s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ===== 太空图集 灯箱（点击放大） ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  background: rgba(6, 9, 18, .92); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-fig {
  max-width: min(92vw, 1100px); max-height: 82vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox-img {
  max-width: 100%; max-height: 76vh; width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
  object-fit: contain;
}
.lightbox-cap {
  color: #eaf0ff; font-size: 15px; letter-spacing: .5px; text-align: center;
}
.lightbox-close {
  position: absolute; top: 22px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===== 响应式 ===== */
@media (max-width: 880px) {
  .news-item { flex-direction: column; gap: 2px; }
}
@media (max-width: 880px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #0a0e1a;
    border-bottom: 1px solid var(--border); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; border-top: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .about-grid, .works-grid, .links-grid, .science-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .work-featured { grid-template-columns: 1fr; }
  .work-featured .work-body { padding: 24px 22px; }
  .job-item { flex-direction: column; align-items: flex-start; }
  .about-join { padding: 26px 22px 30px; }
  .about-join .contact-inline { grid-template-columns: 1fr; }
  .hero-center { flex-direction: column; gap: 18px; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: 44px; letter-spacing: 3px; }
  .hero-npc { order: 2; }
  .hero-npc img { width: 160px; }
}
@media (max-width: 520px) {
  .about-grid, .works-grid, .links-grid, .science-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-npc img { width: 100px; }
}
