.gradientText {
  background-image: linear-gradient(to right, #e100ff, #6200ff); /* 这里是一个简单的从红到绿的渐变示例，你可以根据需要调整颜色和方向 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
body {
  background-color: #000;
}
.white-text {
  color: white;
}

/* 添加PC端专属样式 */
@media screen and (min-width: 769px) {
  button, #button {
    background-color: rgb(14, 144, 210);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease; /* 添加all过渡 */
    transform-origin: center;  /* 确保缩放中心点正确 */
  }
  
  .nav-buttons li {
    display: inline-block;
    margin: 0 15px;
  }
  
  /* 悬停效果 */
  button:hover, 
  button:focus,  /* 增加焦点状态 */
  #button:hover,
  #button:focus {
    transform: scale(0.95);  /* 缩小5% */
    background: rgba(14, 144, 210,0.8); /* 颜色加深 */
    box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* 增加立体感 */
    filter: brightness(1.1); /* 提高亮度 */
  }
  
  /* 点击效果 */
  button:active,
  #button:active {
    transform: scale(0.92);
    transition-duration: 0.1s; /* 加快点击动画 */
  }
}
/* 添加移动端适配 */
@media screen and (max-width: 768px) {
  /* 通用样式 */
  body {
    margin: 0;
    padding: 10px;
  }

  /* 导航按钮适配 */
  ul {
    padding: 0;
    margin: 10px 0;
  }

  button, #button {
    width: 100%;
    margin: 8px 0;
    padding: 12px;
    font-size: 16px;
    background-color: rgb(14, 144, 210);
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease; /* 添加all过渡 */
    transform-origin: center;  /* 确保缩放中心点正确 */
  }

  /* 标题文字适配 */
  h1.white-text {
    font-size: 48px;
    text-align: center;
    margin: 15px 0;
  }

  /* 文件页面特殊适配 */
  #RedRocketWorksheet button {
    white-space: normal;
    line-height: 1.4;
    height: auto;
  }

  /* SVG文字适配 */
  svg text {
    font-size: 24px !important;
  }

  /* 日期时间显示 */
  #currentDateTime {
    font-size: 18px;
  }

  /* 文件列表间距调整 */
  ul > * {
    margin-left: 0;
    margin-bottom: 8px;
  }
  
  /* 悬停效果 */
  button:hover, 
  button:focus,  /* 增加焦点状态 */
  #button:hover,
  #button:focus {
    transform: scale(0.95);  /* 缩小5% */
    background: rgba(255,255,255,0.3); /* 颜色加深 */
    box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* 增加立体感 */
    filter: brightness(1.1); /* 提高亮度 */
  }
  
  /* 点击效果 */
  button:active,
  #button:active {
    transform: scale(0.92);
    transition-duration: 0.1s; /* 加快点击动画 */
  }
}