/* MOD部分样式优化 */

/* 导航项样式 */
.mod-nav-active {
    background-color: #2a4365 !important;
    color: #ffffff !important;
    font-weight: bold;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mod-nav-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mod-nav-item:hover {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 主要卡片样式 */
.mod-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background-color: #ffffff;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

/* 图片阴影效果 */
.shadow-image {
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-image:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/* 性能优化模组功能卡片 */
.mod-feature-card {
    transition: all 0.3s ease;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background-color: #ffffff;
}

.mod-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

/* 难度标识样式 */
.farm-card-difficulty {
    margin-top: 10px;
    margin-bottom: 10px;
}

.difficulty-easy {
    background-color: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.difficulty-medium {
    background-color: #f59e0b;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.difficulty-hard {
    background-color: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.difficulty-very-hard {
    background-color: #7c3aed;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* 小贴士框样式 */
.download-tip {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    padding: 15px;
    background-color: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    border-radius: 4px;
}

.tip-icon {
    font-size: 24px;
    margin-right: 12px;
    margin-top: 2px;
}

.tip-content {
    flex: 1;
}

.tip-content p {
    margin: 0;
    color: #0369a1;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .mod-nav-item {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .mod-card {
        margin-bottom: 20px;
    }
    
    .shadow-image {
        max-width: 100%;
        height: auto;
    }
    
    .download-tip {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tip-icon {
        margin-bottom: 8px;
    }
}