    @font-face {
font-family: 'MiSansSemibold';
src: url('/fonts/MiSansSemibold.woff2') format('truetype');
font-weight: normal;
font-style: normal;
}

body {
  font-family: 'MiSansSemibold', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
  text-align: center;
  overflow-x: hidden;
}


.acolor {
  color: #22a2c3;
  text-decoration: none;
  border-bottom: 1px solid #22a2c3;
}


.menu-icon {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.menu-icon span {
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: 0.4s ease;
  transform-origin: center;
  z-index: 999;
}

/* 三条线的位置 */
.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 10px;
}

.menu-icon span:nth-child(3) {
  top: 20px;
}

/* 打开时变X */
.menu-icon.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-icon.open span:nth-child(2) {
  opacity: 0;
}

.menu-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* 全屏菜单 */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding: 80px 30px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fullscreen-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-list {
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: left;
  animation: slideIn 0.5s ease forwards;
  padding-top: 10px;
}

.menu-list li {
  margin: 20px 0;
}

.menu-list a {
  text-decoration: none;
  color: #000;
  font-size: 28px;
  font-weight: bold;
}
/* --- 中间大图的 logo 靠上显示 --- */
.content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
  max-width: 90%;
}

.main-image {
 width: 100%;
 max-width: 100%;
 height: auto;
 max-height: 30vh; /* 限制在可视区域的一半高度，避免太大 */
 object-fit: contain;
 margin-bottom: 10px;
 border-radius: 8px;
}


.intro-text {
  font-size: 20px;
  margin: 0;
  text-align: left;
}

/* 滚动条容器 */
.scroll-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 20px;
  box-sizing: border-box;
}

/* 滚动文字 */
.scroll-text {
  display: inline-block;
  animation: scrollLoop 20s linear infinite;
}

.scroll-text span {
  display: inline-block;
  padding-right: 50px;
  font-family: monospace;
  font-size: 18px;
  color: #888;
}

/* 渐变遮罩 */
.scroll-gradient-left,
.scroll-gradient-right {
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.scroll-gradient-left {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.scroll-gradient-right {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- 让 logo 居中 --- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  position: relative;
  z-index: 10;
}


/* --- 菜单按钮放右上角 --- */
.menu-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- 桌面端菜单样式 --- */
.desktop-menu {
  display: none;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}


/* --- 响应式处理：大屏显示横排菜单，小屏用三条线 --- */
.logo {
  width: 150px; /* 设置宽度 */
  height: 40px;  /* 默认高度，移动端 */
  background-image: url('/images/EggPoint.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .logo {
    background-image: url('/images/EggPoint_fp.png'); /* 深色模式使用负片 */
  }
  .scroll-gradient-left {
    background: linear-gradient(to right, #000 0%, transparent 100%);
  }
  .scroll-gradient-right {
    background: linear-gradient(to left, #000 0%, transparent 100%);
  }
}

/* 默认手机端：logo 居中 */
@media (max-width: 767px) {
  .site-header {
    justify-content: center;
    padding-top: 30px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* 电脑端布局：logo 靠左大一点，菜单靠右 */
@media (min-width: 768px) {
  .logo {
    height: 50px;
    margin-right: auto;
    transform: none;
    position: static;
  }

  .desktop-menu {
    display: flex;
    gap: 30px;
    margin-left: auto;
  }

  .desktop-menu a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 18px;
  }

  .menu-icon {
    display: none;
  }

  .fullscreen-menu {
    display: none !important;
  }
}

@keyframes scrollFade {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
