/* 卡片基础样式 */
.link-card-item {
    /*background-color: #141419;*/
    box-shadow: 0px 0px 8px 0px rgba(10, 10, 14, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.magical {
    --mouse-x: 0px;
    --mouse-y: 0px;
    --circle-size: 600px;
    --inset: 1px;
    --border: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border);

}

/* 卡片内部布局 */
.link-card-item a {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}
/* 卡片内部布局 */
.game-widget{
    margin-bottom: 14px;
}
/* 卡片图片样式 */
.card-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: opacity 0.4s;
}

/* 信息区域样式 */
.info {
    flex: 1;
    min-width: 0;
}

.info-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #E8E8F6;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-desc {
    font-size: 12px;
    color: #A8A8B6;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 箭头图标样式 */
.icon-arrow {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.4s;
    flex-shrink: 0;
    fill: #B3B3C1;
}

/* 悬停效果 */
.link-card-item:hover {
    transform: translateY(-2px);
}

.link-card-item:hover .card-img {
    opacity: 1;
}

.link-card-item:hover .info-title {
    color: #fff;
}

.link-card-item:hover .icon-arrow {
    opacity: 1;
}

/* 鼠标光效 */
.magical::before {
    content: '';
    position: absolute;
    inset: calc(0px - var(--inset));
    background: radial-gradient(
        var(--circle-size) circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.magical:hover::before {
    opacity: 1;
}
.card-img::after {
    content: '';
    position: absolute;
    width: 89px;
    height: 91px;
    filter: blur(42px);
    background: inherit;
    background-size: 100%;
}