/* Sun-Panel-Helper CSS */
/* 此文件由系统自动管理，请勿手动修改 */
/* 警告：手动修改可能导致样式冲突或程序异常 */
/* 上次更新：5/22/2025, 6:32:11 AM */

/* Sun-Panel-Helper CSS Start: custom-logo */
/* PC端Logo样式 */
.logo {
  width: 180px;
  height: 180px;
  margin-top: -35px;
  content: url(/custom/helper/logo/1747895237295-763548095-IMG_3757_pixian_ai_compressed-2.png);
}

/* 手机端Logo样式 */
@media screen and (max-width: 768px) {
  .logo {
    width: 180px;
    height: 180px;
    margin-top: -35px;
    content: url(/custom/helper/logo/1747895237295-763548095-IMG_3757_pixian_ai_compressed-2.png);
  }
}

/* 平板端Logo样式 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .logo {
    width: 180px;
    height: 180px;
    margin-top: -30px;
    content: url(/custom/helper/logo/1747895237295-763548095-IMG_3757_pixian_ai_compressed-2.png);
  }
}
/* Sun-Panel-Helper CSS End: custom-logo */

/* Sun-Panel-Helper CSS Start: card-hover */
.icon-info-box .rounded-2xl {
  --scale-size: 1.1;
  --shake-degree: 4deg;
  --shake-speed: 0.5s;
  --scale-delay: 0.3s;
}
/* 鼠标悬停动画 */
.icon-info-box .rounded-2xl {
  transform-origin: center center;
  transition: transform 0.3s ease;
}

.icon-info-box .rounded-2xl:hover {
  transform: scale(var(--scale-size, 1));
}

.icon-info-box .rounded-2xl:hover {
  animation: info-shake-bounce var(--shake-speed, 0.5s) var(--scale-delay, 0s) ease-in-out forwards;
}

@keyframes info-shake-bounce {
  0%, 100% {
    transform: scale(var(--scale-size, 1)) rotate(0);
  }
  25% {
    transform: scale(var(--scale-size, 1)) rotate(var(--shake-degree, 15deg));
  }
  50% {
    transform: scale(var(--scale-size, 1)) rotate(calc(var(--shake-degree, 15deg) * -1));
  }
  75% {
    transform: scale(var(--scale-size, 1)) rotate(calc(var(--shake-degree, 15deg) * 0.25));
  }
  85% {
    transform: scale(var(--scale-size, 1)) rotate(calc(var(--shake-degree, 15deg) * -0.25));
  }
}

/* 小图标的动画保持不变 */
.icon-small-box .rounded-2xl:hover {
  -webkit-animation: small-shake-bounce .5s alternate !important;
  -moz-animation: small-shake-bounce .5s alternate !important;
  -o-animation: small-shake-bounce .5s alternate !important;
  animation: small-shake-bounce .5s alternate !important;
}

@keyframes small-shake-bounce {
  0%, 100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(5deg);
  }
  85% {
    transform: rotate(5deg);
  }
}
/* Sun-Panel-Helper CSS End: card-hover */

/* Sun-Panel-Helper CSS Start: gradient-bg */
body {
  height: 100vh;
  background: linear-gradient(45deg, #000000, #2980B9, #4f7a28, #791a3e);
  background-size: 400% 400%;
  animation: gradientBg 30s ease-in-out infinite;
}

@keyframes gradientBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Sun-Panel-Helper CSS End: gradient-bg */
