/* ==========================================================================
   VIRTUAL SPACE · 个人主页
   设计语言参照「影视飓风」官网：浅色、极简、大留白、灰阶导航、卡片网格
   首页(首屏) = 全屏 VRChat 图片背景；其余区块 = 浅色纯色背景
   ========================================================================== */

:root {
  --bg: #0b0d11;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-2: rgba(255, 255, 255, 0.12);
  --text: #f4f6f8;
  --text-2: rgba(244, 246, 248, 0.66);
  --muted: rgba(244, 246, 248, 0.42);
  --line: rgba(255, 255, 255, 0.14);
  --black: #000000;
  --white: #ffffff;

  --max-w: 1200px;
  --header-h: 70px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.38)
    ),
    url("../assets/bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

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

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

/* 首屏（图片上）：透明底 + 白色文字 */
.site-header .logo-name {
  color: var(--white);
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.78);
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active {
  color: var(--white);
}

.site-header .avatar-btn {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.site-header .avatar-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.site-header .menu-btn {
  color: var(--white);
}

/* 滚动后：深色毛玻璃，文字保持白色 */
.site-header.is-scrolled {
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: min(85%, 1280px);
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 方形 1:1 头像（比例与影视飓风官网 logo 一致），微圆角 */
.logo-avatar {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

.logo-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 40px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.35s var(--ease), letter-spacing 0.35s var(--ease);
  transform-origin: center;
}

/* 果冻弹跳 */
.nav-link:hover {
  transform: scale(1.08);
  letter-spacing: 0.06em;
}

/* 「图形1」：上下两端直线、左右保留弧度的胶囊/跑道形状；上下两端各加宽半个字（0.5em），hover 时渐显 + 缩放过渡 */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: calc(100% + 1em);
  transform: translate(-50%, -50%) scaleX(0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
  z-index: -1;
}

.nav-link:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scaleX(1);
}

.nav-link.is-active {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.avatar-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.avatar-btn svg {
  width: 20px;
  height: 20px;
}

.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: color 0.35s var(--ease);
}

.menu-btn svg {
  width: 22px;
  height: 22px;
}

/* ===== Drawer (mobile) ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  z-index: 110;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: rgba(12, 15, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 90px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 120;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-link {
  font-size: 16px;
  font-weight: 600;
  padding: 18px 16px;
  border-radius: 8px;
  color: var(--text);
  transition: background 0.2s var(--ease);
}

.drawer-link:active {
  background: var(--surface);
}

/* ===== Hero（首页全屏图片） ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  color: var(--white);
  text-align: center;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(40px, 9vw, 120px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 14em;
  margin: 0 auto;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  margin-top: 20px;
  opacity: 0.94;
  font-weight: 300;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: min(85%, 1280px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  z-index: 3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-solid {
  background: var(--white);
  color: var(--black);
}

.btn-solid:hover {
  background: #eceff1;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-line {
  width: 2px;
  height: 8px;
  background: var(--white);
  border-radius: 1px;
  animation: scrollPulse 1.8s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ===== Sections ===== */
.section {
  padding: 110px 0;
  position: relative;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}

.section-desc {
  color: var(--text-2);
  font-size: 15px;
  max-width: 360px;
  text-align: right;
}

/* ===== 模块1（大图 85%，描述信息在图片内） ===== */
.module-featured {
  width: min(85%, 1280px);
  margin: 0 auto;
}

.featured-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.featured-media:hover {
  transform: scale(1.03);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.55);
}

.featured-media img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 30px 40px 90px;
  background: none;
}

.caption-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.caption-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.caption-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== 模块2~5（2×2，介绍文字在图片外上端，半透明背景） ===== */
/* 整体宽度与模块1 对齐：min(85%,1280px) 居中，左右端对齐模块1 */
#modules .container {
  max-width: none;
  padding: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
  row-gap: 44px;
  width: min(85%, 1280px);
  margin: 0 auto;
}

.mini-card {
  display: block;
  transition: transform 0.4s var(--ease);
}

.mini-card:hover {
  transform: translateY(-6px);
}

.mini-head {
  margin-bottom: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mini-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.mini-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.mini-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}

.mini-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ===== 模块详情页 ===== */
.detail {
  padding: calc(var(--header-h) + 60px) 0 80px;
  min-height: 100vh;
}

/* 详情页内容与左上角 logo(K 的最左端)左对齐：min(85%,1280px) 居中、无 padding */
.detail .container {
  max-width: min(85%, 1280px);
  padding: 0;
}

.detail-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 8px 0 32px;
}

.detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
  max-width: 900px;
}

.detail-media img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-desc {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-2);
  max-width: 760px;
}

.detail-back {
  position: fixed;
  left: 32px;
  bottom: 32px;
  margin-top: 0;
  z-index: 50;
}

/* ===== 相册详情页 ===== */
.album-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.album-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
}

.album-media img {
  width: 100%;
  height: auto;
  display: block;
}

.album-body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

/* 右侧顶部三导航：从左往右、顶部对齐 */
.album-nav {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.album-tab {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 10px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.album-tab:hover {
  color: var(--white);
}

.album-tab.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* 下方介绍：与图片底部对齐 */
.album-intro {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}

.album-intro-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
}

.album-sections {
  margin-top: 56px;
}

.album-section {
  padding-top: 8px;
}

.album-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.album-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

/* 折叠/展开按钮：位于标题最右边 */
.album-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2, #c9c9c9);
  border-radius: 999px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.14));
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease),
    color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.album-toggle:hover {
  transform: scale(1.08);
  color: var(--white, #fff);
  background: rgba(255, 255, 255, 0.1);
}

.album-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}

.album-toggle.is-open svg {
  transform: rotate(180deg);
}

/* 折叠状态：隐藏整个面板（轮播 + 第二按钮 + 网格） */
.album-panel[data-collapsed] {
  display: none;
}

/* 面板主体：轮播 + 右侧第二个展开/折叠按钮列 */
.album-section-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* 第二个按钮：位于第一个按钮正下方，中间以一道横线分隔；
   顶端通过 padding-top 与轮播中心图片顶端对齐（轮播上内边距同为 18px） */
.album-grid-side {
  flex: none;
  width: 140px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

/* 网格视图：将该模块所有图片横竖排列 */
.album-grid {
  display: none;
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.album-grid.is-expanded {
  display: grid;
}

.album-grid-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2, #10131a);
  transition: transform 0.5s var(--ease);
  cursor: pointer;
}

.album-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-grid-item--portrait img {
  object-position: 50% 60%;
}

.album-grid-item:hover {
  transform: scale(1.05);
}

/* 网格模式下隐藏轮播，按钮列保持靠右 */
.album-section-body.is-grid-mode .album-carousel {
  display: none;
}

.album-section-body.is-grid-mode {
  justify-content: flex-end;
}

/* ===== 相册小模块：图片轮播 ===== */
/* 首张居中完整展示；其余图片放在左右两侧、被容器裁切一半并缩小 25% */
.album-carousel {
  position: relative;
  overflow: hidden;
  padding: 18px 0 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.album-carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.album-slide {
  flex: 0 0 44%;
  width: 44%;
  /* 44% + 6% = 50%：相邻图片中心正好落在容器边缘，恰好露出一半 */
  margin: 0 6% 0 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2, #10131a);
  transform: scale(0.75); /* 其余图片缩小 25% */
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  cursor: pointer;
}

.album-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-slide--portrait img {
  object-position: 50% 60%; /* 竖构图以人物为中心取景 */
}

.album-slide.is-active {
  transform: scale(1);
  cursor: default;
  z-index: 2;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

/* 鼠标光标放置在图片上放大（与其他交互按键一致，0.5s） */
.album-slide:hover {
  transform: scale(0.7875);
}

.album-slide.is-active:hover {
  transform: scale(1.05);
}

/* 左右切换箭头 */
.album-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 16, 0.5);
  color: #ffffff;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}

.album-arrow--prev {
  left: 18%;
}

.album-arrow--next {
  right: 18%;
}

.album-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  background: rgba(10, 12, 16, 0.78);
}

.album-arrow svg {
  width: 20px;
  height: 20px;
}

/* ===== About ===== */
.about {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.9;
  margin-top: 20px;
}

.about-stats {
  display: flex;
  gap: 56px;
  margin-top: 44px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.08em;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}

.about-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.account-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.account-card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
}

.account-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--white);
  display: grid;
  place-items: center;
}

.account-icon svg {
  width: 24px;
  height: 24px;
}

.account-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.account-slogan {
  font-size: 13px;
  color: var(--text-2);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.footer-brand .logo-avatar {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-2);
}

.footer-top {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
}

.footer-top:hover {
  color: var(--white);
}

/* ===== 交互按键 hover 放大（缩放 0.5s） ===== */
/* 除首页顶部导航键(.nav-link)外的所有可交互按键：鼠标靠近时放大 */
.btn,
.mini-card,
.account-card,
.album-tab,
.footer-top,
.avatar-btn,
.menu-btn {
  transition: transform 0.5s var(--ease), background 0.5s var(--ease),
    color 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.btn:hover {
  transform: scale(1.07);
}

.mini-card:hover {
  transform: scale(1.05);
}

.account-card:hover {
  transform: scale(1.05);
  background: var(--surface-2);
}

.album-tab:hover {
  transform: scale(1.06);
  color: var(--white);
}

.footer-top:hover {
  transform: scale(1.1);
  color: var(--white);
}

.avatar-btn:hover {
  transform: scale(1.08);
}

.menu-btn:hover {
  transform: scale(1.1);
}

/* ===== 可下载图片：点击下载 + 悬停缩放 ===== */
.img-downloadable {
  cursor: pointer;
}

/* 轮播中未翻页到（非当前居中展示）的图片不可下载，光标不提示下载 */
.album-slide:not(.is-active) .img-downloadable {
  cursor: default;
}

/* 头像与关于区配图：悬停放大（相册轮播/网格图已有各自的缩放） */
.logo-avatar.img-downloadable,
.about-visual .img-downloadable {
  transition: transform 0.5s var(--ease);
}

.logo-avatar.img-downloadable:hover,
.about-visual .img-downloadable:hover {
  transform: scale(1.12);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .album-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .album-intro {
    align-items: flex-start;
    padding-bottom: 0;
  }
}

@media (max-width: 639px) {
  .album-nav {
    flex-wrap: wrap;
  }
  .header-inner {
    max-width: 100%;
    padding: 0 20px 0 0;
  }

  .container {
    padding: 0 20px;
  }

  .detail .container {
    max-width: 100%;
    padding: 0;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-actions {
    width: 100%;
    padding: 0 20px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
  }

  .section-desc {
    text-align: left;
  }

  .module-featured {
    width: 100%;
  }

  .modules-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    gap: 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
