
[v-cloak] {
  display: none;
}

@keyframes slideIn {
  0% {
    transform: translateY(10px);
    opacity: 0.7;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes narrow {
  from {
    height: 10%;
    /* 初始宽度 */
  }

  to {
    height: 8%;
    /* 目标宽度 */
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

/* 基本样式 */
.hover-container {
  position: relative;
  width: 10rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* 初始隐藏背景效果 */
.background-effect {
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.background-effectActive {
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  filter: blur(10px);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.background-effect div {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #CCFF02, #ccff99);
  opacity: 1;
  clip-path: polygon(100% 0, 0 0, 0 26%);
}
.background-effectActive div {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, #37a5ff,#ccff00, #33cc99);
  opacity: 0.3;
  clip-path: polygon(100% 0, 0 0, 0 10%);
}

/* hover时显示背景效果 */
.hover-container:hover .background-effect {
  opacity: 1;
}

/* 文本内容样式 */
.text-content {
  position: relative;
  padding: 1rem;
  z-index: 20;
}

.animate-slideDown {
  animation: slideDown 0.8s ease-out;
}

.animate-narrow {
  animation: narrow 0.8s ease-out forwards;
}

.animate-slideIn {
  animation: slideIn 0.2s ease-out forwards;
}

.bg-gz {
  background-image: repeating-linear-gradient(90deg, hsla(196, 0%, 79%, 0.06) 0px, hsla(196, 0%, 79%, 0.06) 1px, transparent 1px, transparent 96px), repeating-linear-gradient(0deg, hsla(196, 0%, 79%, 0.06) 0px, hsla(196, 0%, 79%, 0.06) 1px, transparent 1px, transparent 96px), repeating-linear-gradient(0deg, hsla(196, 0%, 79%, 0.09) 0px, hsla(196, 0%, 79%, 0.09) 1px, transparent 1px, transparent 12px), repeating-linear-gradient(90deg, hsla(196, 0%, 79%, 0.09) 0px, hsla(196, 0%, 79%, 0.09) 1px, transparent 1px, transparent 12px), linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
}

.underline-hover {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.underline-hover::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 0.4em;
  /* 下划线的高度 */
  background-color: #ccff00;
  /* 与文字颜色相同 */
  bottom: 10%;
  left: -10%;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
  z-index: -1;
  /* 确保下划线在文字下方 */
}

.underline-hover:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.underline-active {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-decoration: none; /* 去除默认下划线 */
  color: inherit; /* 继承文本颜色 */
}

.underline-active::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 0.4em;
  background-color: #ccff00; /* 下划线的颜色 */
  bottom: 10%;
  left: -10%;
  transform: scaleX(1); /* 直接显示下划线 */
  transform-origin: bottom left;
  z-index: -1;
}

.gradient-text {
  font-size: 50px;
  font-weight: bold;
  background: linear-gradient(45deg, #ccff00, #33cc99, #ccff00);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.narrow {
  height: 8%;
  transition: height 0.5s ease-out;
}

.widen {
  height: 10%;
  transition: height 0.5s ease-in;
}
.app-ready {
  display: block;
}
@keyframes gradientX {
  100% {
    background-position: 0% 50%;
  }
  0% {
    background-position: 100% 50%;
  }
}

.animate-gradient-x {
  background-size: 150% 600%;
  animation: gradientX 1s ease infinite;
}