.lightfall-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}.circular-text {
  margin: 0 auto;
  border-radius: 50%;
  width: 200px;
  position: relative;
  height: 200px;
  font-weight: bold;
  color: #fff;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
}

.circular-text span {
  position: absolute;
  display: inline-block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  font-size: 24px;
  transition: all 0.5s cubic-bezier(0, 0, 0, 1);
}.bounceCardsContainer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 400px;
}

.card {
  position: absolute;
  width: 200px;
  aspect-ratio: 1;
  border: 5px solid #fff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}/* 气泡菜单遮罩层 */
.bubble-menu-items {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.7); /* 暗色背景 */
  backdrop-filter: blur(8px); /* 毛玻璃模糊 */
  -webkit-backdrop-filter: blur(8px);
}

.bubble-menu-items.fixed {
  position: fixed;
}

/* 关闭按钮 */
.bubble-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.bubble-menu-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* 气泡列表布局 */
.bubble-menu-items .pill-list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: 900px;
  justify-content: center;
  align-items: center;
}

.bubble-menu-items .pill-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 calc(50% - 16px); /* 两列布局 */
  box-sizing: border-box;
}

.bubble-menu-items .pill-link {
  --pill-bg: #ffffff;
  --pill-color: #111;
  --item-rot: 0deg;
  --hover-bg: #f3f4f6;
  --hover-color: #111;
  
  width: 100%;
  min-height: 100px;
  padding: 1.5rem 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-color);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  will-change: transform;
  box-sizing: border-box;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .bubble-menu-items .pill-link {
    transform: rotate(var(--item-rot));
  }

  .bubble-menu-items .pill-link:hover {
    transform: rotate(var(--item-rot)) scale(1.08);
    background: var(--hover-bg);
    color: var(--hover-color);
  }

  .bubble-menu-items .pill-link:active {
    transform: rotate(var(--item-rot)) scale(0.95);
  }
}

.bubble-menu-items .pill-link .pill-label {
  display: inline-block;
  will-change: transform, opacity;
}

@media (max-width: 899px) {
  .bubble-menu-items .pill-list .pill-col {
    flex: 0 0 100%; /* 移动端单列显示 */
  }

  .bubble-menu-items .pill-link {
    font-size: 1.2rem;
    min-height: 70px;
  }
}

/* ==================== 气泡菜单悬停提示框 (Tooltip) ==================== */
.bubble-menu-items .pill-tooltip {
  position: absolute;
  bottom: 100%; /* 显示在气泡上方 */
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  white-space: normal;
  width: max-content;
  max-width: 280px;
  text-align: center;
  opacity: 0;
  pointer-events: none; /* 防止鼠标被提示框遮挡 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 10;
}

/* 提示框下方的小三角形 */
.bubble-menu-items .pill-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

/* 鼠标悬停时，提示框浮现并向上滑动一小段距离 */
.bubble-menu-items .pill-link:hover .pill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-22px);
}.outer-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.step-circle-container {
  width: 100%;
  max-width: 32rem;
  background: rgba(20, 20, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.step-indicator-row {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.step-content-default {
  position: relative;
  overflow: hidden;
}

.step-default {
  padding: 0 1.5rem;
  text-align: left;
}

.step-default h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.step-default p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.step-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0.8rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-list {
  list-style: none;
  padding-left: 0.5rem;
  margin: 0.5rem 0;
  color: #a1a1aa;
}

.tutorial-list li {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-container {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.footer-nav {
  margin-top: 1rem;
  display: flex;
}

.footer-nav.spread {
  justify-content: space-between;
}

.footer-nav.end {
  justify-content: flex-end;
}

.back-button {
  transition: all 0.2s;
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  color: #a1a1aa;
  background: transparent;
  border: 1px solid #3f3f46;
  cursor: pointer;
}

.back-button:hover {
  color: #ffffff;
  border-color: #71717a;
}

.next-button {
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #5227ff;
  color: #ffffff;
  font-weight: 500;
  border: none;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
}

.next-button:hover {
  background-color: #633aff;
}

.step-indicator {
  position: relative;
  cursor: pointer;
}

.step-indicator-inner {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.active-dot {
  height: 0.6rem;
  width: 0.6rem;
  border-radius: 9999px;
  background-color: #ffffff;
}

.step-connector {
  position: relative;
  margin: 0 0.5rem;
  height: 0.125rem;
  flex: 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background-color: #3f3f46;
}

.step-connector-inner {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.check-icon {
  height: 1rem;
  width: 1rem;
  color: #ffffff;
}

/* ==================== 终极修复：解决进度条溢出问题 ==================== */

.step-indicator-row {
  /* 关键修复：让 padding 包含在 100% 宽度内，防止向右侧溢出 */
  box-sizing: border-box !important; 
  /* 增加左右内边距，把两端的圆圈往中间推 */
  padding: 1.5rem 2.5rem 1.2rem 2.5rem !important; 
  width: 100%;
}

/* 顺手把外层容器也加上，以防万一 */
.step-circle-container {
  box-sizing: border-box !important;
}.like-widget-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999; /* 确保悬浮在所有内容上方 */
}

/* 粒子必须在按钮下方（或不阻挡鼠标点击） */
.hearts-layer {
  position: absolute;
  bottom: 4rem; /* 起始于按钮稍靠上的位置 */
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none; /* 让鼠标点击穿透图层，直接点到按钮 */
  z-index: 0;
  display: flex;
  justify-content: center;
}

.flying-heart {
  position: absolute;
  bottom: 0;
  font-size: 1.8rem;
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.like-button {
  position: relative;
  z-index: 1; /* 按钮处于较高图层 */
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53); /* 暖色渐变，更符合点赞氛围 */
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  /* 添加轻微的发光动画 */
  animation: pulse-glow 3s infinite alternate;
}

.like-counter-board {
  margin-top: 0.6rem;
  background: rgba(20, 20, 25, 0.7);
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.like-counter-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Courier New', Courier, monospace;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4); }
  100% { box-shadow: 0 10px 30px rgba(255, 107, 107, 0.7); }
}/* src/CurvedLoop.css */
.curved-loop-jacket {
  /* 移除了原本的 min-height: 100vh，改为自适应高度并增加上下内边距 */
  padding: 3rem 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden; /* 防止文字溢出导致横向滚动条 */
}

.curved-loop-svg {
  user-select: none;
  width: 100%;
  aspect-ratio: 100 / 12;
  overflow: visible;
  display: block;
  /* 调整字体大小，使其更适合作为页脚鸣谢 */
  font-size: 2.5rem;
  /* 使用半透明白色，融入暗色背景 */
  fill: rgba(255, 255, 255, 0.6); 
  -moz-user-select: none;
  -webkit-user-select: none;
  font-weight: 700;
  line-height: 1;
  /* 添加轻微的发光效果 */
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.2));
}

/* 鼠标悬停时文字变亮，增加互动感 */
.curved-loop-svg:hover {
  fill: rgba(255, 255, 255, 0.9);
  transition: fill 0.3s ease;
}.mobile-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 20px; /* 给下方的小圆点留出空间 */
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  /* 移除原有的 gap，让每张图片刚好占满一屏，以便完美计算滑动距离 */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  /* 放大图片：现在每张图占据 100% 宽度，配合之前的缩放取消，完美撑满 */
  flex: 0 0 100%; 
  height: 260px; /* 高度可以根据你的图片比例适当调大 */
  scroll-snap-align: start;
  padding: 0 10px; /* 用 padding 代替 gap，确保两边有呼吸感 */
  box-sizing: border-box;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* ==================== 小圆点指示器样式 ==================== */
.dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.dot {
  width: 18px; /* 长条形更有高级感 */
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px; /* 激活时稍微变长一点 */
  background-color: #A6C8FF; /* 你的品牌高亮蓝色 */
  box-shadow: 0 0 8px rgba(166, 200, 255, 0.6); /* 发光效果 */
}.upgrade-notice-overlay {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(3, 4, 12, 0.76);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: upgrade-overlay-in 260ms ease both;
}

.upgrade-notice-dialog {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  box-sizing: border-box;
  padding: 38px;
  color: #f8f7ff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 0%, rgba(140, 92, 255, 0.26), transparent 40%),
    linear-gradient(145deg, rgba(24, 24, 34, 0.98), rgba(10, 10, 17, 0.98));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: upgrade-dialog-in 420ms cubic-bezier(.2, .8, .2, 1) both;
}

.upgrade-notice-dialog::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -100px;
  border-radius: 50%;
  background: rgba(82, 39, 255, 0.24);
  filter: blur(10px);
  pointer-events: none;
}

.upgrade-notice-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #bdaaff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
}

.upgrade-notice-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9d7cff;
  box-shadow: 0 0 16px #9d7cff;
}

.upgrade-notice-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.upgrade-notice-dialog p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.85;
}

.upgrade-notice-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 11px;
  margin-top: 30px;
}

.upgrade-notice-primary,
.upgrade-notice-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 19px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.upgrade-notice-primary {
  gap: 8px;
  color: #fff;
  border: 1px solid #7555ff;
  background: linear-gradient(135deg, #6845ff, #9b5cff);
  box-shadow: 0 12px 28px rgba(82, 39, 255, 0.34);
}

.upgrade-notice-secondary {
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.upgrade-notice-primary:hover,
.upgrade-notice-secondary:hover {
  transform: translateY(-2px);
}

.upgrade-notice-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.upgrade-notice-primary:active,
.upgrade-notice-secondary:active {
  transform: translateY(1px) scale(0.985);
}

.upgrade-notice-primary:focus-visible,
.upgrade-notice-secondary:focus-visible {
  outline: 3px solid rgba(189, 170, 255, 0.8);
  outline-offset: 3px;
}

@keyframes upgrade-overlay-in {
  from { opacity: 0; }
}

@keyframes upgrade-dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
}

@media (max-width: 560px) {
  .upgrade-notice-overlay { padding: 16px; }
  .upgrade-notice-dialog { padding: 28px 22px 24px; border-radius: 22px; }
  .upgrade-notice-actions { flex-direction: column; }
  .upgrade-notice-primary,
  .upgrade-notice-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .upgrade-notice-overlay,
  .upgrade-notice-dialog { animation: none; }
}
/* 1. 终极重置：连同 React 的 #root 容器一起干掉所有默认边距 */
:root, html, body, #root {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
  background-color: #000000 !important; /* 统一成纯黑 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
}

.app-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

/* 2. 背景层：强制锁死在显示器视口，无论怎么滑动都不许动 */
.background-layer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

/* 覆盖在背景上的内容 (这部分往下保持你原来的即可) */
.content-layer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero {
  text-align: center;
  animation: fadeInDown 1s ease-out;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* 磨砂玻璃卡片 */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  width: 100%;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
}

.glass-card h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.glass-card p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #e2e8f0;
}

/* 按钮样式 */
.primary-btn {
  background: linear-gradient(135deg, #a6c8ff, #ff9ffc);
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
}

.primary-btn:hover {
  opacity: 0.85;
}

/* 笔记链接网格 */
.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nav-link {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* 动画 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式适配移动端 */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* ==================== 弹窗样式与动画 ==================== */

/* 1. 遮罩层基础状态（隐藏，控制淡入淡出） */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* 核心动画：透明度为0，并设置平滑过渡 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease; 
}

/* 2. 遮罩层显示状态（触发淡入） */
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* 3. 弹窗本体（初始状态：偏下，隐藏，控制位移缓动） */
.modal-content {
  background: rgba(15, 15, 30, 0.65); /* 包含上次加的磨砂透明度 */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  
  /* 核心动画：初始向下方偏移 50px，配置三次方缓动曲线 */
  transform: translateY(50px);
  transition: transform 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

/* 4. 弹窗弹出状态（关键！联动状态，回到原位触发缓出） */
.modal-overlay.show .modal-content {
  transform: translateY(0);
}

/* 5. 关闭按钮（带缩放小动画） */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 0;
  line-height: 1;
}

.close-btn:hover {
  color: #ff9ffc;
  transform: scale(1.1);
}

/* 6. 弹窗内部文字排版 */
.modal-text {
  color: #e2e8f0;
  line-height: 1.7;
  font-size: 1.05rem;
}

.modal-text p {
  margin-bottom: 1.2rem;
}

.modal-text strong {
  color: #A6C8FF; 
}

.feature-list {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}
.feature-list li:last-child {
  margin-bottom: 0;
}

/* ==================== 左上角 Logo 与环绕文字 ==================== */
.corner-logo-wrapper {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 160px; /* 整个组合的外框大小 */
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10; /* 确保它浮在背景和页面内容之上 */
}

/* 中间的静态 Logo 图片 */
.center-logo {
  width: 70px; /* 调整这个数值来改变中间Logo的大小，确保不遮挡文字 */
  height: 70px;
  border-radius: 50%; /* 如果你的Logo是圆形的 */
  object-fit: cover;
  position: absolute;
  z-index: 2;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* 覆盖 CircularText 的默认大小，适配我们的外框 */
.logo-circular-text {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

/* 微调环绕文字的字体大小，避免文字过大挤在一起 */
.logo-circular-text span {
  font-size: 16px !important; 
  color: #A6C8FF !important; /* 用了你们网站的高亮品牌色，更和谐 */
  text-shadow: 0 0 8px rgba(166, 200, 255, 0.5);
}

/* 适配移动端：屏幕变小时缩小左上角的Logo组合 */
@media (max-width: 768px) {
  .corner-logo-wrapper {
    top: 1rem;
    left: 1rem;
    width: 120px;
    height: 120px;
  }
  .center-logo {
    width: 50px;
    height: 50px;
  }
  .logo-circular-text span {
    font-size: 12px !important;
  }
}

/* ==================== 画廊区域样式 ==================== */
.gallery-section {
  margin-top: 2rem;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.gallery-section h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.gallery-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 0 3rem 0;
}

/* ==================== 底部版权信息样式 ==================== */
.site-footer {
  width: 100%;
  text-align: center;
  padding: 3rem 0 2rem 0; /* 留出充足的上下间距 */
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.4); /* 灰色半透明，低调有质感 */
  font-size: 0.85rem;
  letter-spacing: 1px; /* 字间距拉开一点更优雅 */
  z-index: 10;
  position: relative;
}

/* ==================== 手机端专属适配 (屏幕宽度小于 768px 时生效) ==================== */
@media screen and (max-width: 768px) {
  /* 1. 缩小整体内边距，给手机屏幕留出更多空间 */
  .content-layer {
    padding: 1.5rem 1rem; 
  }

  /* 2. 标题文字缩小 */
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }

  /* 3. 让卡片变成单列，宽度撑满 */
  .cards-container {
    grid-template-columns: 1fr; /* 强制变成一列 */
    gap: 1rem; /* 卡片之间的间距缩小 */
  }

  /* 4. 磨砂卡片内部的边距缩小 */
  .glass-card {
    padding: 1.5rem; 
  }

  /* 5. 弹窗在手机上要几乎撑满屏幕 */
  .modal-content {
    width: 95%;
    padding: 2rem 1.2rem;
  }

/* 6. 照片墙在手机上缩小 */
  .gallery-section {
    padding: 1rem 0; /* 左右 padding 去掉，让图片更大 */
  }
  .gallery-wrapper {
    /* 删掉原本的 transform: scale(0.7); */
    width: 100%;
    padding: 0;
  }

  /* 7. 左上角环绕 Logo 缩小并稍微移动位置 */
  .corner-logo-wrapper {
    top: 0.5rem;
    left: 0.5rem;
    transform: scale(0.6);
    transform-origin: top left;
  }
}

/* 默认情况（电脑端）：显示 BounceCards，隐藏 MobileCarousel */
.desktop-only { display: block; }
.mobile-only { display: none; }

/* 手机端情况：隐藏 BounceCards，显示 MobileCarousel */
@media screen and (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; width: 100%; }
}

/* ==================== 学期笔记资料墙 ==================== */
.notes-wall-section {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.notes-wall-section h2 {
  margin-bottom: 2rem;
}

/* Flex 容器，让下拉菜单与按钮横排对齐 */
.notes-select-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap; 
  width: 100%;
}

.select-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
}

/* 契合磨砂质感的透明 Select 样式 */
.glass-select {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  
  /* 自定义右侧下拉白色箭头图标 */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;
}

/* Select 展开后的选项背景色（需设为实色避免由于原生原因看不清文字） */
.glass-select option {
  background-color: #1a1a2e; 
  color: #fff;
}

.glass-select:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.glass-select:focus {
  border-color: #a6c8ff;
  box-shadow: 0 0 0 2px rgba(166, 200, 255, 0.3);
}

/* 第二个菜单未被启用时的置灰状态 */
.glass-select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.search-btn {
  padding: 0.9rem 2.5rem;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* 适配移动端：屏幕变小时变更为竖排 */
@media screen and (max-width: 768px) {
  .notes-select-container {
    flex-direction: column;
    gap: 1.2rem;
  }
  .select-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .search-btn {
    width: 100%;
  }
}