* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', sans-serif;
}

body {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb, #90caf9);
  color: #6ea8fe;
  min-height: 100vh;
}

.bg-circle {
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.4;
}

.circle1 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #9c27b0, #e91e63);
  top: 10%;
  left: 5%;
}

.circle2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #673ab7, #2196f3);
  bottom: 10%;
  right: 5%;
}

.circle3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f06292, #ff9800);
  top: 60%;
  left: 80%;
}

.container {
  display: flex;
  min-height: 100vh;
}

.main-wrapper {
  flex: 1;
  margin: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.leftbar {
  width: 280px;
  background: rgba(255, 255, 255, 0.15);
  color: #6ea8fe;
  padding: 30px 20px;
  position: fixed;
  height: calc(100vh - 30px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin: 15px;
  top: 0;
  left: 0;
}

.leftbar .logo {
  text-align: center;
  margin-bottom: 30px;
}

.leftbar .logo h1 {
  font-size: 28px;
  color: #6ea8fe;
  margin-bottom: 8px;
}

.leftbar .logo p {
  font-size: 14px;
  color: #4dabf7;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 25px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.avatar i {
  font-size: 55px;
  color: #6ea8fe;
}

.name {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  color: #6ea8fe;
}

.says {
  text-align: center;
  color: #4dabf7;
  margin-bottom: 35px;
  padding: 0 15px;
  font-size: 15px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 35px;
}

.socials .item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #6ea8fe;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.socials .item a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1e88e5;
}

.socials .item i {
  font-size: 20px;
}

.project-links {
  margin-top: 20px;
}

.project-links .title {
  font-size: 16px;
  color: #6ea8fe;
  margin-bottom: 18px;
  text-align: center;
}

.project-links .links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-links .links a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #6ea8fe;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-links .links a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1e88e5;
}

.project-links .links i {
  margin-right: 12px;
  font-size: 16px;
  color: #6ea8fe;
}

.server-info {
  margin-top: auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.server-info p {
  font-size: 14px;
  color: #6ea8fe;
  margin-bottom: 8px;
}

.server-info i {
  margin-right: 8px;
  color: #4dabf7;
}

.closebtn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #6ea8fe;
  cursor: pointer;
}

.right {
  flex: 1;
  margin-left: 310px;
  padding: 30px;
}

.menubtn {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 101;
  cursor: pointer;
  background: #1e88e5;
  padding: 8px;
  border-radius: 8px;
  color: white;
}

.menubtn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
}

.menu {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 35px;
  border-radius: 20px;
  margin: 0 auto 40px;
  max-width: 1500px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 25px;
}

.menu .item {
  padding: 10px 50px;
  cursor: pointer;
  font-size: 16px;
  color: #4dabf7;
  border-radius: 8px;
}

.menu .item:hover {
  color: #1e88e5;
  background: rgba(255, 255, 255, 0.3);
}

.menu .item.act {
  color: white;
  background: #1e88e5;
}

.menu span {
  color: rgba(0, 0, 0, 0.2);
}

.content {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page {
  display: none;
}

.page[data-page="index"] {
  display: block;
}

h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #6ea8fe;
  text-align: center;
}

h2 {
  font-size: 28px;
  margin: 40px 0 25px;
  color: #6ea8fe;
}

.center {
  text-align: center;
}

.section {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section:hover {
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3);
}

.intro-section {
  padding: 45px 35px;
  text-align: center;
}

.intro-section .big-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 30px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.intro-section .big-avatar i {
  font-size: 70px;
  color: #6ea8fe;
}

.intro-section p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #6ea8fe;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 35px;
  margin: 40px 0;
}

.project-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.project-card i {
  font-size: 42px;
  color: #6ea8fe;
  margin-bottom: 22px;
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #6ea8fe;
}

.project-card p {
  color: #6ea8fe;
  margin-bottom: 25px;
  font-size: 16px;
  flex-grow: 1;
}

.project-card .btn {
  display: inline-block;
  padding: 12px 28px;
  background: #1e88e5;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.project-card .btn:hover {
  background: #42a5f5;
}

.team-section .team-members {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.team-member {
  text-align: center;
  max-width: 220px;
}

.team-member .small-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.team-member .small-avatar i {
  font-size: 50px;
  color: #6ea8fe;
}

.team-member h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #6ea8fe;
}

.team-member p {
  color: #6ea8fe;
  font-size: 15px;
}

.tech-section ul {
  list-style: none;
  padding-left: 0;
}

.tech-section li {
  margin-bottom: 16px;
  padding-left: 30px;
  position: relative;
  font-size: 17px;
  color: #6ea8fe;
}

.tech-section li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1e88e5;
  font-weight: bold;
  font-size: 18px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  margin-top: 40px;
}

.contact-item {
  text-align: center;
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-item i {
  font-size: 40px;
  color: #6ea8fe;
  margin-bottom: 22px;
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #6ea8fe;
}

.contact-item p {
  color: #6ea8fe;
}

.moebeian {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  color: #6ea8fe;
  font-size: 15px;
}

.moebeian a {
  color: #6ea8fe;
  text-decoration: none;
}

.moebeian a:hover {
  text-decoration: underline;
  color: #1e88e5;
}

@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 1000px) {
  .leftbar {
    background: rgba(255, 255, 255, 0.6);
  }
  
  .leftbar {
    transform: translateX(-100%);
    width: 280px;
  }
  
  .leftbar.active {
    transform: translateX(0);
  }
  
  .right {
    margin-left: 0;
    padding: 20px;
  }
  
  .menubtn {
    display: block;
  }
  
  .closebtn {
    display: block;
  }
  
  .menu {
    flex-direction: column;
    gap: 12px;
    padding: 25px;
    margin-bottom: 30px;
  }
  
  .menu span {
    display: none;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-info {
    gap: 25px;
  }
  
  .contact-item {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 26px;
    margin: 35px 0 20px;
  }
  
  .section {
    padding: 28px;
    margin-bottom: 35px;
  }
  
  .projects-grid {
    margin: 35px 0;
  }
  
  .team-section .team-members {
    gap: 35px;
  }
}

.avatar img,
.small-avatar img,
.big-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.fuck-style-1 { 
  opacity: 0;
}

.fuck-style-2 { 
  visibility: hidden;
}

.fuck-style-3 { 
  display: none !important;
}

.kunsile-style-4 { 
  width: 0;
  height: 0;
}
/* 修改 .menu 样式，使其自适应 */
.menu {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 35px;
  border-radius: 20px;
  margin: 0 auto 40px;
  max-width: 1500px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  /* 移除 flex-wrap: wrap; */
  flex-wrap: nowrap; /* 改为不换行 */
  /* 调整 gap 为更小的值 */
  gap: 10px 15px;
  /* 添加溢出处理 */
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* 调整菜单项的内边距，使其更紧凑 */
.menu .item {
  padding: 10px 20px; /* 减少左右内边距 */
  cursor: pointer;
  font-size: 16px;
  color: #4dabf7;
  border-radius: 8px;
  /* 确保不换行 */
  white-space: nowrap;
  flex-shrink: 0; /* 防止项目被压缩 */
}

/* 调整菜单分隔符 */
.menu span {
  color: rgba(0, 0, 0, 0.2);
  flex-shrink: 0; /* 防止分隔符被压缩 */
}

/* 在小屏幕上进一步调整 */
@media (max-width: 1200px) {
  .menu {
    padding: 18px 25px;
    gap: 8px 12px;
  }
  
  .menu .item {
    padding: 10px 15px;
    font-size: 15px;
  }
}

@media (max-width: 1000px) {
  .menu {
    flex-direction: row; /* 保持水平排列 */
    gap: 8px 12px;
    padding: 18px 20px;
    margin-bottom: 30px;
    /* 在小屏幕上允许滚动 */
    overflow-x: auto;
  }
  
  .menu span {
    display: inline-block; /* 保持显示分隔符 */
  }
}

/* 在更小的屏幕上进一步优化 */
@media (max-width: 768px) {
  .menu {
    padding: 15px;
    gap: 5px 8px;
  }
  
  .menu .item {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* 在非常小的屏幕上优化滚动体验 */
@media (max-width: 600px) {
  .menu {
    justify-content: flex-start; /* 左对齐以便滚动 */
    padding: 12px 15px;
  }
  
  .menu .item {
    padding: 8px 10px;
    font-size: 14px;
  }
  
  .menu span {
    font-size: 12px;
  }
}
/* 确保.menu正常显示 */
.menu {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 35px;
  border-radius: 20px;
  margin: 0 auto 40px;
  max-width: 1500px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex !important; /* 使用!important确保显示 */
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px 15px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 10;
  
  /* 确保不会被隐藏 */
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 60px;
}

/* 重置可能隐藏.menu的样式 */
.menu {
  display: flex !important;
}

/* 确保.menu的item正常显示 */
.menu .item {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  color: #4dabf7;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  display: block !important;
}

.menu .item:hover {
  color: #1e88e5;
  background: rgba(255, 255, 255, 0.3);
}

.menu .item.act {
  color: white;
  background: #1e88e5;
}

.menu span {
  color: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  display: inline-block !important;
}

/* 在小屏幕上调整 */
@media (max-width: 1000px) {
  .menu {
    flex-direction: row; /* 保持水平排列 */
    gap: 8px 12px;
    padding: 18px 20px;
    margin-bottom: 30px;
    overflow-x: auto;
  }
  
  .menu span {
    display: inline-block !important;
  }
}

/* 调试用：如果还是看不到，添加这个临时样式 */
.debug-menu {
  border: 2px solid red !important;
  background: rgba(255, 0, 0, 0.1) !important;
}