/* 自定义动画样式 */

/* 网格单元的基础样式 */
.grid-item {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.03); /* 非常淡的边框 */
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

/* 激活状态（模拟闪烁） */
.grid-item.active {
    background-color: rgba(255, 255, 255, 0.1); /* 白色背景 */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 鼠标悬停效果 */
.grid-item:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

/* 简单的淡入向上动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111827; 
}

::-webkit-scrollbar-thumb {
    background: #374151; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10B981; 
}
