body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 背景样式 */
body {

    background-color: #121212;

}

/* 在没有背景图片时使用默认背景色 */


/* 背景图片容器 */
.bg-container {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;

}

/* 背景图片 */
.bg-image {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://pic1.imgdb.cn/item/69350502b747baaa30a0cead.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.1);
    /* 略微放大以避免边缘出现空白 */

}

/* 背景遮罩 */
.bg-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    opacity: 0.6;

}

/* 深色模式下的背景遮罩 */
.dark .bg-overlay {

    background-color: #121212;

}

/* 动画样式 */
.avatar-glow {
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(106, 17, 203, 0.3);
    }

    to {
        box-shadow: 0 0 20px rgba(106, 17, 203, 0.8);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.readme-content {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.repo-item {
    transition: all 0.3s ease;
}

.repo-item:hover {
    transform: translateX(5px);
}

.tech-icon {
    filter: drop-shadow(0 0 5px rgba(106, 17, 203, 0.5));
}