/* ===== 基础变量 ===== */
:root {
  --sakura-pink: #FFB7C5;
  --sakura-pink-light: #ffc2d0;
  --sakura-pink-dark: #ff8e9e;
  --space-white: #F9FAFC;
  --text-dark: #2c3e50;
  --text-gray: #606266;
  --text-light: #909399;
  --gold: #d4af37;
  --green: #67c23a;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-pink: rgba(255, 183, 197, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  min-height: 100%;
}

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--space-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  z-index: 999;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.logo-highlight { color: var(--sakura-pink); font-size: 1.5rem; margin-left: 2px; }

.nav-menu { display: flex; gap: 40px; }
.nav-item {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
  padding: 5px 0;
}
.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--sakura-pink);
  transition: width 0.3s ease;
}
.nav-item:hover, .nav-item.active { color: var(--sakura-pink); }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }

.mobile-toggle { display: none; font-size: 24px; background: none; border: none; color: var(--text-dark); cursor: pointer; z-index: 1001; }
.mobile-menu { 
  display: none;
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100vw; 
  height: 100vh; 
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(15px); 
  -webkit-backdrop-filter: blur(15px);
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  z-index: 1000; 
  gap: 20px; 
  padding: 80px 0;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.show { 
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--sakura-pink);
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 183, 197, 0.4);
  transition: all 0.3s ease;
}
.mobile-close:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 183, 197, 0.6);
}
.m-nav-item { 
  text-decoration: none; 
  color: #333; 
  font-size: 1.5rem; 
  font-weight: 700; 
  padding: 15px; 
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease; 
}
.mobile-menu.show .m-nav-item {
  opacity: 1;
  transform: translateY(0);
}
/* 每个菜单项依次出现 */
.mobile-menu.show .m-nav-item:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.show .m-nav-item:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.show .m-nav-item:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.show .m-nav-item:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.show .m-nav-item:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.show .m-nav-item:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.show .m-nav-item:nth-child(7) { transition-delay: 0.35s; }
.m-nav-item:hover { color: var(--sakura-pink); transform: scale(0.95); }

/* 侧边导航点 */
.nav-dots {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 100;
}
.dot-wrapper { display: flex; align-items: center; justify-content: flex-end; cursor: pointer; position: relative; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dot-wrapper .label {
  margin-right: 15px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.dot-wrapper:hover .label { opacity: 1; transform: translateX(0); }
.dot-wrapper.active .dot { background: var(--sakura-pink); transform: scale(1.4); box-shadow: 0 0 10px var(--sakura-pink); }

/* 滚动容器 */
.scroll-container { width: 100%; min-height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; scroll-behavior: smooth; padding-top: 80px; position: relative; }
.scroll-container::-webkit-scrollbar { display: none; }
.snap-item { width: 100%; min-height: calc(100vh - 80px); scroll-snap-align: start; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 60px 0; }

/* 板块交接处交叉溶解渐变效果 - 只在电脑端启用 */
  @media (min-width: 769px) {
    .snap-item {
      position: relative;
    }
    /* 顶部渐变：从背景色渐变到透明，滚动入屏时自然过渡 */
    .snap-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 100px;
      background: linear-gradient(to top, transparent 0%, var(--space-white) 100%);
      pointer-events: none;
      z-index: 10;
    }
    /* 底部渐变：从透明渐变到背景色，滚动出屏时自然过渡 */
    .snap-item::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 100px;
      background: linear-gradient(to bottom, transparent 0%, var(--space-white) 100%);
      pointer-events: none;
      z-index: 10;
    }
    /* 第一个板块去掉顶部渐变，最后一个板块去掉底部渐变 */
    .snap-item:first-child::before {
      display: none;
    }
    .snap-item:last-child::after {
      display: none;
    }
  }

@media (max-width: 768px) {
  .scroll-container {
    scroll-snap-type: y proximity;
  }
  /* 手机端只用底部小渐变，不挡内容 */
  .snap-item {
    position: relative;
  }
  .snap-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent 0%, var(--space-white) 100%);
    pointer-events: none;
    z-index: 10;
  }
  .snap-item:last-child::after {
    display: none;
  }
}

/* 首页 Hero */
.section-home { 
  background: linear-gradient(180deg, rgba(255, 183, 197, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
}
.home-layout { height: 100%; width: 100%; display: grid; grid-template-columns: 45% 55%; align-items: center; }
.left-box { padding-left: 10vw; pointer-events: auto; }
.greeting-wrapper { display: flex; flex-direction: column; justify-content: center; }
.main-text {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 15px;
  line-height: 1.2;
  border-left: 6px solid var(--sakura-pink);
  padding-left: 20px;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
  animation: slideInLeft 1s ease;
}
.sub-line { font-size: 1.2rem; color: var(--text-light); padding-left: 26px; letter-spacing: 8px; text-transform: uppercase; margin-bottom: 30px; animation: fadeIn 1s 0.2s ease both; }
.encounter-box { padding-left: 26px; margin-bottom: 10px; font-size: 1.1rem; color: var(--text-gray); display: flex; align-items: baseline; gap: 8px; opacity: 0; animation: fadeInUp 0.8s 0.4s ease forwards; }
.encounter-box .text { font-weight: 500; opacity: 0.8; font-size: 1rem; }
.digital-number {
  font-family: "DIN Alternate", "Roboto Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(3px);
  display: inline-block;
  background: linear-gradient(135deg, var(--sakura-pink) 0%, var(--sakura-pink-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 10px var(--shadow-pink));
}
.action-area { margin-top: 50px; padding-left: 26px; pointer-events: auto; }
.entry-btn {
  background: var(--sakura-pink);
  border: none;
  color: #fff;
  padding: 18px 48px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 2px;
  box-shadow: 0 10px 30px var(--shadow-pink);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.entry-btn:hover { background: var(--sakura-pink-light); transform: translateY(-4px); box-shadow: 0 15px 40px var(--shadow-pink); }
.entry-btn .arrow { font-size: 1.4rem; transition: transform 0.3s ease; }
.entry-btn:hover .arrow { transform: translateX(5px); }

.right-box { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-visual { width: 400px; height: 400px; position: relative; perspective: 1000px; }
.floating-card { position: absolute; border-radius: 20px; background: linear-gradient(135deg, var(--sakura-pink) 0%, var(--sakura-pink-light) 100%); box-shadow: 0 20px 40px var(--shadow-pink); animation: float 6s ease-in-out infinite; background-size: cover; background-position: center; }
.card-1 { width: 200px; height: 280px; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; }
.card-2 { width: 150px; height: 200px; top: 20%; left: 10%; z-index: 2; opacity: 0.7; animation-delay: -2s; }
.card-3 { width: 120px; height: 160px; bottom: 20%; right: 10%; z-index: 1; opacity: 0.5; animation-delay: -4s; }

/* 通用板块 */
.content-container { width: 85%; max-width: 1400px; height: 100%; display: flex; align-items: center; gap: 60px; z-index: 2; padding: 40px 0; }
.content-container.reverse { flex-direction: row-reverse; }
.text-col { flex: 1; }
.text-col .title { font-size: 3.2rem; font-weight: 800; margin: 0 0 20px; color: var(--text-dark); }
.text-col .divider { width: 60px; height: 6px; border-radius: 3px; margin-bottom: 30px; background: var(--sakura-pink); }
.text-col .divider.gold { background: var(--gold); }
.text-col .divider.green { background: var(--green); }
.text-col .desc { font-size: 1.25rem; line-height: 1.6; color: var(--text-gray); margin-bottom: 40px; }
.visual-col { 
  flex: 1.2; 
  display: flex; 
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  width: 100%; 
  min-height: 65vh;
  perspective: 1000px; 
}

.stats-box { display: flex; gap: 40px; margin-bottom: 50px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 2rem; color: var(--sakura-pink); line-height: 1; font-family: "DIN Alternate", sans-serif; }
.stat span { font-size: 0.9rem; color: var(--text-light); margin-top: 5px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 38px;
  border-radius: 50px;
  background: var(--sakura-pink);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.btn-primary.gold-btn { background: var(--gold); }
.btn-primary .arrow { transition: transform 0.3s ease; }
.btn-primary:hover .arrow { transform: translateX(5px); }

/* 板块背景 */
.section-wallpaper { background: linear-gradient(135deg, #fdfbfb, #ebedee); }
.section-fo { background: linear-gradient(135deg, #fff1eb, #ace0f9); }
.section-emoji { background: linear-gradient(135deg, #f5f7fa, #c3cfe2); }
.section-clip { background: linear-gradient(135deg, #e0eafc, #cfdef3); }
.section-game { background: linear-gradient(135deg, #fff5f5, #ffe0e6); }
.section-qa { background: linear-gradient(135deg, #f8f9fa, #e9ecef); }
.section-about { background: radial-gradient(circle at center, #2c3e50, #1a1a1a); color: #fff; }

/* 画廊 */
.gallery-frame { width: 100%; aspect-ratio: 5/3; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); transform: rotateY(5deg); transition: transform 0.5s ease; }
.gallery-frame:hover { transform: rotateY(0); }
.slide-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out, transform 6s ease; transform: scale(1.1); }
.slide-img.active { opacity: 1; transform: scale(1); z-index: 1; }
.indicators { display: flex; gap: 8px; margin: 20px auto 0; justify-content: center; padding-bottom: 10px; }
.indicators span { width: 40px; height: 4px; background: #ddd; cursor: pointer; transition: all 0.3s ease; border-radius: 2px; }
.indicators span.active { width: 50px; background: var(--sakura-pink); }

/* 视频卡片 */
.video-card { width: 400px; height: 250px; background: linear-gradient(135deg, var(--sakura-pink) 0%, var(--sakura-pink-dark) 100%); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 20px 40px var(--shadow-pink); cursor: pointer; transition: transform 0.3s ease; }
.video-card:hover { transform: translateY(-10px); }
.play-btn { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--sakura-pink); margin-bottom: 15px; transition: all 0.3s ease; }
.video-card:hover .play-btn { transform: scale(1.1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.video-hint { color: #fff; font-size: 1.1rem; font-weight: 600; }

/* 表情包 */
.emoji-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.emoji-item { width: 120px; height: 120px; background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; animation: float 4s ease-in-out infinite; overflow: hidden; }
.emoji-item:hover { transform: translateY(-10px) scale(1.1); box-shadow: 0 20px 40px var(--shadow-pink); }
/* 表情包预览图片样式 - 保持原比例，背景图填充 */
.emoji-item[style*="background-image"] { font-size: 0; }

/* 玻璃框架 */
.glass-frame { width: 100%; max-width: 500px; height: 450px; background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.3); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease; }
.glass-frame:hover { transform: translateY(-5px); }
.frame-header { height: 44px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); }
.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.header-title { margin-left: auto; font-size: 10px; font-family: "Courier New", monospace; font-weight: 700; color: rgba(0, 0, 0, 0.4); letter-spacing: 1px; }
.scroll-viewport { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%); }
.scroll-content { width: 100%; padding: 20px; }
.event-item { height: 70px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.item-inner { display: flex; align-items: center; gap: 16px; transition: all 0.2s ease; }
.item-inner:hover { transform: scale(1.05); }
.date-col { font-family: "DIN Alternate", "Roboto Mono", monospace; font-size: 14px; color: var(--text-light); padding: 4px 12px; border-radius: 12px; transition: all 0.3s ease; }
.item-inner:hover .date-col { color: var(--sakura-pink-dark); background: rgba(255, 255, 255, 0.8); box-shadow: 0 2px 10px var(--shadow-pink); }
.info-col { font-size: 16px; color: var(--text-gray); transition: all 0.3s ease; white-space: nowrap; }
.item-inner:hover .info-col { color: var(--text-dark); }
.frame-footer { height: 40px; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(255, 255, 255, 0.1); }
.play-status { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.status-text { font-size: 10px; font-weight: 700; color: var(--gold); width: 70px; }
.equalizer { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.equalizer span { width: 2px; background: var(--gold); animation: eq 0.8s infinite ease-in-out alternate; }
.equalizer span:nth-child(1) { height: 60%; animation-delay: 0s; }
.equalizer span:nth-child(2) { height: 100%; animation-delay: 0.2s; }
.equalizer span:nth-child(3) { height: 40%; animation-delay: 0.4s; }
.equalizer span:nth-child(4) { height: 80%; animation-delay: 0.1s; }

/* 游戏 */
.game-card { width: 300px; height: 300px; background: linear-gradient(135deg, var(--sakura-pink) 0%, var(--sakura-pink-dark) 100%); border-radius: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 30px 60px var(--shadow-pink); cursor: pointer; transition: all 0.3s ease; }
.game-card:hover { transform: translateY(-10px) rotate(5deg); }
.game-icon { font-size: 5rem; margin-bottom: 20px; animation: bounce 2s infinite; }
.game-hint { color: #fff; font-size: 1.2rem; font-weight: 600; }

/* Q&A */
.qa-container { width: 85%; max-width: 1000px; height: 100%; min-height: 75vh; display: flex; flex-direction: column; }
.qa-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 2px solid var(--sakura-pink); }
.qa-title { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin: 0; }
.qa-count { font-size: 1.1rem; color: var(--text-gray); }
.qa-count span { color: var(--sakura-pink); font-weight: 700; font-size: 1.5rem; }
.qa-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; padding-right: 10px; }
.qa-list::-webkit-scrollbar { width: 6px; }
.qa-list::-webkit-scrollbar-thumb { background: var(--sakura-pink); border-radius: 3px; }
.qa-item { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }
.qa-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px var(--shadow-pink); }
.qa-question { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.qa-question::after { content: '▼'; font-size: 0.8rem; color: var(--sakura-pink); transition: transform 0.3s ease; }
.qa-item.expanded .qa-question::after { transform: rotate(180deg); }
.qa-answer { font-size: 1rem; color: var(--text-gray); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.qa-item.expanded .qa-answer { max-height: 500px; }

/* 关于 - 参考雪狐冰屋布局，满屏合理留白 */
.about-content { 
  width: 100%; 
  height: 100%; 
  min-height: calc(100vh - 80px);
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  padding: 40px 20px; 
  box-sizing: border-box; 
}
.center-content { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  width: 100%; 
  max-width: 700px; 
  flex: 1;
  justify-content: center;
}
.center-content .title { 
  font-size: 3rem; 
  margin-bottom: 60px; 
  margin-top: 0;
  background: linear-gradient(to right, #fff, #999); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text; 
  text-align: center;
  width: 100%;
}
.info-grid { 
  display: flex; 
  gap: 40px; 
  flex-wrap: wrap; 
  justify-content: center; 
  width: 100%;
}
.site-footer {
  width: 100%;
  margin-top: auto;
}
.info-card { width: 300px; padding: 40px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; text-align: center; transition: transform 0.3s ease; }
.info-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); }
.info-card h3 { margin-bottom: 15px; color: var(--sakura-pink); font-size: 1.5rem; }
.info-card p { color: #aaa; margin: 8px 0; }
.contact-container { display: flex; justify-content: center; gap: 25px; margin-top: 25px; }
.contact-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; transition: transform 0.3s ease; }
.contact-item:hover { transform: translateY(-5px); }
.contact-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--sakura-pink), var(--sakura-pink-dark)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 8px; transition: all 0.3s ease; }
.contact-item:hover .contact-icon { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.contact-item .name { font-size: 13px; color: #aaa; transition: color 0.3s; }
.contact-item:hover .name { color: #fff; }

/* 页脚 */
.site-footer { width: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); padding: 40px 0; font-size: 12px; color: #888; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* 弹窗 */
.gallery-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 2000; justify-content: center; align-items: center; }
.gallery-modal.show { display: flex; }
.modal-content { background: #fff; border-radius: 20px; width: 90%; max-width: 1200px; height: 90%; overflow: hidden; position: relative; }
.close-btn { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--sakura-pink); color: #fff; border: none; font-size: 1.5rem; cursor: pointer; z-index: 10; transition: all 0.3s ease; }
.close-btn:hover { transform: rotate(90deg); background: var(--sakura-pink-dark); }
.modal-title { padding: 20px 30px; font-size: 1.5rem; font-weight: 700; color: var(--text-dark); border-bottom: 1px solid #eee; }
.modal-body { padding: 30px; overflow-y: auto; height: calc(100% - 80px); }

/* 动画 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes eq {
  0% { height: 20%; }
  100% { height: 100%; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 响应式 */
@media (max-width: 1024px) {
  .section-home {
    min-height: 100vh !important;
    height: auto !important;
    padding: 60px 0;
  }
  .home-layout { grid-template-columns: 1fr; gap: 30px; padding: 0 20px; }
  .right-box { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding-bottom: 40px;
    max-width: 100%;
    overflow: visible;
  }
  .hero-visual {
    width: 100%;
    max-width: 320px;
    height: 420px;
    position: relative;
    perspective: 1000px;
  }
  // 手机端改为容器相对定位，卡片绝对定位在容器内部，适配任何屏幕宽度
  .floating-card {
    max-width: 90%;
    height: auto !important;
    animation: float 6s ease-in-out infinite;
  }
  .floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  // 保持卡片大小比例，定位在容器内
  .card-1 { 
    width: 180px; 
    height: 250px; 
    position: absolute !important;
    top: 50px; 
    left: 50%; 
    transform: translate(-50%, 0);
    z-index: 3;
  }
  .card-2 { 
    position: absolute !important;
    top: 20px;
    left: 20px;
    width: 120px; 
    height: 170px;
    z-index: 2;
  }
  .card-3 { 
    position: absolute !important;
    bottom: 20px;
    right: 20px;
    width: 100px; 
    height: 140px;
    z-index: 1;
  }
  .left-box { 
    padding-left: 0; 
    padding-right: 0;
    text-align: center; 
  }
  .main-text { font-size: 2.5rem; border-left: none; padding-left: 0; }
  .sub-line { 
    font-size: 0.85rem; 
    letter-spacing: 2px; 
    margin-bottom: 20px; 
  }
  .encounter-box, .action-area { 
    padding-left: 0; 
    justify-content: center; 
  }
  .content-container { flex-direction: column; gap: 40px; width: 90%; }
  .content-container.reverse { flex-direction: column; }
  .text-col .title { font-size: 2.5rem; }
  .snap-item {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .nav-dots { display: none; }
}

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-toggle { display: block; }
  .navbar { padding: 0 20px; }
  html { scroll-snap-type: none; }
  .scroll-container { scroll-snap-type: none; }
  .main-text { font-size: 2.8rem; border-left: none; padding-left: 0; text-align: center; }
  .sub-line { 
    font-size: 0.9rem; 
    letter-spacing: 2px; 
    text-align: center;
    padding-left: 0;
    margin-bottom: 20px;
  }
  .encounter-box {
    text-align: center;
  }
  .digital-number { font-size: 2.2rem; }
  .entry-btn { padding: 14px 32px; font-size: 1rem; }
  .text-col .title { font-size: 2rem; }
  .gallery-frame { transform: none; }
  .indicators { margin-top: 16px; }
  .video-card { width: 100%; max-width: 300px; height: 200px; }
  .glass-frame { 
    height: 350px; 
    max-width: 90%;
  }
  .scroll-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .event-item {
    height: auto;
    padding: 8px 0;
  }
  .item-inner {
    width: 100%;
  }
  .info-col {
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
  }
  .qa-title { font-size: 1.8rem; }
  .info-grid { flex-direction: column; align-items: center; }
  .info-card { width: 100%; max-width: 300px; }
  .content-container { width: 90%; padding: 20px 0; }
  /* 关于板块手机端适配 - 参考雪狐冰屋 */
  .about-content { 
    padding: 20px 16px; 
    min-height: 100vh;
  }
  .center-content {
    width: 100%;
  }
  .center-content .title { 
    font-size: 2.2rem; 
    margin-bottom: 40px; 
  }
  .info-grid {
    gap: 24px;
  }
}

/* ===== 成长时间线 ===== */
.section-timeline { 
  background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
}
.timeline-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  min-height: 75vh;
}
.timeline-header {
  text-align: center;
  margin-bottom: 40px;
}
.timeline-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.timeline-desc {
  font-size: 1.2rem;
  color: var(--text-gray);
}
/* 分类标签 */
.timeline-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}
.timeline-category {
  padding: 10px 25px;
  border-radius: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--text-gray);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.timeline-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-pink);
}
.timeline-category.active {
  background: var(--sakura-pink);
  color: #fff;
  border-color: var(--sakura-pink);
}
/* 时间线内容 */
.timeline-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--sakura-pink), var(--sakura-pink-light));
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}
.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
  text-align: right;
}
.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sakura-pink);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(255, 183, 197, 0.3);
  z-index: 2;
}
.timeline-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-pink);
}
.timeline-date {
  font-family: "DIN Alternate", "Roboto Mono", monospace;
  font-size: 1rem;
  color: var(--sakura-pink);
  margin-bottom: 10px;
  font-weight: 600;
}
.timeline-item-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.timeline-item-desc {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 1rem;
}
/* 响应式 */
@media (max-width: 768px) {
  .timeline-title {
    font-size: 2.2rem;
  }
  .timeline-content::before {
    left: 20px;
  }
  .timeline-item {
    padding-left: calc(20px + 30px) !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
  }
}
