/* Tailwind 自定义工具类 */
@layer utilities {
  .content-auto {
    content-visibility: auto;
  }
  .card-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  .card-hover {
    transition: all 0.3s ease;
  }
  .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  .text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #3B82F6, #8B5CF6);
  }
}

/* 顶部文字边框 */
.toptext-border {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 6px solid #4a6bdf;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.toptext-border:hover {
  border-color: #FF4500;
  box-shadow: 0 0 10px rgba(74, 107, 223, 0.3);
  transform: translateY(-2px);
}

/* 导航文字边框 */
.text-border {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 4px solid #4a6bdf;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 0 10px;
}
.text-border:hover {
  border-color: #FF4500;
  box-shadow: 0 0 10px rgba(74, 107, 223, 0.3);
  transform: translateY(-2px);
}

/* 链接样式 */
.url {
  color: blue;
  background-color: transparent;
  border: none;
  outline: none;
}

/* 输入框样式 */
input {
  border: 3px solid #000;
}

/* 全局禁止选中 */
body {
  font-family: Arial, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 大文字样式 */
.large-text {
  font-size: 22px;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  margin: 10px 0;
  font-weight: bold;
}