/* 自定义工具类 */
.content-auto {
    content-visibility: auto;
}

/* 头部渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #1677ff 0%, #0c5cdc 50%, #0a4bb8 100%);
    background-size: 200% 200%;
    animation: headerShine 8s ease-in-out infinite;
}

/* 渐变动画关键帧 */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 图标容器 */
.icon-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

/* 高亮链接 */
.highlight-link {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background-color: #e8f3ff;
    color: #1677ff;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.highlight-link:hover {
    background-color: #1677ff;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 等级图标 */
.level-icon {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    display: inline-block;
    transition: transform 0.2s;
}

.level-icon:hover {
    transform: scale(1.1);
}

/* 表单图标容器 */
.form-icon-container {
    display: inline-block;
    background-color: white;
}

/* 结果区域图标容器 */
.result-icon-container {
    display: inline-block;
    background-color: transparent;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s;
}

.card-hover:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-0.125rem);
}

/* 头部图标 */
.header-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(0.125rem);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* 文字阴影 */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo容器 */
.logo-container {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0.375rem);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

/* 动画关键帧 - 保持与Tailwind配置一致 */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

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

@keyframes pulseLight {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes headerShine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-5px);
    }
}

/* 动画类 */
.animate-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

.animate-pulse-light {
    animation: pulseLight 2s infinite;
}

.animate-header-shine {
    animation: headerShine 3s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}